Skip to content

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

@asfimport

Description

@asfimport

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.

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

Note: This issue was originally created as ARROW-2073. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions