Spaces:
Sleeping
Sleeping
Update tools/excel_tool.py
Browse files- 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 |
-
|
|
|
|
|
|
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 |
+
|