/Users/.../.venv/lib/python3.9/site-packages/st_aggrid/__init__.py:253: FutureWarning: Passing a dict as an indexer is deprecated and will raise in a future version. Use a list instead.
frame.loc[:,text_columns] = frame.loc[:,text_columns].astype(str)
I'm using the following versions:
st_aggrid 0.2.3
pandas 1.4.0
streamlit 1.4.0
I believe the solution would be to use text_columns.keys() instead of text_columns. And to make similar changes for the other column types in st_aggrid/__init__.py
Happy to submit a PR with these changes if you like.
Hey 👋 Thanks for the great package!
I'm encountering the following warning:
I'm using the following versions:
0.2.3
1.4.0
1.4.0
I believe the solution would be to use
text_columns.keys()
instead oftext_columns
. And to make similar changes for the other column types inst_aggrid/__init__.py
Happy to submit a PR with these changes if you like.