code: def pop_columns(self, names):
      names = set(names)
      if self._label_name in names:
          names.remove(self._label_name)
          self._label_name = None
      if self._weight_name in names:
          names.remove(self._weight_name)
          self._weight_name = None
  
      columns = []
      for name in self._columns:
          if name not in names:
              columns.append(name)
      self._columns = pd.Index(columns)
  
imports: import copy
  from typing import List, Union
  import pandas
  from .utils import AnonymousGenerator
label_desc: Use image node_id 24 for calling the Schema obj's underlying member method code with example usage: obj.pop_columns(names) without return types