john-bodley commented on issue #9031: [fix] Pivot table metric ordering URL: https://github.com/apache/incubator-superset/pull/9031#issuecomment-579972717 @mistercrunch the reindex logic doesn't work if the resulting `pandas.DataFrame` is multi-faceted, i.e., has a `pandas.MultiIndex`. The fix is merely to use the `[]` operator for selecting the columns per [here](https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#basics).
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
