On this page
numpy.core.defchararray.rfind
numpy.core.defchararray.rfind(a, sub, start=0, end=None)[source]-
For each element in
a, return the highest index in the string where substringsubis found, such thatsubis contained within [start,end].Calls
str.rfindelement-wise.Parameters: a : array-like of str or unicode
sub : str or unicode
start, end : int, optional
Optional arguments
startandendare interpreted as in slice notation.Returns: out : ndarray
Output array of ints. Return -1 on failure.
See also
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.14.5/reference/generated/numpy.core.defchararray.rfind.html