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)
| 2976 | return np.array(L, dtype=object) |
| 2977 | |
| 2978 | def repeat(self, repeats, axis=None): |
| 2979 | """Repeat elements of an array. |
| 2980 | |
| 2981 | Refer to :func:`dask.array.repeat` for full documentation. |
| 2982 | |
| 2983 | See Also |
| 2984 | -------- |
| 2985 | dask.array.repeat : equivalent function |
| 2986 | """ |
| 2987 | from dask.array.creation import repeat |
| 2988 | |
| 2989 | return repeat(self, repeats, axis=axis) |
| 2990 | |
| 2991 | def nonzero(self): |
| 2992 | """Return the indices of the elements that are non-zero. |