socceraction.data.statsbomb.StatsBombLoader.players

StatsBombLoader.players(game_id)

Return a dataframe with all players that participated in a game.

Parameters:

game_id (int) – The ID of the game.

Raises:

ParseError # noqa – DAR402: When the raw data does not adhere to the expected format.

Returns:

A dataframe containing all players. See StatsBombPlayerSchema for the schema.

Return type:

pd.DataFrame