Custom Script
// Read input data into a DataFrame
var table = NodeInputReader.inputAsDataFrame();
// Extract the product_line column as a string column
var stringColumn = table.stringColumn("product_line");
// Filter the DataFrame to include only rows where the values in product_line column end with "Cars"
var filteredTable = table.where(stringColumn.endsWith("Cars"));
// Return the filtered DataFrame
return filteredTable;