def drop_counts(df, threshold):
    """Removes rows from an ngram table with counts fewer than threshold.

    Arguments:
        df {Pandas dataframe} -- ngram table with columns "word" and "count"
        threshold {Integer} -- minimum count to keep rows
    """
    dropped_df = df[df['count'] >= threshold]
    return dropped_df