Sample input dataset is:
Sample output dataset what i want:
0 2017-11-17 10:23:28.691 788
0 2017-11-17 10:23:28.691 756
0 2017-11-17 10:23:28.691 789
0 2017-11-17 10:23:28.691 780
1 2017-11-17 10:23:29.731 788
1 2017-11-17 10:23:29.731 783
2 2017-11-17 10:23:30.655 747
3 2017-11-17 10:23:31.627 766
4 2017-11-17 10:23:32.606 807
How can I do this by pandas? or is there any other technique to do this?