def renumber( self, source, target='', override=False): """ Renumber a given set of string identifiers by replacing the ids by integers. Parameters ---------- source : str The source column to be manipulated. target : str (default='') The name of the target colummn. If no name is chosen, the target column will be manipulated by adding "id" to the name of the source column. override : bool (default=False) Force to overwrite the data if the target column already exists. Notes ----- In addition to a new column, an further entry is added to the "_meta" attribute of the wordlist by which newly coined ids can be retrieved from the former string attributes. This attribute is called "source2target" and can be accessed either via the "_meta" dictionary or directly as an attribute of the wordlist. """ renumber(self, source, target, override=override)