pandas.Series.str.startswith

Series.str.startswith(pat, na=nan)

Return boolean array indicating whether each string starts with passed pattern

Parameters:

pat : string

Character sequence

na : bool, default NaN

Returns:

startswith : array (boolean)