I'm reading a CSV with float numbers like this:
df = pd.read_csv(orig)
As mentioned in the comments, it is a general floating point problem.
However you can use the
float_format key word of
to_csv to hide it:
or, if you don't want 0.0001 to be rounded to zero:
will give you:
in your output file.