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
When a StructColumn has datetime & timedelta types in it, converting to pandas is only returning integer values instead of datetime or timedelta values. This seems to be a bug in the arrow in to_pandas, however, we can workaround using tolist in cudf just for StructColumn.
Fixes: #9383
This PR preserves `datetime` & `timedelta` types in `StructColumn` upon conversion to `pd.Series`, and also preserves `int` values to be `int` rather than converting to `float`.
Authors:
- GALI PREM SAGAR (https://github.com/galipremsagar)
Approvers:
- Michael Wang (https://github.com/isVoid)
URL: #9388
Describe the bug
When a
StructColumn
hasdatetime
&timedelta
types in it, converting to pandas is only returning integer values instead of datetime or timedelta values. This seems to be a bug in the arrow into_pandas
, however, we can workaround usingtolist
incudf
just forStructColumn
.Steps/Code to reproduce bug
Expected behavior
Environment overview (please complete the following information)
Additional context
Surfaced while running fuzz-tests for ORC reader/writer.
The text was updated successfully, but these errors were encountered: