exam questions

Exam DP-500 All Questions

View all questions & answers for the DP-500 exam

Exam DP-500 topic 1 question 119 discussion

Actual exam question from Microsoft's DP-500
Question #: 119
Topic #: 1
[All DP-500 Questions]

You are using a Python notebook in an Apache Spark pool in Azure Synapse Analytics.

You need to present the data distribution statistics from a DataFrame in a tabular view.

Which method should you invoke on the DataFrame?

  • A. explain
  • B. describe
  • C. corr
  • D. cov
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Deloro
1 year, 9 months ago
.describe() function takes cols:String*(columns in df) as optional args. .summary() function takes statistics:String*(count,mean,stddev..etc) as optional args.
upvoted 1 times
...
Deloro
1 year, 9 months ago
Selected Answer: B
DataFrame.describe(percentiles=None, include=None, exclude=None)[source] Generate descriptive statistics. > describe corr > shows correlation between 2 series cov > compute pairwise covariance explain >
upvoted 1 times
...
emino
1 year, 11 months ago
Selected Answer: B
duplicate question 103
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...