daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::Vector#verify

Reports all values that doesn't comply with a condition.
Returns a hash with the index of data and the invalid data.

Source | Google | Stack overflow

Edit

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

cd daru

open lib/daru/vector.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Daru--Vector-verify-for-pr


# Commit to git

git add lib/daru/vector.rbgit commit -m "better docs for Daru::Vector#verify"


# 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--Vector-verify-for-pr

hub pull-request


# Celebrate!