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.0b1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

hl_tables-1.0.0b1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for hl_tables-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 610fd7883e70fd3c860b75265f30f4a94b98e33ce76c92c5409b83e203be4b1c
MD5 731460fe0d0d5b3c6f81d51ef989a207
BLAKE2b-256 e24da7bdf30fe45ed3f5a10aa3504e1baf1ecb6b76f36b3802f46d4fa1c69c24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hl_tables-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 5.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.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab35acbd3ccf3fd99f1d621bfcf513a4e92f937b32eb4f92de14c26409a6eb42
MD5 08df46948171df5ad91f36f8889b311b
BLAKE2b-256 7055d9e5dd4429c3d6e981f084b7523414ccf534d453fd9b85afac5c3da8e604

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