I got an df with this index, at some point the date change from 2024-03-03 to 2023-02-25.I want to replace the wrong part (2023...) by the logical extend of the correct one
sample:
2024-02-23 -5.600002024-02-24 -13.000002024-02-25 -27.200002024-02-26 -4.200002024-02-27 -11.200002024-02-28 -14.736252024-02-29 -19.370002024-03-01 -16.890002024-03-02 -5.970002024-03-03 -1.300002023-02-25 -35.400002023-02-26 -28.700002023-02-27 -26.400002023-02-28 -15.400002023-03-01 -14.100002023-03-02 -11.200002023-03-03 -21.000002023-03-04 -17.000002023-03-05 -17.600002023-03-06 -6.70000How to make it clean and pythonic?