Expand description
§Tubular
Multi-type, column-oriented DataFrame library for Rust
§Project Goals
Flexibility and ergonomics are the primary goals of this library. We’re not aiming to be the fastest or lowest-memory data structure for exploring datasets. The goal is to provide data analysts with the power of Pandas dataframe in Rust.
§Example usage
use tubular::DataFrame;
fn main() {
let mut df = DataFrame::default();
df.push("Fruit", &["dragonfruit", "mango", "banana"]);
df.push("Quantities", &[15, 231, 600]);
df.push("Organic", &[false, true, true]);
println!("{}", &df);
// Prints out a table view of the DataFrame
}§Next Steps
Read through the DataFrame docs to dig into how to use and
understand Tubular.
Structs§
- Data
Frame - A 2D matrix of cells of mixed types useful for exploratory data analysis.
- Row
- An opaque container for arbitrary types plucked from different
Columns - Rows
- Iterator over
Rowmade by callingrows()
Enums§
Traits§
- Column
Type - Ergonomically convert
Vec<T>toColumn