numpy.char.chararray.index# 方法 char.chararray.index(sub, start=0, end=None)[源码]# 与 find 类似,但在找不到子字符串时会引发 (Python v3.14) ValueError。 另请参阅 char.index