質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,9 +2,13 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
```Python
|
6
|
+
|
5
7
|
for c in train.columns[train.dtypes == 'object']:
|
6
8
|
|
7
9
|
X[c] = X[c].factorize()[0]
|
10
|
+
|
11
|
+
```
|
8
12
|
|
9
13
|
|
10
14
|
|