Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Can't convert Numpy string arrays #18240

Closed
asfimport opened this issue Mar 7, 2018 · 1 comment
Closed

[Python] Can't convert Numpy string arrays #18240

asfimport opened this issue Mar 7, 2018 · 1 comment

Comments

@asfimport
Copy link

>>> arr = np.array([b'foo', b'bar'], dtype='S3')
>>> pa.array(arr, type=pa.binary(3))
Traceback (most recent call last):
  File "<ipython-input-40-d52a5aa3b94e>", line 1, in <module>
    pa.array(arr, type=pa.binary(3))
  File "array.pxi", line 177, in pyarrow.lib.array
  File "array.pxi", line 77, in pyarrow.lib._ndarray_to_array
  File "error.pxi", line 85, in pyarrow.lib.check_status
ArrowNotImplementedError: /home/antoine/arrow/cpp/src/arrow/python/numpy_to_arrow.cc:1661 code: converter.Convert()
NumPyConverter doesn't implement <fixed_size_binary[3]> conversion. 

Reporter: Antoine Pitrou / @pitrou
Assignee: Krisztian Szucs / @kszucs

PRs and other links:

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

@asfimport
Copy link
Author

Uwe Korn / @xhochy:
Issue resolved by pull request 1998
#1998

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

No branches or pull requests

2 participants