MISSION 352

Object-Oriented Python

Learn about using objects, classes, methods, and attributes.

Objectives

  • Learn what object-oriented programming is and how it relates to the data science workflow.
  • Learn key concepts including classes, instances, attributes, and methods.
  • Create your own custom class.

Mission Outline

1. Introduction
2. Classes and Objects
3. Defining a Class
4. Instantiating a Class
5. Creating Methods
6. Understanding 'self'
7. Creating a Method That Accepts an Argument
8. Attributes and the 'Init' Method
9. Creating An Append Method
10. Creating and Updating an Attribute
11. Next Steps
12. Takeaways

python-for-data-science-intermediate

Course Info:

Python for Data Science: Intermediate

Intermediate

The median completion time for this course is 6 hours.

This course is free and includes four missions and one guided project. It is the second course in the Data Analyst in Python path and Data Scientist in Python path.

START LEARNING FREE

Take a Look Inside