Skip to content

[Python] pyarrow.Array.from_pandas should take a type parameter #16811

Description

@asfimport

It's convenient to infer the data type so that users can just write pyarrow.Array.from_pandas(arr), however, sometimes users want fine-grained control, e.g., if we have an object type numpy array, whose values are all null. When we convert it to an arrow column vector, we may need a specific type instead of NullType.

Reporter: Wenchen Fan / @cloud-fan
Assignee: Wes McKinney / @wesm

Related issues:

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions