boost-histogram icon indicating copy to clipboard operation
boost-histogram copied to clipboard

Python bindings for the C++14 Boost::Histogram library

Results 61 boost-histogram issues
Sort by recently updated
recently updated
newest added

The `weight=` keyword argument for integer storages (Int64(), AtomicInt64()) currently accepts both integers and doubles, silently converting to integers; it should only accept integers, and provide an error if a...

project idea

For consistency with UHI, slicing an axis should produce the same sliced axes that slicing a histogram would produce.

project idea

Axis proxy objects passed to the UHI locators will gain `_slice_` and `_slice_index_ `properties that allow a UHI locator to detect the context of use. They will be optional from...

good first issue

The current error message for a Mean storage type is not very helpful if you forget to pass `sample=` to fill. We probably can improve it. We'll need a release...

- [x] C++ collector class for weights - [x] Python wrapper for collector (halfway) - [ ] Tests - [ ] Docs I don't know how to wrap this in...

Basic work toward #289. Going to be tricker than expected, since PyBind11 converts float arrays to int arrays without complaint if you use cast.

needs changelog

Testing a PR for cibuildwheel. If this works, should be a huge compile performance improvement for special archs.

needs changelog

**Describe the bug** When I try to index along two category axes, one with a single index, the other one with a list of indices, I get the following error...

I have a masked awkward array that I am trying to pass to `Hist.fill()`. The inner conversion to numpy arrays seems to fail because the `allow_missing` flag in `to_numpy()` is...

A [feature](https://pygram11.readthedocs.io/en/stable/api/var1dmw.html) I recently implemented in pygram11 allows an array of input data to be histogrammed with multiple weight variations in a single function call. In ATLAS (and I'm sure...

feature request
Upstream