daru
https://github.com/sciruby/daru
Ruby
Data Analysis in RUby
Daru::MultiIndex#initialize
names and levels should be of same size. If size of Array `name` is less or greater than size of array `levels` then it raises `SizeError`. If user don't want to put name for particular level then user must put empty string in that index of Array `name`. For example there is multi_index of 3 levels and user don't want to name level 0, then do mulit_index.name = ['', 'level1_name1', 'level2_name']
Edit
git clone [email protected]:sciruby/daru.git
cd daru
open lib/daru/index/multi_index.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Daru--MultiIndex-initialize-for-pr
# Commit to gitgit add lib/daru/index/multi_index.rbgit commit -m "better docs for Daru::MultiIndex#initialize"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Daru--MultiIndex-initialize-for-pr
hub pull-request
# Celebrate!