Skip to content

[df] Python interface for new Hist action#21584

Merged
hahnjo merged 3 commits intoroot-project:masterfrom
hahnjo:hist-df-python
Mar 16, 2026
Merged

[df] Python interface for new Hist action#21584
hahnjo merged 3 commits intoroot-project:masterfrom
hahnjo:hist-df-python

Conversation

@hahnjo
Copy link
Member

@hahnjo hahnjo commented Mar 12, 2026

Automatic pythonization takes care of the overload for one-dimensional RHist added in #21370, but for multidimensional histograms new overloads are needed to work around limitations with template parameter packs.

FYI @Vipul-Cariappa this works around the discussed problems on the C++ side, to have it working for the next release. If at some point, this starts to work out-of-the-box or with manual pythonizations we can check against the added test case.

@hahnjo hahnjo self-assigned this Mar 12, 2026
@hahnjo hahnjo requested a review from vepadulano as a code owner March 12, 2026 12:33
@hahnjo hahnjo added the in:Hist label Mar 12, 2026
@github-actions
Copy link

github-actions bot commented Mar 12, 2026

Test Results

    22 files      22 suites   3d 4h 57m 40s ⏱️
 3 810 tests  3 809 ✅ 1 💤 0 ❌
76 501 runs  76 492 ✅ 9 💤 0 ❌

Results for commit 67202dc.

♻️ This comment has been updated with latest results.

hahnjo added 3 commits March 16, 2026 09:05
The user may want to customize the bin content type, but still use
the JIT for the column types.
This works around limitations for automatic pythonization of variadic
function templates with template parameter packs.
@hahnjo hahnjo merged commit c0dcd66 into root-project:master Mar 16, 2026
30 checks passed
@hahnjo hahnjo deleted the hist-df-python branch March 16, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants