
Answer-first summary for fast verification
Answer: display
To explore the data in the Chart view within a Fabric notebook, you should use the 'display' function. The 'display' function will render the DataFrame in a format that supports data visualization, including charts, making it the correct choice over 'displayHTML', 'show', or 'write'. The other functions either do not support chart views directly or serve different purposes.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are working on data analysis within a Fabric notebook and have assigned a Spark DataFrame to a variable named df. Your objective is to manually explore the data using the Chart view feature available in the Fabric notebook. To achieve this, you need to run a specific function that will make the data in the Spark DataFrame accessible for visualization in the Chart view. Which function should you execute to enable this feature?
A
displayHTML
B
show
C
write
D
display
No comments yet.