daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::Index.new

We over-ride the .new method so that any sort of Index can be generated
from Daru::Index based on the types of arguments supplied.

Source | Google | Stack overflow

Edit

git clone [email protected]:sciruby/daru.git

cd daru

open lib/daru/index/index.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Daru--Index-new-for-pr


# Commit to git

git add lib/daru/index/index.rbgit commit -m "better docs for Daru::Index.new"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Daru--Index-new-for-pr

hub pull-request


# Celebrate!