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)
| 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 |