I have 2 rows of data that look like the following (rows 8 and 9) ....
2018-01-03T10:14:32.000Z
2018-01-03T09:40:35.000Z
2018-01-03T10:17:13.000Z
2018-01-03T10:00:39.000Z
2018-01-03T10:16:53.000Z
2018-01-03T09:54:24.000Z
2018-01-03T10:18:37.000Z
2018-01-03T10:19:54.000Z
2018-01-03T09:52:40.000Z
2018-01-03T10:14:49.000Z
2018-01-03T10:16:35.000Z
Code:
df = pd.read_csv('Plaku_City_Service_Requests_in_2018.csv',
usecols = [8,9],
names = ['add', 'fix'])
df['delta'] = df['add'] - df['fix']
I am getting errors
There are 330,000 entries in this CSV file .. how do I find the timedeltas between these 2 columns?
I have these two columns stored in variables add and fix.. cant figure out how to compare.
Any help would be great, Thanks!