https://github.com/red-data-tools/red-datasets-daru
A Red Datasets plugin to export dataset as Daru::DataFrame object
https://github.com/red-data-tools/red-datasets-daru
Last synced: about 1 year ago
JSON representation
A Red Datasets plugin to export dataset as Daru::DataFrame object
- Host: GitHub
- URL: https://github.com/red-data-tools/red-datasets-daru
- Owner: red-data-tools
- License: mit
- Created: 2018-03-27T01:13:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T05:36:15.000Z (over 8 years ago)
- Last Synced: 2024-05-01T22:41:23.179Z (about 2 years ago)
- Language: Ruby
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://travis-ci.org/red-data-tools/red-datasets-daru)
# README
## Nane
Red Datasets Daru
## Description
Red Datasets Daru provides the way to export a Red Datasets object as Daru::DataFrame object.
Red Datasets Daru adds `#to_daru` method to each dataset in Red Datasets. Using this method, you can obtain dataset as an object of `Daru::DataFrame` class, which is provided by [daru](https://github.com/sciruby/daru).
## Install
```console
gem install red-datasets-daru
```
## Usage
```ruby
require "datasets-daru"
iris = Datasets::Iris.new
iris_df = iris.to_daru
puts iris_df.head
```
## License
The MIT License. See `LICENSE.txt` for the details.