I am looking to pass a pandas dataframe to a custom function as efficiently as possible.
The biggest gains in speed are through vectorization and from getting rid of the