def TestMinValue(df, col, val):
    """
    Test a column from a dataframe to validate that the min value == val.
    """
    print(("Validating min of %s == %.2f" % (col, val)))
    ordered = df[col].order()
    min_val = ordered.iloc[0]
    if min_val != val:
        print(("Minimum value %.2f != %.2f" % (min_val, val)))
        return False
    return True