In order to make sense of this, we need to re-attach the country names, which we can just do by turning it into a DataFrame: pd.DataFrame( squareform(pdist(summary.loc[['Germany', 'Italy', 'France']])), columns = ['Germany', 'Italy', 'France'], index = ['Germany', 'Italy'...