[okfn-labs] Python Iterator over table (csv) *columns*
s at ctrlc.hu
Wed Dec 17 09:40:08 UTC 2014
On Wed, Dec 17, 2014 at 10:22:22AM +0100, Friedrich Lindenberg wrote:
> So you're looking for something that has better performance than reading
> the whole file N (number of cols) times? That seems hard. The only thing
> you might be able to do is cache the line lengths, so you can read without
> seeking newlines and end-quotes after the first run...
you could try mmapping the file.
otr fp: https://www.ctrlc.hu/~stef/otr.txt
More information about the okfn-labs