You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/01/29 21:40:48 UTC

[GitHub] [incubator-superset] john-bodley commented on issue #9031: [fix] Pivot table metric ordering

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org