I want to find, in a given column "type", the values of that column that repeats "n" times.
I did this:
n = 5
df = dataf["type"].value_counts() > 5
print(df) will return something like this:
Bike True
Truck True
Car False
How to get the values "Bike" and "Car" ? I want to add them in a set.
df?