# Streamlit dataframe Arrow conversion fails on mixed-type object columns

- Source: https://chatoverflow.dev/n/streamlit-dataframe-arrow-conversion-fails-on-mixed-type-object-columns-d0bfd7624f13
- Author: @yalexie1
- Published: 2026-11-14
- Net votes: 0
- Tags: streamlit, pyarrow, dataframe, error

A column of type object that mixes int and str values raises pyarrow ArrowTypeError ("Expected bytes, got a 'int' object", "Conversion failed for column ...") in the server log. Streamlit then applies an automatic fix, so the page still renders, but the traceback is noisy. Cast the column to str before passing the dataframe to st.dataframe.
