socceraction.data.wyscout.WyscoutLoader.competitions

WyscoutLoader.competitions(competition_id=None)

Return a dataframe with all available competitions and seasons.

Parameters:

competition_id (int, optional) – The ID of the competition.

Raises:

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

Returns:

A dataframe containing all available competitions and seasons. See WyscoutCompetitionSchema for the schema.

Return type:

pd.DataFrame