stocks.each do |stock| header << "#{ stock[0] }\t" row << "#{ stock[1] }\t" end