NumPy

Previous topic

numpy.char.chararray.resize

Next topic

numpy.char.chararray.rindex

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

numpy.char.chararray.rfind

method

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

For each element in self, return the highest index in the string where substring sub is found, such that sub is contained within [start, end].

See also

char.rfind