This is my table below, I want to use pandas to add some noise to x column only, my current code does not work.
x y
-------
30 0
1 1
0 1
300 0
....
I want only add noise to y==1
noise = np.random.normal(50, 10, ???)
result
x(float) y
----------------
30 0
1+noise 1
0+noise 1
300 0
....