471,356 Members | 1,665 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

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

Jun 18 '07 #1
1 1199
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: "corresponding 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 misinterpretation of various kinds :-)
2. Write your script.
3. Ask a specific question if you have a problem.

Jun 18 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Anand Pillai | last post: by
2 posts views Thread by Ola K | last post: by
8 posts views Thread by stunna | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.