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


Groups > comp.lang.python > #107823

Simplest way to locate a string in a column and get the value on the same row in another column

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From David Shi <davidgshi@yahoo.co.uk>
Newsgroups comp.lang.python
Subject Simplest way to locate a string in a column and get the value on the same row in another column
Date Thu, 28 Apr 2016 18:37:55 +0000 (UTC)
Lines 13
Message-ID <mailman.209.1461869020.32212.python-list@python.org> (permalink)
References <759417988.6710506.1461868599459.JavaMail.yahoo.ref@mail.yahoo.com> <759417988.6710506.1461868599459.JavaMail.yahoo@mail.yahoo.com> <1650815019.6612341.1461868675273.JavaMail.yahoo@mail.yahoo.com>
Reply-To David Shi <davidgshi@yahoo.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de eEp5OnB+zUy2veX52m/OlgBusWfN+0p6N9+mQJ+DMnRA==
Return-Path <davidgshi@yahoo.co.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.048
X-Spam-Evidence '*H*': 0.91; '*S*': 0.01; 'from:addr:yahoo.co.uk': 0.05; 'column': 0.07; 'table.': 0.07; 'subject:same': 0.09; 'subject:string': 0.09; 'subject: \n ': 0.15; 'from:addr:davidgshi': 0.16; 'from:name:david shi': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reply- to:addr:davidgshi': 0.16; 'reply-to:name:david shi': 0.16; 'row': 0.16; 'string': 0.17; 'to:name:python-list@python.org': 0.20; 'header:In-Reply-To:1': 0.24; 'another': 0.32; 'header:Received:8': 0.35; 'to:addr:python-list': 0.36; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'you.': 0.64; 'forward': 0.66; 'received:98.137': 0.67; 'regards.': 0.67; 'header:Reply-To:1': 0.67; 'hearing': 0.67; 'received:98.136': 0.70; 'received:gq1.yahoo.com': 0.72; 'received:mail.gq1.yahoo.com': 0.72; 'subject:get': 0.81; 'message-id:@mail.yahoo.com': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'subject:value': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1461868870; bh=zdFe8TNIR4Ojhe0iRymyeKhUvecOk9RjyRbnSUt3jG4=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=VOhSBYPkyKJ6AfhnzLKfkD/qSlUlhC2Fid0baqwrlYqgjpO3B904NMGFlbDlHiGty4qpog8nuXyOJD6zmfKz+e0VibMEEvlQxlx3gdxOn54Zme/B5L5gzcLJAnSEh2+eZbfzcaQcNm3BP6LCzMgp3J3pQxyZDl9nMWY9V8YECedDhF2JVRJB/zn8JNdpoZGXllvYhkQd011heSBGa5D/WjnTN9fPTAe1mZnxGlYoZMGq3bPgh5Eq+oT6OMPxrtCCjrO/bpT6zTPaCqgE+tQn42oMm9GGkpyl4eJudz6QJmb4wimClirMeLuqgE81sK8Ro45zGR9iF2czbVqJF5t7ew==
X-Yahoo-Newman-Property ymail-4
X-Yahoo-Newman-Id 185605.25156.bm@omp1048.mail.ir2.yahoo.com
X-YMail-OSG cC8Jl2cVM1m2uwfKY4XFLhLKcJWMou2y2vwxODbzw1TZqeu8YurC9P9vkhIUo61 1kBiW1IAlri7Lymfziz3UOJK5PRaRdV6McjoB66aFWehRZE1Y4Xj52tG7jXyiIxEl.q1LdebRqou 3d3j0dbJsP2r1UPRh200oBA5P8iT2HHDAYDshVvYaObU7uy1b.1JnXAeciSNtF0lz71jyVlitqwl udx6xFApSG4rUeqW0iNkNd498ytDbRuTwUcfS7HRdW2_Yj7dPWNxJtF68cWZKI7XyTt9qZswnIkJ narlFea8z_edcfuQ4cIkk9BS13nZUSRjYxrVr0mo40QVI.ka4f.eQDtEBRARddDG0B9PjkXPuvPc L6Wc6ddWzmNhWJbJFfWEyxXNaNPm6ZuZLqRwgzD9gCDNqEFJgVIxusYb03lHEbqWYC.gkfiLaHZd mguvPrMiCuriur0WyJGOhRpzswqAliiFz7zY.l45VTxOTUYz5v_KmBnsNcIHQS2XIs2tWCh_OaAn rq.swdBa448xHumL5xA--
In-Reply-To <759417988.6710506.1461868599459.JavaMail.yahoo@mail.yahoo.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.22
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 <1650815019.6612341.1461868675273.JavaMail.yahoo@mail.yahoo.com>
X-Mailman-Original-References <759417988.6710506.1461868599459.JavaMail.yahoo.ref@mail.yahoo.com> <759417988.6710506.1461868599459.JavaMail.yahoo@mail.yahoo.com>
Xref csiph.com comp.lang.python:107823

Show key headers only | View raw





 What is the simplest way to locate a string in a column and get the value on the same row in another column ?
1  a2  b3  c
Locate b and obtain 2 in a table.
Looking forward to hearing from you.
Regards.
David

  

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


Thread

Simplest way to locate a string in a column and get the value on the same row in another column David Shi <davidgshi@yahoo.co.uk> - 2016-04-28 18:37 +0000
  Re: Simplest way to locate a string in a column and get the value on the same row in another column John Gordon <gordon@panix.com> - 2016-04-28 19:08 +0000

csiph-web