https://github.com/red-data-tools/red-datasets-arrow
A Red Datasets plugin to export dataset as Apache Arrow object
https://github.com/red-data-tools/red-datasets-arrow
Last synced: about 1 year ago
JSON representation
A Red Datasets plugin to export dataset as Apache Arrow object
- Host: GitHub
- URL: https://github.com/red-data-tools/red-datasets-arrow
- Owner: red-data-tools
- License: mit
- Created: 2018-01-02T15:00:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-13T04:52:49.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T10:47:26.236Z (over 1 year ago)
- Language: Ruby
- Size: 16.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# README
## Name
Red Datasets Arrow
## Description
Red Datasets Arrow adds [Apache Arrow](http://arrow.apache.org/) object export feature to Red Datasets.
Red Datasets Arrow adds `#to_arrow` method to each dataset in Red Datasets. You can get dataset as `Arrow::Table` object. `Arrow::Table` is provided by [Red Arrow](https://github.com/apache/arrow/tree/master/ruby/red-arrow).
## Install
```console
% gem install red-datasets-arrow
```
## Usage
Here is an example to access iris dataset by `#to_arrow`:
```ruby
require "datasets-arrow"
iris = Datasets::Iris.new
puts iris.to_arrow
```
## License
The MIT license. See `LICENSE.txt` for details.