Regresar print df
Regresar print df
This commit is contained in:
1 parent
34e1a9b78a
commit
c964f31d92
1 file changed
+1
-2
@@ -110,8 +110,7 @@ def extract(username: str, password: str):
|
|||||||
# Read the HTML table into a DataFrame
|
# Read the HTML table into a DataFrame
|
||||||
df = pd.read_html(historial_html_io)[0]
|
df = pd.read_html(historial_html_io)[0]
|
||||||
|
|
||||||
print(df.head(1))
|
|
||||||
|
|
||||||
if 'GRUPO' not in df.columns:
|
if 'GRUPO' not in df.columns:
|
||||||
raise KeyError("Column 'GRUPO' not found in the DataFrame")
|
raise KeyError("Column 'GRUPO' not found in the DataFrame")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user