Panda DataFrames that have `MultiIndex`es seem to always be converted to a `Table` just fine. However, when writing the `Table` to disk using `pyarrow.parquet`, I am unable to write DataFrames whose `MultiIndex` contains a level with duplicate values (which is nearly always the case for me). Here is an example in python with working cases and a failure case at bottom:
Note that the written rows is equal to the number of unique values in the `strs` level. I have found this to always be the case when I've hit this error message.
I'm happy to write a patch for this assuming this is a bug and you can point me in the right direction.