pandas.Series.str.startswith
-
Series.str.
startswith
(pat, na=nan) 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