correlation between two dataframes pandas code example
Example 1: correlation between two columns pandas
Top15['Citable docs per Capita'].corr(Top15['Energy Supply per Capita'])
Example 2: how to correlation with axis in pandas
import pandas as pd
df.corrwith(dfa.iloc[0], axis=1)