Crate tubular

Source
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§

DataFrame
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 Row made by calling rows()

Enums§

Column
Represents a single column in a DataFrame.

Traits§

ColumnType
Ergonomically convert Vec<T> to Column

Type Aliases§

Header
Column id used to lookup and describe columns in a DataFrame