def emc(values: list) -> float:
    """
        Fraction of empty cells
    """

    if len(values) == 0:
        return 0.0

    empty_cells_count = sum([
        1
        for v in values
        if len(v.strip()) == 0
    ])

    return empty_cells_count / len(values)