Open david-cortes opened 11 months ago
Thank you @david-cortes
hi @solegalli and @david-cortes,
Slowly dipping my toes back into feature-engine.
Is the idea to create a test/check function on dataframe_checks.py and then add the check functions to the parent transformers in the fit() method?
No, I think the idea was to add a generic test to estimator_checks to test all transformers to ensure that they inherit this functionality properly. I am not sure if it is an overkill or not.
Ok, so as the code base stands, feature-engine transformers raise errors when there are duplicative feature names, correct? This issue is to create a test that the error is being raised when expected.
Correct!
Per comment in PR: https://github.com/feature-engine/feature_engine/pull/686#pullrequestreview-1544746361
After the PR in the link above gets merged, there will be a general check for duplicated columns for which a test was added in
test_dataframe_checks.py
. This new error raised on duplicated column names should be tested also in the invidual transformers inestimator_checks/*
after the files gets refactored.