I have a small Data Frame where the row index is date-time. I want to sum the weeks into months, but am struggling. Any suggestions? Can't seem to figure out how to group by the index.
A B C D
Date
2023-01-08 0.0000 0.7075 0.0000 0.000
2023-01-15 0.0000 1.0000 0.0000 0.000
2023-01-22 0.0000 1.0000 0.0000 0.000
2023-01-29 0.0325 0.9300 0.0000 0.025
2023-02-05 0.0250 0.9750 0.0000 0.000
2023-02-12 0.0050 0.5450 0.0000 0.000
2023-02-19 0.0000 0.1800 0.0000 0.000
2023-02-26 0.0000 0.0000 0.0000 0.000
2023-03-05 0.0000 0.0000 0.0000 0.000
2023-03-12 0.0000 0.0000 0.0000 0.000
2023-03-19 0.0000 0.0000 0.0000 0.000
2023-03-26 0.0000 0.4375 0.1875 0.000