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


Groups > comp.lang.python > #107823 > unrolled thread

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

Started byDavid Shi <davidgshi@yahoo.co.uk>
First post2016-04-28 18:37 +0000
Last post2016-04-28 19:08 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromDavid Shi <davidgshi@yahoo.co.uk>
Date2016-04-28 18:37 +0000
SubjectSimplest way to locate a string in a column and get the value on the same row in another column
Message-ID<mailman.209.1461869020.32212.python-list@python.org>



 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

  

[toc] | [next] | [standalone]


#107824

FromJohn Gordon <gordon@panix.com>
Date2016-04-28 19:08 +0000
Message-ID<nftn48$60r$1@reader1.panix.com>
In reply to#107823
In <mailman.209.1461869020.32212.python-list@python.org> David Shi <davidgshi@yahoo.co.uk> writes:

> What is the simplest way to locate a string in a column and get the value
> on the same row in another column ?

You haven't given enough context for us to be able to answer.

Are you talking about a spreadsheet, a database table, an HTML table,
or something else?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web