xarray.core.accessor_str.StringAccessor.strip¶
-
StringAccessor.
strip
(to_strip=None, side='both')¶ Remove leading and trailing characters.
Strip whitespaces (including newlines) or a set of specified characters from each string in the array from left and/or right sides.
- Parameters
- Returns
stripped
- Return type
same type as values