How does pandas DataFrame.corr() compute correlations between columns?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how the pandas DataFrame.corr() method computes a correlation matrix between columns. Tests whether you know which columns and rows it uses, how missing values and non-numeric data are handled, and what the Pearson, Spearman and Kendall options measure.