PablocFonseca / streamlit-aggrid

Implementation of Ag-Grid component for Streamlit
https://pypi.org/project/streamlit-aggrid/
MIT License
1.06k stars 202 forks source link

Support DataFrames with MultiIndex #41

Closed avibrazil closed 2 years ago

avibrazil commented 3 years ago

Currently it fails with error TypeError: keys must be str, int, float, bool or None, not tuple

JohannCR commented 2 years ago

Have you tried with this example ? https://github.com/PablocFonseca/streamlit-aggrid/blob/main/examples/main_example.py

I remember getting rid of this error with a multiColumn dataframe, but I can't tell you what did the trick exactly, so you'll have to find out by trial and error... Hope that helps

PablocFonseca commented 2 years ago

related to #13