From: Li Chen Date: 2008-07-22T23:38:12+09:00 Subject: Re: read CSV file using csv library kranthi reddy wrote: > Hi, > To use faster csv you need to install the gem called fastercsv. > Then you can do the following > > data = FasterCSV.read("/root/Desktop/" ) > From this data you can access the columns the way you wish. > data[0][0] gives you the first column of the first row likewise you can > get > the other rows also. > If you want to get the data for the entire column you can loop through > and > get the details. > If you have any queries feel free to ask me . > kranthi. Hi Kranthi, Thank you very much for the help. I solve my problem by using fastercsv instead of csv and it works perfect. Li -- Posted via http://www.ruby-forum.com/.