Q: 4
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
Discussion
Nah, statement 3 is a trap since the query filters out zero-sales categories. It's Yes, Yes, No here. Pretty sure from the way the > 0 clause works in KQL.
Yeah this is just Yes, Yes, No for those statements. The TotalSales > 0 filter drops any zero-sales categories from the results.
Yes, Yes, No. Trap is statement 3, because the filter removes zero-sales categories. Seen similar on practice tests.
Yes, Yes, No
Had something like this in a mock, it's Yes, Yes, No
D or B, but D is the right one for this scenario. In Fabric notebooks,
display() enables the Chart view to pop up, while show() just prints the DataFrame in plain text. Pretty sure that's what the UI expects.D here. Only display() brings up the Chart view in Fabric, show() doesn't. Ran into this on a practice set recently, pretty sure that's how it works. Someone correct me if I'm off.
Yes, Yes, No
Be respectful. No spam.