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

[Python] Create StructArray from sequence of tuples given a known data type

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Python

      Description

      Following ARROW-1705, we should support calling pa.array with a sequence of tuples, presuming a struct type is passed for the type parameter.

      We also probably want to disallow mixed inputs, e.g. a sequence of both dicts and tuples. The user should use only one idiom at a time.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pitrou Antoine Pitrou
                Reporter:
                pitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: