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.
make_find in Rust documentation.
Supporting Elements:
Input Domain:
VectorDomain<AtomDomain<TIA>>
Output Domain:
VectorDomain<OptionDomain<AtomDomain<usize>>>
Input Metric:
M
Output Metric:
M