succinctness 2
This commit is contained in:
1 parent
f9359d1c98
commit
15b517d642
3 files changed
-3
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user