modify and add transpose pandas dataframe