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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
200
LLM 101
dalinaum
0
490
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
620
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
640
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
250
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.2k
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
240
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
150
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
109
250k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Color Theory Basics | Prateek | Gurzu
gurzu
1
520
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
Site-Speed That Sticks
csswizardry
13
1.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
350
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
530
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Bash Introduction
62gerente
615
220k