You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
df = kpt.get_schedule(browser=browser, team='Kansas') or any team
I am getting the error:
url = url + "&y=" + str(season)
schedule = BeautifulSoup(get_html(browser, url), "html.parser")
table = schedule.find_all('table')[1]
schedule_df = pd.read_html(StringIO(str(table)))
IndexError: list index out of range
I am only getting this error on occasion, but when running this for multiple teams, it could happen at any moment.
The text was updated successfully, but these errors were encountered:
Running
df = kpt.get_schedule(browser=browser, team='Kansas') or any team
I am getting the error:
url = url + "&y=" + str(season)
schedule = BeautifulSoup(get_html(browser, url), "html.parser")
table = schedule.find_all('table')[1]
schedule_df = pd.read_html(StringIO(str(table)))
IndexError: list index out of range
I am only getting this error on occasion, but when running this for multiple teams, it could happen at any moment.
The text was updated successfully, but these errors were encountered: