On this page
numpy.char.find
- numpy.char.find(a, sub, start=0, end=None)
- 
    For each element, return the lowest index in the string where substring subis found.Calls str.findelement-wise.For each element, return the lowest index in the string where substring subis found, such thatsubis contained in the range [start,end].- Parameters
- 
      - aarray_like of str or unicode
- substr or unicode
- start, endint, optional
- 
        Optional arguments startandendare interpreted as in slice notation.
 
- Returns
- 
      - outndarray or int
- 
        Output array of ints. Returns -1 if subis not found.
 
 See also 
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
 https://numpy.org/doc/1.19/reference/generated/numpy.char.find.html