質問編集履歴

1

コードの誤り変更

2019/10/03 02:04

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -6,11 +6,13 @@
6
6
 
7
7
  以下コードになります。
8
8
 
9
- data_selected_train["斤量"] = data_selected_train.loc[:,"斤量"].str.replace("☆","")
10
9
 
11
- data_selected_train["斤量"] = data_selected_train.loc[:,"斤量"].str.replace("▲","")
12
10
 
11
+ data_selected_train["斤量"] = data_selected_train["斤量"].str.replace("☆","")
12
+
13
+ data_selected_train["斤量"] = data_selected_train["斤量"].str.replace("▲","")
14
+
13
- data_selected_train["斤量"] = data_selected_train.loc[:,"斤量"].str.replace("△","")
15
+ data_selected_train["斤量"] = data_selected_train["斤量"].str.replace("△","")
14
16
 
15
17
 
16
18