savedtweets = pd.read_csv(
    '/Users/swragg/Documents/ipython/twitter_analysis/conftwit.csv', sep=
    '\t', names=['id', 'created_at_string', 'user.screen_name', 'text'],
    parse_dates={'created_at': [1]})
print(int(max(savedtweets['id'])))
print(type(savedtweets['created_at'][0]))
savedtweets_datetime = [dt.datetime(x.year, x.month, x.day, x.hour, x.
    minute, x.second) for x in savedtweets['created_at']]
print(savedtweets_datetime[0])
print(savedtweets['created_at'][0])
print(type(dt.datetime(2014, 3, 5, 2, 4)))
print(type(savedtweets['created_at'][0].year))
print(type(savedtweets_datetime))
Преобразование pandas.tslib.Timestamp в datetime python