MCPcopy Index your code
hub / github.com/numpy/numpy / rfind

Method rfind

numpy/_core/defchararray.py:1013–1024  ·  view source on GitHub ↗

For each element in `self`, return the highest index in the string where substring `sub` is found, such that `sub` is contained within [`start`, `end`]. See Also -------- char.rfind

(self, sub, start=0, end=None)

Source from the content-addressed store, hash-verified

1011 return replace(self, old, new, count if count is not None else -1)
1012
1013 def rfind(self, sub, start=0, end=None):
1014 """
1015 For each element in `self`, return the highest index in the string
1016 where substring `sub` is found, such that `sub` is contained
1017 within [`start`, `end`].
1018
1019 See Also
1020 --------
1021 char.rfind
1022
1023 """
1024 return rfind(self, sub, start, end)
1025
1026 def rindex(self, sub, start=0, end=None):
1027 """

Callers 7

test_rfindMethod · 0.80
test_rfindMethod · 0.80
find_positionFunction · 0.80
param_parseFunction · 0.80
parse_structureFunction · 0.80

Calls 1

rfindFunction · 0.85

Tested by 3

test_rfindMethod · 0.64
test_rfindMethod · 0.64