I have a DataFrame that looks like this.
rnd_id Date A B C D
1 01/01/2020 2, 5, 8, 5
1 02/01/2020 4, 4, 3, 9
1 04/01/2020 2, 4, 8, 8
20 02/01/2020 3, 1, 2, 3
20 03/01/2020 6, 4, 4, 4
20 04/01/2020 5, 4, 3, 9
50 01/01/2020 6, 4, 2, 1
50 02/01/2020 8, 4, 3, 9
50 03/01/2020 3, 5, 5, 2
50 04/01/2020 2, 3, 3, 1
For a given rnd_id, it should have a row for every sequential date in a date range. What I want to be able to do is identify which rows of data are missing. So for date_range('2020-01-01', periods=4, freq='D'), it should return
rnd_id Date
1 03/01/2020
20 01/01/2020
I'm stuck because reindexing doesn't work because of the duplicate date data. Any ideas to help, please?