Module: Rover
- Defined in:
- lib/rover.rb,
lib/rover/vector.rb,
lib/rover/version.rb,
lib/rover/data_frame.rb
Defined Under Namespace
Classes: DataFrame, Vector
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.parse_csv(str, **options) ⇒ Object
16
17
18
19
|
# File 'lib/rover.rb', line 16
def parse_csv(str, **options)
require "csv"
csv_to_df(CSV.parse(str, headers: true, converters: :numeric, **options))
end
|
.read_csv(path, **options) ⇒ Object
11
12
13
14
|
# File 'lib/rover.rb', line 11
def read_csv(path, **options)
require "csv"
csv_to_df(CSV.read(path, headers: true, converters: :numeric, **options))
end
|