Upgrade to Pro — share decks privately, control downloads, hide ads and more …

第3回「Python入門(2)」2023年11月13日資料

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for sasasa sasasa
November 13, 2023
87

 第3回「Python入門(2)」2023年11月13日資料

Avatar for sasasa

sasasa

November 13, 2023
Tweet

Transcript

  1. Pythonの教材 とても多くの無料で学べる教材があります.例えば, 1. 公式サイト https://www.python.org/ 2. 東京大学「Pythonプログラミング入門」 https://utokyo-ipp.github.io/ 3. 京都大学「プログラミング演習Python2021」https://repository.kulib.kyoto-

    u.ac.jp/dspace/bitstream/2433/265459/1/Version2021_10_08_01.pdf 4. 東京工業大学「Python早見帳」https://chokkan.github.io/python/index.html 5. 筑波大学(三谷先生) https://mitani.cs.tsukuba.ac.jp/book_support/python/python_slides.pdf 6. さくらインターネット株式会社「初学者向けTellus学習コース」 https://tellusxdp.github.io/start-python-with-tellus/index.html など
  2. グラフを書いてみよう!(1) 『 y = x 』のグラフ ↓ 行番号は無視してください。 3行目で「y =

    x」の「x」の部分を定義 (難)5行目 xが取る範囲を定義 (難)6行目 グラフを描く範囲を定義 (難)7行目 x, yの座標に点をプロット (難)8行目 補助線(灰色の線)を表示
  3. グラフを書いてみよう!(2) 『 y = x 2』のグラフ ↓ 行番号は無視してください。 3行目で「y =

    x2」の「 x2 」の部分を定義 (Pythonでは「**」で◯乗を意味します。)
  4. まとめ • Pythonの制御構造 ◦ if文,for文,while文 など • 「リスト」について • 「平均」を求める

    ◦ for文を利用して自分で計算 ◦ 関数で求める ◦ Pandasの利用 • CSVファイルの解析 ◦ 要約統計量を求める