"""Inspect data/plan revenu_ruc.xlsx — the source of Revenue Forecast plan."""
import sys
sys.stdout.reconfigure(encoding="utf-8")
from pathlib import Path
import pandas as pd

p = Path("data/plan revenu_ruc.xlsx")
print(f"File: {p.name}  exists={p.exists()}  size={p.stat().st_size if p.exists() else '—'} bytes")
print()

df = pd.read_excel(p, header=None)
print(f"Shape: {df.shape}  (rows × cols)")
print()
print("=== Full sheet content ===")
print(df.to_string(max_cols=15))
