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

Method repeat

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

2982 return np.array(L, dtype=object)
2983
2984 def repeat(self, repeats, axis=None):
2985 """Repeat elements of an array.
2986
2987 Refer to :func:`dask.array.repeat` for full documentation.
2988
2989 See Also
2990 --------
2991 dask.array.repeat : equivalent function
2992 """
2993 from dask.array.creation import repeat
2994
2995 return repeat(self, repeats, axis=axis)
2996
2997 def nonzero(self):
2998 """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