withItself
Calculates Pearson pairwise correlations between the columns previously selected with corr.
Returns a square correlation matrix represented by a DataFrame, where both rows and columns correspond to the selected columns, and each cell contains the Pearson correlation coefficient between the respective pair of columns.
Check out Grammar.
For more information, see: See corr on the documentation website.
Return
A DataFrame containing the pairwise correlation matrix.