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
error : np.string_ was removed in the NumPy 2.0 release. Use np.bytes_ instead.
socceraction version : 1.5.3
numpy version : 1.26.4
python version : 3.10.16
The text was updated successfully, but these errors were encountered:
This doesn't seem right. One the hand, you are claiming to be using numpy v1.26.4. On the other hand, you report a bug related to numpy v2.0. Also note that socceraction has the following version constraint: numpy = "^1.26.0".
import soccerdata as sd
opta loader from soccer data
Setup a scraper for the 2021/2022 Premier League season
ws = sd.WhoScored(leagues="ENG-Premier League", seasons="2024-2025")
Scrape all games and return a OptaLoader object
api = ws.read_events(output_fmt='loader')
error :
np.string_
was removed in the NumPy 2.0 release. Usenp.bytes_
instead.socceraction version : 1.5.3
numpy version : 1.26.4
python version : 3.10.16
The text was updated successfully, but these errors were encountered: