Hello Good Day to All…I have script to append values to existing csv file. When checking the time stamp values become scientific. I have tried several format but it does not change.
I want to display number with no scientific formay…Please help on this…thanks
Here is my code
xc_df = pd.DataFrame(xc_log_ls,
columns=["Lot", "Wafer", "TestMode", "TimeStamp", "TestProg", "Tester", "DateTimeLog", "XYCoor", "Result"])
if os.path.isfile("xclog.csv"):
xc_df.to_csv("xclog.csv", float_format='%f', index=False, mode="a", header=False)
You don’t have a view a CSV file with a spreadsheet app, but (as you can see) it can make the columns easier to see, but the trade off is that the SS will display the data in a ‘default’ (to the app) way.