Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107711

Re: Howw to prevent the duplication of any value in a column within a CSV file (python)

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Howw to prevent the duplication of any value in a column within a CSV file (python)
Date Wed, 27 Apr 2016 16:37:27 +1000
Lines 8
Message-ID <mailman.143.1461739050.32212.python-list@python.org> (permalink)
References <75e5d8dc-e15b-4350-95e8-490abd4aa14f@googlegroups.com> <531e2dda-c522-4b11-a030-f3f37078f344@googlegroups.com> <HE1PR07MB13561533B5D2DEE4B31F9AA9F0630@HE1PR07MB1356.eurprd07.prod.outlook.com> <CALwzidn=KRgvWZq9jc+G5hT6dxDOOjkYZLTbjLR6qNh82m2_LA@mail.gmail.com> <mailman.127.1461700361.32212.python-list@python.org> <49f4ffd8-d140-4f1b-95a9-75cb122e8b2f@googlegroups.com> <e442a9aa-60f2-641f-08fe-487ca1d29799@mrabarnett.plus.com> <mailman.129.1461702225.32212.python-list@python.org> <f8a42577-e3c7-4dd6-a2a7-9cee58c37ee4@googlegroups.com> <CAPTjJmqhoJrE5mHHdCSwj-aORx7YTVTuJgdNwZ9T7mq3QxFrvA@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de z5fUY0jsMc5+llWdSEGJTwxKk/Lphb6M7dvR8KxamN/A==
Return-Path <rosuav@gmail.com>
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; 'received:209.85.223': 0.03; 'constructor': 0.07; 'subject:file': 0.07; 'cc:addr:python- list': 0.09; 'subject:CSV': 0.09; 'subject:python': 0.14; 'wed,': 0.15; 'subject: \n ': 0.15; '2016': 0.16; 'adam': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'parentheses': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'that,': 0.34; 'received:google.com': 0.35; 'nothing.': 0.35; 'set.': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'mean': 0.38; 'subject:the': 0.39; 'where': 0.40; 'back': 0.62; 'within': 0.64; '4:26': 0.84; 'chrisa': 0.84; 'subject:any': 0.84; 'subject:value': 0.84; 'to:none': 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:cc; bh=tptmEGbTBDf9Z0JgLWCfdC4orZxtIR1fRDtEgD1y+Gs=; b=j3lAfuKpSjuYOcXqkXsybBwL7YR0bBnTp3CfsNx2mVQa1LwVlRJ77Tm6ldR3j6azIZ zVSJ1K9vqelB1K53Xh0kJBHF7vWxoyfLJ5NYwjKL2P44ZpdLAp80gEyW4ZZ4RZ1FYTIk lyQ1a1C1JSWw8nhPcNaxPV0WsLAosd1g+ZTV2PDZICTTBIETAL+0RhCtw+JBwpjVoe/f DwKQXKtWaWreo0n4u9jDavfhFuNXV62Bp2NNYaYt7afB9HW76S09oVRWSyVOyK3VUKb1 3IaQf5LO6Mhfa/xAkIi+I8bxRu4Wegqy/pzlqd4TgISipYcrrT3MYDuQ3shzSOMlOYkR /GGg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=tptmEGbTBDf9Z0JgLWCfdC4orZxtIR1fRDtEgD1y+Gs=; b=H8YE6mWztq9VOxSI4WfYxlnUT8uIqg+x61QfcZ01eGqMb/6TVdGONNtdhJJkNd+X4y PB7X1nku+rRMO0tAKr4+OfeeMmo8vLirSLF2yt/C1kCgXjFviia2YTqIKMybLcTuUev+ h6B2eHfGBVIqAbvv6srm+W+tUqwBzzDGiXLwe5YZGUUhKlDGYdoOiq09CqxQByCEGXVi WVzhLOeaKhk021fKRpjrLhtkTc+bWC5KgoIBR3x1UePMHA5Po1OkoKZf2KVVIXIv8hoc Azr6gNfsrn1nIGZOzPR6RZVkMGPPFH6iYXs8dMqH+q0ZxyfiSY2q7YROwmYd4pr+yYdF I+Tw==
X-Gm-Message-State AOPr4FVp1JBrhTIjGL1hpemEgB1vY2NUQlCLMNgqVtk8JPInl77IO3WLPkNRrzl0irJ2FJH5nGeI3NmMll3r8A==
X-Received by 10.107.137.166 with SMTP id t38mr8320572ioi.31.1461739047409; Tue, 26 Apr 2016 23:37:27 -0700 (PDT)
In-Reply-To <f8a42577-e3c7-4dd6-a2a7-9cee58c37ee4@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAPTjJmqhoJrE5mHHdCSwj-aORx7YTVTuJgdNwZ9T7mq3QxFrvA@mail.gmail.com>
X-Mailman-Original-References <75e5d8dc-e15b-4350-95e8-490abd4aa14f@googlegroups.com> <531e2dda-c522-4b11-a030-f3f37078f344@googlegroups.com> <HE1PR07MB13561533B5D2DEE4B31F9AA9F0630@HE1PR07MB1356.eurprd07.prod.outlook.com> <CALwzidn=KRgvWZq9jc+G5hT6dxDOOjkYZLTbjLR6qNh82m2_LA@mail.gmail.com> <mailman.127.1461700361.32212.python-list@python.org> <49f4ffd8-d140-4f1b-95a9-75cb122e8b2f@googlegroups.com> <e442a9aa-60f2-641f-08fe-487ca1d29799@mrabarnett.plus.com> <mailman.129.1461702225.32212.python-list@python.org> <f8a42577-e3c7-4dd6-a2a7-9cee58c37ee4@googlegroups.com>
Xref csiph.com comp.lang.python:107711

Show key headers only | View raw


On Wed, Apr 27, 2016 at 4:26 PM, Adam Davis <peakgraphicz@gmail.com> wrote:
> I understand what you're saying! But where you say: " the_set = set()", what would go within the set brackets?

Nothing. The empty parentheses mean "call this with no arguments", and
when you call the set constructor like that, you get back an empty
set.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Howw to prevent the duplication of any value in a column within a CSV file (python) peakgraphicz@gmail.com - 2016-04-26 09:01 -0700
  Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Joel Goldstick <joel.goldstick@gmail.com> - 2016-04-26 12:08 -0400
    Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Adam Davis <peakgraphicz@gmail.com> - 2016-04-26 10:05 -0700
      Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-04-26 20:10 -0400
  Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-26 10:13 -0600
    Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Adam Davis <peakgraphicz@gmail.com> - 2016-04-26 10:00 -0700
      Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-26 13:50 -0600
  Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Adam Davis <peakgraphicz@gmail.com> - 2016-04-26 10:05 -0700
    RE: Howw to prevent the duplication of any value in a column within a CSV file (python) Joaquin Alzola <Joaquin.Alzola@lebara.com> - 2016-04-26 19:05 +0000
    Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-26 13:51 -0600
      Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Adam Davis <peakgraphicz@gmail.com> - 2016-04-26 13:07 -0700
        Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-26 14:19 -0600
          Re: Private message regarding: Howw to prevent the duplication of any value in a column within a CSV file (python) Ian Kelly <ian.g.kelly@gmail.com> - 2016-05-02 07:47 -0600
        Re: Howw to prevent the duplication of any value in a column within a CSV file (python) MRAB <python@mrabarnett.plus.com> - 2016-04-26 21:23 +0100
          Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Adam Davis <peakgraphicz@gmail.com> - 2016-04-26 23:26 -0700
            Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Chris Angelico <rosuav@gmail.com> - 2016-04-27 16:37 +1000
              Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Adam Davis <peakgraphicz@gmail.com> - 2016-04-27 05:23 -0700
                Re: Howw to prevent the duplication of any value in a column within a CSV file (python) Andrew Ongko <andrew.ongko@gmail.com> - 2016-04-27 19:57 +0700
                Re: Howw to prevent the duplication of any value in a column within a CSV file (python) darnold <darnold992000@yahoo.com> - 2016-04-27 08:49 -0700
  RE: Howw to prevent the duplication of any value in a column within a CSV file (python) Joaquin Alzola <Joaquin.Alzola@lebara.com> - 2016-04-26 16:07 +0000

csiph-web