nerdexam
Microsoft

DP-600 · Question #14

You are analyzing the data in a Fabric notebook. You have a Spark DataFrame assigned to a variable named df. You need to use the Chart view in the notebook to explore the data manually. Which function

The correct answer is D. display. To make a Spark DataFrame available in the Chart view for manual exploration within a Fabric notebook, the display function must be used.

Submitted by saadiq_pk· Apr 18, 2026Explore and analyze data

Question

You are analyzing the data in a Fabric notebook. You have a Spark DataFrame assigned to a variable named df. You need to use the Chart view in the notebook to explore the data manually. Which function should you run to make the data available in the Chart view?

Options

  • AdisplayHTML
  • Bshow
  • Cwrite
  • Ddisplay

How the community answered

(32 responses)
  • B
    6% (2)
  • C
    3% (1)
  • D
    91% (29)

Why each option

To make a Spark DataFrame available in the Chart view for manual exploration within a Fabric notebook, the `display` function must be used.

AdisplayHTML

`displayHTML` is used to render arbitrary HTML content directly in the notebook output, not to present a DataFrame for interactive charting.

Bshow
Cwrite
DdisplayCorrect

The `display()` function in Fabric notebooks is designed to render Spark DataFrames into an interactive tabular view, which includes built-in options like the Chart view for visual data exploration.

Concept tested: Spark DataFrame visualization in Fabric notebooks

Source: https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-notebook-develop-code#display-data

Topics

#Fabric Notebooks#Spark DataFrame#display function#Data Exploration

Community Discussion

No community discussion yet for this question.

Full DP-600 Practice