Hello Everyone,
I am new to Streamlit and facing issues while working with dataframes.
Use-case : I need to store dict as cell values in dataframe βdfβ for column βaβ and string for column βbβ. Normally, my code outputs the result as required but somehow when I use the same code on Streamlit using st.dataframe, It merges cell values for the columns that has value type dict.
I have attached the example code below for your reference.
df = pd.DataFrame([[{β1β:β2β}, βabcβ], [{β6β:β3β}, 'def]], columns= [βaβ,βbβ])
Expected output:
Output using st.dataframe():
Could someone help me out on this?.
Thanks in advance.