回答編集履歴
1
追記
answer
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
```Python
|
2
|
+
import numpy as np
|
3
|
+
|
2
4
|
print(df[np.all(df.iloc[:,[0,1]]==1, axis=1)])
|
3
5
|
# a b c
|
4
6
|
#2 1 1 0
|