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
Python始めて半年で感じたこと/I’ve recently started to lear...
Search
banquet.kuma
March 15, 2019
Programming
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Python始めて半年で感じたこと/I’ve recently started to learn Python.
banquet.kuma
March 15, 2019
More Decks by banquet.kuma
See All by banquet.kuma
SaaS is dead. は本当か?
dar_kuma_san
0
52
学習への生成AI活用:「毒」にするか「薬」にするか? - エビデンスと実践知に基づく活用戦略
dar_kuma_san
1
94
転職時代の退職金戦略
dar_kuma_san
0
59
AI新時代の富の源泉
dar_kuma_san
0
58
AI時代のテック投資戦略 - 中島聡氏のインサイトに基づく「富の源泉」
dar_kuma_san
0
65
Amazon Q Developer CLIをClaude Codeから使うためのベストプラクティスを考えてみた
dar_kuma_san
0
990
彼女を励ますために、Azure OpenAI Serviceを使って、kmakici LINE bot を作った
dar_kuma_san
0
210
面倒なことは、 Azure OpenAI Service× Power Automateにやらせよう!
dar_kuma_san
0
360
データで振り返るデータラーニングギルド【基礎集計の部】
dar_kuma_san
0
2.8k
Other Decks in Programming
See All in Programming
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
3
730
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
200
golang-bob.pdf
iwatsukayura
0
130
AWSに止められる覚悟してますか?
morizo_1984
2
540
Verilogで学ぶCPU自作入門
uyuki234
8
4.2k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
310
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
140
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
140
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
830
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
160
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.1k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
1k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Skip the Path - Find Your Career Trail
mkilby
1
260
Chasing Engaging Ingredients in Design
codingconduct
0
370
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
The SEO Collaboration Effect
kristinabergwall1
1
600
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
500
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Amusing Abliteration
ianozsvald
1
350
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Transcript
Justfreeslide.com 1 Python࢝ΊͯͰײͨ͜͡ͱ ɾ࢝Ί͖͔͚ͨͬ ɾ͜͜·Ͱͷֶशํ๏ ɾAltair৮ͬͯΈ·ͨ͠ ɾ·ͱΊ
Justfreeslide.com 2 ۽ాɹᠳ(Kumada Sho) ɾಋମϝʔΧʔΤϯδχΞ ɾژࡏྺʹ8Χ݄ ɾPythonྺʢ㲈ϓϩάϥϛϯάྺʣ ɾΜͳΓPythonӡӦϝϯόʔ ɹ4ճͷࢀՃɺԿͬͯ·ͤΜɻɻ
Justfreeslide.com 3 Python࢝Ί͖͔͚ͨͬ झຯͱݴ͑ं͕ͩͬͨɺ ͔݁ࠗͯ͠Β࿔Γʹ͘͘ͳͬͨɻɻ ৽ฉͰAIͱ͔IoTͱ͍͏ϫʔυ͕ ग़ͯ͜ͳ͍ͳ͍ͷͰɺલ͔Β ϓϩάϥϛϯάؾʹͳ͍ͬͯͨɻɻ Pythonͱ͍͏ݴޠͰͰ͖ΔΒ͍͠ɺ ͬͯΈΑ͏ʂ
γϟίλϯπϥΠνɺ ECUνϡʔϯɺҾͬுΓλΠϠɺ ग़໘ܭࢉɺϝογϡԽɺϘϯϐϯऔΓ͚ Let’s DIY !
Justfreeslide.com 4 ࣄͰ͑ͨΒྑ͍ͳʔʢকདྷతʹʣ ఔ͔ΒಘΒΕΔσʔλ PythonͰՄࢹԽ (ΠϯλϥΫςΟϒʹ) ෆྑϞʔυͱͷ૬ؔ ݪҼڀ໌ɺରࡦ·Ͱͷظؒॖʂ ૣ͘ؼΓ͍ͨɻɻ ෆྑ͕ग़ΔͱݪҼಛఆͷ࡞ۀΛظؒͰΔඞཁ͕͋ΓɺޮԽ͍ͨ͠ʂ
ࠓ·Ͱؾ ͔ͳ͔ͬͨ
Justfreeslide.com 5 ͜͜·Ͱͷֶशํ๏(2018/10ʙ) ɾڥߏங ɾPythonͷجຊจ๏ ɾGitHubͷ͍ํɹetc. ɹશ͘ͷॳ৺ऀʹ༏͍͠ ࣸܦ2प ʮಠֶϓϩάϥϚʔʯʹ Ωϟϯϖʔϯίʔυ͕ࡌ͍ͬͯͨ
ແྉମݧ 3ؒ ·ͣʮಠֶϓϩάϥϚʔʯಡΜͰΈΔ͜ͱʹ
Justfreeslide.com 6 ͜͜ΒΜͰɺΜͳΓPython#12ʹࢀՃ ɾPythonͷجૅ ɾExcelγʔτͷऔΓѻ͍ etc. ɹ࡞ۀޮԽʹ͑ͦ͏ͳωλ͋Γ ࣸܦ ్த·Ͱ ɾNumpyɺpandas
ɾσʔλϥϯάϦϯά ࣸܦ ్த·Ͱ ʢࠓ͜͜ʣ
Justfreeslide.com 7 ͦͷଞ ɾճ͕ؼͬͯ͘Δ·Ͱ͕ૣ͍ ɾͳํ͕ଟ͍ άάͬͯᆐ͕໌ ͔ͳ͚Ε ࣭
Justfreeslide.com 8 ࣸܦʹ͕͔͔࣌ؒΓա͗Δ͜ͱʹؾ͘ɾɾ ࠳ં͢Δ͜ͱؒҧ͍ͳ͠ʂ ͱΓ͋͑ͣɺԿ͔࡞Γ࢝Ίͯɺ٧·ͬͨΒɺ ʮάάΔ → ڭՊॻͰ֬ೝʯͱ͍͏Γํʹมߋ
Justfreeslide.com 9 ࡞͍ͨ͠ͷͷΠϝʔδ ɾՄࢹԽΛ༻͍ͨWebΞϓϦ ɾࡐσΠζχʔϥϯυͷͪ࣌ؒ ɹ εϥΠμʔͰ݄࣌Λ߹ΘͤΔͱ աڈͷ͕͔ͪ࣌ؒΔ →ۭ͍ͯΔΞτϥΫγϣϯ͔Β㕩Γ͍ͨ datetime
Justfreeslide.com 10 σʔλݩ https://touringplans.com/blog/2018/06/25/disney-world-wait-times-available-for-data-science-and-machine-learning/ σΟζχʔϫʔϧυ ͷ͕ͪ࣌ؒcsv.ͰೖखՄೳ
Justfreeslide.com 11 ՄࢹԽπʔϧʢAltairʣ ɾVega-Lite JSON༷͔Β PythonίʔυΛੜ ɾυΩϡϝϯτ͕ॆ࣮ ɹྫ͕๛ ɾԼهyoutubeͰͷղઆ͕ ɹΘ͔Γқ͍
Jake VanderPlas - Exploratory Data Visualization with Vega, Vega-Lite, and Altair - PyCon2018 https://www.youtube.com/watch?v=ms29ZPUKxbU
Justfreeslide.com 12 औֻ͔ͬΓ͍͢ ɹɾσʔλ ɹɾπʔϧ Λͬͯɺ୯७ͳάϥϑ͔Β࡞ͬͯΈΔ͜ͱʹ ͱΓ͋͑ͣɺ खΛಈ͔ͤΔ͜ͱ͔Β࢝ΊΔ͜ͱ͕େࣄʂʂ
Justfreeslide.com 13 import altair as alt import pandas as pd
#σʔλΛpandasͰೖΕ·ͨ͠ alt.renderers.enable(‘notebook') #jupyter notebookͰ࣮ߦ͢Δ߹ʹඞཁͳढจ alt.data_transformers.enable(‘default',max_rows=None) #5000ߦҎ্ಡΈࠐΉࡍʹඞཁ ͪ࣌ؒΛ࣌ܥྻʹϓϩοτ͢Δ
Justfreeslide.com 14 term_start="2018-07"ɹ #ελʔτ݄ term_end="2018-12"ɹɹ #ऴ݄ྃ
Justfreeslide.com 15 sp=alt.Chart(splash_mountain[term_start:term_end], title="Disney World Wait Time 2018(Actual)") .mark_point(filled=True) .encode(
alt.X("datetime",type="temporal"),ɹɹɹ #࣌ؒσʔλ alt.Y("attractions",type="nominal"),ɹɹɹ #໊σʔλ size="wait_time(actual):Q",ɹɹɹɹɹɹɹ#ྔతσʔλ color=“wait_time(actual):Q") #ྔతσʔλ .properties(width=650,height=400) େผ͢ΔͱɺᶃChart , ᶄmark , ᶅencode ,ᶆpropertiesɹ ͔Β͍ͬͯͯͦΕͧΕʹಛʢϚʔΫछྨɺX࣠ɺY࣠ɺσʔλछྨͳͲʣ ΛೖΕΔ
Justfreeslide.com 16 sp
Justfreeslide.com 17 sp+se+di+ex+fl+ki+pi+ro+so+sp2+to+al+na “ʴ”Ͱ1ͭͷάϥϑʹϚʔδ͞ΕΔ
Justfreeslide.com 18 ࣌ܥྻͷͪ࣌ؒάϥϑΛ࡞Δ εϥΠμʔͰಈ͔͢ Ϛοϓ্ʹϓϩοτ͢Δ WebʹΞοϓ͢Δ σʔλ͕ߋ৽͞ΕͨΒࣗಈͰಡΈࠐΉΑ͏ʹ Ͱ͖Δ͔͔Βͳ͍͚Ͳɺ͠Β֨͘ಆ͠·͢ ଟ৭ʑଥڠ͠·͢w
Justfreeslide.com 19 ·ͱΊʢ͜͜·ͰͬͯΈͯͷॴײʣ ɹ࠷ݶͷࣸܦΛͨ͠Βɺ ɹͱΓ͋͑ͣԿ͔࡞Γ࢝ΊΔʂ ɹ্ख͍͔͘ͳͯ͘ಘΔͷ͋Δͷ ɹͰؾָʹʢ݁ߏେࣄʣ ɹษڧձʹࢀՃͯ͠ϞνϕʔγϣϯUPʂ