Coursera
探索
  • 浏览
  • 搜索
  • 企业版
  • 登录
  • 注册

用 Python 做商管程式設計(二)

总览授课大纲常见问题解答制作方评分和审阅

主页计算机科学软件开发

用 Python 做商管程式設計(二)

国立台湾大学

关于此课程: 接續用 Python 做商管程式設計(一)的內容,我們將在這個課程中繼續探討Python語言中的許多核心觀念,包含函數、字串、常用的資料結構、檔案讀寫、例外處理等。最後以一個財金資料分析的例子總結。完成本次課程之後,你將會對Python有更深入的了解,並且可以利用Python實際處理一些簡單的資料分析問題。


制作方:  国立台湾大学
国立台湾大学

  • 盧信銘

    教学方:  盧信銘, 副教授

    國立臺灣大學資訊管理學系
0
级别Intermediate
语言
Chinese (Traditional)
如何通过通过所有计分作业以完成课程。
授课大纲
第 1 周
函數 (Functions)
函數是發展有結構的,有用的,易維護的程式必備的工具。適當的使用函數可以讓你自己以及與你一起工作的伙伴們可以有效率的建構出有用的程式碼。讓我們一起來學習這個重要的主題吧!
8 视频
  1. 视频: 1-1 Functions: 基本概念
  2. 视频: 1-2 發展函數的情境
  3. 视频: 1-3 定義與呼叫函數
  4. 视频: 1-4 變數的視野 (Scopes)
  5. 视频: 1-5 區域 (Local) 與 全域 (global) 變數
  6. 视频: 1-6 函數傳回值
  7. 视频: 1-7 函數傳入值 (Arguments)、傳回值、與指定傳入法 (Call by Assignment)
  8. 视频: 1-8 傳入可變物件 (Mutable Objects)、遞迴 (Recursion)、與除錯 (Debugging) [24:44之後為舊的作業說明,請忽略]
已评分: 函數練習
第 2 周
字串 (Strings)
字串是常用的資料型別,也是很多情境中程式操作的對象。我們將介紹字串的基本操作,輔以台灣身分證字號驗證的例子,並且討論中文處理的一些議題。最後介紹格式化字串輸出的一些方法。
9 视频
  1. 视频: 2-1 字串資料型別
  2. 视频: 2-2 字串操作
  3. 视频: 2-3 台灣身分證字號驗證問題
  4. 视频: 2-4 校正和 (Check Sum)
  5. 视频: 2-5 我要 Python 講中文
  6. 视频: 2-6 兩個函數: chr 與 ord
  7. 视频: 2-7 訊息傳送與字串操作
  8. 视频: 2-8 格式化字串輸出
  9. 视频: 2-9 再談格式化字串輸出
已评分: 字串輸出格式練習
第 3 周
資料結構 (Data Structure)、檔案讀寫、與例外處理
本週將介紹三個議題。首先將介紹幾個常用的資料結構,如Tuples, Dictionary, Set, Datetime等。這些資料結構可以幫助你更有效率的完成任務。接下來將介紹檔案讀寫的觀念與做法。最後將說明例外處理。例外處理可以讓我們自己定義程式遇到錯誤時的行為,這常常可以讓你的程式更成熟,更人性,更流暢。
9 视频
  1. 视频: 3-1 簡介資料結構、檔案讀寫、與例外處理
  2. 视频: 3-2 Tuples 資料結構
  3. 视频: 3-3 zip, map, 與lambda
  4. 视频: 3-4 字典 (Dictionary)
  5. 视频: 3-5 字典的key與value;反向對應
  6. 视频: 3-6 集合 (set) 與日期時間 (datetime)
  7. 视频: 3-7 檔案操作與檔名處理
  8. 视频: 3-8 寫入檔案
  9. 视频: 3-9 例外處理
已评分: 時間的計算
第 4 周
用 Python 分析財金資料
本週將以分析股票報酬為例,介紹資料分析的流程。我們將先簡單的介紹資產定價模型,然後以這個模型為基礎,分析股票日報酬資料。最後並介紹基本資料視覺化的工具。
9 视频
  1. 视频: 4-1 股票市場簡介
  2. 视频: 4-2 資產定價模型 (CAPM) 與市場模型 (Market Model)
  3. 视频: 4-3 資料分析步驟與資料取得
  4. 视频: 4-4 資料前處理: 檔案讀取
  5. 视频: 4-5 CSV檔案格式處理與資料清理
  6. 视频: 4-6 CSV檔案排序
  7. 视频: 4-7 市場報酬資料處理與資料合併
  8. 视频: 4-8 迴歸分析
  9. 视频: 4-9 迴歸結果分析與視覺化
已评分: 檔案編碼

常见问题解答
运作方式
Coursework
Coursework

Each course is like an interactive textbook, featuring pre-recorded videos, quizzes and projects.

Help from Your Peers
Help from Your Peers

Connect with thousands of other learners and debate ideas, discuss course material, and get help mastering concepts.

Certificates
Certificates

Earn official recognition for your work, and share your success with friends, colleagues, and employers.

制作方
国立台湾大学
We firmly believe that open access to learning is a powerful socioeconomic equalizer. NTU is especially delighted to join other world-class universities on Coursera and to offer quality university courses to the Chinese-speaking population. We hope to transform the rich rewards of learning from a limited commodity to an experience available to all.More courses information, the official Facebook Page: https://www.facebook.com/ntumooc2017/
评分和审阅
已评分 5,总共 5 个 2 评分


您可能也喜欢
Korea Advanced Institute of Science and Technology
Meditation: A way to achieve your goals in your life
1 门课程
Korea Advanced Institute of Science and Technology
Meditation: A way to achieve your goals in your life
查看课程
Google Cloud
On Premises Capacity Upgrade and Monitoring with Google Cloud's Apigee API Platform
1 门课程
Google Cloud
On Premises Capacity Upgrade and Monitoring with Google Cloud's Apigee API Platform
查看课程
Google Cloud
On Premises Management, Security, and Upgrade with Google Cloud's Apigee API Platform
1 门课程
Google Cloud
On Premises Management, Security, and Upgrade with Google Cloud's Apigee API Platform
查看课程
Nanyang Technological University, Singapore
Explorations in Confucian Philosophy
1 门课程
Nanyang Technological University, Singapore
Explorations in Confucian Philosophy
查看课程
University of Geneva
Global Statistics - Composite Indices for International Comparisons
1 门课程
University of Geneva
Global Statistics - Composite Indices for International Comparisons
查看课程
Coursera
Coursera 致力于普及全世界最好的教育,它与全球一流大学和机构合作提供在线课程。
© 2018 Coursera Inc. 保留所有权利。
通过 App Store 下载通过 Google Play 获取
  • Coursera
  • 关于
  • 管理团队
  • 工作机会
  • 目录
  • 证书
  • 学位
  • 商务
  • 政府版
  • 社区
  • 合作伙伴
  • 社区助教
  • 专业译员
  • 开发者
  • Beta 测试人员
  • 连接
  • 博客
  • Facebook
  • 领英
  • Twitter
  • Google+
  • 技术博客
  • 更多
  • 条款
  • 隐私
  • 帮助
  • 内容访问
  • 媒体
  • 联系我们
  • 目录
  • 附属公司