numpy.char.
rindex
Like rfind, but raises ValueError when the substring sub is not found.
rfind
Calls str.rindex element-wise.
Output array of ints.
See also
rfind, str.rindex
str.rindex
numpy.char.rfind
numpy.char.startswith