numpy.core.defchararray.startswith
-
numpy.core.defchararray.startswith(a, prefix, start=0, end=None)[source] -
Returns a boolean array which is
Truewhere the string element inastarts withprefix, otherwiseFalse.Calls
str.startswithelement-wise.Parameters: a : array_like of str or unicode
prefix : str
start, end : int, optional
With optional
start, test beginning at that position. With optionalend, stop comparing at that position.Returns: out : ndarray
Array of booleans
See also
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.14.5/reference/generated/numpy.core.defchararray.startswith.html