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

[Python] Expose RecordBatch.FromStructArray in Python.

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              brillsp Zhuo Peng
              brillsp Zhuo Peng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h