daru
https://github.com/sciruby/daru
Ruby
Data Analysis in RUby
Daru::DataFrame#map!
Destructive map. Modifies the DataFrame. Each run of the block must return a Daru::Vector. You can specify the axis to map over as the argument. Default to :vector. == Arguments * +axis+ - The axis to map over. Can be :vector (or :column) or :row. Default to :vector.
Edit
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-map--for-pr
# Commit to gitgit add lib/daru/dataframe.rbgit commit -m "better docs for Daru::DataFrame#map!"
# 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-map--for-pr
hub pull-request
# Celebrate!