Drops variables (names) from metadata.
2788
def drop(self, names):
        """"""
        
        # drop lower dimension data
        self._data = self._data.drop(names, axis=0)
        # drop higher dimension data
        for name in names:
            if name in self._ho_data:
                _ = self._ho_data.pop(name)
393058
public void unregister(Collector m) {
    synchronized (collectorsToNames) {
      List<String> names = collectorsToNames.remove(m);
      for (String name : names) {
        namesToCollectors.remove(name);
      }
    }
  }
1000191
def revert_metadata(files):
    
    for file_path in files:
        tags = EasyMP3(file_path)
        tags.delete()
        tags.save()
1023627
public void removeName(String name)
   {
      indexes.remove(name);
      names.remove(name);
      dirty = true;
   }
551165
def ClearVar(self):
    """"""
    self.value = None
    # Call OnClearVar on options.
    _ = [option.OnClearVar() for option in self.options]
25631
def keep(self, keep_names):
        """"""
        
        current_names = self._data.columns
        drop_names = []
        for name in current_names:
            if name not in keep_names:
                drop_names.append(name)
        self.drop(drop_names)
24445
def var_unset(session, name):
        
        name = name.strip()
        try:
            session.unset(name)
        except KeyError:
            session.write_line("Unknown variable: {0}", name)
            return False
        else:
            session.write_line("Variable {0} unset.", name)

        return None
207620
@Override
	protected void removeVariablesSub(Variable[] ti) {
		int[] Ids = new int[ti.length];
		for (int i = 0; i < ti.length;i ++) 
		{
			if (ti[i] instanceof TimePoint) {
				Ids[i] = ((TimePoint)ti[i]).getID();
			}
		}
		//super.removeVariable(ti);
		tpDelete(Ids);
	}
165659
def ClearAllVar(self):
    """"""
    self.value = None
    # Call OnClearAllVar on options.
    _ = [option.OnClearAllVar() for option in self.options]
253783
def clear(self):
        
        for variable in self._project.variables.list(all=True):
            variable.delete()
624994
def delete(self, *names):
        '''
        
        '''

        def change(session):
            keys = session.keys()
            names_in_common = [name for name in names if name in keys]
            for name in names_in_common:
                del session[name]
        self.__change_session(change)
1238659
public void dropCaches() {
    if (use_lru) {
      lru_name_cache.invalidateAll();
      lru_id_cache.invalidateAll();
    } else {
      name_cache.clear();
      id_cache.clear();
    }
  }
611263
def strip
      meta_vars, meta_values, var = @index.strip
      vars1, values1, term1 = @value.subst( @index => var ).strip
      if @initial
        vars2, values2, term2 = @initial.strip
      else
        vars2, values2 = [], [], nil
      end
      vars3, values3, term3 = @block.strip
      return vars1 + vars2 + vars3 + meta_vars,
        values1 + values2 + values3 + meta_values,
        self.class.new( term1, var, term2, term3, @var1, @var2 )
    end
932466
public synchronized void unset(String name) {
		String[] names = null;
		if (!isDeprecated(name)) {
			names = getAlternativeNames(name);
			if(names == null) {
				names = new String[]{name};
			}
		}
		else {
			names = handleDeprecation(deprecationContext.get(), name);
		}

		for(String n: names) {
			getOverlay().remove(n);
			getProps().remove(n);
		}
	}
239430
def clear(self):
        """"""    
        self.sam |= KEY_WRITE
        for v in list(self.values()):
            del self[v.name]
        for k in list(self.subkeys()):
            self.del_subkey(k.name)
966837
def tidy_all_the_variables(host, inventory_mgr):
    '''  '''
    global _vars
    _vars = dict()
    _vars[host] = inventory_mgr.inventory.get_host_vars(host)
    for group in host.get_groups():
        remove_inherited_and_overridden_vars(_vars[host], group, inventory_mgr)
        remove_inherited_and_overridden_group_vars(group, inventory_mgr)
    return _vars
278372
function drop() {
		if ($this->lazy) // intentional
			$this->data=[];
		if (!$this->dir)
			$this->data=[];
		elseif ($glob=@glob($this->dir.'/*',GLOB_NOSORT))
			foreach ($glob as $file)
				@unlink($file);
	}