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

Method choose

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

2235 flatten = ravel
2236
2237 def choose(self, choices):
2238 """Use an index array to construct a new array from a set of choices.
2239
2240 Refer to :func:`dask.array.choose` for full documentation.
2241
2242 See Also
2243 --------
2244 dask.array.choose : equivalent function
2245 """
2246 from dask.array.routines import choose
2247
2248 return choose(self, choices)
2249
2250 def reshape(self, *shape, merge_chunks=True, limit=None):
2251 """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