daru

https://github.com/sciruby/daru

Ruby

Data Analysis in RUby

Daru::DateTimeIndexHelper.offset_from_frequency

Generates a Daru::DateOffset object for generic offsets or one of the
specialized classed within Daru::Offsets depending on the 'frequency'
string.

Source | Google | Stack overflow

Edit

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

cd daru

open lib/daru/date_time/index.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Daru--DateTimeIndexHelper-offset_from_frequency-for-pr


# Commit to git

git add lib/daru/date_time/index.rbgit commit -m "better docs for Daru::DateTimeIndexHelper.offset_from_frequency"


# 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--DateTimeIndexHelper-offset_from_frequency-for-pr

hub pull-request


# Celebrate!