-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Python] Add function to "flatten" structs within tables #17880
Copy link
Copy link
Closed
Description
See discussion in #17866
When a user has a struct column, it may be more efficient to flatten the struct into multiple columns of the form struct_name.field_name for each field in the struct. Then when you call to_pandas, Python dictionaries do not have to be created, and the conversion will be much more efficient
Reporter: Wes McKinney / @wesm
Assignee: Antoine Pitrou / @pitrou
Related issues:
- [C++/Python] Add method to flatten a struct array (Dependent)
- [Python] Segmentation fault when loading total 2GB of parquet files (is related to)
PRs and other links:
Note: This issue was originally created as ARROW-1886. Please see the migration documentation for further details.
Reactions are currently unavailable