🔍

Databricks Certified Data Engineer Professional DATA-ENGINEER-PROFESSIONAL — Question 28

Topic 1 · Question 28 of 110

Topic 1 · Question 28

The data science team has created and logged a production model using MLflow. The model accepts a list of column names and returns a new column of type DOUBLE. The following code correctly imports the production model, loads the customers table containing the customer_id key column into a DataFrame, and defines the feature columns needed for the model. Which code block will output a DataFrame with the schema "customer_id LONG, predictions DOUBLE"?

Exhibit 1 for question 28

View community discussion →