You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we have a Pandas dataframe with a string dtype (not object) then our quantiles code doesn't know what to do. We should either call astype(object) (good short term fix) or figure out a nicer way of how to handle this.
At some point, I think these operations will need to move from using NumPy operations on ndarrays to using methods on the Series / extension array, at least if we want to support arbitrary extension arrays.
Regardless, once we get past the partitionquantiles stage, set_index still won't work since pandas doesn't support extension types like string in the index yet: pandas-dev/pandas#22861.
If we have a Pandas dataframe with a
string
dtype (not object) then our quantiles code doesn't know what to do. We should either callastype(object)
(good short term fix) or figure out a nicer way of how to handle this.cc @TomAugspurger for advice
The text was updated successfully, but these errors were encountered: