xarray.DataArray.str.repeat

DataArray.str.repeat(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