fixes cross-validation error when wrapping OneHotEncoder - #375
Conversation
|
The changes in the wrappers.py file and the additional test with the cv look great! Thank you so much for this. We do need to remove all the other files from the PR though. The are not relevant for this PR. Would you be able to do that? To remove the additional files you need to do:
If the tests fail, let me know. But they shouldn't. |
Hi Soledad, |
|
Yes. Those files :) |
OK done in latest commit! Unit tests all passed. |
|
Thank you! To pass the test we need to shorten this line of code:
would you be able to do that? if you do |
|
OK done in latest commit. It's strange that my CLI |
|
Thank you so much @noahjgreen295 ! Merging and closing as we speak :) |
|
My pleasure, glad to help! And thank you for guiding me through the process. Happy to be involved with this great project. |
* added unit test for issue #368; test is now failing before fix is made * fix to issue #368, making index compatible in OneHotEncoder-generated DataFrame so that it concatenates correctly * isort/black formatting * additional style fixes after tox run * undid tox style fixes on files outside of PR scope * formatting fix
Fix and unit test for issue 368