I have a dataframe named data which i need to filter based on other dataframe/Series value_counts which has been produced from data dataframe Tags column containing like list of string ['python', 'windows', 'pip', 'pygame', 'pycharm'] using pd.DataFrame(data.Tags.values.tolist()).stack().value_counts() and this returns like this,
python 20906
javascript 16692
java 11324
c# 8358
android 7865
...
mysql-5.5 1
asp-net-core 1
rxdatasources 1
background-sync 1
forwarding-reference 1
Length: 23633, dtype: int64
And I need to filter the data dataframe to remove Tags with count >2.