We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, we are picking columns by ourselves, but since sklearn has its own column selectors, we can use it.
The selectors for numerical and categorical columns can be simply implemented by the following:
import numpy as np from sklearn.compose import make_column_selector as selector numerical_col_selector = selector(dtype_include=np.number) categorical_col_selector = selector(dtype_exclude=np.number)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, we are picking columns by ourselves, but since sklearn has its own column selectors, we can use it.
The selectors for numerical and categorical columns can be simply implemented by the following:
The text was updated successfully, but these errors were encountered: