Combee
Combee is a strong typed data analysis library written in pure Rust inspired by pandas (python).
Installation
Run in a Rust project directory:
Examples
-
Check the notebook using evcxr_jupyter on notebooks/analysis.ipynb to an example of analysis of dataset.
-
Below an example of loading a CSV file, filtering the dataset, and applying a function to each row:
(dataset.csv)
name,age
Daniel,26
Sergio,30
Leticia,22
(main.rs)
use ;
use ;
let df = .unwrap;
let df_filtered: = df.filter;
let df_message: = df_filtered.apply;
let messages = df_message.take;
println!;
println!;
- An example of groupby with aggregation
(main.rs)
use ;
use ;
Acknowledgments
Daniel Santana: Made with Love 💗.
ali5h: Code to deserialize parquet row link.