zhaoyongjie commented on a change in pull request #15975: URL: https://github.com/apache/superset/pull/15975#discussion_r679901028
########## File path: superset/utils/pandas_postprocessing.py ########## @@ -275,6 +285,12 @@ def pivot( # pylint: disable=too-many-arguments margins_name=marginal_distribution_name, ) + if not drop_missing_columns and len(series_set) > 0 and not df.empty: + for col in df.columns: + series = "".join([str(_) for _ in col]) Review comment: nice catch! -- 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. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org