Q. Which method is used to get the covariance matrix of a DataFrame?
β
Correct Answer: (B)
cov()
Explanation: The cov() method computes pairwise covariance of columns in a DataFrame.