Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44559
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiosantosart@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'column': 0.07; 'subject:two': 0.07; 'subject:fields': 0.09; 'cc:addr:python- list': 0.11; '(it': 0.16; 'grouped': 0.16; 'subject:compare': 0.16; 'subject:python': 0.16; '(you': 0.16; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'helpful': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'maybe': 0.34; 'could': 0.34; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'useful': 0.36; 'too': 0.37; 'received:209': 0.37; 'first': 0.61; 'advanced': 0.63; 'to:addr:gmail.com': 0.65; 'guessed': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=y1eD7IkZWP4fhLqSZyGm1aF/xag9m7eUotLNy6TiVMc=; b=ib7leLYhpv93ssc4XPhaX6eYa1l8ikiP+15P9gGcfKnM2+MQ5AXAvKxEAsQv50iTWK b1UlQ2QsEutWSVOSMv5fyJGmLRnPY957ksyunYff8GnjaO3bN9KYG72qrjZM4KHeVrI5 YqFzTChr5J/F3MybMP5i9gzNVyu/Bqw479ROa2MKluAfsF2fi5nxtmKtNS1LwjhUbcxY i/6BsqwieGdqMW+3kvCGonZOWAHAX4EsMdqqNscqKxrIKSLQoQF7cZx7RU7nDWMN3Zsn BvbrtTU+PK00aXZK/TybEINBA907rmzDETuhiO+VsEymwrOU6sDXnvorv1GLL/O/hcRY 0nuA== |
| MIME-Version | 1.0 |
| X-Received | by 10.224.192.6 with SMTP id do6mr37669702qab.82.1367345333292; Tue, 30 Apr 2013 11:08:53 -0700 (PDT) |
| In-Reply-To | <CAPM-O+ycm3tk+qx4JAx3iFyZf-4UtXm5Nt5bkGn0EAQDsJEy8Q@mail.gmail.com> |
| References | <59afdc2b-ab76-40b6-8f63-4a562e288029@googlegroups.com> <CAPM-O+ycm3tk+qx4JAx3iFyZf-4UtXm5Nt5bkGn0EAQDsJEy8Q@mail.gmail.com> |
| Date | Tue, 30 Apr 2013 19:08:53 +0100 |
| Subject | Re: how to compare two fields in python |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| To | Joel Goldstick <joel.goldstick@gmail.com> |
| Content-Type | multipart/alternative; boundary=20cf300fb1cbe090ef04db97e481 |
| Cc | python-list@python.org, upendra kumar Devisetty <upendrakumar.devisetty@googlemail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1192.1367345342.3114.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1367345343 news.xs4all.nl 15985 [2001:888:2000:d::a6]:42093 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44559 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
... And collections.Counter. This is useful for (you guessed it) counting. Maybe itertools.groupby will be helpful as well (it could be used to give you your data grouped by the first column of data), but it could be a tad advanced for you if you are not too familiar with iterators.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to compare two fields in python upendra kumar Devisetty <upendrakumar.devisetty@googlemail.com> - 2013-04-30 10:41 -0700
Re: how to compare two fields in python Joel Goldstick <joel.goldstick@gmail.com> - 2013-04-30 13:53 -0400
Re: how to compare two fields in python Fábio Santos <fabiosantosart@gmail.com> - 2013-04-30 19:08 +0100
Re: how to compare two fields in python Tim Chase <python.list@tim.thechases.com> - 2013-04-30 13:19 -0500
Re: how to compare two fields in python upendra kumar Devisetty <upendrakumar.devisetty@googlemail.com> - 2013-04-30 11:22 -0700
Re: how to compare two fields in python Fábio Santos <fabiosantosart@gmail.com> - 2013-04-30 19:42 +0100
Re: how to compare two fields in python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-04-30 19:54 -0400
csiph-web