Tables for structured data - universal backend
Project description
hl_tables
A high level tables dispatcher for putting together multiple tables executors
Examples
Making a histogram
dataset = EventDataset(f'localds://mc16_13TeV:{ds["RucioDSName"].values[0]}')
df = xaod_table(dataset)
truth = df.TruthParticles('TruthParticles')
llp_truth = truth[truth.pdgId == 35]
histogram(llp_truth.Count(), bins=3, range=(0,3))
plt.yscale('log')
plt.xlabel('Number of good LLPs in each event')
plt.ylabel('a MC Sample')
- The histogram data will be calculated by the backend and returned to your local Jupyter instance.
- Plots will be rendered!
Outstanding things
-
Definitely need to decide on an approach to this whole thing. Reducers - and where should they be applied, at the outer most or inner most level? So seq.count() - should that mean seq.Select(a: a.count()), or seq.count() (number of events, or a list of objects inside the event)?
-
Count needs to be changed to num or dimensions, etc.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hl_tables-1.0.0.tar.gz.
File metadata
- Download URL: hl_tables-1.0.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ea53727cd5e5804b04ee74219afd3d7c6faff26055549fe18d536e8e7c12da5
|
|
| MD5 |
91ce64adbb38bb162e78d7cac7fe3c3f
|
|
| BLAKE2b-256 |
ecd654d47f6fefb887a310524f594b07d33f0f6f519813e25c987b3155a500ab
|
File details
Details for the file hl_tables-1.0.0-py3-none-any.whl.
File metadata
- Download URL: hl_tables-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4630159b63cf01e8aacfc27acb3d927d22644362f685b7b84ddff765998bf18
|
|
| MD5 |
d6a37e1ae862bc49d8581184ece7e255
|
|
| BLAKE2b-256 |
77c98ad1e13310070b114c494d19f8dcfb443cd248f4c87669f583ec1dba0060
|