import re


def _remove_species(series):
    """Removes species label from pathway description."""

    regex = re.compile(r'(\s-\s.+)')
    match = regex.search(series[0])

    if match is not None:
        species_str = match.groups()[0]
        series = series.apply(lambda x: x.replace(species_str, ''))

    return series