Introduction to Code Workbook3. Add A Transform To Your Graph

3 - Add a Transform node to your Graph

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

  1. Hover over the input dataset (flights) graph node, and click on the button just to the right.
  2. Select the Python Code option from the lower panel to add a Python transform.