Created
October 20, 2019 07:46
-
-
Save jkotra/500a611805539fd7f3735d2768cb3b01 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
# data preprocessing - I | |
data.dropna(inplace=True) | |
le = LabelEncoder() | |
data["cbwd"] = le.fit_transform(data["cbwd"]) | |
data.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment