dask_histogram.AggHistogram#
- class dask_histogram.AggHistogram(dsk, name, histref, layer=None)[source]#
Aggregated Histogram collection.
The class constructor is typically used internally;
dask_histogram.factory()is recommended for users (along with the dask_histogram.routines module).See also
Methods
__init__(dsk, name, histref[, layer])compute(**kwargs)Compute this dask collection
counts([flow])persist(**kwargs)Persist this dask collection into memory
to_boost()Convert to a boost_histogram.Histogram via computation.
to_dask_array([flow, dd])Convert histogram object to dask.array form.
to_delayed([optimize_graph])values([flow])variances([flow])visualize([filename, format, optimize_graph])Render the computation of this object's task graph using graphviz.
Attributes
daskhistrefEmpty reference boost-histogram object.
keynamendimTotal number of dimensions.
shapeShape of the histogram as an array.
sizeSize of the histogram.