numpy.core.defchararray.startswith(a, prefix, start=0, end=None)[source]
Returns a boolean array which is True
where the string element in a
starts with prefix
, otherwise False
.
Calls str.startswith
element-wise.
Parameters: |
a : array_like of str or unicode prefix : str start, end : int, optional With optional |
---|---|
Returns: |
out : ndarray Array of booleans |
See also
© 2008–2016 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.core.defchararray.startswith.html