daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::Category#describe

Gives the summary of data using following parameters
- size: size of the data
- categories: total number of categories
- max_freq: Max no of times a category occurs
- max_category: The category which occurs max no of times
- min_freq: Min no of times a category occurs
- min_category: The category which occurs min no of times

Source | Google | Stack overflow

Edit

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

cd daru

open lib/daru/category.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Daru--Category-describe-for-pr


# Commit to git

git add lib/daru/category.rbgit commit -m "better docs for Daru::Category#describe"


# 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--Category-describe-for-pr

hub pull-request


# Celebrate!