How can I get the value_counts above a threshold? I tried
df[df[col].value_counts(dropna=False) > 3]
to get all counts greater than 3, but I am getting
IndexingError: Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match).
Any hint? Thanks