Skip to content

np.string_ was removed in the NumPy 2.0 release. Use np.bytes_ instead. #898

@youssef595

Description

@youssef595

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. Use np.bytes_ instead.
socceraction version : 1.5.3
numpy version : 1.26.4
python version : 3.10.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions