I have a csv with data in different formats. there are float, int and strings.
How can I modify just the int into float?
I have not tried much, just with this:
df=df.astype(dtype=np.float64, copy=True, errors='raise')
but cant manage to make it work, because there are also strings
How can I solve this?
'3.2'can be converted, a string like'hello'can't be converted. You may want to convert the string into its ASCII code and convert it with ` float()` but it's some kind of process to include