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: 6adc80216160df3aa2fcc4e681adb8adef33c9ff
4
- data.tar.gz: 1c8032d96c9c619f40bf1789a937408da47bb597
3
+ metadata.gz: caa8052c0f2c084f9223249ee024cbb9e6ae35ce
4
+ data.tar.gz: df5bb5c6dea6d0cb4440533045c80a24436d06d5
5
5
  SHA512:
6
- metadata.gz: 677dc10e63a5bf2384757c4f679b4843fb82577c44fc2b6270df8e21b43f76a80fa8e6ca3e3c1eaf305ff0d69160cf1358701dac8e745e1f24d7dc09f32b9ff6
7
- data.tar.gz: 431d971ef33ec8e19e5ffcb730d1fc6404e4cb1f8e09cd1cbea5d8dd0d1db09a3c0c7beef1dec1a6bf82258609bdfe46703b7d2a77f4f4036f41acd0eda63549
6
+ metadata.gz: 9818962f983dad4c48745e1c785b08bf99465b06c550d8025e64c88c004db87d16a6c2ea5d09112b229815256f0cc5c60411f5320f1e3981e27388595efcbddf
7
+ data.tar.gz: 0a0dd0861ecc75eea0b835e959578df85e5ab7d9ff46914aaec0bcf7a7ccabf0ab24cd09abe2d18026e310dfb3d38483ecf2c61e55941a239a2bbf54afbe0e3c
data/config.yaml CHANGED
@@ -7,7 +7,7 @@ tags:
7
7
  - arrow
8
8
  - data
9
9
  presentation_date: 2017-05-19
10
- version: 2017.5.19.0
10
+ version: 2017.5.19.1
11
11
  licenses:
12
12
  - CC-BY-SA-4.0
13
13
  slideshare_id: datasciencerb
@@ -115,7 +115,7 @@ Rubyでやりたい
115
115
 
116
116
  = Arrow:Python
117
117
 
118
- # coderay python
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
- # coderay ruby
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
- # coderay R
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
- # coderay ruby
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
- # coderay python
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
- # coderay ruby
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
- # coderay ruby
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
- # coderay python
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
- # coderay python
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
- # coderay ruby
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
- # coderay ruby
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
- # coderay ruby
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
- # coderay ruby
325
+ # rouge ruby
326
326
  # Numo::NArrayオブジェクトに変換
327
327
  require "arrow"
328
328
  require "arrow-numo-narray"
@@ -3,7 +3,7 @@
3
3
  require "arrow"
4
4
 
5
5
  Arrow::MemoryMappedInputStream.open("/tmp/pandas.arrow") do |input|
6
- reader = Arrow::FileReader.new(input)
6
+ reader = Arrow::RecordBatchFileReader.new(input)
7
7
  reader.each do |record_batch|
8
8
  puts("=" * 40)
9
9
  puts(record_batch)
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.0
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-17 00:00:00.000000000 Z
11
+ date: 2017-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rabbit