example-data 0.0.0

Toy datasets
Documentation
  • Coverage
  • 72.22%
    13 out of 18 items documented1 out of 18 items with examples
  • Size
  • Source code size: 71.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 710.04 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ErikDeSmedt

Rust

Example-data

This crate provides toy-datasets to be used in rust. Because we are using the Apache Arrow memory format it can easily be used for multiple dataframe implementations.

Currently, all datasets are embedded in the library.

Usage

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();

Suported data

  • iris: Classification if iris-flowers by petal- and sepal size
  • boston: Prediction of housing price based on accessibility, pollution, ...

Contribute

We use github. If you have any questions feel free to open an issue or send a pull-request. We'll be happy to assist.