SciRuby / daru

Data Analysis in RUby
BSD 2-Clause "Simplified" License
1.04k stars 139 forks source link

DataFrame#set_index can take column name array, which results in multi-index #471

Closed Yuki-Inoue closed 5 years ago

Yuki-Inoue commented 5 years ago

Currently, set_index can create only the simple single index.

With this fix, set_index can take column name array, which results in MultiIndex set. (Just like pandas: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.set_index.html )