code: def map_df(self, df):
          
          if len(df) == 0:
              return
  
          aesthetics = set(self.aesthetics) & set(df.columns)
          for ae in aesthetics:
              df[ae] = self.map(df[ae])
  
          return df
docs: Map df