I have a DataFrame df with columns action and pointerID. In the code snippet below I\'m iterating through every row which is pretty ineffi
DataFrame
action
pointerID