xarray.DataArray.str.wrap

DataArray.str.wrap(width, **kwargs)

Wrap long strings in the array in paragraphs with length less than width.

This method has the same keyword parameters and defaults as textwrap.TextWrapper.

Parameters
Returns

wrapped

Return type

same type as values