[
https://issues.apache.org/jira/browse/ARROW-7228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou resolved ARROW-7228.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 5882
[https://github.com/apache/arrow/pull/5882]
> [Python] Expose RecordBatch.FromStructArray in Python.
> ------------------------------------------------------
>
> Key: ARROW-7228
> URL: https://issues.apache.org/jira/browse/ARROW-7228
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Python
> Reporter: Zhuo Peng
> Assignee: Zhuo Peng
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> This API was introduced in ARROW-6243. It will make converting from a list of
> python dicts to a RecordBatch easier:
>
> struct_array = pa.array([\{"column1": 1, "column2": 5}, \{"column2": 6}])
> record_batch = pa.RecordBatch.from_struct_array(struct_array)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)