Landmines
Semantic landmines: Pandas idioms that never port
If a rewriter offered a perfect conversion, it would have been built into Spark already.
Watch list
- Index chaos; forgetting reset_index.
- Axis=1 row UDF semantics.
- Null propagation and np.nan.
- Type skew between categorical and string.
- apply vs transform semantics.
- Window frames around unbounded rows.
Checklist before merge
- All REVIEWs closed.
- Sample dataset converted and verified.
- Tests pass on representative data.
- Small validation against local saved output.