Created
May 31, 2019 05:56
-
-
Save shubham-singh-ss/a8bb261f31d0e5e63bd4e4fc59f5666e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.preprocessing import LabelEncoder | |
dfcategory = df_category.apply(LabelEncoder().fit_transform) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment