Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
oku-slide-20210611
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Makito Oku
May 31, 2021
Programming
320
0
Share
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
67
oku-slide-20240802
okumakito
0
220
oku-slide-20231129
okumakito
0
190
oku-slide-20230827
okumakito
0
200
oku-slide-20230213
okumakito
0
300
oku-slide-20221212
okumakito
0
140
oku-slide-20221129
okumakito
0
210
oku-slide-20221115
okumakito
0
410
oku-slide-20220820
okumakito
0
460
Other Decks in Programming
See All in Programming
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
730
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
230
Skillは並べた。動かなかった。契約で繋いだ。— 65個のSkillから、自走する開発サイクルへ
junholee
0
670
iOS26時代の新規アプリ開発
yuukiw00w
0
160
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
1
170
Firefoxにコントリビューションして得られた学び
ken7253
2
170
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
Sans tests, vos agents ne sont pas fiables
nabondance
0
140
継続的な負荷検証を目指して
pyama86
3
1.3k
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
290
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
140
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
520
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.2k
The browser strikes back
jonoalderson
0
1.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
280
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
190
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
570
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
140
The Invisible Side of Design
smashingmag
302
52k
Odyssey Design
rkendrick25
PRO
2
620
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
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