mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 18:46:00 +03:00
[GH-ISSUE #246] [FBref] fbref.read_schedule() error on MLS #48
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#48
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 @Innursery on GitHub (May 18, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/246
the fbref.read_schedule() gives error on MLS champion chip.
[m[1;30m-------------------------------------------------------------------------------[m [m[1;36mrun.py [1;32m578 [1;34mruncode [m[1;37mexec(code, self.locals) [m [m[1;36mtest 4.py [1;32m42 [1;34m<module> [m[1;37mepl_schedule = fbref.read_schedule() [m [m[1;36mfbref.py [1;32m493 [1;34mread_schedule [m[1;37mdf_table["Match Report"] = [ [m [m[1;36mframe.py [1;32m3980 [1;34m__setitem__ [m[1;37mself._set_item(key, value) [m [m[1;36mframe.py [1;32m4174 [1;34m_set_item [m[1;37mvalue = self._sanitize_column(value) [m [m[1;36mframe.py [1;32m4915 [1;34m_sanitize_column [m[1;37mcom.require_length_match(value, self.index) [m [m[1;36mcommon.py [1;32m571 [1;34mrequire_length_match [m[1;37mraise ValueError( [m [m[1;31mValueError: [1;33mLength of values (493) does not match length of index (512) [mAny idea what can cause this issue ?
Seems working fine with European league.
@probberechts commented on GitHub (May 20, 2023):
I'll close this issue since the MLS is not supported. Nevertheless, feel free to continue the discussion on how to resolve this. Please also clean up your error log.