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
Makito Oku
May 31, 2021
Programming
350
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
130
oku-slide-20240802
okumakito
0
230
oku-slide-20231129
okumakito
0
210
oku-slide-20230827
okumakito
0
220
oku-slide-20230213
okumakito
0
350
oku-slide-20221212
okumakito
0
170
oku-slide-20221129
okumakito
0
260
oku-slide-20221115
okumakito
0
2k
oku-slide-20220820
okumakito
0
480
Other Decks in Programming
See All in Programming
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
180
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
golang-bob.pdf
iwatsukayura
0
130
Jetpack Compose Mechanisms
skydoves
3
820
JIS keyboard support in Omarchy
lef237
0
110
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
920
R8 の設定見直しでアプリサイズ削減
andpad
0
220
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
460
残高管理から台帳サービスへの進化
artoy
1
200
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Making the Leap to Tech Lead
cromwellryan
135
10k
A better future with KSS
kneath
240
18k
Exploring anti-patterns in Rails
aemeredith
4
540
エンジニアに許された特別な時間の終わり
watany
109
250k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
990
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
The untapped power of vector embeddings
frankvandijk
2
1.9k
How to Talk to Developers About Accessibility
jct
2
580
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
Fireside Chat
paigeccino
43
4.1k
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