Find the index of a data value in a set of categories.
Details
For each value in the input vector, finds the index of the value in categories.
If an index is found, returns Some(index), else None.
Chain with make_impute_constant or make_drop_null to handle nullity.
Required features: contrib
make_find in Rust documentation.
Supporting Elements:
Input Domain:
VectorDomain<AtomDomain<TIA>>Output Domain:
MInput Metric:
VectorDomain<OptionDomain<AtomDomain<usize>>>Output Metric:
M