@classmethod
def from_csv(cls, filepath: str, taxonomy_columns: Union[(str, int, Sequence[Union[(int, str)]])]=None, **kwargs: Any) -> 'RepTaxonomy':
    'Factory method to construct a :class:`.RepTaxonomy` from CSV file.\n\n        Parameters\n        ----------\n        filepath\n            Path to .csv File\n        taxonomy_columns\n            Column(s) containing taxonomy data\n        kwargs\n            Passed to the constructor.\n        filepath:\n\n        Returns\n        -------\n        Instance of\n            class:`.RepTaxonomy`\n        '
    if (taxonomy_columns is None):
        tmp_taxonomy = pd.read_csv(filepath, **kwargs)
    elif isinstance(taxonomy_columns, int):
        tmp_taxonomy = pd.read_csv(filepath, **kwargs).iloc[:, taxonomy_columns]
    else:
        tmp_taxonomy = pd.read_csv(filepath, **kwargs).loc[:, taxonomy_columns]
    tmp_metadata = kwargs.pop('metadata', {})
    tmp_metadata.update({'filepath': path.abspath(filepath)})
    return cls(taxonomy=tmp_taxonomy, metadata=tmp_metadata, **kwargs)
Factory method to construct a :class:`.RepTaxonomy` from CSV file.

Parameters
----------
filepath
    Path to .csv File
taxonomy_columns
    Column(s) containing taxonomy data
kwargs
    Passed to the constructor.
filepath:

Returns
-------
Instance of
    class:`.RepTaxonomy`
@classmethod
def from_csv(cls, filepath: str, taxonomy_columns: Union[(str, int, Sequence[Union[(int, str)]])]=None, **kwargs: Any) -> 'RepTaxonomy':
    'Factory method to construct a :class:`.RepTaxonomy` from CSV file.\n\n        Parameters\n        ----------\n        filepath\n            Path to .csv File\n        taxonomy_columns\n            Column(s) containing taxonomy data\n        kwargs\n            Passed to the constructor.\n        filepath:\n\n        Returns\n        -------\n        Instance of\n            class:`.RepTaxonomy`\n        '
    if (taxonomy_columns is None):
        tmp_taxonomy = pd.read_csv(filepath, **kwargs)
    elif isinstance(taxonomy_columns, int):
        tmp_taxonomy = pd.read_csv(filepath, **kwargs).iloc[:, taxonomy_columns]
    else:
        tmp_taxonomy = pd.read_csv(filepath, **kwargs).loc[:, taxonomy_columns]
    tmp_metadata = kwargs.pop('metadata', {})
    tmp_metadata.update({'filepath': path.abspath(filepath)})
    return cls(taxonomy=tmp_taxonomy, metadata=tmp_metadata, **kwargs)