dask_histogram.PartitionedHistogram

dask_histogram.PartitionedHistogram

class dask_histogram.PartitionedHistogram(dsk, name, npartitions, histref)[source]

Partitioned Histogram collection.

The class constructor is typically used internally; dask_histogram.factory() is recommended for users (along with the dask_histogram.routines module).

__init__(dsk, name, npartitions, histref)[source]

Methods

__init__(dsk, name, npartitions, histref)

collapse([split_every])

Translate into a reduced aggregated histogram.

compute(**kwargs)

Compute this dask collection

persist(**kwargs)

Persist this dask collection into memory

to_delayed([optimize_graph])

visualize([filename, format, optimize_graph])

Render the computation of this object's task graph using graphviz.

Attributes

dask

histref

reference histogram.

name

npartitions