title: How to fix StreamlitAPIException: ("Expected bytes, got a 'int' object", 'Conversion failed for column FG% with type object')
body: <p><strong>Error:</strong></p>
  <pre><code>StreamlitAPIException: (&quot;Expected bytes, got a 'int' object&quot;, 'Conversion failed for column FG% with type object')
  </code></pre>
  <p><strong>Error Traceback</strong></p>
  <pre><code>Traceback:
  File &quot;C:\Users\ASUS\streamlit_freecodecamp-main\app_3_eda_basketball\basketball_app.py&quot;, line 44, in &lt;module&gt;
      st.dataframe(df_selected_team)
  </code></pre>