I’m currently trying to do something that seems rather simple but I’m
slightly new to ruby. I want to read in a cvs file, find rows that are
distinct with respect to one of the elements in the row (for example,
all rows in which the first element is “A”) and then do something with
these rows (in this case, parse them, build some XML and write it to a
file). I’m not familiar enough with iterators in ruby but I seem to
remember there being functionality that will allow me to get distinct
rows based on some element in the row. Let me know if this is possible
and how I should approach it.
Thanks,
Drew