我正在尝试根据同一列中另一个单元格的值应用更改单元格值的条件。数据框如下:
Sample_name C14-Cer_mean C16-Cer_mean C18-Cer_mean C18:1-Cer_mean
0 1 1 0.124749 0.285659 35.302029 8.173144
1 1 10 0.332976 0.656197 39.220933 6.446620
2 1 13 0.227423 0.272440 26.866943 5.763723
3 1 14 0.128359 0.604903 29.848169 6.801633
4 1 5 0.204000 0.242652 21.354158 4.637632
5 1 6 0.122697 0.412868 25.168258 5.866785
6 1 9 0.161679 0.569781 28.707720 6.525267
7 Blank 0.408713 0.526573 0.531430 0.111025
我想检查列C14-Cer_mean C16-Cer_mean C18-Cer_mean C18:1-Cer_mean的不同行(Sample_name)中的值是否低于相应"空白"的值的2倍。如果他们是 - 将他们改为0.什么是在熊猫中做到这一点的最佳方式?