Created
March 20, 2022 18:14
-
-
Save kshirsagarsiddharth/19b702d024aee8c57e926c0f8c790eb7 to your computer and use it in GitHub Desktop.
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
# Add one-hot encoded columns and numerical features | |
encoded_X_train = pd.concat([oh_cols_train, sc_cols_train,ord_cols_train], axis = 1) | |
encoded_X_valid = pd.concat([oh_cols_valid, sc_cols_valid,ord_cols_valid], axis = 1) | |
encoded_X_train |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment