From: James Coglan Date: 2009-03-11T19:03:27+09:00 Subject: Re: FasterCSV, Gruff and Large Data Import --000e0cd34146757a0b0464d500b2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/3/11 Dan Webb [dbw] > However if I feed the fastercsv data into an array then into gruff it > _should_ work, as feeding a whole array that I've written out by hand > into gruff works. If you see my logic here, it should work, no? No, because reading a CSV produces a table, i.e. an array of arrays, something like: FasterCSV.read("r.csv") #=> [[1,2,3,4], [5,6,7,8], ...] Gruff expects a flat array of data for each data series, so you need to loop over each row in the table and feed them to Gruff one by one. -- James Coglan http://github.com/jcoglan --000e0cd34146757a0b0464d500b2--