A class for flexible manipulation of nested data.
Project description
verdict
A class for flexible manipulation of nested data.
Acts like a dictionary with additional features, including...
- Element-wise addition, subtraction, multiplication, and addition.
- Easy export to and import from both hdf5 and json files.
- Extensive support for saving and loading jagged arrays and sparse arrays.
- Conversion to numpy arrays and pandas DataFrames.
- Easy access to contained objects' attributes.
- Nested dictionaries can be transposed, i.e. the nesting order can be changed.
- keymin and keymax, which find the extrema values in a dictionary and their keys.
- Easy subdivision into multiple dictionaries.
To install:
pip install verdict
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
verdict-1.2.tar.gz
(17.3 kB
view details)
Built Distribution
verdict-1.2-py3-none-any.whl
(17.2 kB
view details)
File details
Details for the file verdict-1.2.tar.gz
.
File metadata
- Download URL: verdict-1.2.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 796c3fba993f1943bb2aac4366f3cdf30f609ce6b8220982db05aac510329a26 |
|
MD5 | 3117c9ffed3df6d72929a4957f7d0ec2 |
|
BLAKE2b-256 | 5cd9927b856a1b902b228735b51ddae824995abfbf39b092934a885cda287560 |
File details
Details for the file verdict-1.2-py3-none-any.whl
.
File metadata
- Download URL: verdict-1.2-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cf7ee112ab2dcb1b7deadb2a2a716151407eea7042fe9384b4cf49b37b8d2d9 |
|
MD5 | c5960f7984274fb8b27eff5714157c0a |
|
BLAKE2b-256 | 010ad9bbdf32e5c655868f85398c4c41d2d1c90a931f40d35e09fc3848c790e4 |