MCPcopy Create free account
hub / github.com/dask/dask / _block_hist

Function _block_hist

dask/array/routines.py:856–858  ·  view source on GitHub ↗
(x, bins_range, weights=None)

Source from the content-addressed store, hash-verified

854
855
856def _block_hist(x, bins_range, weights=None):
857 bins, range = bins_range
858 return np.histogram(x, bins, range=range, weights=weights)[0][np.newaxis]
859
860
861def histogram(a, bins=None, range=None, normed=False, weights=None, density=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected