I am trying to convert one column of my dataframe to datetime. Following the discussion here https://github.com/dask/dask/issues/863 I tried the following code:
I'm not sure if it this is the right approach, but mapping the column worked for me:
df['time'] = df['time'].map(lambda x: pd.to_datetime(x, errors='coerce'))