# ValueError: operands could not be broadcast together with shapes (3,4) (3,)

- **ID:** `python/numpy-broadcast-shapes`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Array shapes are incompatible for NumPy broadcasting rules.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   b = b.reshape(-1, 1) to align trailing dims
   ```
2. **** (90% success)
   ```
   np.broadcast_shapes(a.shape, b.shape) to debug before op
   ```

## Dead Ends

- **** — Cannot reshape (3,) to (3,4) without padding (85% fail)
- **** — Same broadcast error or wrong result (80% fail)
