run_code
Run PySpark/Python code in a persistent local Spark session, returning captured output or tracebacks. State persists across calls for iterative data exploration before Fabric deployment.
Instructions
Run a cell of Python/PySpark against the persistent session. State persists across calls; spark, sc, F, T, Window are pre-imported. Returns captured stdout and the last-expression echo, or the traceback if the cell raised.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |