mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 02:25:51 +03:00
[GH-ISSUE #143] [ESPN] "attendance" KeyError for read_matchsheet() #31
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kalaweksh on GitHub (Jan 15, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/143
As the title says, a KeyError is raised when calling ESPN.read_matchsheet(), at least when the ESPN object is initialised with leagues="ENG-Premier League" and seasons = 2022.
Which Python version are you using?

3.10.4
Which version of soccerdata are you using?
1.3.2
What did you do?
Called ESPN.read_matchsheet()
What did you expect to see?
A Pandas DataFrame containing information about played matches in the English Premier League in the 2022/23 season.
What did you see instead?
Opened a pull request (#144) to solve this