Re: best way to handle this in Python

Discussion in 'Python' started by Dave Angel, Jul 20, 2012.

  1. Dave Angel

    Dave Angel Guest

    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 today,
    > i can do it rather quickly.
    >
    > each YearMonthDayHourMinute.gz file look like this and they are about 4to
    > 6kb
    > red 34
    > green 44
    > blue 88
    > orange 4
    > black 3
    > while 153
    >
    > I would like to query them so I can generate a plot rather quickly but not
    > sure what is the best way to do this.
    >
    >
    >


    What part of your code is giving you difficulty? You didn't post any
    code. You don't specify the OS, nor version of your Python, nor what
    other programs you expect to use along with Python.



    --

    DaveA
    Dave Angel, Jul 20, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravikanth[MVP]
    Replies:
    6
    Views:
    3,870
    Aemca
    Jul 18, 2003
  2. Thomas Scheiderich

    Best way to handle documents in ASP.NET

    Thomas Scheiderich, May 20, 2004, in forum: ASP .Net
    Replies:
    11
    Views:
    2,475
    Jim Corey
    May 20, 2004
  3. Dennis Lee Bieber

    Re: best way to handle this in Python

    Dennis Lee Bieber, Jul 20, 2012, in forum: Python
    Replies:
    0
    Views:
    166
    Dennis Lee Bieber
    Jul 20, 2012
  4. Ian Kelly
    Replies:
    1
    Views:
    140
    Steven D'Aprano
    Jul 21, 2012
  5. Dennis Lee Bieber

    Re: best way to handle this in Python

    Dennis Lee Bieber, Jul 20, 2012, in forum: Python
    Replies:
    0
    Views:
    143
    Dennis Lee Bieber
    Jul 20, 2012
Loading...

Share This Page