i have a dataset that contains columns called date, shift, value, and so on.I want to extract last value for each date and shift from value column. For example for each day, there are two rows one contains datetime,shift(day or night) and last datapoints from value for each shift.
In this example, I want to extract 3 rd row(because the highest value for 7/14 and Day time is 3)
I only know how to get maximum value for each column. I tried in several ways to get this work done but it didn't work for me. I'm new to python and looking for your help.