xarray.core.accessor_str.StringAccessor.decode

StringAccessor.decode(encoding, errors='strict')

Decode character string in the array using indicated encoding.

Parameters:
  • encoding (str) –
  • errors (str, optional) –
Returns:

decoded

Return type:

same type as values