title: How take the same DataFrame with a condition on value counts of a column in pandas?
body: <p>I have a pandas DataFrame with <code>shape(1000,8)</code> so i want to make new DataFrame but with condition in one column but not an easy condition it is the value counts of on the specific row, lets say for example we have a column where <code>df.column1 = [1,2,2,2,3,3,4,5,8,8,8,8]</code> i to have the same DataFrame with the sames columns but with condition on column1, i want only rows where the values of column1 are repeated more than 3 times, so i get : <code>df.column1 = [8,8,8,8]</code></p>