Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial caching in RDF graph #16741

Open
arizzi opened this issue Oct 24, 2024 · 0 comments
Open

Partial caching in RDF graph #16741

arizzi opened this issue Oct 24, 2024 · 0 comments
Assignees
Labels
experiment Affects an experiment / reported by its software & computimng experts new feature

Comments

@arizzi
Copy link
Contributor

arizzi commented Oct 24, 2024

Feature description

As discussed in CHEP24, it would be useful to support Caching (e.g.
RDF.Cache) of a limited number of variables with the other variables
being still available in a lazy way.

Example usage

#suppose rdf has columns Jet_pt, Jet_eta
rdf=rdf.Define("Jet_regressedPt", "slowRegression(Jet_pt)")
rdf=rdf.Cache(["Jet_regressedPt"])
rdf=rdf.Define("Jet_discriminator","computeDiscriminator(Jet_regressedPt,
Jet_eta")
rdf=rdf.TH1F("Jet_discriminator")

Alternatives considered

No response

Additional context

No response

@vepadulano vepadulano added the experiment Affects an experiment / reported by its software & computimng experts label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experiment Affects an experiment / reported by its software & computimng experts new feature
Projects
None yet
Development

No branches or pull requests

2 participants