You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was trying to use the following commands to get data for this season (2023-24), but it actually gives me data from 1923-1924.
import soccerdata as sd
fbref = sd.FBref(leagues='ENG-Premier League', seasons='2023-24')
fbref.read_schedule()
week day ... notes game_id
league season game ...
ENG-Premier League 2324 1923-08-25 Arsenal-Newcastle Utd 1 Sat ... <NA> 9b8e5a81
1923-08-25 Birmingham-Aston Villa 1 Sat ... <NA> 1a908e21
1923-08-25 Blackburn-Chelsea 1 Sat ... <NA> feb28dde
1923-08-25 Cardiff City-Bolton 1 Sat ... <NA> 6cfbbf26
1923-08-25 Everton-Nott'ham Forest 1 Sat ... <NA> 8931066c
... ... ... ... ... ...
1924-05-03 Huddersfield-Nott'ham Forest 42 Sat ... <NA> 0964ff7d
1924-05-03 Manchester City-West Ham 42 Sat ... <NA> a0a50c50
1924-05-03 Notts County-Liverpool 42 Sat ... <NA> dafa1982
1924-05-03 Tottenham-Burnley 42 Sat ... <NA> 47a88b95
1924-05-03 West Brom-Sheffield Utd 42 Sat ... <NA> 7fc5fb2b
I have also tried to remove the cache or disable the cache before calling read_schedule(), but it can't find the new data.
I think there might be some wrong with the season parsing/reading part.
Maybe just modify the following line/file would work:
Hi,
I was trying to use the following commands to get data for this season (2023-24), but it actually gives me data from 1923-1924.
I have also tried to remove the cache or disable the cache before calling read_schedule(), but it can't find the new data.
I think there might be some wrong with the season parsing/reading part.
Maybe just modify the following line/file would work:
soccerdata/soccerdata/fbref.py
Line 118 in ec45682
Thanks in advance!
The text was updated successfully, but these errors were encountered: