numpy.chararray.endswith

chararray.endswith(suffix, start=0, end=None)[source]

返回True的布尔数组,self中的字符串元素以后缀结尾,否则False

也可以看看

char.endswith