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

Function _push

dask/array/overlap.py:937–943  ·  view source on GitHub ↗
(array, n: int | None = None, axis: int = -1)

Source from the content-addressed store, hash-verified

935
936
937def _push(array, n: int | None = None, axis: int = -1):
938 # work around for bottleneck 178
939 limit = n if n is not None else array.shape[axis]
940
941 import bottleneck as bn
942
943 return bn.push(array, limit, axis)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected