Repeat elements of an array. Refer to :func:`dask.array.repeat` for full documentation. See Also -------- dask.array.repeat : equivalent function
(self, repeats, axis=None)
| 2971 | return np.array(L, dtype=object) |
| 2972 | |
| 2973 | def repeat(self, repeats, axis=None): |
| 2974 | """Repeat elements of an array. |
| 2975 | |
| 2976 | Refer to :func:`dask.array.repeat` for full documentation. |
| 2977 | |
| 2978 | See Also |
| 2979 | -------- |
| 2980 | dask.array.repeat : equivalent function |
| 2981 | """ |
| 2982 | from dask.array.creation import repeat |
| 2983 | |
| 2984 | return repeat(self, repeats, axis=axis) |
| 2985 | |
| 2986 | def nonzero(self): |
| 2987 | """Return the indices of the elements that are non-zero. |