def drop_rows_over_max_taxa(
        data, max_taxa_per_query):
    """
    Drop rows where "n_taxa" is greater
    than max_taxa_per_query. This removes uninformative
    rows with too many taxa.
    """
    return data[data["n_taxa"] <= max_taxa_per_query]