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
Describe the bug
With recent pandas upgrade in #7375, there was some special handling needed for categorical series with categories of type float. Because of these changes printing a sliced series is resulting in incorrect categories being displayed, but the underlying categories are intact and correct.
Expected behavior
In our repr code, instead of type-casting to 'category', we will have to create an equivalent pandas CategoricalDtype and typecast before calling to_string API.
Environment overview (please complete the following information)
Environment location: [Bare-metal]
Method of cuDF install: [from source]
Environment details
Please run and paste the output of the cudf/print_env.sh script here, to gather any other relevant environment details
Describe the bug
With recent pandas upgrade in #7375, there was some special handling needed for categorical series with categories of type
float
. Because of these changes printing a sliced series is resulting in incorrect categories being displayed, but the underlying categories are intact and correct.Steps/Code to reproduce bug
Expected behavior
In our
repr
code, instead of type-casting to'category'
, we will have to create an equivalent pandasCategoricalDtype
and typecast before callingto_string
API.Environment overview (please complete the following information)
Environment details
Please run and paste the output of the
cudf/print_env.sh
script here, to gather any other relevant environment detailsClick here to see environment details
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: