File conversion package.
Project description
odapt
The odapt library is a bridge between columnar file formats ROOT, Parquet, Feather, and HDF5. It aims to simplify file conversions in Python, replacing what is usually a multi-step process with one line of code, with builtin features for managing large datasets and choosing compression levels.
Installation
odapt can be installed from PyPI using pip:
pip install odapt
Getting started
import odapt as od
# To merge two or more root files with TTrees,
# and add together any histograms:
od.hadd_and_merge("destination.root",
["ttree_file1.root", "ttree_file2.root"])
# To add merge files with only histograms:
od.hadd("destination.root",
["hist_file1.root", "hist_file2.root"])
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
odapt-1.2.0.tar.gz
(28.6 kB
view hashes)
Built Distribution
odapt-1.2.0-py3-none-any.whl
(18.6 kB
view hashes)