daru 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +0 -0
- data/Gemfile +0 -1
- data/History.txt +35 -0
- data/README.md +178 -198
- data/daru.gemspec +5 -7
- data/lib/daru.rb +10 -2
- data/lib/daru/accessors/array_wrapper.rb +36 -198
- data/lib/daru/accessors/nmatrix_wrapper.rb +60 -209
- data/lib/daru/core/group_by.rb +183 -0
- data/lib/daru/dataframe.rb +615 -167
- data/lib/daru/index.rb +17 -16
- data/lib/daru/io/io.rb +5 -12
- data/lib/daru/maths/arithmetic/dataframe.rb +72 -8
- data/lib/daru/maths/arithmetic/vector.rb +19 -6
- data/lib/daru/maths/statistics/dataframe.rb +103 -2
- data/lib/daru/maths/statistics/vector.rb +102 -61
- data/lib/daru/monkeys.rb +8 -0
- data/lib/daru/multi_index.rb +199 -0
- data/lib/daru/plotting/dataframe.rb +24 -24
- data/lib/daru/plotting/vector.rb +14 -15
- data/lib/daru/vector.rb +402 -98
- data/lib/version.rb +1 -1
- data/notebooks/grouping_splitting_pivots.ipynb +529 -0
- data/notebooks/intro_with_music_data_.ipynb +104 -119
- data/spec/accessors/wrappers_spec.rb +36 -0
- data/spec/core/group_by_spec.rb +331 -0
- data/spec/dataframe_spec.rb +1237 -475
- data/spec/fixtures/sales-funnel.csv +18 -0
- data/spec/index_spec.rb +10 -21
- data/spec/io/io_spec.rb +4 -14
- data/spec/math/arithmetic/dataframe_spec.rb +66 -0
- data/spec/math/arithmetic/vector_spec.rb +45 -4
- data/spec/math/statistics/dataframe_spec.rb +91 -1
- data/spec/math/statistics/vector_spec.rb +32 -6
- data/spec/monkeys_spec.rb +10 -1
- data/spec/multi_index_spec.rb +216 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/vector_spec.rb +505 -57
- metadata +21 -15
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.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sameer Deshmukh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,23 +86,18 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.1.0
|
89
|
+
version: 0.1.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.1.0
|
97
|
-
description:
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
Daru works with Ruby arrays, NMatrix and MDArray, thus working seamlessly accross
|
102
|
-
ruby interpreters, at the same time providing speed for those who need it.
|
103
|
-
|
104
|
-
This library is under active development so NMatrix and MDArray support is
|
105
|
-
somewhat limited, but should be available soon!
|
96
|
+
version: 0.1.0
|
97
|
+
description: "Daru (Data Analysis in RUby) is a library for analysis, manipulation
|
98
|
+
and visualization\nof data.\n\nDaru works with Ruby arrays and NMatrix, thus working
|
99
|
+
seamlessly accross\nruby interpreters, at the same time providing speed for those
|
100
|
+
who need it, while \nmaking working with data super simple and intuitive.\n"
|
106
101
|
email:
|
107
102
|
- sameer.deshmukh93@gmail.com
|
108
103
|
executables: []
|
@@ -112,6 +107,7 @@ files:
|
|
112
107
|
- ".gitignore"
|
113
108
|
- ".rspec"
|
114
109
|
- ".travis.yml"
|
110
|
+
- CONTRIBUTING.md
|
115
111
|
- Gemfile
|
116
112
|
- Gemfile.lock
|
117
113
|
- History.txt
|
@@ -125,6 +121,7 @@ files:
|
|
125
121
|
- lib/daru/accessors/dataframe_by_vector.rb
|
126
122
|
- lib/daru/accessors/mdarray_wrapper.rb
|
127
123
|
- lib/daru/accessors/nmatrix_wrapper.rb
|
124
|
+
- lib/daru/core/group_by.rb
|
128
125
|
- lib/daru/dataframe.rb
|
129
126
|
- lib/daru/index.rb
|
130
127
|
- lib/daru/io/io.rb
|
@@ -133,15 +130,20 @@ files:
|
|
133
130
|
- lib/daru/maths/statistics/dataframe.rb
|
134
131
|
- lib/daru/maths/statistics/vector.rb
|
135
132
|
- lib/daru/monkeys.rb
|
133
|
+
- lib/daru/multi_index.rb
|
136
134
|
- lib/daru/plotting/dataframe.rb
|
137
135
|
- lib/daru/plotting/vector.rb
|
138
136
|
- lib/daru/vector.rb
|
139
137
|
- lib/version.rb
|
138
|
+
- notebooks/grouping_splitting_pivots.ipynb
|
140
139
|
- notebooks/intro_with_music_data_.ipynb
|
140
|
+
- spec/accessors/wrappers_spec.rb
|
141
|
+
- spec/core/group_by_spec.rb
|
141
142
|
- spec/dataframe_spec.rb
|
142
143
|
- spec/fixtures/countries.json
|
143
144
|
- spec/fixtures/matrix_test.csv
|
144
145
|
- spec/fixtures/music_data.tsv
|
146
|
+
- spec/fixtures/sales-funnel.csv
|
145
147
|
- spec/index_spec.rb
|
146
148
|
- spec/io/io_spec.rb
|
147
149
|
- spec/math/arithmetic/dataframe_spec.rb
|
@@ -149,6 +151,7 @@ files:
|
|
149
151
|
- spec/math/statistics/dataframe_spec.rb
|
150
152
|
- spec/math/statistics/vector_spec.rb
|
151
153
|
- spec/monkeys_spec.rb
|
154
|
+
- spec/multi_index_spec.rb
|
152
155
|
- spec/spec_helper.rb
|
153
156
|
- spec/vector_spec.rb
|
154
157
|
homepage: http://github.com/v0dro/daru
|
@@ -171,15 +174,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
174
|
version: '0'
|
172
175
|
requirements: []
|
173
176
|
rubyforge_project:
|
174
|
-
rubygems_version: 2.
|
177
|
+
rubygems_version: 2.2.0
|
175
178
|
signing_key:
|
176
179
|
specification_version: 4
|
177
180
|
summary: Data Analysis in RUby
|
178
181
|
test_files:
|
182
|
+
- spec/accessors/wrappers_spec.rb
|
183
|
+
- spec/core/group_by_spec.rb
|
179
184
|
- spec/dataframe_spec.rb
|
180
185
|
- spec/fixtures/countries.json
|
181
186
|
- spec/fixtures/matrix_test.csv
|
182
187
|
- spec/fixtures/music_data.tsv
|
188
|
+
- spec/fixtures/sales-funnel.csv
|
183
189
|
- spec/index_spec.rb
|
184
190
|
- spec/io/io_spec.rb
|
185
191
|
- spec/math/arithmetic/dataframe_spec.rb
|
@@ -187,6 +193,6 @@ test_files:
|
|
187
193
|
- spec/math/statistics/dataframe_spec.rb
|
188
194
|
- spec/math/statistics/vector_spec.rb
|
189
195
|
- spec/monkeys_spec.rb
|
196
|
+
- spec/multi_index_spec.rb
|
190
197
|
- spec/spec_helper.rb
|
191
198
|
- spec/vector_spec.rb
|
192
|
-
has_rdoc:
|