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
Transcript
19 slides
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ʂ
More Decks by banquet.kuma
See All by banquet.kuma
SaaS is dead. は本当か?
dar_kuma_san
0
57
学習への生成AI活用:「毒」にするか「薬」にするか? - エビデンスと実践知に基づく活用戦略
dar_kuma_san
1
98
転職時代の退職金戦略
dar_kuma_san
0
64
AI新時代の富の源泉
dar_kuma_san
0
66
AI時代のテック投資戦略 - 中島聡氏のインサイトに基づく「富の源泉」
dar_kuma_san
0
71
Amazon Q Developer CLIをClaude Codeから使うためのベストプラクティスを考えてみた
dar_kuma_san
0
990
彼女を励ますために、Azure OpenAI Serviceを使って、kmakici LINE bot を作った
dar_kuma_san
0
220
面倒なことは、 Azure OpenAI Service× Power Automateにやらせよう!
dar_kuma_san
0
380
データで振り返るデータラーニングギルド【基礎集計の部】
dar_kuma_san
0
2.8k
Other Decks in Programming
See All in Programming
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
150
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
310
Distance field of Julia set
kinakomoti321
0
320
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
250
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
0
150
Seven New Principles of Software Engineering
yegor256
0
490
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
320
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Technical Leadership for Architectural Decision Making
baasie
4
640
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Building the Perfect Custom Keyboard
takai
2
960
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
How to train your dragon (web standard)
notwaldorf
96
6.9k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
570
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
640
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
790
A better future with KSS
kneath
240
18k