MCPcopy
hub / github.com/dask/dask / _get_quantile_chunks

Function _get_quantile_chunks

dask/array/reductions.py:1842–1847  ·  view source on GitHub ↗
(a, q, axis, keepdims)

Source from the content-addressed store, hash-verified

1840
1841
1842def _get_quantile_chunks(a, q, axis, keepdims):
1843 if keepdims:
1844 rest = (1 if ax in axis else c for ax, c in enumerate(a.chunks))
1845 else:
1846 rest = (c for ax, c in enumerate(a.chunks) if ax not in axis)
1847 return [*q.shape, *rest]

Callers 2

quantileFunction · 0.85
nanquantileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…