We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Numpy arrays are stored as text arrays by default. This is readable but takes a lot of space.
When the file is compressed, it perhaps makes more sense to use the new compact format introduced in #9.
Since this is a backwards-incompatible change, it will have to wait until the next major version (4.0.0).
For now the compressed format can be used like this (compression is optional):
json = dumps(data, compression=True, properties={'ndarray_compact': True})
There's also a warning announcing this change, which you can silence by explicitly disabling the new format:
json = dumps(data, properties={'ndarray_compact': False})
The text was updated successfully, but these errors were encountered:
It might be important to support F-order arrays before this becomes default
Sorry, something went wrong.
Determine whether compact encoding is requested, and warn about new f…
e21fb6b
…ormat #73
No branches or pull requests
Numpy arrays are stored as text arrays by default. This is readable but takes a lot of space.
When the file is compressed, it perhaps makes more sense to use the new compact format introduced in #9.
Since this is a backwards-incompatible change, it will have to wait until the next major version (4.0.0).
For now the compressed format can be used like this (compression is optional):
There's also a warning announcing this change, which you can silence by explicitly disabling the new format:
The text was updated successfully, but these errors were encountered: