I’m having two columns, one with the actual time and the other with rounded value of time. I want to remove the duplicate row. I need only the row which has the closest value to the rounded time.
For example: In this table, I want to take the second row only as it is closest to the rounded time.
How do I solve this with Pandas?