MCPcopy Index your code
hub / github.com/dask/dask / ravel

Method ravel

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

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

Callers 1

test_blockviewFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_blockviewFunction · 0.76