Crate example_data[][src]

example-data is created to easily load common datasets.

We use the Apache Arrow memory format which allows for simple conversion to multiple dataframe implementations.

use example_data::{Repo};
use arrow::record_batch::RecordBatch;

let iris = Repo::default().load_table("iris").unwrap();
let batches : Vec<RecordBatch> = iris.data();
let doc : &str = iris.doc().unwrap();

Supported datatables

  • iris
  • boston

Structs

DataSet
DataTable

A table with data

Traits

Repo

Repo is a collection of DataTables