daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::DataFrame#row

Access a row or set/create a row. Refer #[] and #[]= docs for details.

== Usage
  df.row[:a] # access row named ':a'
  df.row[:b] = [1,2,3] # set row ':b' to [1,2,3]

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-row-for-pr


# Commit to git

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


# 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-row-for-pr

hub pull-request


# Celebrate!