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
Is your feature request related to a problem? Please describe.
This is a general pandas API alignment request. Pandas did not provide an one_hot_encoding API and the get_dummies API does not provide a measure to configure the categories included in the final encoding matrix. During implementing one_hot_encode in libcudf, the majority agrees that situation when only a subset of the categories is used in one hot encoding is rare. Deprecating the support of specifying the categories from python is thus deemed plausible and should reduce complexity of get_dummies.
Describe the solution you'd like
Add deprecation warning to series.one_hot_encoding and dataframe.one_hot_encoding in this release. Remove in the next and implement cudf.get_dummies directly with libcudf one_hot_encode.
Is your feature request related to a problem? Please describe.
This is a general pandas API alignment request. Pandas did not provide an
one_hot_encoding
API and theget_dummies
API does not provide a measure to configure the categories included in the final encoding matrix. During implementingone_hot_encode
in libcudf, the majority agrees that situation when only a subset of the categories is used in one hot encoding is rare. Deprecating the support of specifying the categories from python is thus deemed plausible and should reduce complexity ofget_dummies
.Describe the solution you'd like
Add deprecation warning to
series.one_hot_encoding
anddataframe.one_hot_encoding
in this release. Remove in the next and implementcudf.get_dummies
directly with libcudfone_hot_encode
.Describe alternatives you've considered
N/A
Additional context
Related: #8608
The text was updated successfully, but these errors were encountered: