Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Import certain columns; sort data according to ...' topicStudent Support Forum > General > Archives > "Import certain columns; sort data according to ..."

Help | Reply To Topic
Author Comment/Response
Eva
07/29/10 1:35pm

Hi!

This is probably as easy as 1,2,3, but I am an absolute beginner.

I have a .csv file with about 15 columns and 57 rows. It looks like this:

"T","H","PO",1,"text",0,"text",0,"text",0,...
"T","L","PO",1,"text",0,"text",0,"text",0,...
"T","H","DO",2,"text",0,"text",0,"text",0,...
"T","L","DO",2,"text",0,"text",0,"text",0,...

Now, I would like to import the first four columns, and then every second column. Then, I would like to see what the numbers are when there is an "H" in the second row, what the numbers are when there is an "DO" in the third row, and finally, what the numbers are when there is an "H" in the second row and an "PO" in the second row.

How on earth do I go about it?
Thanks already for your help, I really appreciate it!

URL: ,
Help | Reply To Topic