Skip to content

[Python] pa.Array.from_pandas segfaults when given a mixed-type array #17460

@asfimport

Description

@asfimport

Array.from_pandas crashes when given an array with mixed types - ints and strings, ints and floats, etc.

Example:

{{
import numpy as np
import pyarrow as pa

x = np.array([0, 0.5], dtype=object)
pa.Array.from_pandas(x)
}}

Reporter: Dima Ryazanov / @dimaryaz
Assignee: Phillip Cloud / @cpcloud

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions