numpy.core.defchararray.index(a, sub, start=0, end=None)
Like find, but raises ValueError when the substring is not found.
find
ValueError
Calls str.index element-wise.
str.index
a : array_like of
联系方式: