"""Quick verification of cleanup"""
import pandas as pd
from pathlib import Path

BASE_DIR = Path(__file__).resolve().parent.parent

df = pd.read_excel(BASE_DIR / "data" / "merged_personas.xlsx", engine='openpyxl')
print("Final merged_personas.xlsx:")
print(f"  Rows: {len(df)}")
print(f"  Columns: {len(df.columns)}")
db_cols = [c for c in df.columns if '_DB' in str(c)]
print(f"  DB columns remaining: {len(db_cols)}")
if db_cols:
    print(f"    Remaining: {db_cols}")
print(f"  StudentCPID unique: {df['StudentCPID'].nunique()}/{len(df)}")
print("✅ Cleanup verified")
