We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Proposed fix:
transformed_column.fillna(0, inplace=True)
test_inverse_transform()
The text was updated successfully, but these errors were encountered:
However, that breaks other encoders:
def test_backward_encoder(self): X = pd.DataFrame({'name': ['Afghanistan', 'Albania', 'Algeria'], 'landmass': [5, 4, 3]}) X_t = pd.DataFrame({'name': ['American-Samoa'], 'landmass': [6]}) enc = encoders.BackwardDifferenceEncoder() result = enc.fit(X).transform(X_t)
Sorry, something went wrong.
Solved by @JohnnyC08 .
No branches or pull requests
Proposed fix:
transformed_column.fillna(0, inplace=True)
.test_inverse_transform()
- it is ok to raise an exception when the data were imputed.The text was updated successfully, but these errors were encountered: