Data Processing using Python Collections

提供方
Coursera Project Network
在此指導項目中,您將:

Use the Python CSV DictReader to extract the field names from the CSV file.

Create a Python Student class with fields obtained from the DictReader.

Use the Python Counter to find the three most common test scores.

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

By the end of this project you will use the Python Collections Counter, the CSV package's DictReader, and the Collections UserList to read student test data and find the most common test scores. The Python Collection classes are convenience classes that make it easier to process data and extend capabilities of existing classes. The CSV package's DictReader is convenient for reading columnar data. The UserList allows the developer to add functionality to the List, for example to check types. The Counter class is useful for counting common occurrences in arrays and other structures. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培養的技能

  • Python CSV Reader
  • Python Collections
  • Collections Counter
  • Python DictReader
  • Python UserList

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Extend the Python Collections UserList class to include a type checker.

  2. Use the Python CSV DictReader to extract the field names from the CSV file.

  3. Create a Python Student class with fields obtained from the DictReader.

  4. Create a Python function to populate the Student UserList from the CSV file.

  5.  Use the Python Counter to find the three most common test score values.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心