daru
https://github.com/sciruby/daru
Ruby
Data Analysis in RUby
Daru::DataFrame#vector_mean
Calculate mean of the rows of the dataframe. == Arguments * +max_missing+ - The maximum number of elements in the row that can be zero for the mean calculation to happen. Default to 0.
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-vector_mean-for-pr
# Commit to gitgit add lib/daru/dataframe.rbgit commit -m "better docs for Daru::DataFrame#vector_mean"
# 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-vector_mean-for-pr
hub pull-request
# Celebrate!