socceraction.data.wyscout.WyscoutLoader.teams

WyscoutLoader.teams(game_id)

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

Parameters:

game_id (int) – The ID of the game.

Raises:

ParseError – When the raw data does not adhere to the expected format.

Returns:

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

Return type:

pd.DataFrame