I have a dataframe with numbers like '1 234' but they are string objects. And I tried to convert in float with df[column].apply(pandas.to_numeric, errors='ignore', downcast='float'). I want to iterate of each column because the dataframe change and columns too.
The problem is it cannot convert in float because of the space. Is there a solution to remove space and then convert in float ?
