super(), __init__?
A diagram representing a class at the top and object instances created from the class
A parent class (green) and two different child classes (blue and orange), each with objects created from them
df = pd.DataFrame(data)
<– Instantiating a dataframe objectdf.head()
, df.describe()
, df.drop()
<– calling methodsSeparating the implementation code from the functionality that users (i.e. other programmers) interact with
Creates a simple interface for parts of a program pass information between each other
Examples:
RealPython: Object-Oriented Programming (OOP) in Python
OOP produces code that is easy to read, extend and maintain
HSMA’s Guide to Object-Oriented Programming
HSMA’s Discrete Event Simulation Module
Contact:
Notebook & Slides:
… And don’t forget to give us your feedback.
Specialist Analytics Team // Object-Oriented Programming // August 28, 2025