
Summary
In Lesson 2, you've learned about different types of variables: categorical versus quantitative. You've also learned about corresponding data types in Python, both how to recognize those types and change a variable from one type to another. Lesson 2 has presented a lot of basic tools, mostly coming from the Pandas library in Python, for data manipulation and processing. These tools are essential from going from the raw imported data to a useful DataFrame, from which we can easily perform subsequent analyses. Lesson 2 ended with some very basic analyses, in the context of summarizing data: finding proportions, means, medians, standard deviations, and other summary statistics.
As you continue through this course, you may find the Pandas cheet sheet(link is external) to be a handy reference to the functions we've covered in this lesson.
Assess It: Check Your Knowledge Quiz
Use the table below to answer the questions below.
Make | Model | Type | City MPG |
---|---|---|---|
Audi | A4 | Sport | 18 |
BMW | X1 | SUV | 17 |
Chevy | Tahoe | SUV | 10 |
Chevy | Camaro | Sport | 13 |
Honda | Odyssey | Minivan | 14 |
Reminder - Complete all of the Lesson 2 tasks!
You have reached the end of Lesson 2! Double-check the to-do list on the Lesson 2 Overview page to make sure you have completed all of the activities listed there before you begin Lesson 3.