Function opendp::transformations::make_select_column

source ·
pub fn make_select_column<K, TOA>(
    key: K
) -> Fallible<Transformation<DataFrameDomain<K>, VectorDomain<AtomDomain<TOA>>, SymmetricDistance, SymmetricDistance>>
where K: Hashable, TOA: Primitive,
Expand description

Make a Transformation that retrieves the column key from a dataframe as Vec<TOA>.

§Arguments

  • key - categorical/hashable data type of the key/column name

§Generics

  • K - data type of key
  • TOA - Atomic Output Type to downcast vector to