xarray.core.accessor_str.StringAccessor.repeat

StringAccessor.repeat(self, repeats)

Duplicate each string in the array.

Parameters

repeats (int) – Number of repetitions.

Returns

repeated – Array of repeated string objects.

Return type

same type as values