Commits


Joris Van den Bossche authored and Krisztián Szűcs committed 167bad1a4db
ARROW-5790: [Python] Raise error when trying to convert 0-dim array in pa.array https://issues.apache.org/jira/browse/ARROW-5790 In the `NumPyConverter` constructor, we access the strides of the array with `PyArray_STRIDES(arr_)[0]`, so need to ensure that the array is 1D before passing it there. Author: Joris Van den Bossche <jorisvandenbossche@gmail.com> Closes #4837 from jorisvandenbossche/ARROW-5790 and squashes the following commits: cc66365af <Joris Van den Bossche> ARROW-5790: raise error when trying to convert 0-dim array in pa.array