Crates.io | example-data |
lib.rs | example-data |
version | 0.0.0 |
source | src |
created_at | 2021-02-12 22:16:16.358258 |
updated_at | 2021-02-12 22:16:16.358258 |
description | Toy datasets |
homepage | |
repository | |
max_upload_size | |
id | 354388 |
size | 54,329 |
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.
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();
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.