S

Sikhar Chaudhary • 5.88K Points
Tutor III

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

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

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics