Python Dataframe Apply Custom Functional Fender