dataprofessor / code

Compilation of R and Python programming codes on the Data Professor YouTube channel.
http://youtube.com/dataprofessor
916 stars 1.43k forks source link

Fix streamlit part 5 error: ArrowTypeError: ("Expected bytes, got a 'int' object", 'Conversion failed for column FG% with type object') #12

Open HowardNTUST opened 3 years ago

HowardNTUST commented 3 years ago

Since the versions of pandas and streamlit have been updated and do not accept the following data, so I made a little change to deal with it in order to avoid error of ArrowTypeError: ("Expected bytes, got a 'int' object", 'Conversion failed for column FG% with type object')

image

changed to image