You are on page 1of 3

Object Oriented Programming (OOP)

Polymorphism
Instance
Class
Aggregation
Composition

Methods
Object Inheritance
Modularity

Parameters

Arguments Abstraction Encapsulation

Attributes

Python for Finance and Business Alexander Hagmann


OOP – not that complex! Class (type): String
One Example (Instance): „Dog“
“The String Class is like an abstract template
that we can use to work with any text data.”
▪ Everything is an Object in Python
▪ You have already used and worked with Objects/Classes:
▪ Strings (“Dog”)
▪ Lists ([1, 2, 3])
▪ Pandas DataFrames (titanic dataset)

▪ Python allows you to create your own Classes to solve Problems and
perform customized tasks and workflows with efficient and reusable code.
▪ Class to analyze Financial Instruments (e.g. stocks)

Python for Finance and Business Alexander Hagmann


Object
Orientation –
the human
way of thinking
How to learn and master OOP:
-With simple and intuitive real-word examples
-start with the final Solution
-step by step

You might also like