numpy.char.chararray.index#

方法

char.chararray.index(sub, start=0, end=None)[源代码]#

类似于 find,但当未找到子字符串时会引发 ValueError

另请参阅

char.index