def _export(self, taxlike: str='lineage', ascending: bool=True, **kwargs: Any) -> Tuple[(pd.Series, dict)]:
    'Creates taxonomy for export.\n\n        Parameters\n        ----------\n        taxlike\n            Generate taxonomy in format(currently only `lineage` is supported.)\n        ascending\n            Sorting\n        kwargs\n            Compatibility\n        '
    if (taxlike == 'lineage'):
        return (self.get_lineage_by_id(**kwargs).sort_values(ascending=ascending), kwargs)
    else:
        raise NotImplemented
Creates taxonomy for export.

Parameters
----------
taxlike
    Generate taxonomy in format(currently only `lineage` is supported.)
ascending
    Sorting
kwargs
    Compatibility
def _export(self, taxlike: str='lineage', ascending: bool=True, **kwargs: Any) -> Tuple[(pd.Series, dict)]:
    'Creates taxonomy for export.\n\n        Parameters\n        ----------\n        taxlike\n            Generate taxonomy in format(currently only `lineage` is supported.)\n        ascending\n            Sorting\n        kwargs\n            Compatibility\n        '
    if (taxlike == 'lineage'):
        return (self.get_lineage_by_id(**kwargs).sort_values(ascending=ascending), kwargs)
    else:
        raise NotImplemented