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
Describe the bug cuDF python DataFrame.info() throws error on list of structs column. AttributeError: 'StructDtype' object has no attribute 'itemsize'
AttributeError: 'StructDtype' object has no attribute 'itemsize'
Steps/Code to reproduce bug
import cudf import pandas as pd json_str = """{"a" : [ { "b": 1} ]} """ pdf = pd.read_json(StringIO(json_str), orient="records", lines=True ) df = cudf.from_pandas(pdf) pdf.info() df.info()
Expected behavior info() should produce similar result as other list columns.
**Environment overview **
The text was updated successfully, but these errors were encountered:
memory_usage
items
Struct
Add memory_usage & items implementation for Struct column & dty…
b156c25
…pe (#12033) Fixes: #11893 - [x] This PR implements `StructColumn.memory_usage` and `StructDtype.items` Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Lawrence Mitchell (https://github.com/wence-) URL: #12033
galipremsagar
Successfully merging a pull request may close this issue.
Describe the bug
cuDF python DataFrame.info() throws error on list of structs column.
AttributeError: 'StructDtype' object has no attribute 'itemsize'
Steps/Code to reproduce bug
Expected behavior
info() should produce similar result as other list columns.
**Environment overview **
The text was updated successfully, but these errors were encountered: