Experiment
calour.filtering.
unique_cut
the percentage of distinct values out of the length of x.
Examples
>>> unique_cut([0, 0], 0.49) True >>> unique_cut([0, 0], 0.51) False >>> unique_cut([0, 1], 1.01) False