why do i need lambda to apply functions to a pandas dataframe?,df['SR'] = df['Info'].apply(foo)