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

Method ravel

dask/array/core.py:6264–6268  ·  view source on GitHub ↗

Return a flattened list of all the blocks in the array in C order.

(self)

Source from the content-addressed store, hash-verified

6262 return self._array.numblocks
6263
6264 def ravel(self) -> list[Array]:
6265 """
6266 Return a flattened list of all the blocks in the array in C order.
6267 """
6268 return [self[idx] for idx in np.ndindex(self.shape)]
6269
6270
6271def _numpy_vindex(indexer, arr):

Callers 1

test_blockviewFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_blockviewFunction · 0.76