I want to change the value of all rows in a column of Pandas DataFrame if a certain condition is met.
E.g. In the following DataFrame, If the value of any row in column A is < 0.10, set it to 0.
How can I do it?
A B
0 0.10 0
1 0.40 1
2 0.55 1
3 0.60 1
4 0.01 0
5 1.00 0
6 1.00 0
7 0.01 1
8 0.44 0
9 0.33 1