Hover tool of pandas dataframe styler not working in streamlit app

Hi guys,

Code:

def magnify():
return [dict(selector=“tr:hover”,
props=[(“background-color”, “red”)])]

df_display = df_display.style.set_table_styles(magnify())
st.write(df_display)

where df_display is pandas dataframe

Here in this code when i try to run it streamlit it is not able to render the hover property of the styler of pandas dataframe but it successfully gets updated/working a jupyter lab/hub/notebook.
Also “.hide_index()” method of pandas.style does not work.

Can anybody help out by pointing if i am doing something wrong or streamlit does not support the hover property ? ?

Appreciate the help.