Skip to content

[Python] Passing zero-dim numpy array to pa.array causes segfault #22211

@asfimport

Description

@asfimport
import pyarrow as pa
import numpy as np

zerod = np.array(0)
result = pa.array(zerod)  # <-- segfault

Environment: OSX, py37
Reporter: Brock Mendel
Assignee: Joris Van den Bossche / @jorisvandenbossche

PRs and other links:

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions