scikit cosine_similarity vs pairwise_distances
From source code documentation:
Cosine distance is defined as 1.0 minus the cosine similarity.
So your result make sense.
From source code documentation:
Cosine distance is defined as 1.0 minus the cosine similarity.
So your result make sense.