Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

.corr python

df = pd.DataFrame({'age':[10, 15, 20], 'weight':[20, 45, 60]})
print(df.corr())

#output
#             age    weight
#age     1.000000  0.989743
#weight  0.989743  1.000000
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
2+7 =