MCPcopy
hub / github.com/dask/dask / repeat

Method repeat

dask/array/core.py:2978–2989  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 11

s3_with_yellow_tripdataFunction · 0.80
_normalize_specFunction · 0.80
test_groupby_rollingFunction · 0.80
test_arrow_partitioningFunction · 0.80
test_groupby_rollingFunction · 0.80
_span_indexersFunction · 0.80
fromfunctionFunction · 0.80
test_repeatFunction · 0.80

Calls 1

repeatFunction · 0.90

Tested by 8

s3_with_yellow_tripdataFunction · 0.64
test_groupby_rollingFunction · 0.64
test_arrow_partitioningFunction · 0.64
test_groupby_rollingFunction · 0.64
test_repeatFunction · 0.64