def Eq(state, command, *column_values):
    """Equals filter
    Accepts one or more column-value pairs. Keep only rows where value in the column equals specified value.
    Example: Eq~column1~1
    """
    df = state.df()
    for c,v in state.expand_column_values(column_values):
        state.log_info(f"Equals: {c} == {v}")
        index = df[c] == v
        try:
            index = index | (df[c] == int(v))
        except:
            pass
        try:
            index = index | (df[c] == float(v))
        except:
            pass
        df = df.loc[index,:]
    return state.with_df(df)