Jan-20-2023, 08:06 PM
Same here. Running this code:
import pandas as pd df = pd.Series([0.00000, -0.000005, -1.859603, -55.788084]) df.to_csv("test.csv", sep="|", index=False, float_format="%.6f")I get this in the csv file. This is not console output.
Output:0
0.000000
-0.000005
-1.859603
-55.788084