This is a pre-release version (latest).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / _core / defchararray / chararray / rindex

function

numpy._core.defchararray:chararray.rindex

source: build-install/usr/lib/python3.14/site-packages/numpy/_core/defchararray.py:1019

Signature

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

Summary

Like rfind, but raises ValueError when the substring sub is not found.

See also

char.rindex

Aliases

  • numpy.char.chararray.rindex