I have a data like this,
ID datetime
0 2 2015-01-09 19:05:39
1 1 2015-01-10 20:33:38
2 1 2015-01-10 21:10:00
I've converted this datetime into unix time stamp
ID timestamp
0 2 1420830339
1 1 1420922018
2 1 1420924200
I want to first convert unix time stamp to EST standard and then bin each row into a 10 minutes interval. I need a column to indicate which bin this row belongs to.
My min datetime is 2015-01-01 00:00:00 and I only have data for jan 2015 from 1 to 31.
How can I achieve this using python or pandas.