pandas.Series.str.rfind
-
Series.str.rfind(self, sub, start=0, end=None)[source] -
Возвращает индексы наиболее высоких позиций в каждой строке в Series/Index, где подстрока полностью содержится между [start:end]. Возвращает -1 при неудаче. Эквивалентно стандартной функции
str.rfind().Параметры: -
sub : str -
Искомая подстрока
-
start : int -
Индекс левого края
-
end : int -
Индекс правого края
Возвращает: -
found : Series/Index of integer values
См. также
-
find - Возвращает индексы наиболее низких позиций в каждой строке.
-
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Series.str.rfind.html