I have data from Pandas which was the contents of a CSV file:
Date Inbound Outbound
17/10/2019 12:35 5.49E+02 3.95E+03
17/10/2019 12:40 2.06E+02 3.17E+03
17/10/2019 12:45 2.06E+02 3.17E+03
17/10/2019 12:50 2.06E+02 3.17E+03
17/10/2019 12:55 2.06E+02 3.17E+03
17/10/2019 13:00 2.06E+02 3.17E+03
....
I aim to convert the column Date
from timestamps to time periods in units of minutes, which should result in something like the following:
Date Inbound Outbound
0 5.49E+02 3.95E+03
5 2.06E+02 3.17E+03
10 2.06E+02 3.17E+03
15 2.06E+02 3.17E+03
20 2.06E+02 3.17E+03
25 2.06E+02 3.17E+03