An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/red-data-tools/red-datasets-daru.svg?branch=master)](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.