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

Method ravel

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

6270 return self._array.numblocks
6271
6272 def ravel(self) -> list[Array]:
6273 """
6274 Return a flattened list of all the blocks in the array in C order.
6275 """
6276 return [self[idx] for idx in np.ndindex(self.shape)]
6277
6278
6279def _numpy_vindex(indexer, arr):

Callers 1

test_blockviewFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_blockviewFunction · 0.76