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.core.defchararray.chararray.encode
numpy.core.defchararray.chararray.expandtabs