chararray.
endswith
Returns a boolean array which isTrue where the string elementinself ends withsuffix, otherwiseFalse.
See also
char.endswith
numpy.chararray.encode
numpy.chararray.expandtabs