[GH-ISSUE #143] [ESPN] "attendance" KeyError for read_matchsheet() #31

Closed
opened 2026-03-02 15:55:11 +03:00 by kerem · 0 comments
Owner

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?
image

Opened a pull request (#144) to solve this

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?** ![image](https://user-images.githubusercontent.com/121249707/212554876-f8acbcfc-9ae0-4f4c-a035-605c56674e9b.png) Opened a pull request (#144) to solve this
kerem closed this issue 2026-03-02 15:55:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#31
No description provided.