Given some data, write code to remove rows based on some criteria using pandas.
Implement a function that takes a pandas DataFrame and returns a new DataFrame with rows removed when they match the provided criteria. The criteria will be expressed as a list of simple row filters, such as equality checks, numeric thresholds, or membership in a set.
def remove_rows(df, criteria):
df: a pandas DataFramecriteria: a list of filter rules, where each rule specifies a column, an operator, and a valuedef remove_rows(df, criteria):