https://github.com/mschubert/python-h5store
Python package for easy loading and saving of HDF5 objects
https://github.com/mschubert/python-h5store
Last synced: 10 months ago
JSON representation
Python package for easy loading and saving of HDF5 objects
- Host: GitHub
- URL: https://github.com/mschubert/python-h5store
- Owner: mschubert
- Created: 2015-04-20T21:28:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-24T15:44:41.000Z (about 11 years ago)
- Last Synced: 2025-06-19T04:09:48.242Z (about 1 year ago)
- Language: Python
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
Awesome Lists containing this project
README
h5store
=======
Store arbitrary lists of `numpy` `array`s or `pandas` `DataFrame`s as HDF5
objects. The library handles the dimension names.
Objects are saved in HDF5 groups of `value` with their actual content and
`names_<1..n>` for their dimension names. Upon loading they are restored in
their original state.
### Installation
The package requires [h5py](http://www.h5py.org/) and
[pandas](http://pandas.pydata.org/).
```python
pip install git+https://github.com/mschubert/python-h5store.git
```
### Usage
`save(object, file_name)` saves an object the the file `file_name`.
`load(file_name, path)` loads an object from `file_name`, optionally only
subsetting `path`.