I am receiving an error while dividing two columns value in a dataframe. This is the code:
df['lose%'] = df['LostGames']/ df['PlayedGames']
This is my error:
TypeError: unsupported operand type(s) for /: 'str' and 'str'
Can anyone help me with this ??