Background:
- When we need to maintain a pivot.csv, if any update, can we have a SOP for tracing diff?
Actions:
- .py
- read pivot.csv -> DataFrame -> unPivot.csv
- .sh
- diff -> html
Ref:
- http://pandas.pydata.org/pandas-docs/stable/generated/pandas.melt.html
- http://stackoverflow.com/questions/27764378/how-to-reverse-a-2-dimension-table-into-1-dimension-list-in-pandas-python
- http://stackoverflow.com/questions/16923281/pandas-writing-dataframe-to-csv-file
- http://stackoverflow.com/questions/20845213/how-to-avoid-python-pandas-creating-an-index-in-a-saved-csv