socceraction.data.opta.OptaLoader.players

OptaLoader.players(game_id)

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

Parameters:

game_id (int) – The ID of the game.

Returns:

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

Return type:

pd.DataFrame