Z
Z
z7dx2015-08-24 08:51:34
Python
z7dx, 2015-08-24 08:51:34

How to find desired cell in csv in pythone?

Good day!
I am a noob in python, so I ask for help ... The point is that you need to find certain cells in the product database (csv format), and when certain conditions are met, for example, the price of a product for water has changed, it should display a message to the operator. In general, I did the output of the message and the conditions themselves, but I can’t search by certain criteria. Kick in the right direction to know where to dig, and how is it better to compare through arrays or with another csv?
Thanks in advance!!!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Drozdov, 2015-08-24
@Ardarick

Try using the pandas lib. If csv is correctly compiled (column names are set), then processing multidimensional data turns into a holiday.

V
Vladimir Martyanov, 2015-08-24
@vilgeforce

https://docs.python.org/2/library/csv.html start with this and some basic Python books.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question