I have a dataset with both binary and categorical features that I want to encode using OneHotEncoder. However, I would like to drop the binary features after encoding them.
Here is an example code snippet:
Is there a better way to drop binary features when using OneHotEncoder? Any suggestions or feedback on my current code would be appreciated. Thank you!"