succinctness 2

This commit is contained in:
xi-pinmping committed 2023-05-22 00:04:06 -04:00
1 parent f9359d1c98
commit 15b517d642
3 files changed
-3

No files matched your search

-1
View File
@@ -16,7 +16,6 @@ def get_data():
} }
# Get web data # Get web data
#r = requests.get(url, headers=header)
dfs = list(pd.read_html(requests.get(url, headers=header).text)) dfs = list(pd.read_html(requests.get(url, headers=header).text))
pd.set_option('display.max_rows', None) pd.set_option('display.max_rows', None)
# Specifies no max rows, otherwise only shows 10 records # Specifies no max rows, otherwise only shows 10 records
-1
View File
@@ -12,7 +12,6 @@ def get_data():
"X-Requested-With": "XMLHttpRequest" "X-Requested-With": "XMLHttpRequest"
} }
# Get web data # Get web data
#r = requests.get(url, headers=header)
dfs = list(pd.read_html(requests.get(url, headers=header).text)) dfs = list(pd.read_html(requests.get(url, headers=header).text))
pd.set_option('display.max_rows', None) pd.set_option('display.max_rows', None)
# Specifies no max rows, otherwise only shows 10 records # Specifies no max rows, otherwise only shows 10 records
-1
View File
@@ -15,7 +15,6 @@ def get_data():
"X-Requested-With": "XMLHttpRequest" "X-Requested-With": "XMLHttpRequest"
} }
# Get web data # Get web data
r = requests.get(url, headers=header)
dfs = list(pd.read_html(requests.get(url, headers=header).text)) dfs = list(pd.read_html(requests.get(url, headers=header).text))
pd.set_option('display.max_rows', None) pd.set_option('display.max_rows', None)
# Specifies no max rows, otherwise only shows 10 records # Specifies no max rows, otherwise only shows 10 records