Closed Yuki-Inoue closed 5 years ago
reset_index will change index into columns. Refer: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.reset_index.html
To implement this method, Index#to_df and MultiIndex#to_df was also defined. Since pandas also have such method, I think we can get benefits by implementing such method. refer: https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.MultiIndex.to_frame.html#pandas.MultiIndex.to_frame
Index#to_df
MultiIndex#to_df
reset_index will change index into columns. Refer: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.reset_index.html
To implement this method,
Index#to_df
andMultiIndex#to_df
was also defined. Since pandas also have such method, I think we can get benefits by implementing such method. refer: https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.MultiIndex.to_frame.html#pandas.MultiIndex.to_frame