[ 
https://issues.apache.org/jira/browse/ARROW-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277435#comment-16277435
 ] 

Wes McKinney commented on ARROW-1886:
-------------------------------------

Probably not -- we only create a MultiIndex when we have the appropriate 
metadata for this. We could use the same flattening tool to convert a struct 
into a MultiIndex though

> [Python] Add function to "flatten" structs within tables
> --------------------------------------------------------
>
>                 Key: ARROW-1886
>                 URL: https://issues.apache.org/jira/browse/ARROW-1886
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Wes McKinney
>
> See discussion in https://issues.apache.org/jira/browse/ARROW-1873
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to