[okfn-labs] Python Iterator over table (csv) *columns*
tarekamr at gmail.com
Wed Dec 17 08:45:31 UTC 2014
I do not think this is possible, there is no way to tell beforehand the
indices for each new line without reading the whole file in memory to
search for '\n's, also cells in the case of CSV are not of a fixed size, so
no way build indices for cells without reading the whole line in memory
looking for separators.
Nevertheless, may be there is some magical solution out there that I don't
On Wed, Dec 17, 2014 at 8:23 AM, Paul Walsh <paulywalsh at gmail.com> wrote:
> Does anyone have or know of a nice (existing) solution for iterative
> reading of CSV/table data by *column*? It needs to be an iterator - I don’t
> want everything in memory.
> okfn-labs mailing list
> okfn-labs at lists.okfn.org
> Unsubscribe: https://lists.okfn.org/mailman/options/okfn-labs
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the okfn-labs