Zhuo Peng created ARROW-7228: -------------------------------- Summary: [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 Fix For: 1.0.0
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)