infineac.helper.jaccard_similarity_pairwise#

infineac.helper.jaccard_similarity_pairwise(names: list[str], df: DataFrame) array[source]#

Pairwise calculates the Jaccard Similarity between the columns (names) of a given Polars DataFrame (df) and returns an np.array with the corresponding means. The returned array has thus the same length as the given df. Calls jaccard_similarity_lists().