I want to check for time gaps in test_date_time column:
device_id eventDateTime firstPacketDateTime lastPacketDateTime test_date_time
MC2C5HRC0KF445779 27/12/2021 0:45 27/12/2021 0:45 27/12/2021 0:59 0:45
MC2C5HRC0KF445779 27/12/2021 1:00 27/12/2021 1:00 27/12/2021 1:13 1:00
MC2C5HRC0KF445779 27/12/2021 1:15 27/12/2021 1:16 27/12/2021 1:29 1:15
MC2C5HRC0KF445779 27/12/2021 1:30 27/12/2021 1:30 27/12/2021 1:42 1:30
MC2H3JRC0LC178168 27/12/2021 10:45 27/12/2021 10:46 27/12/2021 10:56 10:45
MC2H3JRC0LC178168 27/12/2021 11:15 27/12/2021 11:15 27/12/2021 11:25 11:15
MC2H3JRC0LC178168 27/12/2021 11:30 27/12/2021 11:35 27/12/2021 11:35 11:30
Time should be increasing from 0:00 to 23:45 with each index of the column have a value with gap of 15 mins. Eg:
test_date_time
0:00
0:15
0:30
0:45
1:00
1:15
1:30
I want to separate out those rows having time gap of more than 15 mins and store them inside another dataframe.
How can I implement this without using a for loop?