df_final.drop(df_final[(df_final['Coluna 2'] < minimo) &
(df_final['Coluna 4'] < minimo) &
((df_final['Coluna 1'] + df_final['Coluna 3']) > valor)])
edit:
Os meus dados são assim:
edit:
Os meus dados são assim:
In [25]: df.head(15)
Out[25]:
Nº fio 1 Diâmetro fio 1 Nº fio 2 Diâmetro fio 2 Seção total
0 1 0.60 0 0.00 0.283
1 1 0.63 0 0.00 0.312
2 1 0.67 0 0.00 0.353
3 1 0.71 0 0.00 0.396
4 1 0.75 0 0.00 0.442
5 1 0.80 0 0.00 0.503
6 1 0.85 0 0.00 0.567
7 2 0.60 0 0.00 0.565
38 2 0.63 1 0.60 0.906
37 1 0.63 2 0.60 0.877
8 2 0.63 0 0.00 0.623
36 1 0.63 1 0.60 0.594
1 1 0.63 0 0.00 0.312
40 1 0.67 2 0.63 0.976
9 2 0.67 0 0.00 0.705
2010 2 0.6771 10 0.6000 10.271792
11 2 1 0.75 0 0.6700 0.884
12 2 0.80 0 0.00 01.353005
1913 2 0.85 0 0.00 1.135
14 3 0.6771 20 0.6000 1.188
15 3 0.91875 0 0.00 1.325
4116 23 0.6780 0 0.00 1.508
17 3 0.6385 0 0.00 1.017702
18 1 0.67 1 0.60 0.635
3919 1 0.67 12 0.6360 0.664918
2320 2 0.71 1 0.63 1.415
2267 1 0.71 2 0.6360 1.019271
21 1 0.71 1 0.63 0.708
22 1 0.71 2 0.63 1.019
23 2 0.71 1 0.63 1.415
24 1 0.75 1 0.67 0.794
25 1 0.75 2 0.67 1.147
26 2 0.75 1 0.67 1.589
27 1 0.80 1 0.71 0.899
28 1 0.80 2 0.71 1.294
29 2 0.80 1 0.71 1.797
30 1 0.85 1 0.75 1.009
31 1 0.85 2 0.75 1.451
32 2 0.85 1 0.75 2.018
33 1 0.85 1 0.80 1.070
34 1 0.85 2 0.80 1.573
35 2 0.85 1 0.80 2.140
36 1 0.63 1 0.60 0.594
37 1 0.63 2 0.60 0.877
38 2 0.63 1 0.60 0.906
39 1 0.67 1 0.63 0.664
40 1 0.67 2 0.63 0.976
41 2 0.67 1 0.63 1.017
42 1 0.71 1 0.67 0.748
14 3 0.71 0 0.00 1.188
43 1 0.71 2 0.67 1.101
44 2 0.71 1 0.67 1.144
10 2 0.71 0 0.00 0.792
3 1 0.71 0 0.00 0.396
47 2 0.75 1 0.71 1.279
46 1 0.75 2 0.71 1.234
45 1 0.75 1 0.71 0.838
2546 1 0.75 2 0.67 1.147
4 1 0.75 0 0.00 0.442
11 2 0.75 0 0.00 0.884
15 3 0.75 0 0.0071 1.325234
2647 2 0.75 1 0.67 1.589
24 1 0.75 1 0.67 0.794
28 1 0.80 2 0.71 1.294279
48 1 0.80 1 0.75 0.944
5 1 0.80 0 0.00 0.503
12 2 0.80 0 0.00 1.005
16 3 0.80 0 0.00 1.508
27 1 0.80 1 0.71 0.899
50 2 0.80 1 0.75 1.447
29 2 0.80 1 0.71 1.797
49 1 0.80 2 0.75 1.386
3550 2 0.85 1 0.80 2.140
34 1 0.85 2 0.80 1.573
13 2 0.85 0 0.00 1.135
33 1 0.85 1 0.80 1.070
32 2 0.85 1 0.75 2.018
6 1 0.85 0 0.00 0.567
31 1 0.85 2 0.75 1.451
30 1 0.85 1 0.75 1.009
17 3 0.85 0 0.00 1.702447
Ou seja, os dados que quero remover são:
Nº fio 1 Diâmetro fio 1 Nº fio 2 Diâmetro fio 2 Seção total
19 1 0.67 2 0.60 0.918
20 2 0.67 1 0.60 1.271
37 1 0.63 2 0.60 0.877
38 2 0.63 1 0.60 0.906
40 1 0.67 2 0.63 0.976
41 2 0.67 1 0.63 1.017