Last active
December 16, 2024 21:08
-
-
Save atodev/42ce43ce5fd8e77d1107eb17a2f82789 to your computer and use it in GitHub Desktop.
[kaggle]
This file contains hidden or 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
--to check catagorical and numerical cols | |
numerical_cols, categorical_cols = split_numerical_categorical(df_train) | |
--finding all the non-unique items in catagorical cols | |
for c in categorical_cols: | |
print(c, "n unique:",df_all[c].nunique()) | |
-- Colab to Kaggle | |
!mkdir ~/.kaggle | |
!cp kaggle.json ~/.kaggle/ | |
!chmod 600 ~/.kaggle/kaggle.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment