socceraction.spadl.bodyparts_df#

socceraction.spadl.bodyparts_df()#

Return a dataframe with the bodypart id and bodypart name of each SPADL action type.

Returns:

The ‘bodypart_id’ and ‘bodypart_name’ of each SPADL action type.

Return type:

pd.DataFrame