xarray.core.accessor_str.StringAccessor.get

StringAccessor.get(i)

Extract element from indexable in each element in the array.

Parameters:
  • i (int) – Position of element to extract.
  • default (optional) – Value for out-of-range index. If not specified (None) defaults to an empty string.
Returns:

items

Return type:

array of objects