S

Sikhar Chaudhary • 5.88K Points
Tutor III

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: 41
  • Filed under category Pandas

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics