rabbit-slide-kou-data-science-rb 2017.5.19.0 → 2017.5.19.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caa8052c0f2c084f9223249ee024cbb9e6ae35ce
|
4
|
+
data.tar.gz: df5bb5c6dea6d0cb4440533045c80a24436d06d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9818962f983dad4c48745e1c785b08bf99465b06c550d8025e64c88c004db87d16a6c2ea5d09112b229815256f0cc5c60411f5320f1e3981e27388595efcbddf
|
7
|
+
data.tar.gz: 0a0dd0861ecc75eea0b835e959578df85e5ab7d9ff46914aaec0bcf7a7ccabf0ab24cd09abe2d18026e310dfb3d38483ecf2c61e55941a239a2bbf54afbe0e3c
|
data/config.yaml
CHANGED
Binary file
|
@@ -115,7 +115,7 @@ Rubyでやりたい
|
|
115
115
|
|
116
116
|
= Arrow:Python
|
117
117
|
|
118
|
-
#
|
118
|
+
# rouge python
|
119
119
|
# pandasでデータ生成→Arrow形式で書き込み
|
120
120
|
import pyarrow as pa
|
121
121
|
|
@@ -131,7 +131,7 @@ Rubyでやりたい
|
|
131
131
|
|
132
132
|
= Arrow:Ruby
|
133
133
|
|
134
|
-
#
|
134
|
+
# rouge ruby
|
135
135
|
# RubyでArrow形式のpandasのデータを読み込み
|
136
136
|
require "arrow"
|
137
137
|
|
@@ -146,7 +146,7 @@ Rubyでやりたい
|
|
146
146
|
|
147
147
|
= Feather:R
|
148
148
|
|
149
|
-
#
|
149
|
+
# rouge R
|
150
150
|
# Rでデータ生成→Feather形式で書き込み
|
151
151
|
library("feather")
|
152
152
|
|
@@ -156,7 +156,7 @@ Rubyでやりたい
|
|
156
156
|
|
157
157
|
= Feather:Ruby
|
158
158
|
|
159
|
-
#
|
159
|
+
# rouge ruby
|
160
160
|
# RubyでFeather形式のRのデータを読み込み
|
161
161
|
require "arrow"
|
162
162
|
|
@@ -170,7 +170,7 @@ Rubyでやりたい
|
|
170
170
|
|
171
171
|
= Parquet:Python
|
172
172
|
|
173
|
-
#
|
173
|
+
# rouge python
|
174
174
|
# Pythonでデータ生成→Parquet形式で書き込み
|
175
175
|
import pandas as pd
|
176
176
|
import pyarrow as pa
|
@@ -183,7 +183,7 @@ Rubyでやりたい
|
|
183
183
|
|
184
184
|
= Parquet:Ruby
|
185
185
|
|
186
|
-
#
|
186
|
+
# rouge ruby
|
187
187
|
# RubyでParquet形式のデータを読み込み
|
188
188
|
require "arrow"
|
189
189
|
require "parquet"
|
@@ -215,7 +215,7 @@ Rubyでやりたい
|
|
215
215
|
|
216
216
|
= Groonga:Ruby
|
217
217
|
|
218
|
-
#
|
218
|
+
# rouge ruby
|
219
219
|
# 空のテーブルにArrow形式のデータを読み込む
|
220
220
|
logs = Groonga::Array.create(name: "logs")
|
221
221
|
logs.load_arrow("/tmp/pandas.arrow")
|
@@ -230,7 +230,7 @@ Rubyでやりたい
|
|
230
230
|
|
231
231
|
= Groonga:Python
|
232
232
|
|
233
|
-
#
|
233
|
+
# rouge python
|
234
234
|
# Arrow形式のGroongaでのフィルター結果を読み込む
|
235
235
|
import pyarrow as pa
|
236
236
|
|
@@ -267,7 +267,7 @@ Rubyでやりたい
|
|
267
267
|
|
268
268
|
= Tensor:Python
|
269
269
|
|
270
|
-
#
|
270
|
+
# rouge python
|
271
271
|
# NumPyでデータ生成→書き込み
|
272
272
|
import pyarrow as pa
|
273
273
|
import numpy as np
|
@@ -280,7 +280,7 @@ Rubyでやりたい
|
|
280
280
|
|
281
281
|
= Tensor:Ruby
|
282
282
|
|
283
|
-
#
|
283
|
+
# rouge ruby
|
284
284
|
# Rubyで読み込み
|
285
285
|
require "arrow"
|
286
286
|
|
@@ -292,7 +292,7 @@ Rubyでやりたい
|
|
292
292
|
|
293
293
|
= Ruby:GSL
|
294
294
|
|
295
|
-
#
|
295
|
+
# rouge ruby
|
296
296
|
# GSLオブジェクトに変換
|
297
297
|
require "arrow"
|
298
298
|
require "arrow-gsl"
|
@@ -307,7 +307,7 @@ Rubyでやりたい
|
|
307
307
|
|
308
308
|
= Ruby:NMatrix
|
309
309
|
|
310
|
-
#
|
310
|
+
# rouge ruby
|
311
311
|
# NMatrixオブジェクトに変換
|
312
312
|
require "arrow"
|
313
313
|
require "arrow-nmatrix"
|
@@ -322,7 +322,7 @@ Rubyでやりたい
|
|
322
322
|
|
323
323
|
= Ruby:Numo::NArray
|
324
324
|
|
325
|
-
#
|
325
|
+
# rouge ruby
|
326
326
|
# Numo::NArrayオブジェクトに変換
|
327
327
|
require "arrow"
|
328
328
|
require "arrow-numo-narray"
|
data/sample/read-pandas.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit-slide-kou-data-science-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2017.5.19.
|
4
|
+
version: 2017.5.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rabbit
|