QuestionQ43

VerifiedData Processing

A data scientist wants to explore the Spark DataFrame spark_df. The data scientist wants the exploration to include visual histograms that show the distribution of numeric features.

Which of the following lines of code can the data scientist run to accomplish this task?

Explanation

dbutils.data.summarize(spark_df) calculates and displays summary statistics for a Spark DataFrame and provides visual data-profile output, including histograms for numeric-feature distributions. dbutils.data.summarize documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!