-
-
Save amankharwal/cede583cc418fd690af859c8a9fed79d 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 | |
var_mod = ['Category'] | |
le = LabelEncoder() | |
for i in var_mod: | |
resumeDataSet[i] = le.fit_transform(resumeDataSet[i]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment