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
I know pickleDB is a python-only kv store but does it (or can it) support numpy arrays?
The text was updated successfully, but these errors were encountered:
You can refer to stackoverflow for more details.
import numpy as np import pickledb db = pickledb.load('pickle.db') db = pickledb.load('pickle.db', False) array = np.arange(10).reshape(2,5) db.set('array', array) # or db.set('array', array.tolist()) np.array(db.get('array'))
Sorry, something went wrong.
No branches or pull requests
I know pickleDB is a python-only kv store but does it (or can it) support numpy arrays?
The text was updated successfully, but these errors were encountered: