daru
https://github.com/sciruby/daru
Ruby
Data Analysis in RUby
Daru::DataFrame#clone
Returns a 'view' of the DataFrame, i.e the object ID's of vectors are preserved. == Arguments +vectors_to_clone+ - Names of vectors to clone. Optional. Will return a view of the whole data frame otherwise.
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-clone-for-pr
# Commit to gitgit add lib/daru/dataframe.rbgit commit -m "better docs for Daru::DataFrame#clone"
# 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-clone-for-pr
hub pull-request
# Celebrate!