Closed alexander-held closed 1 year ago
This should be moved to dask-histogram. The issue is there, not in hist.
I don't know whether we can move issues from scikit-hep
to dask-histogram
, but I can open a new one there if needed. If this is out of scope for dask-histogram
, it might still fit into hist
as a higher level API that adds convenience features perhaps.
dask-histogram already supports floats/ints/str for other inputs, weight and sample should be no different! It should broadcast!
I opened https://github.com/dask-contrib/dask-histogram/issues/68 so we can close this here I think.
Being able to use floats as weights is convenient, but not supported with Dask.
Describe the feature you'd like
Support for the above, allowing to use floats for weighting.
Describe alternatives, if any, you've considered
The following works:
cc @lgray (thanks for the workaround trick!)