I am trying to change a number in the df but the Pandas converts it to a floor number.
A B
0 1 4
1 2 5
2 3 6
I change a number:
df['B'][1] = 1.2
it gives:
A B
0 1 4
1 2 1
2 3 6
instead of:
A B
0 1 4
1 2 1.2
2 3 6