Apply function to multiple row pandas August 22, 2022 by Magenaut Suppose I have a dataframe like this