socceraction.xthreat.get_move_actions#

socceraction.xthreat.get_move_actions(actions)#

Get all ball-progressing actions.

These include passes, dribbles and crosses. Take-ons are ignored because they typically coincide with dribbles and do not move the ball to a different cell.

Parameters

actions (pd.DataFrame) – Actions, in SPADL format.

Returns

All ball-progressing actions in the input dataframe.

Return type

pd.DataFrame