You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/21 21:44:00 UTC

[jira] [Updated] (ARROW-7228) [Python] Expose RecordBatch.FromStructArray in Python.

     [ https://issues.apache.org/jira/browse/ARROW-7228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-7228:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>
>
> 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)