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.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心