teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

変更

2018/07/05 22:10

投稿

hayataka2049
hayataka2049

スコア30939

answer CHANGED
@@ -5,4 +5,10 @@
5
5
  ```
6
6
 
7
7
  参考:
8
- [pandasで複数条件のand, or, notから行を抽出(選択) | note.nkmk.me](https://note.nkmk.me/python-pandas-multiple-conditions/)
8
+ [pandasで複数条件のand, or, notから行を抽出(選択) | note.nkmk.me](https://note.nkmk.me/python-pandas-multiple-conditions/)
9
+
10
+ もしくは、この場合
11
+ ```python
12
+ df.loc[[0,1]]
13
+ ```
14
+ でいいのか。