def uc(values: list) -> float:
    """
        Fraction of cells with unique content
    """

    if len(values) == 0:
        return 0.0

    unique_values = set(values)
    return len(unique_values) / len(values)