daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::IO.html_parse_hash

Splits headers (all th tags) into order and index. Wherein,
Order : All <th> tags on first proper row of HTML table
index : All <th> tags on first proper column of HTML table

Source | Google | Stack overflow

Edit

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

cd daru

open lib/daru/io/io.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Daru--IO-html_parse_hash-for-pr


# Commit to git

git add lib/daru/io/io.rbgit commit -m "better docs for Daru::IO.html_parse_hash"


# 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--IO-html_parse_hash-for-pr

hub pull-request


# Celebrate!