Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-409

Python: Change pyarrow.Table.dataframe_from_batches API to create Table instead

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.2.0
    • Python
    • None

    Description

      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:

      table = pa.Table.from_batches(batches)
      df = table.to_pandas()
      

      Attachments

        Activity

          People

            bryanc Bryan Cutler
            bryanc Bryan Cutler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: