From b58268f952451e2876205b69ca76a21459c20739 Mon Sep 17 00:00:00 2001 From: Milton Pividori Date: Mon, 12 Aug 2024 01:31:37 -0600 Subject: [PATCH] impl: update function docstring --- libs/ccc/coef/impl.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/ccc/coef/impl.py b/libs/ccc/coef/impl.py index f0cf8d8d..29a1f654 100644 --- a/libs/ccc/coef/impl.py +++ b/libs/ccc/coef/impl.py @@ -113,10 +113,8 @@ def get_parts( ) -> NDArray[np.int16]: """ Given a 1d data array, it computes a partition for each k value in the given - range of clusters. This function only supports numerical data, and it - always runs run_run_quantile_clustering with the different k values. - If partitions with only one cluster are returned (singletons), then the - returned array will have negative values. + range of clusters. If partitions with only one cluster are returned (singletons), + then the returned array will have negative values. Args: data: a 1d data vector. It is assumed that there are no nans.