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

Method choose

dask/array/core.py:2242–2253  ·  view source on GitHub ↗

Use an index array to construct a new array from a set of choices. Refer to :func:`dask.array.choose` for full documentation. See Also -------- dask.array.choose : equivalent function

(self, choices)

Source from the content-addressed store, hash-verified

2240 flatten = ravel
2241
2242 def choose(self, choices):
2243 """Use an index array to construct a new array from a set of choices.
2244
2245 Refer to :func:`dask.array.choose` for full documentation.
2246
2247 See Also
2248 --------
2249 dask.array.choose : equivalent function
2250 """
2251 from dask.array.routines import choose
2252
2253 return choose(self, choices)
2254
2255 def reshape(self, *shape, merge_chunks=True, limit=None):
2256 """Reshape array to new shape

Callers 2

variadic_chooseFunction · 0.80
test_chooseFunction · 0.80

Calls 1

chooseFunction · 0.90

Tested by 1

test_chooseFunction · 0.64