SciPy

numpy.char.chararray.index

method

chararray.index(self, sub, start=0, end=None)

Like find, but raises ValueError when the substring is not found.

See also

char.index

Previous topic

numpy.char.chararray.getfield

Next topic

numpy.char.chararray.isalnum