Yellow cover of Defining Classes in Python. This template resource is from 365 Data Science.

Defining Classes in Python

Hristina Hristova

Hristina Hristova

Course Author

In Python, we can design and create our own objects. This is done with the help of classes. In this template notebook, we define a very simplistic class without a body and create an object which is an instance of that class. Finally, we store and retrieve information from that object. Some other related topics you might be interested in are Creating a constructor in Python - the INIT method, The pass-statement in Python, Class variables in Python, Methods in Python - functions inside classes, Inheritance in Python. The Defining Classes in Python template is among the topics covered in the 365 Data Science Program. 

Hristina Hristova

Hristina Hristova

Course Author


Who is it for

Any aspiring Data Analysts, Data Scientists, Machine Learning Engineers, Data Architects and BI Developers who want to become better at creating their own objects will want to download this free template.

How it can help you

Python allows programmers to create their own objects via classes. Which allows the programmer to determine the properties of the object. Imagine that you are designing the software for a medical facility. You could create a class called Patient whose attributes are name, age, gender, allergies and symptoms. The user would not be allowed to enter the patient's favourite movie, for example. This template can be used for creating such classes.

Defining Classes in Python

Yellow cover of Defining Classes in Python. This template resource is from 365 Data Science.