Created
December 23, 2020 11:34
-
-
Save suhaskv/7cba8cdbd6aa81243c5c31b267d096bb to your computer and use it in GitHub Desktop.
VSB Power Line Blog - Check number of unique values in train data
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
for col in metadata_train.columns: | |
print(f"Number of unique values in {col} is {metadata_train[col].unique().shape[0]}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment