Make a Transformation that replaces null/None data with constant
.
Details
If chaining after a make_cast
, the input type is Option<Vec<TA>>
.
If chaining after a make_cast_inherent
, the input type is Vec<TA>
, where TA
may take on float NaNs.
input_domain | Input Data Type |
vector_domain(option_domain(atom_domain(TA))) | Vec<Option<TA>> |
vector_domain(atom_domain(TA)) | Vec<TA> |
Required features: contrib
make_impute_constant in Rust documentation.
Supporting Elements:
Input Domain:
VectorDomain<DIA>
Output Domain:
VectorDomain<AtomDomain<DIA::Imputed>>
Input Metric:
M
Output Metric:
M