S

Shyam Dubey • 3.70K Points
Extraordinary

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

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.