Examveda

What Python method is used to calculate the correlation matrix for a DataFrame, showing the relationships between numerical columns?

A. groupby()

B. describe()

C. pivot_table()

D. corr()

Answer: Option D


This Question Belongs to Data Science >> Data Analysis With Python

Join The Discussion

Related Questions on Data Analysis with Python