We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After reading a dataframe from this parquet file and selecting the list of structs column "value", cudf drops the field names of the struct.
In [1]: import cudf In [2]: df = cudf.read_parquet("maptest.parquet") In [3]: df Out[3]: value 0 [{'key': {'first': 'John', 'middle': 'Y.', 'la... In [4]: df["value"] Out[4]: 0 [{'0': {'0': 'John', '1': 'Y.', '2': 'Doe'}, '... Name: value, dtype: list
This is unlike pandas' behaviour which retains the field names
In [5]: df.to_pandas()["value"] Out[5]: 0 [{'key': {'first': 'John', 'middle': 'Y.', 'la... Name: value, dtype: object
The text was updated successfully, but these errors were encountered:
Fix copying dtype metadata after calling libcudf functions (#7271)
253dfdf
Fixes #7249 Copies dtype metadata after calling `ColumnBase.copy()`. Moves logic for copying dtype metadata after calling libcudf functions from `Frame` to `ColumnBase`. Authors: - Ashwin Srinath (@shwina) Approvers: - Keith Kraus (@kkraus14) - GALI PREM SAGAR (@galipremsagar) URL: #7271
dseries.struct.explode
shwina
Successfully merging a pull request may close this issue.
After reading a dataframe from this parquet file and selecting the list of structs column "value", cudf drops the field names of the struct.
This is unlike pandas' behaviour which retains the field names
The text was updated successfully, but these errors were encountered: