Alejandro Rosales 1 年之前
父节点
当前提交
34e1a9b78a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app.py

+ 1 - 2
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