This is documentation for an old release of NumPy (version 1.4.). Read this page in the documentation of the latest stable release (version > 1.17).
Like find, but raises ValueError when the substring is not found.
Calls str.index element-wise.
Parameters: | a : array_like of str or unicode sub : str or unicode start, end : int, optional |
---|---|
Returns: | out : ndarray
|