import pandas as pd
d= {'start_time': ["06:30:00", "07:30:00", "24:30:00","17:30:00","22:30:00","16:30:00"], 'final_time': ["09:30:00", "23:30:00", "27:30:00","26:30:00","23:30:00","23:00:00"], 'time_squence': [22, 33, 223,333,3321,76]}
data=pd.DataFrame(d)
so in this pandas i want remove the rows that either in start_time or final_time that has a time more than 24hours and then update the pandas. as python cannot convert those strings(times) to datetime object.
d= {'start_time': ["06:30:00", "07:30:00","22:30:00","16:30:00"], 'final_time': ["09:30:00", "23:30:00","23:30:00","23:00:00"], 'time_squence': [22, 33,3321,76]}
data=pd.DataFrame(d)
thats the expected output and values should be converted to datetime object