here is my data frame:
ID A B C D E F
1 0 1 3 5 4 2
2 0 0 0 0 1 0
3 1 2 3 4 4 2
4 0 0 1 1 0 0
I want to get a new data frame based on row sums, if row sums<10, all value in this row changed to 0, which should be like:
ID A B C D E F
1 0 1 3 5 4 2
2 0 0 0 0 0 0
3 1 2 3 4 4 2
4 0 0 0 0 0 0
is there any easy way to make it?