Improve df.corr
: remove numpy; add method='spearman'; add labels; make consistent with pl.corr
#20957
Labels
enhancement
New feature or an improvement of an existing feature
Description
Correlation analysis is a very frequently used data-science method.
The current implementation could be improved as recommended by a few issues:
pl.DataFrame.corr()
should offer an argument "include_column_names_as_column". #16832Make consistent with
pl.corr
: Removenumpy
dependency & addmethod=spearman
df.corr
linkcorrcoef
) according to the documentationpearson
pl.corr
linkpearson
andspearman
Add parameter to add row labels
The text was updated successfully, but these errors were encountered: