-
numpy.core.defchararray.find(a, sub, start=0, end=None)[source] -
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: a : array_like of str or unicode
sub : str or unicode
start, end : int, optional
Optional arguments
startandendare interpreted as in slice notation.Returns: out : ndarray or int
Output array of ints. Returns -1 if
subis not found.See also
numpy.core.defchararray.find()
2025-01-10 15:47:30
Please login to continue.