[9fab9f]: / modules / RawDB / scripts / parseCSV.rb

Download this file

17 lines (11 with data), 258 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/usr/bin/ruby
require_relative './helpers'
require 'csv'
print_memory_usage do
print_time_spent do
sum = 0
CSV.foreach('/home/skjena/data/out/fm_sample_independent.csv', headers: true) do |row|
end
puts "Sum: #{sum}"
end
end