socceraction.data.base.EventDataLoader.teams

abstract EventDataLoader.teams(game_id)

Return a dataframe with both teams that participated in a game.

Parameters:

game_id (int) – The ID of the game.

Returns:

A dataframe containing both teams. See TeamSchema for the schema.

Return type:

pd.DataFrame