I can convert a Timestamp to datetime easily:
>>> time = pd.Timestamp('2016-02-05 00:02:00')
Timestamp('2016-02-05 00:02:00')
>>> time.to_datetime()
datetime.datetime(2016, 2, 5, 0, 2)
But for some reason when I try to apply this to an entire Series the values don't change types:
>>> time = pd.Series([pd.Timestamp('2016-02-05 00:02:00'), pd.Timestamp('2016-02-05 00:03:00'), pd.Timestamp('2016-02-05 00:04:00')])
0 2016-02-05 00:02:00
1 2016-02-05 00:03:00
2 2016-02-05 00:04:00
dtype: datetime64[ns]
>>> time.apply(lambda x: x.to_datetime())
0 2016-02-05 00:02:00
1 2016-02-05 00:03:00
2 2016-02-05 00:04:00
dtype: datetime64[ns]
How can I convert that entire series into datetime?