Toggle the steps

Each switch adds the same transformation to both plans. The table is what .collect() and .show() return. Turning a step off removes it from both snippets.

Polars

    
PySpark

    
Output