Series.str.
index
(sub, start=0, end=None)[source]¶
Return lowest indexes in each strings where the substring is fully contained between [start:end]. This is the same as str.find
except instead of returning -1, it raises a ValueError when the substring is not found. Equivalent to standard str.index
.
sub : str
Substring being searched
start : int
Left edge index
end : int
Returns:Right edge index
found : Series/Index of objects
See also
rindex
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4