def METHOD_NAME(events):
    # Warn for each unexpected column that will
    # not be used afterwards
    unexpected_columns = list(set(events.columns).difference(VALID_FIELDS))
    if unexpected_columns:
        warnings.warn(
            "The following unexpected columns "
            "in events data will be ignored: "
            f"{', '.join(unexpected_columns)}"
        )