Re: number of different lines in a file

2006-05-19 Thread Ben Stroud
> >It never occured to me to use the Python dict/set approach. Now I >wonder if it would've worked better somehow. Of course my file was >26,000 X larger than the one in this problem, and definitely would >not fit in memory. I suspect that there were as many as a million >duplicates for some me

Re: OLAP and pivot tables

2006-05-26 Thread Ben Stroud
George Sakkis wrote: >After a brief search, I didn't find any python package related to OLAP >and pivot tables. Did I miss anything ? To be more precise, I'm not so >interested in a full-blown OLAP server with an RDBMS backend, but >rather a pythonic API for constructing datacubes in memory, slici