Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'output': 0.05; 'say,': 0.05; 'subject:file': 0.07; 'measure': 0.09; 'rows': 0.09; 'cc:addr:python-list': 0.11; 'subject:txt': 0.16; 'subject:writing': 0.16; 'files.': 0.16; 'trying': 0.19; 'file,': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'compare': 0.26; 'first,': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'skip:( 20': 0.30; 'lines': 0.31; 'file': 0.32; 'maybe': 0.34; 'subject:from': 0.34; 'could': 0.34; 'received:google.com': 0.35; 'list': 0.37; 'list.': 0.37; 'first': 0.61; 'show': 0.63; 'pick': 0.64; 'six': 0.68; 'cutting': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AaflIJDnR6yv+Cq/xGUsDVGQh3RREzpsZhGmouqy3Sk=; b=OwufDfxufbrBTYhUBAmGo175J6Vo2SLllET5yH/3RPveaUGfS4Ba+hlI2WlDQ0mAHz BwDqVXH/WjxLC7NmEbHcEwY2gvK/mH1bKW/VCQvadPvA8lHrcwo55blKOIejOnoI4kHL gDrSv7YZY9ELUDh8PhcpZj0QEyGPsKnULy0muuLTken2iAsi4gn4w7JUR1gO6ZoNDTpJ Y0LN3zBEBDkPIyyMWQtXVv7OuYgM5hT34SoLakit0BU5JOU3aq1ygsA8WngPGWJmNsx2 MsJ54TFcboXKjlWty7lvI8UCo4wNscL2QfgaII0ADFlxrrtlorWDV5FbkR9W4GNvUqbE 9acg== MIME-Version: 1.0 X-Received: by 10.224.63.197 with SMTP id c5mr23076924qai.39.1396210788042; Sun, 30 Mar 2014 13:19:48 -0700 (PDT) In-Reply-To: <9023eae9-f814-40ac-9b84-043214e6b28f@googlegroups.com> References: <9023eae9-f814-40ac-9b84-043214e6b28f@googlegroups.com> Date: Sun, 30 Mar 2014 14:19:48 -0600 Subject: Re: writing reading from a csv or txt file From: Jason Friedman To: mtcplumb@googlemail.com Content-Type: multipart/alternative; boundary=001a11c2208c0d924d04f5d8a883 Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396210791 news.xs4all.nl 2901 [2001:888:2000:d::a6]:59688 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69394 --001a11c2208c0d924d04f5d8a883 Content-Type: text/plain; charset=UTF-8 > > 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. > > Could you show us the first, say, three rows from each file, plus what you would like the first three or six lines of output to be? --001a11c2208c0d924d04f5d8a883 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am trying to compare the files. cutting out it= ems 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 aga= inst say years.

Could you show us the first, say, three rows from eac= h file, plus what you would like the first three or six lines of output to = be?=C2=A0
--001a11c2208c0d924d04f5d8a883--