It is not clear what the format of a dataframe should be to enable categories. I tried with a pandas multi index and it doesn't display anything.