NumPy

Previous topic

numpy.char.chararray.rfind

Next topic

numpy.char.chararray.rjust

This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).

numpy.char.chararray.rindex

method

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

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

See also

char.rindex