About this Course
4.6
47 ratings
7 reviews

100% online

Start instantly and learn at your own schedule.

Flexible deadlines

Reset deadlines in accordance to your schedule.

Intermediate Level

Approx. 12 hours to complete

Suggested: 6 hours/week...

Chinese (Traditional)

Subtitles: Chinese (Traditional)

100% online

Start instantly and learn at your own schedule.

Flexible deadlines

Reset deadlines in accordance to your schedule.

Intermediate Level

Approx. 12 hours to complete

Suggested: 6 hours/week...

Chinese (Traditional)

Subtitles: Chinese (Traditional)

Syllabus - What you will learn from this course

Week
1
2 hours to complete

函數 (Functions)

函數是發展有結構的,有用的,易維護的程式必備的工具。適當的使用函數可以讓你自己以及與你一起工作的伙伴們可以有效率的建構出有用的程式碼。讓我們一起來學習這個重要的主題吧!...
8 videos (Total 114 min), 1 reading, 1 quiz
8 videos
1-2 發展函數的情境11m
1-3 定義與呼叫函數13m
1-4 變數的視野 (Scopes)6m
1-5 區域 (Local) 與 全域 (global) 變數13m
1-6 函數傳回值15m
1-7 函數傳入值 (Arguments)、傳回值、與指定傳入法 (Call by Assignment)15m
1-8 傳入可變物件 (Mutable Objects)、遞迴 (Recursion)、與除錯 (Debugging)24m
1 reading
NTU MOOC 課程問題詢問與回報機制1m
1 practice exercise
函數練習14m
Week
2
2 hours to complete

字串 (Strings)

字串是常用的資料型別,也是很多情境中程式操作的對象。我們將介紹字串的基本操作,輔以台灣身分證字號驗證的例子,並且討論中文處理的一些議題。最後介紹格式化字串輸出的一些方法。...
9 videos (Total 103 min), 1 quiz
9 videos
2-2 字串操作15m
2-3 台灣身分證字號驗證問題10m
2-4 校正和 (Check Sum)15m
2-5 我要 Python 講中文15m
2-6 兩個函數: chr 與 ord5m
2-7 訊息傳送與字串操作12m
2-8 格式化字串輸出10m
2-9 再談格式化字串輸出2m
1 practice exercise
練習題10m
Week
3
2 hours to complete

資料結構 (Data Structure)、檔案讀寫、與例外處理

本週將介紹三個議題。首先將介紹幾個常用的資料結構,如Tuples, Dictionary, Set, Datetime等。這些資料結構可以幫助你更有效率的完成任務。接下來將介紹檔案讀寫的觀念與做法。最後將說明例外處理。例外處理可以讓我們自己定義程式遇到錯誤時的行為,這常常可以讓你的程式更成熟,更人性,更流暢。...
9 videos (Total 104 min), 1 quiz
9 videos
3-2 Tuples 資料結構9m
3-3 zip, map, 與lambda16m
3-4 字典 (Dictionary)7m
3-5 字典的key與value;反向對應11m
3-6 集合 (set) 與日期時間 (datetime)17m
3-7 檔案操作與檔名處理15m
3-8 寫入檔案7m
3-9 例外處理15m
1 practice exercise
練習題6m
Week
4
2 hours to complete

用 Python 分析財金資料

本週將以分析股票報酬為例,介紹資料分析的流程。我們將先簡單的介紹資產定價模型,然後以這個模型為基礎,分析股票日報酬資料。最後並介紹基本資料視覺化的工具。...
9 videos (Total 92 min), 1 quiz
9 videos
4-2 資產定價模型 (CAPM) 與市場模型 (Market Model)8m
4-3 資料分析步驟與資料取得6m
4-4 資料前處理: 檔案讀取8m
4-5 CSV檔案格式處理與資料清理11m
4-6 CSV檔案排序5m
4-7 市場報酬資料處理與資料合併12m
4-8 迴歸分析11m
4-9 迴歸結果分析與視覺化18m
1 practice exercise
練習題10m
4.6
7 ReviewsChevron Right

Top Reviews

By JLOct 10th 2018

非常棒!👍 UTF-8 Big-5那邊的encoding設定講得很清楚。最後的檔案讀取、寫入、去頭尾、格式選擇,是整個課程高潮,講得很,覺得以後拿出來實用的機會高!此外,好想聽 pdb debug哦,老師再開一門吧!

Instructor

Avatar

盧信銘

副教授 (Associate Professor)
資訊管理學系 (Department of Information Management)

About National Taiwan University

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/...

Frequently Asked Questions

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

More questions? Visit the Learner Help Center.