Show blank instead of None in st.dataframe

I want to show blank space in UI instead of None.

df.style.highlight_null(props="color: transparent;")

is not working for me.

I also tried filling the null values with space, but I am running into issues since I also have to set precision later.

My streamlit version is 1.31.1. Python version is 3.10.

1 Like