text_plain_output_1.png
from sklearn.metrics.pairwise import pairwise_distances

from sklearn.metrics.pairwise import pairwise_distances
cosine_sim = 1 - pairwise_distances(df_embds, metric='cosine')
cosine_sim[:4, :4]