Class: Statsample::Excel
Overview
This class has been DEPRECATED. Use Daru::DataFrame::from_excel Daru::DataFrame#write_excel for XLS file operations.
Class Method Summary collapse
-
.read(filename, opts = Hash.new) ⇒ Object
Returns a dataset based on a xls file.
-
.write(dataset, filename) ⇒ Object
Write a Excel spreadsheet based on a dataset * TODO: Format nicely date values.
Class Method Details
.read(filename, opts = Hash.new) ⇒ Object
Returns a dataset based on a xls file
NOTE
Deprecated. Use Daru::DataFrame.from_excel instead.
78 79 80 |
# File 'lib/statsample/converters.rb', line 78 def read(filename, opts=Hash.new) raise NoMethodError, "Deprecated. Use Daru::DataFrame.from_excel instead." end |
.write(dataset, filename) ⇒ Object
Write a Excel spreadsheet based on a dataset
-
TODO: Format nicely date values
NOTE
Deprecated. Use Daru::DataFrame#write_csv.
69 70 71 |
# File 'lib/statsample/converters.rb', line 69 def write(dataset,filename) raise NoMethodError, "Deprecated. Use Daru::DataFrame#write_excel instead." end |