Apply function with args in pandas,df['Month'] = df['Date'].apply(lambda x: x.strftime('%b'))