Utah
Utah is a Rust crate backed by ndarray for type-conscious, tabular data manipulation with an expressive, functional interface.
Note: This crate works on stable. However, if you are working with dataframes with f64
data and String
column/index labels, use nightly, because you will get the performance benefits of specialization.
API currently in development and subject to change.
For an in-depth introduction to the mechanics of this crate, as well as future goals, read this blog post: PLACEHOLDER
Install
Add the following to your Cargo.toml:
utah="0.0.1"
extern crate utah
in lib.rs
and you're good to go.
Examples
Create dataframes on the fly
use *;
let df = = dataframe!;
let a = arr2;
let df : = new.index;
Transform the dataframe
use *;
let df: = read_csv?;
let res : = df.remove.as_df?;
Chain operations
use *;
let df: = read_csv.unwrap;
let res : = df.df_iter
.remove
.select
.append
.sumdf
.as_df?;
Support mixed types
use *;
let a = = dataframe!;
let b: = read_csv?;
let res : = a.left_inner_join.as_df?;