No project description provided
Project description
omfpandas
A pandas (and parquet) interface for the Open Mining Format package (omf).
When working with OMF files, it is often useful to convert the data to a pandas DataFrame. This package provides a simple interface to do so.
The parquet format is a nice, compact, efficient format to persist pandas DataFrames. This package also provides a simple interface to convert an omf element to a parquet file. When datasets do not fit into memory, parquet files can be read in chunks or by column.
Installation
pip install omfpandas
If you intend to use the parquet functionality, you will need to install the optional dependencies.
pip install omfpandas[io]
Roadmap
- 0.2.0 - Add support for reading a VolumeElement (Block Model) from an OMF file as a pandas DataFrame. Export a VolumeElement as a parquet file.
- 0.3.0 - Add support for writing a DataFrame to an OMF VolumeElement
- 0.4.0 - Add support for low-memory/out-of-core writing an omf element to parquet
- ...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
omfpandas-0.2.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for omfpandas-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e08222c18ebb7ede27161eb48d4e8c0bee42395cc1bde47d3cffd97ab4d9b7b |
|
MD5 | a50040d1ac29973c2028b5dec52cec3d |
|
BLAKE2b-256 | c9c13c5bac935c0acccb738d84659a2e5c724967ff546ee5d1c853f284b8ba6a |