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
360
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
Transcript
13 slides
初⼼者のための 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
More Decks by Makito Oku
See All by Makito Oku
oku-slide-20260209
okumakito
0
150
oku-slide-20240802
okumakito
0
240
oku-slide-20231129
okumakito
0
220
oku-slide-20230827
okumakito
0
230
oku-slide-20230213
okumakito
0
370
oku-slide-20221212
okumakito
0
180
oku-slide-20221129
okumakito
0
270
oku-slide-20221115
okumakito
0
2k
oku-slide-20220820
okumakito
0
480
Other Decks in Programming
See All in Programming
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
660
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
360
The Cost of the DOM
ypresto
2
170
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
780
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
510
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
330
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
140
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
220
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
120
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
580
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
620
Thoughts on Productivity
jonyablonski
76
5.5k
Building Applications with DynamoDB
mza
96
7.3k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
650
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
560
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
500