Closed ArsendiMattia closed 3 months ago
For the season 2022-23 works. It is probably a problem with FBref itself.
It turns out that if I add the following flag to the function, everything works fine! It still needs to be clarified to me, though.
fbref = sd.FBref(leagues='ENG-Premier League', seasons="2023-24", no_cache=True)
If you do
it fails with the following error:
ValueError: not enough values to unpack (expected 1, got 0)
My understanding is that it cannot retrieve any data for the Premier League. Conversely, the function works for Serie A or Ligue 1.