[GH-ISSUE #246] [FBref] fbref.read_schedule() error on MLS #48

Closed
opened 2026-03-02 15:55:19 +03:00 by kerem · 1 comment
Owner

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.
------------------------------------------------------------------------------- run.py 578 runcode exec(code, self.locals)  test 4.py 42 <module> epl_schedule = fbref.read_schedule()  fbref.py 493 read_schedule df_table["Match Report"] = [  frame.py 3980 __setitem__ self._set_item(key, value)  frame.py 4174 _set_item value = self._sanitize_column(value)  frame.py 4915 _sanitize_column com.require_length_match(value, self.index)  common.py 571 require_length_match raise ValueError(  ValueError: Length of values (493) does not match length of index (512) 
Any idea what can cause this issue ?
Seems working fine with European league.

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. ` ------------------------------------------------------------------------------- run.py 578 runcode exec(code, self.locals)  test 4.py 42 <module> epl_schedule = fbref.read_schedule()  fbref.py 493 read_schedule df_table["Match Report"] = [  frame.py 3980 __setitem__ self._set_item(key, value)  frame.py 4174 _set_item value = self._sanitize_column(value)  frame.py 4915 _sanitize_column com.require_length_match(value, self.index)  common.py 571 require_length_match raise ValueError(  ValueError: Length of values (493) does not match length of index (512) ` Any idea what can cause this issue ? Seems working fine with European league.
kerem 2026-03-02 15:55:19 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@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.

<!-- gh-comment-id:1555994152 --> @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.
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#48
No description provided.