This code
print(loc_coverage)
loc_coverage2 = loc_coverage.groupby('date').min()
print(loc_coverage2)
produces this output
date location_coverage
0 2021-03-25 22.38
1 2021-03-25 22.38
2 2021-03-25 22.38
location_coverage
date
2021-03-25 22.38
2021-03-25 22.38
I was expecting to have one single row. Why are the date values not grouped?
The date is a datetime.date object and I have checked there are no duplicates.