# ValueError: No objects to concatenate

- **ID:** `python/pandas-concat-empty-frames`
- **Domain:** python
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

pd.concat() received an empty list, typically because a filter or list comprehension produced no DataFrames.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   if frames: result = pd.concat(frames, ignore_index=True) else: result = pd.DataFrame()
   ```
2. **** (90% success)
   ```
   result = pd.concat(frames or [pd.DataFrame()], ignore_index=True)
   ```

## Dead Ends

- **** — ignore_index doesn't help with empty list (90% fail)
- **** — Downstream code then fails on None (75% fail)
