Skip to main content

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')
  1. The histogram data will be calculated by the backend and returned to your local Jupyter instance.
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hl_tables-1.0.0b3.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

hl_tables-1.0.0b3-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file hl_tables-1.0.0b3.tar.gz.

File metadata

  • Download URL: hl_tables-1.0.0b3.tar.gz
  • Upload date:
  • Size: 10.1 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

Hashes for hl_tables-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 7d4e2b444b9d3ca27b3af6d00230673d67f456b097491eba80d159686fd77fc6
MD5 2825468f82f5f7ca01adb01ae794dc52
BLAKE2b-256 612ef7c5bfde9b989632171dddf98cecae1afdce12704ed86d66bc6c4ab848d9

See more details on using hashes here.

File details

Details for the file hl_tables-1.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: hl_tables-1.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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

Hashes for hl_tables-1.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 cd1fb259f23f4ad05749c4f1e9c44db95ea4436e2b9b399612580cb259254881
MD5 ec93b7802e42963910d7884d08549a07
BLAKE2b-256 586c708395e6b618d70bde90399ad7b92fab689d732ec2238ebce06e120f89b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page