MCPcopy
hub / github.com/dask/dask / squeeze

Method squeeze

dask/array/core.py:2785–2796  ·  view source on GitHub ↗

Remove axes of length one from array. Refer to :func:`dask.array.squeeze` for full documentation. See Also -------- dask.array.squeeze : equivalent function

(self, axis=None)

Source from the content-addressed store, hash-verified

2783 return cumprod(self, axis, dtype, out=out, method=method)
2784
2785 def squeeze(self, axis=None):
2786 """Remove axes of length one from array.
2787
2788 Refer to :func:`dask.array.squeeze` for full documentation.
2789
2790 See Also
2791 --------
2792 dask.array.squeeze : equivalent function
2793 """
2794 from dask.array.routines import squeeze
2795
2796 return squeeze(self, axis)
2797
2798 def rechunk(
2799 self,

Callers 8

normFunction · 0.45
_custom_nanquantileFunction · 0.45
_chunk_sumFunction · 0.45
_sum_wo_catFunction · 0.45
matmulFunction · 0.45
covFunction · 0.45
test_squeezeFunction · 0.45
test_squeeze_1d_arrayFunction · 0.45

Calls 1

squeezeFunction · 0.90

Tested by 2

test_squeezeFunction · 0.36
test_squeeze_1d_arrayFunction · 0.36