Abhinav Choudhary looks at two methods for understanding the relationship between variables:
dataframes while working in python which is supported by the pandas library. Pandas come with a function corr() which can be used in order to find relation amongst the various columns of the data frame.
Syntax :DataFrame.corr()
Returns:dataframe with value between -1 and 1
For details and parameter about the function check out Link
Let’s try this in action.
Read on to see how it works, how to visualize results, and where Predictive Power Score can be a better option.