You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Bryan Cutler (JIRA)" <ji...@apache.org> on 2016/12/06 22:41:58 UTC

[jira] [Commented] (ARROW-409) Python: Change pyarrow.Table.dataframe_from_batches API to create Table instead

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

Bryan Cutler commented on ARROW-409:
------------------------------------

PR: https://github.com/apache/arrow/pull/229

> Python: Change pyarrow.Table.dataframe_from_batches API to create Table instead
> -------------------------------------------------------------------------------
>
>                 Key: ARROW-409
>                 URL: https://issues.apache.org/jira/browse/ARROW-409
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Bryan Cutler
>            Assignee: Bryan Cutler
>            Priority: Minor
>
> As discussed in PR https://github.com/apache/arrow/pull/216 the pyarrow.Table API to convert RecordBatches to pandas.DataFrame would be better/more flexible as follows:
> {noformat}
> table = pa.Table.from_batches(batches)
> df = table.to_pandas()
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)