def codon_table_10plus(table):
    """Return a codon table only representing codons with > 10% occurrence frequency."""
    table = table.ix[table.Fraction >= 0.1]
    table = table.groupby(level=0).transform(lambda x: x / x.sum())
    return table
