pandas.Series.str.startswith
-
Series.str.startswith(pat, na=nan)
[source] -
Return boolean Series/
array
indicating whether each string in the Series/Index starts with passed pattern. Equivalent tostr.startswith()
.Parameters: pat : string
Character sequence
na : bool, default NaN
Returns: startswith : Series/array of boolean values
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.Series.str.startswith.html