def kolmogorov_smirnov_2(frame):
    """Computes the Kolmogorov-Smirnov test of the found distributions
    
    Args:
        frame: DataFrame with Foud and Expected distributions.
    
    Returns:
        The Suprem, which is the greatest absolute difference between the
            Found end th expected proportions
    """
    ks_frame = frame.sort_index()[['Found', 'Expected']].cumsum()
    return (ks_frame.Found - ks_frame.Expected).abs().max()
