if so, try calling `do_something()` within the apply lambda
s
if so, try calling
do_something()
within the apply lambda