puruda

Crates.iopuruda
lib.rspuruda
version0.1.0
sourcesrc
created_at2020-05-16 10:24:39.83723
updated_at2020-05-16 10:24:39.83723
descriptionPure Rust DataFrame
homepage
repositoryhttps://github.com/Axect/Puruda
max_upload_size
id242313
size17,326
Tae-Geun Kim (Axect)

documentation

README

Puruda

Pure rust dataframe

Example

extern crate puruda;
use puruda::*;

fn main() {
    let a = vec![1, 2, 3];
    let b = vec!["a", "b", "c"];

    let mut c2 = Col2::from_cols(a, b);
    c2.c1().print();
    c2.c2().print();

    let c = c2.c1_mut();
    (*c) = vec![4, 5, 6];

    assert_eq!(c2.c1(), &vec![4, 5, 6]);

    c2.write_csv("hello.csv", ',').expect("Can't write csv");
}

Congruous Data Format

  • CSV Trait
    • write_csv
    • read_csv
  • HDF5
  • JSON
Commit count: 16

cargo fmt