Im trying to remove the .0 present at the end of each number in the column M1 bis.
us_m1.head()
DATE M1 M1bis
0 1975-01-06 273.4 273400.0
1 1975-01-13 273.7 273700.0
2 1975-01-20 273.8 273800.0
3 1975-01-27 273.7 273700.0
4 1975-02-03 275.2 275200.0
I tried this but it is not doing anything, do you have some idea how I could do this ?
us_m1['M1bis'].replace(to_replace ='.0',value = 'None',inplace = True)
Thanks