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

Jonathan Gardner jgardner at jonathangardner.net
Sat Feb 20 20:41:28 EST 2010


On Sat, Feb 20, 2010 at 5:32 PM, Vincent Davis <vincent at 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 at jonathangardner.net



More information about the Python-list mailing list