applying regex to a pandas dataframe,df['Season2'] = df['Season'].apply(lambda x: split_it(x))