I got a dataframe from a .csv that contains a column with numeric values however they are written using a , instead of a .. I am trying to alter this before casting the value but I am guessing my lack of Python skills is making me make wring assumptions as this does not seem to work.
df['score'] = df['score'].replace(',', '.')
df['score'].astype('float64')
What is it I am doing wrong here?