Re: FasterCSV load file to table

Vitali
2007-07-25T09:15:36Z

Have tried this way...
    data = FCSV.read("C:\\temp_file.csv")
    csv_output = FasterCSV.generate do |csv|
        data.each do |dt|
          csv << dt
        end
    end

    table = FCSV.parse(csv_output, :headers => true)

but does it really good way?