Last active
December 16, 2024 21:08
-
-
Save atodev/42ce43ce5fd8e77d1107eb17a2f82789 to your computer and use it in GitHub Desktop.
Revisions
-
atodev revised this gist
Dec 16, 2024 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,9 @@ --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 -
atodev created this gist
Dec 16, 2024 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ to check catagorical and numerical cols numerical_cols, categorical_cols = split_numerical_categorical(df_train)