Hi. I'm new to processing and need some help. I've got a csv file that contains both text and numbers. The data file looks something like this:
Column A Column B
Jones 7
Smith 10
Harrison 3
I'd like my program to be able to import this data and use it to do things like:
- use the numbers in column B to rank order the people
- print the people's names in rank order
So I'd want my program to generate (and display on screen when run) the following:
Smith 10
Jones 7
Harrison 3
I've been looking around at different tutorials and posts, trying to understand things like loadstrings, but can't seem to figure this out. Can anyone help me out with some advice or even better some code?
Thanks a ton!
Kevin
Column A Column B
Jones 7
Smith 10
Harrison 3
I'd like my program to be able to import this data and use it to do things like:
- use the numbers in column B to rank order the people
- print the people's names in rank order
So I'd want my program to generate (and display on screen when run) the following:
Smith 10
Jones 7
Harrison 3
I've been looking around at different tutorials and posts, trying to understand things like loadstrings, but can't seem to figure this out. Can anyone help me out with some advice or even better some code?
Thanks a ton!
Kevin
1