Exam DP-600 All QuestionsBrowse all questions from this exam
Question 16

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?

    Correct Answer: D

    To make the data available in the Chart view of a Fabric notebook, you should use the display function. This function enables the visualization of Spark DataFrames and Resilient Distributed Datasets (RDDs) in an interactive manner, including the ability to explore and create charts from the data.

Discussion
stilferxOption: D

IMHO, the answer is D. Link is here: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-visualization Point is: You can use the display function on dataframes that created in PySpark and Scala on Spark DataFrames or Resilient Distributed Datasets (RDD) functions to produce the rich dataframe table view and chart view.

JG1984

Out of all the reviewers, I like the way you explain all the answers. Just wondering if you were able to ace the exam

TashaPOption: D

D is the correct answer (the keyword is chart view) A is another possibility for displaying data but not based on the requirements of this question, it is separate from chart view. https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-visualization

gshopperOption: B

B: show is correct. plt.show()

mtroyanoOption: D

Checked, the correct option is Display.

MomoanwarOption: D

Display allow to see chart and inspect statistiques

arrow040Option: D

The .show function displays the contents of a Spark DataFrame in a tabular format within the notebook but does not enable interactive data exploration with the Chart view. To make the data available in the Chart view for interactive visualization, you should use the display function (Answer D)

Miro_ddOption: D

Display dataframe function should be correct

SilvanoRamalhoOption: D

D. DISPLAY

GaboniaOption: B

Show is the correct answer Thank you.

fhlosOption: D

display(df)

FmyOption: D

Display(df) Allows you to view the data in chart

wojciech_wieOption: D

D is correct