回答編集履歴
1
コード修正
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
df1[~df1['CD'].isin((2,4,8))] = 0
|
17
|
+
df1['金額'][~df1['CD'].isin((2,4,8))] = 0
|
18
18
|
|
19
19
|
print(df1)
|
20
20
|
|