Like rfind, but raises ValueError when the substring sub is not found.
Calls str.rindex element-wise.
a : array-like of str or unicode
sub : str or unicode
start, end : int, optional
out : ndarray
Output array of ints.
See also
rfind, str.rindex
numpy.core.defchararray.rfind
numpy.core.defchararray.rjust
Enter search terms or a module, class or function name.