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
oku-slide-20210611
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Makito Oku
May 31, 2021
Programming
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
oku-slide-20210611
初⼼者のためのPython
奥 牧⼈ (和漢研)
杉⾕キャンパスICT講習会
2021/06/11
Makito Oku
May 31, 2021
More Decks by Makito Oku
See All by Makito Oku
oku-slide-20260209
okumakito
0
110
oku-slide-20240802
okumakito
0
230
oku-slide-20231129
okumakito
0
210
oku-slide-20230827
okumakito
0
220
oku-slide-20230213
okumakito
0
340
oku-slide-20221212
okumakito
0
160
oku-slide-20221129
okumakito
0
240
oku-slide-20221115
okumakito
0
2k
oku-slide-20220820
okumakito
0
470
Other Decks in Programming
See All in Programming
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
180
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
120
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
130
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
640
フロントエンドUIフレームワークのこれまでとこれから
ssssota
3
1.4k
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
280
Webプラットフォームで議論されているセキュリティ課題 / Security issues being discussed on Web Platforms
petamoriken
0
320
業務時間外もAIに働いてもらう話
colorful12
3
10k
AIの中の人になってみる
htkym
0
170
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
680
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
890
アクセシビリティから考える情報設計
high_g_engineer
0
340
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
530
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
570
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
450
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Faster Mobile Websites
deanohume
310
32k
A designer walks into a library…
pauljervisheath
211
25k
Transcript
初⼼者のための Python 奥 牧⼈ (和漢研) 杉⾕キャンパス ICT 講習会 2021/06/11 1
/ 13
Outline はじめに Python を勧める理由 何が出来るようになるのか? 習得までにかかるコスト 学習の進め⽅ まとめ 2 /
13
はじめに 今⽇は、プログラミングに興味はあるけれど 始める勇気 が無い、 という⼈の 背中を押したい と思います。 3 / 13
Python を勧める理由 プログラミング⾔語は沢⼭あります。 どれにするか迷っているなら Python にしましょう。 1. ⼤抵のことは Python だけで出来ます。
2. 沢⼭の⼈が使っています。 3. プログラミング⾔語の中では簡単な⽅です。 4. 無料で使えます。 4 / 13
R と Python はどっちが良いの? R は統計解析に特化した⾔語、Python は汎⽤型です。 ⼤きな差は無いと私は思います。 どちらか⼀⽅を選ぶとすれば、Python が無難
だと思います。 5 / 13
何が出来るようになるのか? データ研磨、クレンジング 統計解析、データ解析 数値シミュレーション 図の描画 機械学習 深層学習 Webスクレイピング Webアプリ開発 etc.
6 / 13
よく使う拡張パッケージ numpy (なむぱい)、scipy (さいぱい) 数値計算、統計解析 pandas (ぱんだす) データ解析 matplotlib (まっとぷろっとりぶ)、
seaborn (しーぼーん) 図の描画 scikit-learn (さいきっとらーん) 機械学習 7 / 13
例 サンプルデータを読み込んで図を表⽰するプログラム import numpy as np import pandas as pd
import matplotlib.pyplot as plt import seaborn as sns from sklearn.datasets import load_iris data = load_iris(as_frame=True) df, names = data.frame, data.target_names df.columns = df.columns.str.replace(' \(cm\)','').str.replace('target','label') df['label'] = df.label.replace(pd.Series(names)) df = df.melt(id_vars='label', var_name='x', value_name='y') fig, ax = plt.subplots(figsize=(6,4)) sns.swarmplot(data=df, x='x', y='y', hue='label', dodge=True, ax=ax) ax.set_xlabel('') ax.set_ylabel('length (cm)') fig.tight_layout() fig.show() fig.savefig('tmp.png') 8 / 13
出⼒結果 9 / 13
習得までにかかるコスト 幾つかのネットサイトを眺めてみると、初⼼者であっても 3か⽉から 半年くらい で基礎を習得出来るらしいです。 覚えること プログラミングの基本⽤語 Python の⽂法 拡張パッケージ毎の機能
分からない点の調べ⽅ 10 / 13
学習の進め⽅ 個⼈差が⼤きいため、⾃習 が基本だと思います。 ネットで検索すれば、簡単なものから難しいものまで、さまざま 学習⽤教材が⾒つかります。 https://paiza.jp/works/python3/primer https://www.python.jp/train/index.html https://tutorials.chainer.org/ja/02_Basics_of_Python.html 実際に ⼿を動かす
のが良いと思います。 11 / 13
まとめ プログラミング初⼼者には Python がオススメ です。 データ研磨、データ解析、図の描画まで、これ⼀つで出来ます。 初⼼者でも半年くらいで基礎を習得可能だそうです。 ネット上に様々な教材があります。 本⽇の資料は以下に置きました。 https://speakerdeck.com/okumakito/oku-slide-20210611
12 / 13
ご清聴どうもありがとうございました。 13 / 13