If I'm reading the docs correctly for Pandas 0.13.1, read_csv should yield columns of datetimes when parse_dates = [<col1>,<col2>...]
is invoked during the read. What I'm getting instead is columns of Timestamp objects. Even with the application of .to_datetime, I still end up with Timestamp objects. What am I missing here? How can I read the strings and convert straight to datetime objects that are stored in the dataframe? It seems as if the datetime objects are getting converted to Timestamps in the dataframe.
df = read_csv('Beijing_2010_HourlyPM2.5_created20140325.csv',parse_dates=['Date (LST)'])
df['Date (LST)'][0] yields
Timestamp('2010-01-01 23:00:00', tz=None)
df['Date (LST)'] = pd.to_datetime(df['Date (LST)'])
df['Date (LST)'][0] still yields
Timestamp('2010-01-01 23:00:00', tz=None)