26bf8290db0e8eacdb3d9d92913bad86613ee4eb
python/pandas/ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()...md
| ... | ... | @@ -2,6 +2,6 @@ |
| 2 | 2 | |
| 3 | 3 | DataFrameからレコードを複数の条件で絞り込むときは、`()`で括る必要がある。 |
| 4 | 4 | |
| 5 | -``` |
|
| 5 | +```python |
|
| 6 | 6 | result = result[(result['var']>0.25) | (result['var']<-0.25)] |
| 7 | 7 | ``` |
| ... | ... | \ No newline at end of file |