This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
📖 Task Introduction
You should now see a code editor at the bottom of the page. There is a new Python function with the current dataset specified as an input. This function will perform a transformation on the input dataset(s) and output a new dataset as the result. In this code, we will filter our flights data to freight flights, defined as flights that traveled a distance > 2000 miles.
🔨 Task Instructions
Copy and paste the following code snippet into your editor completely replacing the default code block.