Last active
November 9, 2020 03:10
-
-
Save merishnaSuwal/be85b9b3581f514106f1d9ce7b6aadf6 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
# Renaming the first column as target | |
dataset = dataset.rename(columns = {dataset.columns[0]:"target"}) | |
# Check the count of data in target | |
dataset["target"].value_counts() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment