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

Method ravel

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

6062 return self._array.numblocks
6063
6064 def ravel(self) -> list[Array]:
6065 """
6066 Return a flattened list of all the blocks in the array in C order.
6067 """
6068 return [self[idx] for idx in np.ndindex(self.shape)]
6069
6070
6071def _numpy_vindex(indexer, arr):

Callers 1

test_blockviewFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_blockviewFunction · 0.76