applying regex to a pandas dataframe,df['Season'].str.split('-').str[0].astype(int)