Apply function to iterate over batches of rows(not one row at a time) at once in a pandas data frame. Need to apply a func to a couple of rows at a time. Basically iterate over