Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #69528
| References | <9023eae9-f814-40ac-9b84-043214e6b28f@googlegroups.com> <CANy1k1j9=U8zOf9e=-acNtr4SnAGbznA4VrO1TqWE5j_XnKV_Q@mail.gmail.com> <CA+8BrnQxV7B4qD21izytmywqakqseHDWEYYj4-0GXCQtCcPF8Q@mail.gmail.com> |
|---|---|
| Date | 2014-04-01 19:25 -0600 |
| Subject | Re: writing reading from a csv or txt file |
| From | Jason Friedman <jsf80238@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.8809.1396401953.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
> > Hi jason thanks for replying.Below is a typical file return.To you I've no > doubt this is a simple problem but,to a beginner like me it just seems I > lack the understanding of how to split out the items in a list.Thanks again > for looking at it. > Rainfall,duration,TimeStart,windspeed,Date > 0.1,5,05:25,3.1,03/02/2013 > 0.12,8,11:20,4.1,03/02/2013 > 0.1,2,18:05,2.8,03/02/2013 > 18,15,04:03,4.5,04/02/2013 > 2.3,6,17:02,2.4,04/02/2013 > *********************************************** > Rainfall,duration,TimeStart,windspeed,Date > 1.1,5,05:25,3.1,014/02/2012 > 1.32,8,14:20,4.1,14/02/2012 > 2.1,2,22:00,2.8,14/02/2012 > 18,15,03:30,4.5,18/02/2012 > 1.3,4,13:00,2.4,18/02/2012 > > > I am trying to compare the files. cutting out items in list list. ie:- >>> first file (rainfall2012.csv)rainfall, duration,time of day,wind >>> speed,date. >>> first file (rainfall2013.csv)rainfall, duration,time of day,wind >>> speed,date. >>> I would like to pick out maybe rainfalls and duration's and measure >>> against say years. >>> >>> >> Ok, now show us the first few lines of the output you are wanting (please remember to add you answer at the bottom, not the top). Please also remember to reply-all.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
writing reading from a csv or txt file mtcplumb@googlemail.com - 2014-03-30 12:05 -0700 Re: writing reading from a csv or txt file Jason Friedman <jsf80238@gmail.com> - 2014-03-30 14:19 -0600 RE: writing reading from a csv or txt file "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-03-30 20:21 +0000 Re: writing reading from a csv or txt file Gary Herron <gary.herron@islandtraining.com> - 2014-03-30 13:26 -0700 Re: writing reading from a csv or txt file Jason Friedman <jsf80238@gmail.com> - 2014-04-01 19:25 -0600
csiph-web