def numeric_filter(operation, value, column, df):
    """Filters a data column numerically.

    Arguments:
    operation: Operator used to filter data (e.g. ">", "<", "==", ">=", "<=", "!=")
    value: Operand
    column: String for column name
    df: DataFrame

    Returns: Boolean column that indicates whether each entry matches the given numeric filter.
    """
    return eval(f"df['{column}'] {operation} {value}")