code: def remove_field(self, field):
          
          new_field = FieldFactory(
              field,
          )
          new_field.set_table(self)
          new_field_identifier = new_field.get_identifier()
          for field in self.fields:
              if field.get_identifier() == new_field_identifier:
                  self.fields.remove(field)
                  return field
          return None
docs: Removes a field from this table
  
          :param field: This can be a string of a field name, a dict of {'alias': field}, or
              a ``Field`` instance
          :type field: str or dict or :class:`Field <querybuilder.fields.Field>`