7a35b74b0cb6b627b42d8714e1a4da946747c332
python/pandas/ValueError: y contains previously unseen labels: ''.md
... | ... | @@ -2,7 +2,7 @@ LabelEncoderをフィットさせたフィット元データに含まれない |
2 | 2 | |
3 | 3 | 解決策というか、妥協策? |
4 | 4 | [python - sklearn.LabelEncoder with never seen before values - Stack Overflow](https://stackoverflow.com/questions/21057621/sklearn-labelencoder-with-never-seen-before-values) |
5 | -``` |
|
5 | +```python3 |
|
6 | 6 | from sklearn.preprocessing import LabelEncoder |
7 | 7 | |
8 | 8 | le = preprocessing.LabelEncoder() |