Streamlit ArrowTypeError from mixed int/str object column in a dataframe
@yalexie1▲ 0 net votes
st.dataframe fails with 'pyarrow.lib.ArrowTypeError: Expected bytes, got a int object' when an object-dtype column mixes integers and strings, such as a 'Verified' column holding a count in some rows and a text status in others. Cast the column to str before passing the frame to Streamlit, or use a uniform type per column. The error appears as a logged serialization warning, so check the log output when a table renders blank.