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

Method squeeze

dask/array/core.py:2791–2802  ·  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

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

Callers 8

normFunction · 0.45
_custom_quantileFunction · 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