import pandas as pd def analyze_excel(file_path: str) -> str: try: df = pd.read_excel(file_path) return df.to_string(index=False) except Exception as e: return f"Error reading Excel file: {e}"