def filter_numeric_column(df, col_name, num1, num2):
    """
    Filter dataframe by the value of col_name (between num1, num2)
    :param df:                  Dataframe
    :param col_name:            Column name
    :param num1:                Number
    :param num2:                Number
    :return:                    Filtered dataframe
    """
    mid = df[df[col_name] < num2]
    return mid[mid[col_name] >= num1]