csv search and print

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • axjacob@comcast.net

    #1

    csv search and print

    I have a csv file containing lot of rows & columns. I wanted to search thru the
    heading for each column for a string and then print all the headings and the
    corresponding rows if a match is found.

    Any advise?

    Thanks

  • John Machin

    #2
    Re: csv search and print

    On Jun 19, 4:12 am, axja...@comcast .net wrote:
    I have a csv file containing lot of rows & columns. I wanted to search thru the
    heading for each column for a string and then print all the headings and the
    corresponding rows if a match is found.
    >
    Any advise?
    1. Clarify your requirements: "correspond ing rows" ... corresponding
    to what? How many rows/columns is a "lot"? "I have a csv file" ...
    only one? "search thru the heading for each column for a string" is
    open to misinterpretati on of various kinds :-)
    2. Write your script.
    3. Ask a specific question if you have a problem.

    Comment

    Working...