I am stuck on an probably stupid issue but I can't find a way.
In my dataframe I have some dates. I want to replace '3000-01-01' by '2900-01-01'. I tried with simple quotes:
BAB = BAB.replace('3000-01-01','2900-01-01')
double quotes:
BAB = BAB.replace("3000-01-01","2900-01-01")
and also by filtering
BAB[BAB['ADHEND'] == '3000-01-01'] = '2900-01-01'
but not working, like the screenshot shows
Can someone helps me understand why?
Thanks