Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
33分4秒ではじめるPy “Baseball” Data入門
Search
Shinichi Nakagawa
PRO
February 20, 2017
Programming
430
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
33分4秒ではじめるPy “Baseball” Data入門
#PyNyumon #4 2017/2/20 LT登壇資料
すべてのPython初心者&野球好きに贈る
Shinichi Nakagawa
PRO
February 20, 2017
More Decks by Shinichi Nakagawa
See All by Shinichi Nakagawa
LLMの出力を"いい感じに"する技術 / Taming LLM Output: AI Agent Design Patterns with FastAPI
shinyorke
PRO
4
2.2k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
730
WBCの解説は生成AIにやらせよう - 生成AIで野球解説者AI Agentを実現する / Baseball Commentator AI Agent for Gemini
shinyorke
PRO
1
740
自らを強いエンジニアにするための3つの習慣 2025/ Fitter happier more productive
shinyorke
PRO
0
320
生成AI時代におけるSREの進化とキャリア戦略 / Building an Embedded SRE team and my career
shinyorke
PRO
0
190
生成AIを活用した野球データ分析 - メジャーリーグ編 / Baseball Analytics for Gen AI
shinyorke
PRO
1
6.8k
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
3
9.8k
AI・LLM事業部のSREとタスクの自動運転
shinyorke
PRO
0
590
実践Dash - 手を抜きながら本気で作るデータApplicationの基本と応用 / Dash for Python and Baseball
shinyorke
PRO
2
5k
Other Decks in Programming
See All in Programming
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
620
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
340
残高管理から台帳サービスへの進化
artoy
0
140
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
34
15k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
7
1.8k
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
130
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
470
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
350
JRuby: Past, Present, and Future
headius
0
220
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
440
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
150
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
620
Featured
See All Featured
The Curse of the Amulet
leimatthew05
3
15k
The Invisible Side of Design
smashingmag
301
52k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
490
How to Think Like a Performance Engineer
csswizardry
28
2.9k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Building an army of robots
kneath
307
47k
Balancing Empowerment & Direction
lara
6
1.3k
Abbi's Birthday
coloredviolet
4
10k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Transcript
334ඵͰ͡ΊΔ Py “Baseball” Dataೖ Shinichi Nakagawa @shinyorke (ٿPythonͷਓ)
Who am I ? • Shinichi Nakagawa(@shinyorke) • Retty. Inc
Engineer/Tech Lead • Python/PyData/Baseball Science/Agile • ٿͷਓʮٿʯʮPythonʯͰݕࡧʂ • Ͳ͜ͷνʔϜͷϑΝϯ͔͍ͯͩ͘͠͞
͜ΕΛॻ͍ͨਓͰ͢(࣮) ॳ৺ऀ͕PythonΛ֮͑ΔҝͷຊͷબͼํΛମܥԽͯ͠Έͨ(2017൛) http://shinyorke.hatenablog.com/entry/2017/01/15/170602
Starting member • PyData #ͱ • Py Baseball Data #ͱ
• 334ඵ(ఔ)ͰͰ͖ΔPy “Baseball” Data • ·ͱΊ
PyData #ͱ
“”” PyDataͱσʔλੳσʔλ׆༻ ʹPythonͳΒͼʹPython Library Λ ར༻͠Α͏ͱ͍͏ਓྨͷӦΈͷ૯শ “”” ※@iktakahiro ͞Μͷ͓ݴ༿ΑΓൈਮ http://www.slideshare.net/
iktakahiro/pydata-67913897
PyDataɹ˞ݸਓతͳղऍͱݟղ • ਓྨ͕ͨ͠,͘͜͠Ε͔Β͢σʔλΛ,Pythonͷ ΤίγεςϜͰੳ&(ϚτϞʹ)׆༻͠Α͏ʂͱ͍͏ӦΈ. • PyDataͷ݁Ռ,Πϊϕʔγϣϯ͕ى͖ͨΓؔΘΔਓୡ͕ ͤʹͳͬͨΒ͍͍ͳ. • ExcelͷΘΓʹPython, ΨνͷػցֶशɾDeep
Learning, ٿσʔλΛָ͍ͬͯ͡͠Ήetc…શ෦PyDataͩΑʂ
Py Baseball Data #ͱ
“”” Py Baseball Dataͱ, ٿ౷ܭֶٴͼ,ͳΜJͳωλ࡞ΓͷͨΊ, PythonͳΒͼʹPython Library Λ ར༻͠Α͏ͱ͍͏, ʮ͖͏ຽ(ٿϑΝϯ)ʯͷӦΈͷ૯শ
“”” ※ࢲ(@shinyorke)͕࡞ͬͨޠ
ࣄྫ ʲॳ৺ऀ͚ʳ334ඵͰ͓΅͑Δٿ౷ܭֶͱPyDataʙཅଲ߯Λఴ͑ͯ http://qiita.com/shinyorke/items/ee58a82ad589f7f4c446
ࠓΔ͜ͱ • Python 3(3.6.0)͕ಈ͘ڥΛ࡞Δ • PyDataڥΛ࡞Δ&ಈ͔͢ • WBCຊදࡔຊ༐ਓ(G)ͷΛ࣋ͬͯ͘Δ #͠ •
લॲཧͱՄࢹԽ,ηΠόʔϝτϦΫεΛͬͯΈΔ • ॴཁ࣌ؒɿ334ඵ #ͳΜͰࡕਆؔͳ͍Ζ • https://github.com/Shinichi-Nakagawa/pynyumon_baseball/blob/ master/hayato_sakamoto.ipynb
Python 3(3.6.0)ڥΛ࡞Δ ~ ᐅ # Mac OS X(macOS)ͷ߹Ͱ͢,ଞͷOS্ख͘άά͍ͬͯͩ͘͞. ~ ᐅ
brew install python3 ~ ᐅ python3 -m venv ~/Document/yakiu # venvͰڥ࡞Δ(PathͲ͜Ͱ) ~ ᐅ source ~/Documents/yakiu/bin/activate # ԾڥΛ༗ޮԽ͢ΔΑ
PyDataڥΛ࡞Δ&ಈ͔͢ $ # Mac OS X(macOS)ͷ߹Ͱ͢,ଞͷOS্ख͘άά͍ͬͯͩ͘͞. (yakiu) ~ ᐅ pip
install ipython pandas beautifulsoup4 numpy lxml html5lib jupyter matplotlib seaborn (yakiu) ~ ᐅ jupyter notebook
ଓ͖ͪ͜ΒͰ(ࢼͯ͠Έͯ) https://github.com/Shinichi-Nakagawa/pynyumon_baseball/ blob/master/hayato_sakamoto.ipynb
·ͱΊ • ͦΒ(PythonDataڥ࡞Γָ͕Ͱ) ͦ͏(ࡔຊ༐ਓϝνϟΫνϟੌ͍ʹ) Αɹ(ܾ·͍ͬͯΔ͡Όͳ͍͔) • ٿ͖ͳΒ,PyDataٿ͔Βೖͬͨ΄͏͕Γ͍͢ͱ ࢥ͍·͢ʂ(ݸਓͷݟղ) • ٿʹݶΒͣ,͖ͳςʔϚɾதͰ͖ΔϞϊͰγϯϓϧʹ
͡ΊΔͷ͕ྑ͍ͱࢥ͏Αʂ #ଃΔݴ༿
ήʔϜηοτʂʂʂ ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠. Shinichi Nakagawa(Twitter/Facebook:@shinyorke)