Take a deep dive into functions in Python. This post covers: basics, nested functions, scope, *args & **kwargs, lambdas and anonymous functions and finishes on using functions within a Pandas DataFrame.