Crate combee

source ·
Expand description

This crate contains combee: a strong typed data analysis library implemented in pure Rust. Check the github page for notebooks (using evcxr_jupyter) using combee: https://github.com/DanielSanRocha/combee.

Getting Started

Start with some examples:

  1. read_csv for reading csv files.

  2. read_parquet for reading parquet files.

  3. dataframe::DataFrame::groupby for grouping rows together.

  4. functions::mean for calculating average value of group of rows.

Modules

  • DataFrame module, contains all the basic functions (groupby, agg, find…).
  • Error module.
  • Contains useful functions (aggregation functions, groupby functions…).

Functions

  • Read a CSV file, the data parameter D must be compatible with the columns of the csv. The first row of the CSV must be the header.
  • Returns a list of string with the columns of a given CSV. Example:
  • Read an Apache Parquet file, the data parameter D must be compatible with the columns of the parquet.
  • Returns the schema of a parquet as a string. Example: