[GH-ISSUE #276] [Whoscored] No 2023 matches in 2022/23 Premier League season #53

Closed
opened 2026-03-02 15:55:21 +03:00 by kerem · 1 comment
Owner

Originally created by @alqassam1998 on GitHub (Jun 29, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/276

Python Version = 3.9.13
Soccerdata version = 1.3.0

Schedule dataframe does not include matches in 2023 for the 2022/23 season.

Code:

import soccerdata as sd
ws = sd.WhoScored(leagues="ENG-Premier League", seasons=2223)
schedule = ws.read_schedule()
print(schedule.loc[schedule['date'].idxmax()])

Output:

date                                       2022-12-31 17:30:00
home_team                                             Brighton
away_team                                              Arsenal
game_id                                                1640845
url          https://www.whoscored.com/Matches/1640845/Show...
stage                                                      NaN
Name: (ENG-Premier League, 2223, 2022-12-31 Brighton-Arsenal), dtype: object
Originally created by @alqassam1998 on GitHub (Jun 29, 2023). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/276 Python Version = 3.9.13 Soccerdata version = 1.3.0 Schedule dataframe does not include matches in 2023 for the 2022/23 season. Code: ``` import soccerdata as sd ws = sd.WhoScored(leagues="ENG-Premier League", seasons=2223) schedule = ws.read_schedule() print(schedule.loc[schedule['date'].idxmax()]) ``` Output: ``` date 2022-12-31 17:30:00 home_team Brighton away_team Arsenal game_id 1640845 url https://www.whoscored.com/Matches/1640845/Show... stage NaN Name: (ENG-Premier League, 2223, 2022-12-31 Brighton-Arsenal), dtype: object ```
kerem 2026-03-02 15:55:21 +03:00
  • closed this issue
  • added the
    WhoScored
    label
Author
Owner

@probberechts commented on GitHub (Jul 7, 2023):

This seems to work fine for me. Could you try again with:

ws = sd.WhoScored(leagues="ENG-Premier League", seasons=2223, no_cache=True)
<!-- gh-comment-id:1624902745 --> @probberechts commented on GitHub (Jul 7, 2023): This seems to work fine for me. Could you try again with: ```python ws = sd.WhoScored(leagues="ENG-Premier League", seasons=2223, no_cache=True) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#53
No description provided.