I have a dataframe where the column labels are dates for a specific period like this:
30.okt 2.nov 3.nov 4.nov
-------------------------------
123 | 12 | 23 | 43 |
As you can see, the weekends are not included in the dataframe. I need to add columns for the missing days of the weekend and replicate the data from the previous column. My desired output should look like this:
30.okt 31.okt 1.nov 2.nov 3.nov 4.nov
--------------------------------------------------
123 | 123 | 123 | 12 | 23 | 43 |
I have tried several approaches with pandas, but cannot seem to get it right. Does anyone have any tips to how to solve this easily? Thank you for any help.