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
For all the impute, we need to handle cols with all nulls. We need to tell the user the column is all nulls by failing the imputing or throw warnings.
I prefer fail the impute.
fail
import ibis import ibis_ml as ml import numpy as np a = ibis.memtable( {"all_null": np.array([np.nan, np.nan, np.nan], dtype="float64")} ) step = ml.ImputeMean(ml.numeric()) step.fit_table(a, ml.core.Metadata()) step.transform_table(a)
┏━━━━━━━━━━┓ ┃ all_null ┃ ┡━━━━━━━━━━┩ │ float64 │ ├──────────┤ │ nan │ │ nan │ │ nan │ └──────────┘
The text was updated successfully, but these errors were encountered:
jitingxu1
Successfully merging a pull request may close this issue.
For all the impute, we need to handle cols with all nulls. We need to tell the user the column is all nulls by failing the imputing or throw warnings.
I prefer
fail
the impute.The text was updated successfully, but these errors were encountered: