I need to clean up quite a few columns in a pandas dataframe; so I defined and used multiple functions via the apply method on dataframe columns.
A dummy example: