Answer the question
In order to leave comments, you need to log in
Can I increase the price in a column of a CSV file via Python?
There is a huge CSV file. It has a column with the price, but you need to reduce it all by 10% or increase it.
I thought to loop through each row of this column, but maybe there is a smarter option?
Answer the question
In order to leave comments, you need to log in
If your question is in the phrase "Can I increase the price in a column of a CSV file through Python?" - then the answer is "yes".
If in fact you are interested in the question "but maybe there is a wiser option?" - the answer to it can be given when you answer the following two questions:
1. "I thought to loop through each line of this column" - show how exactly you are going to do this?
2. "There is a huge CSV file." - what file size from your point of view can be called "huge"?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question