import requests
import pandas as pd
import html5lib
url = 'https://stats.nba.com/leaders/?Season=2009-
10&SeasonType=Regular%20Season'
html = requests.get(url).contententer
df_list = pd.read_html(html)
df = df_list[-1]
print(df)
df.to_csv('my data.csv')
And i get" ValueError: No tables found", i think there is something wrong with my link"