Creating a subclass
The purpose of child classes — or sub-classes, as they are usually called – is to customize and extend functionality of the parent class. Let’s call the Employee class from what we […]...
Object Oriented Programming in Python
In normal life to tend to think in sequences of activities. Procedural programming Code as a sequence of steps Great for data analysis and scripts Object-oriented programming Code as interactions […]...
How to create a DataFrame in Pandas from a list and add columns
Imagine we have a list and we want to be able to use it as a Pandas DataFrame in Python, how do we do that? And just for fun, I […]...