pandas.tslib.TimestampTimestamp('2013-01-01 00:00:00', tz=None)
type(dates[0]) == pandas.tslib.Timestamp
False
type(dates[0]) == pd.tslib.Timestamp
True
How do I test if an object is a pandas datetime index?