MCPcopy Create free account
hub / github.com/numpy/numpy / rfind

Method rfind

numpy/core/defchararray.py:2523–2534  ·  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

2521 return asarray(replace(self, old, new, count))
2522
2523 def rfind(self, sub, start=0, end=None):
2524 """
2525 For each element in `self`, return the highest index in the string
2526 where substring `sub` is found, such that `sub` is contained
2527 within [`start`, `end`].
2528
2529 See Also
2530 --------
2531 char.rfind
2532
2533 """
2534 return rfind(self, sub, start, end)
2535
2536 def rindex(self, sub, start=0, end=None):
2537 """

Callers 7

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

Calls 1

rfindFunction · 0.85

Tested by 1

test_rfindMethod · 0.64