[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: speed question, reading csv using takewhile() and dropwhile

Jonathan Gardner

2/21/2010 1:41:00 AM

On Sat, Feb 20, 2010 at 5:32 PM, Vincent Davis <vincent@vincentdavis.net> wrote:
>
> Thanks again for the comment, not sure I will implement all of it but I will separate the "if not row" The files have some extraneous blank rows in the middle that I need to be sure not to import as blank rows.
> I am actually having trouble with this filling my sys memory, I posted a separate question "Why is this filling my sys memory" or something like that is the subject.
> I might be that my 1yr old son has been trying to help for the last hour. It is very distracting.
>

It may be that the csvfile is reading the entire file in, rather than
line-by-line.

--
Jonathan Gardner
jgardner@jonathangardner.net