S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which method is used to get the correlation matrix of a DataFrame?

  • (A) cov()
  • (B) corr()
  • (C) correlation()
  • (D) describe()
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey
The corr() method computes pairwise correlation of columns in a DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.