daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::DataFrame#write_csv

Write this DataFrame to a CSV file.

== Arguements

* filename - Path of CSV file where the DataFrame is to be saved.

== Options

* convert_comma - If set to *true*, will convert any commas in any
of the data to full stops ('.').
All the options accepted by CSV.read() can also be passed into this
function.

Source | Google | Stack overflow

Edit

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

cd daru

open lib/daru/dataframe.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Daru--DataFrame-write_csv-for-pr


# Commit to git

git add lib/daru/dataframe.rbgit commit -m "better docs for Daru::DataFrame#write_csv"


# 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--DataFrame-write_csv-for-pr

hub pull-request


# Celebrate!