Class: Statsample::CSV
Class Method Summary collapse
-
.read(filename, empty = [''], ignore_lines = 0, opts = {}) ⇒ Object
Return a DataFrom created from a csv file.
-
.write(dataset, filename, convert_comma = false, opts = {}) ⇒ Object
Save a Dataset on a csv file.
Class Method Details
.read(filename, empty = [''], ignore_lines = 0, opts = {}) ⇒ Object
Return a DataFrom created from a csv file.
NOTE
This method has been DEPRECATED in favour of Daru::DataFrame.from_csv. Please switch to using that.
13 14 15 |
# File 'lib/statsample/converter/csv.rb', line 13 def read(filename, empty = [''], ignore_lines = 0, opts = {}) raise NoMethodError, "Deprecated. Use Daru::DataFrame.from_csv instead." end |
.write(dataset, filename, convert_comma = false, opts = {}) ⇒ Object
Save a Dataset on a csv file.
NOTE
This method has BEEN DEPRECATED in favor of Daru::DataFrame#write_csv. Please use that instead.
23 24 25 |
# File 'lib/statsample/converter/csv.rb', line 23 def write(dataset, filename, convert_comma = false, opts = {}) raise NoMethodError, "Deprecated. Use Daru::DataFrame#write_csv instead." end |