I have a timestamp column where the timestamp is in the following format
timestamp
2016-06-16T21:35:17.098+01:00
I want to extract date
Do this first:
df['time'] = pd.to_datetime(df['timestamp'])
Before you do your extraction as usual:
df['dates'] = df['time'].dt.date