socceraction.data.opta.OptaLoader.games¶
- OptaLoader.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.
- Returns:
A dataframe containing all available games. See
OptaGameSchema
for the schema.- Return type:
pd.DataFrame