Closed zyzhu closed 5 years ago
Just realized there is a pivotTable function. Apparently I didn't go through Titanic tutorial carefully. :(
Unstack was just the reverse of Stack, a generic case of pivotTable. I would just rename stack/unstack with melt/unmelt and leave pivotTable as is.
I'm happy to rename stack/unstack to melt/unmelt. Consistency with pandas is probably a good idea!
Closed as it's addressed in #436
My colleague and I have been using Deedle for a few years but never realized the existence of stack/unstack function. The normal terms I would look for in intellisense is pivot/melt that's common in pandas and Excel domain. https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.pivot.html https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.melt.html
Similar ideas was proposed in #217
It would be ideal to rename them to be the same as pandas.