daru 0.1.3 → 0.1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daru/io/io.rb +1 -1
- data/lib/daru/version.rb +1 -1
- data/spec/io/io_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 642c2417e86205ee8188be300da3740364e5a0b9
|
4
|
+
data.tar.gz: b1c4cea3ce18551587e30424210f9183fa83c97b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18857c15c6156ea817e9874b16b76a7c022f58ff3cca9e9255f4cda32d50db67a53cca60ab734daa086891d0991962f2c5afe15d966029a8ebc74e7781667626
|
7
|
+
data.tar.gz: ac0a49fd0776d6b21ac3a4b57f8c8cb0f06f75d1598afab152e07242c3f94f3fc22c32252e4aa8a6c1faffe204fbd110328b76526a5eef83c97a4cdac1b7c6e7
|
data/lib/daru/io/io.rb
CHANGED
@@ -60,7 +60,7 @@ module Daru
|
|
60
60
|
opts[:col_sep] ||= ','
|
61
61
|
opts[:converters] ||= :numeric
|
62
62
|
|
63
|
-
daru_options = opts.keys.each_with_object({}) do |
|
63
|
+
daru_options = opts.keys.each_with_object({}) do |k, hash|
|
64
64
|
if [:clone, :order, :index, :name].include?(k)
|
65
65
|
hash[k] = opts[k]
|
66
66
|
opts.delete k
|
data/lib/daru/version.rb
CHANGED
data/spec/io/io_spec.rb
CHANGED
@@ -22,7 +22,7 @@ describe Daru::IO do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
it "accepts scientific notation as float" do
|
25
|
-
ds = Daru::DataFrame.from_csv('spec/fixtures/scientific_notation.csv')
|
25
|
+
ds = Daru::DataFrame.from_csv('spec/fixtures/scientific_notation.csv', order: ['x', 'y'])
|
26
26
|
expect(ds.vectors.to_a).to eq(['x', 'y'])
|
27
27
|
y = [9.629587310436753e+127, 1.9341543147883677e+129, 3.88485279048245e+130]
|
28
28
|
y.zip(ds['y']).each do |y_expected, y_ds|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.3
|
4
|
+
version: 0.1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sameer Deshmukh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reportbuilder
|