Pandas Similarity Between Rows. pairwise module computes the pairwise cosine similarities betwee