[
https://issues.apache.org/jira/browse/ARROW-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875842#comment-16875842
]
Wes McKinney commented on ARROW-5790:
-------------------------------------
Thanks for the report. I don't think we have any unit tests for zero-dim NumPy
arrays
> [Python] Passing zero-dim numpy array to pa.array causes segfault
> -----------------------------------------------------------------
>
> Key: ARROW-5790
> URL: https://issues.apache.org/jira/browse/ARROW-5790
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Environment: OSX, py37
> Reporter: Brock Mendel
> Priority: Major
> Fix For: 1.0.0
>
>
> ```
> import pyarrow as pa
> import numpy as np
> zerod = np.array(0)
> result = pa.array(zerod) # <-- segfault
> ```
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)