From 34e1a9b78a03c08eb39f91ba1082c11b5a91666a Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Mon, 5 Aug 2024 11:48:35 -0600 Subject: [PATCH] DF HEAD --- app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.py b/app.py index 6a5b936..1965348 100644 --- a/app.py +++ b/app.py @@ -110,10 +110,9 @@ def extract(username: str, password: str): # Read the HTML table into a DataFrame df = pd.read_html(historial_html_io)[0] - print(datos_html, historial_html) + print(df.head(1)) if 'GRUPO' not in df.columns: - print(df.to_markdown()) raise KeyError("Column 'GRUPO' not found in the DataFrame") # Convert the DataFrame to JSON