code: def remove_non_magic_cols_from_table(self, ignore_cols=()):
          
          unrecognized_cols = self.get_non_magic_cols()
          for col in ignore_cols:
              if col in unrecognized_cols:
                  unrecognized_cols.remove(col)
          if unrecognized_cols:
              print('-I- Removing non-MagIC column names from {}:'.format(self.dtype), end=' ')
              for col in unrecognized_cols:
                  self.df.drop(col, axis='columns', inplace=True)
                  print(col, end=' ')
              print("\n")
          return unrecognized_cols
docs: Remove all non-magic columns from self.df.
          Changes in place.
  
          Parameters
          ----------
          ignore_cols : list-like
              columns not to remove, whether they are proper
              MagIC columns or not
  
          Returns
          ---------
          unrecognized_cols : list
              any columns that were removed