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
49
学習への生成AI活用:「毒」にするか「薬」にするか? - エビデンスと実践知に基づく活用戦略
dar_kuma_san
1
93
転職時代の退職金戦略
dar_kuma_san
0
56
AI新時代の富の源泉
dar_kuma_san
0
53
AI時代のテック投資戦略 - 中島聡氏のインサイトに基づく「富の源泉」
dar_kuma_san
0
65
Amazon Q Developer CLIをClaude Codeから使うためのベストプラクティスを考えてみた
dar_kuma_san
0
980
彼女を励ますために、Azure OpenAI Serviceを使って、kmakici LINE bot を作った
dar_kuma_san
0
210
面倒なことは、 Azure OpenAI Service× Power Automateにやらせよう!
dar_kuma_san
0
350
データで振り返るデータラーニングギルド【基礎集計の部】
dar_kuma_san
0
2.8k
Other Decks in Programming
See All in Programming
mrbgem 三角測量 開発
ogom
0
180
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
6k
setup-vp GitLab対応の裏側
naokihaba
0
150
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
310
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
270
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
120
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
520
Security issues being discussed on Web Platforms
petamoriken
0
1.4k
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
130
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
4.8k
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.4k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
23k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Faster Mobile Websites
deanohume
310
32k
It's Worth the Effort
3n
188
29k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
Building an army of robots
kneath
307
47k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Into the Great Unknown - MozCon
thekraken
41
2.7k
Unsuck your backbone
ammeep
672
58k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
600
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ʂ