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

[Python] Table.from_struct_array function

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 10.0.0
    • None
    • Python
    • None

    Description

      Following up on this stack overflow question: https://stackoverflow.com/questions/74430949/table-from-nested-list-struct

      Would it be worth introducing a Table.from_struct_array function?

      I'm actually not 100% sure it is needed or if it make sense.

      For example, I'm not sure how it should behave when receiving a ChunkedArray (of type StructType) vs receiving a StructArray. In which case it's behaviour feels a bit overloaded and maybe it belongs to the `compute` package.

      Also it's already possible to do such a thing (as illustrated in the SO question). Maybe it's more a problem of documentation. An example like this could be added to the cookbook.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            0x26dres &res

            Dates

              Created:
              Updated:

              Slack

                Issue deployment