xarray.DataArray.str._stringify

DataArray.str._stringify(invar)[source]

Convert a string-like to the correct string/bytes type.

This is mostly here to tell mypy a pattern is a str/bytes not a re.Pattern.