socceraction.data.wyscout.WyscoutLoader.games

WyscoutLoader.games(competition_id, season_id)

Return a dataframe with all available games in a season.

Parameters:
  • competition_id (int) – The ID of the competition.

  • season_id (int) – The ID of the season.

Raises:

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

Returns:

A dataframe containing all available games. See WyscoutGameSchema for the schema.

Return type:

pd.DataFrame