This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
📖 Task Introduction
The core component of the Code Workbook interface is the graph. The graph represents data flows through logical steps in your workbook to produce one or more outputs. After adding an input dataset to your graph from the previous exercise, you'll have a new node on your graph. A node is an input dataset, transformation, or visualization. Follow these steps to generate a new node to the graph by applying PySpark logic to the flights dataset.
🔨 Task Instructions
Hover over the input dataset (flights) graph node, and click on the ⊕ button just to the right.
Select the Python Code option from the lower panel to add a Python transform.