-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cannot read arrays stored with "string" objects. #6
Comments
It just doesn't work with type |
|
If I store a file with plain ascii, it will be readable.
The file will then be stored like this:
If you then take it back in Python, you can get the Python
OK. So this must be considered a workaround rather than a solution to the problem. The Numpy documentation does not recommend using 'S' (or 'a'. which gives the same result), so this workaround is a bit weak. I just think we have to admit that c_npy is not general, as it only supports numerical types and bytes, and not all python types. |
Changing label to "Documentation" and "Low priority" since this is rather a known lacking feature and not really a bug. |
The above generated
.npz
can be read perfectly withexample.c
, however:cannot be read properly. Like it only reads the first array, and then stops....
The text was updated successfully, but these errors were encountered: