πŸ“Š Pandas
Q. Which method is used to get the correlation matrix of a DataFrame?
  • (A) cov()
  • (B) corr()
  • (C) correlation()
  • (D) describe()
πŸ’¬ Discuss
βœ… Correct Answer: (B) corr()

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
78
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
94%
Success Rate