daru
https://github.com/sciruby/daru
Ruby
Data Analysis in RUby
Daru::DataFrame#verify
Test each row with one or more tests. Each test is a Proc with the form
*Proc.new {|row| row[:age] > 0}*
The function returns an array with all errors.
FIXME: description here is too sparse. As far as I can get,
it should tell something about that each test is [descr, fields, block],
and that first value may be column name to output. - zverok, 2016-05-18Edit
git clone [email protected]:sciruby/daru.git
cd daru
open lib/daru/dataframe.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Daru--DataFrame-verify-for-pr
# Commit to gitgit add lib/daru/dataframe.rbgit commit -m "better docs for Daru::DataFrame#verify"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Daru--DataFrame-verify-for-pr
hub pull-request
# Celebrate!