Module extendr_api::wrapper::dataframe

source ·
Expand description

This provides an abstraction for R’s data.frame-constructor in Rust. For a given struct say CustomRow, one may implement or derive IntoDataFrameRow, thus being able to convert Vec<CustomRow> to an instance of Dataframe<CustomRow>, see Dataframe.

Structs§

  • A representation of a typed data.frame

Traits§

  • A trait to convert a collection of IntoDataFrameRow into Dataframe. Typical usage involves using the derive-macro IntoDataFrameRow on a struct, which would generate impl IntoDataframe<T> for Vec<T>.