For users
apply_ufunc
For developers/contributors
Community
DataArray.str.
endswith
Test if the end of each string in the array matches a pattern.
The pattern pat can either be a str or array-like of str. If array-like, it will be broadcast and applied elementwise.
str
pat (str) – Character sequence. Regular expressions are not accepted. If array-like, it is broadcast.
endswith (array of bool) – A Series of booleans indicating whether the given pattern matches the end of each string element.
bool
previous
xarray.DataArray.str.encode
next
xarray.DataArray.str.extract