The Python block enables you to use Python language programs in a Workflow. To use the Python block, you must have a Python interpreter installed and configured.
The following demonstrates how the Python block can be used to sort an input lib_books.csv dataset that contains observations describing a range of books available from a lending library.
Output_1 = Input_1.sort_values(by=['Author'])
A green execution status is displayed in the Output port of the Python block and the new Working Dataset. The dataset contains all observations from the input lib_books dataset sorted alphanumerically using the Author column.