In [1]:
require 'nyaplot'
Out[1]:
Out[1]:
In [2]:
df1 = Nyaplot::DataFrame.new({a:[1,2,3], b:[10,8,9]})
Out[2]:
In [3]:
path = File.expand_path("../data/first.tab", __FILE__)
df2 = Nyaplot::DataFrame.from_csv(path, ' ')
Out[3]:
In [4]:
df2.row(0)
Out[4]:
In [6]:
df2.filter {|row| row[:SET1]!=0.0}
Out[6]:
In [ ]: