numpy.char.rindex
-
char.rindex(a, sub, start=0, end=None)[source] -
Подобно
rfind, но вызываетValueErrorкогда подстрокаsubне найдена.Вызывает
str.rindexпоэлементно.- Параметры
-
-
aarray-like of str or unicode -
substr or unicode -
start, endint, optional
-
- Возвращает
-
-
outndarray -
Выходной массив целых чисел.
-
См. также
-
rfind,str.rindex
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.char.rindex.html