I've done some searching but haven't found an explanation of what the apply_new function does. I started with
def apply_new(x):
return True
as the examples show. However I have found that returning false improves performance a bit but I'm not sure why.