Team, I have a simple dataframe with 2 columns(Datetime, Duration), Need to find what is the value of Duration on max Datetime value for each day. Below is the sample data for the dataframe
starttime Duartion
2021-07-17 03:30:00 1234
2021-07-17 07:30:00 498
2021-07-18 03:30:00 1700
2021-07-18 07:40:00 2185
o/p
starttime Duartion
2021-07-17 07:30:00 498
2021-07-18 07:40:00 2185
Any help on this please.