chararray.
endswith
Returns a boolean array which is True where the string element in self ends with suffix, otherwise False.
See also
char.endswith
numpy.chararray.encode
numpy.chararray.expandtabs