wushenchao commented on issue #7362: Pivot Table Field alias display problem URL: https://github.com/apache/incubator-superset/issues/7362#issuecomment-524144368 > This issue affects all of my pivot tables. I replace with the df_html data in viz.py PivotTableViz, the code: group_bys = self.form_data.get('groupby') if group_bys and len(group_bys) > 1: for col in group_bys: for column in self.datasource.columns: verbose_name = column.verbose_name if column.column_name == col and verbose_name: df_html = df_html.replace('<th>{}</th>'.format(col), '<th>{}</th>'.format(verbose_name), 1) return dict( columns=list(df.columns), html=df_html, )
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org