Re: best way to handle this in Python

2012-07-20 Thread Ian Kelly
On Fri, Jul 20, 2012 at 4:34 AM, Rita wrote: > Thats an interesting data structure Dennis. I will actually be running this > type of query many times preferable in an ad-hoc environment. That makes it > tough for sqlite3 since there will be several hundred thousand tuples. Several hundred thousan

Re: best way to handle this in Python

2012-07-20 Thread Rita
Thats an interesting data structure Dennis. I will actually be running this type of query many times preferable in an ad-hoc environment. That makes it tough for sqlite3 since there will be several hundred thousand tuples. On Fri, Jul 20, 2012 at 12:18 AM, Dennis Lee Bieber wrote: > {NOTE: pref

Re: best way to handle this in Python

2012-07-19 Thread Rita
Using linux 2.6.31; Python 2.7.3. I am not necessary looking for code just a pythonic way of doing it. Eventually, I would like to graph the data using matplotlib On Thu, Jul 19, 2012 at 8:52 PM, Dave Angel wrote: > On 07/19/2012 07:51 PM, Rita wrote: > > Hello, > > > > I have data in many fi

Re: best way to handle this in Python

2012-07-19 Thread Dave Angel
On 07/19/2012 07:51 PM, Rita wrote: > Hello, > > I have data in many files (/data/year/month/day/) which are named like > YearMonthDayHourMinute.gz. > > I would like to build a data structure which can easily handle querying the > data. So for example, if I want to query data from 3 weeks ago till

best way to handle this in Python

2012-07-19 Thread Rita
Hello, I have data in many files (/data/year/month/day/) which are named like YearMonthDayHourMinute.gz. I would like to build a data structure which can easily handle querying the data. So for example, if I want to query data from 3 weeks ago till today, i can do it rather quickly. each YearMon