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