Freddolin commited on
Commit
577e5e5
·
verified ·
1 Parent(s): a4dc28d

Update tools/excel_tool.py

Browse files
Files changed (1) hide show
  1. tools/excel_tool.py +3 -1
tools/excel_tool.py CHANGED
@@ -12,4 +12,6 @@ def analyze_excel(path_or_url: str) -> str:
12
  except Exception as e:
13
  return f"Error reading Excel file: {e}"
14
 
15
- return f"Loaded sheet with shape {df.shape} and columns: {', '.join(df.columns)}"
 
 
 
12
  except Exception as e:
13
  return f"Error reading Excel file: {e}"
14
 
15
+ # Just a simple analysis, can expand if you want
16
+ return f"Rows: {df.shape[0]}, Columns: {df.shape[1]}, Columns: {', '.join(df.columns)}"
17
+