applying regex to a pandas dataframe,df['Season'].str[:4].astype(int)