You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a converter that removes the thousand separator and tried to use that in combination with the dtype argument of read_csv without success. What does work though, is removing and casting at the same time:
# in your case you want to replace the dot as that is your thousand separatorrem_thousand_sep_and_cast_to_float=lambdax: pd.np.float(x.replace(",", ""))
You can then use that function to convert the desired columns with the converters argument of read_csv. Let me know if that works for you.
No description provided.
The text was updated successfully, but these errors were encountered: