code: def filter_by(df, filter_by_df, filter_by_cols):
      """From the input DataFrame `df`, remove the records whose target column `filter_by_cols` values are
      exist in the filter-by DataFrame `filter_by_df`.
  
      Args:
          df (pandas.DataFrame): Source dataframe.
          filter_by_df (pandas.DataFrame): Filter dataframe.
          filter_by_cols (iterable of str): Filter columns.
  
      Returns:
          pandas.DataFrame: Dataframe filtered by `filter_by_df` on `filter_by_cols`.
  
      """
  
      return df.loc[
          ~df.set_index(filter_by_cols).index.isin(
              filter_by_df.set_index(filter_by_cols).index
          )
      ]
  
imports: import logging
  import pandas
  import numpy
  from functools import lru_cache, wraps
  from recommenders.utils.constants import DEFAULT_USER_COL, DEFAULT_ITEM_COL, DEFAULT_RATING_COL, DEFAULT_LABEL_COL
label_desc: Use image node_id 2 for calling a global function with example usage: filter_by(df, filter_by_df, filter_by_cols) and returns: df