Use .corr to get the correlation between two columns

Without actual data it is hard to answer the question but I guess you are looking for something like this: Top15[‘Citable docs per Capita’].corr(Top15[‘Energy Supply per Capita’]) That calculates the correlation between your two columns ‘Citable docs per Capita’ and ‘Energy Supply per Capita’. To give an example: import pandas as pd df = pd.DataFrame({‘A’: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)