D
D
Davidaa_WoW2021-11-30 17:22:09
Python
Davidaa_WoW, 2021-11-30 17:22:09

How to remove csv file formatting when working with python?

I work with csv files through a python script, when writing to a file, let's say the number 9.4, it automatically enters 04/09/2021 into the cell, and if we try to remove the format manually, we will get 44295 at the output. How can I either disable formatting when writing, or manually restore these 9.4?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2021-11-30
@Davidaa_WoW

CSV is a text format.
The date is inserted by Excel with which you open it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question