Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Data Analysis with Ruby using PyCall
Search
Kenta Murata
May 19, 2017
Technology
1
780
Data Analysis with Ruby using PyCall
The slide used in DataScience.rb 2017.05.19
Kenta Murata
May 19, 2017
Tweet
Share
More Decks by Kenta Murata
See All by Kenta Murata
waitany と waitall を作った話
mrkn
0
280
HolidayJp.jl を作りました
mrkn
0
300
Calling Julia functions from Streamlit applications
mrkn
1
530
Red Data Tools で切り開く Ruby の未来
mrkn
3
1.3k
Method-based JIT compilation by transpiling to Julia
mrkn
0
8.1k
Apache Arrow C++ Datasets
mrkn
4
1.7k
Reducing ActiveRecord memory consumption using Apache Arrow
mrkn
0
1.8k
RubyData and Rails
mrkn
0
3.3k
Tensor and Arrow
mrkn
0
1k
Other Decks in Technology
See All in Technology
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
49k
MS Ignite 2025で発表されたFoundry IQをRecap
satodayo
3
240
21st ACRi Webinar - Univ of Tokyo Presentation Slide (Ayumi Ohno)
nao_sumikawa
0
110
なぜ使われないのか?──定量×定性で見極める本当のボトルネック
kakehashi
PRO
1
980
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
9.9k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
21k
Master Dataグループ紹介資料
sansan33
PRO
1
4k
Ryzen NPUにおけるAI Engineプログラミング
anjn
0
240
“決まらない”NSM設計への処方箋 〜ビットキーにおける現実的な指標デザイン事例〜 / A Prescription for "Stuck" NSM Design: Bitkey’s Practical Case Study
bitkey
PRO
1
450
Agents IA : la nouvelle frontière des LLMs (Tech.Rocks Summit 2025)
glaforge
0
440
知っていると得する!Movable Type 9 の新機能を徹底解説
masakah
0
230
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Automating Front-end Workflow
addyosmani
1371
200k
The Invisible Side of Design
smashingmag
302
51k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
380
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Embracing the Ebb and Flow
colly
88
4.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Transcript
Data Analysis with Ruby using PyCall Kenta Murata Speee Inc.
DataScience.rb 2017.05.19
DataScience.rb 2017.05.19 self.introduction • Kenta Murata • Speee Inc. •
CRuby committer
DataScience.rb 2017.05.19 self.gems • bigdecimal • enumerable-statistics • pycall •
matplotlib ← ← today’s topic
Data Analysis with Ruby using PyCall
PyCall
DataScience.rb 2017.05.19 For docker-ready people $ git clone
[email protected]
:mrkn/ pycall.git
$ cd pycall $ rake docker:run
DataScience.rb 2017.05.19 For docker-unready people • Access to https://github.com/mrkn/pycall
DataScience.rb 2017.05.19 • https://github.com/mrkn/pycall
DataScience.rb 2017.05.19 • https://github.com/mrkn/pycall
DataScience.rb 2017.05.19 Demo
DataScience.rb 2017.05.19 実際に使ってみた感想 • pandas, scikit-learn, seaborn などが 使えるのはデータ分析をする上で非常 に便利である
• 現状の制限である不自然な記法は、 PyCall 開発者の私でも煩わしい • 現時点では、PyCall を使って Ruby で やる意義を見出せない場合が多い
DataScience.rb 2017.05.19 現時点で便利に使えそうなシーン • Ruby スクリプトで生成したデータを pandas で加工して matplotlib や
seaborn で可視化する • 以上
DataScience.rb 2017.05.19 今後の予定 by RubyKaigi • オブジェクトをちゃんと free する •
不自然な記法をできるだけ廃止 • numpy, pandas, scikit-learn など主 要なライブラリは特別なラッパーを 作ってより Ruby らしい使い方を実現 • バージョン 1.0 のリリース
DataScience.rb 2017.05.19 今後の予定 after RubyKaigi • Keras, Chainer などをちゃんと使える ようにする
• R と Julia のブリッジ • Spark と Stan をなんとかしたい