回答編集履歴
1
Edit
test
CHANGED
@@ -9,3 +9,9 @@
|
|
9
9
|
dfa.loc[dfa['Date']==s3, ‘SuperBowl’] = 1
|
10
10
|
|
11
11
|
```
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
条件式はisinで一気に評価できます。
|
16
|
+
|
17
|
+
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.isin.html
|