Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Copy link
Member

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.

Vipul-Cariappa reacted with thumbs up emoji
hahnjo self-assigned this Mar 12, 2026
hahnjo requested review from bellenot and martamaja10 as code owners March 12, 2026 12:33
hahnjo added the in:RDataFrame label Mar 12, 2026
hahnjo requested a review from vepadulano as a code owner March 12, 2026 12:33
hahnjo added the in:Hist label Mar 12, 2026
hahnjo force-pushed the hist-df-python branch from 835e75e to e09291c Compare March 12, 2026 12:41
Copy link

github-actions bot commented Mar 12, 2026 *
edited
Loading

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.

vepadulano approved these changes Mar 13, 2026
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 force-pushed the hist-df-python branch from e09291c to 67202dc Compare March 16, 2026 08:10
hahnjo merged commit c0dcd66 into root-project:master Mar 16, 2026
30 checks passed
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

Reviewers

vepadulano vepadulano approved these changes

bellenot Awaiting requested review from bellenot bellenot is a code owner

martamaja10 Awaiting requested review from martamaja10 martamaja10 is a code owner

Assignees

hahnjo

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants