You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:09:03 UTC
[jira] [Updated] (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:all-tabpanel ]
Rok Mihevc updated ARROW-409:
-----------------------------
External issue URL: https://github.com/apache/arrow/issues/16058
> 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
> Fix For: 0.2.0
>
>
> 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
(v8.20.10#820010)