以下のようなリストにおいて,出現頻度が高いもの(4回以上)を要素から削除したいと考えています.
[ ['addr.arpa'], ['netturbo.com.br'], ['ac.jp'], ['netturbo.com.br'], ['netturbo.com.br'], ['addr.arpa'], ['addr.arpa'], ['addr.arpa'], ['addr.arpa'], ['addr.arpa'], ['addr.arpa'], ['addr.arpa'], ['k9cv9-2-13.net'], ['k9cv9-2-13.net'], ['j37dbnj-23.net'], ['j37dbnj-23.net'], ['support-intelligence.net'], ['j37dbnj-23.net'], ['spamhaus.org'], ['j37dbnj-23.net'], ['spamcop.net'], ['spamcop.net'], ['wariate.jp'], ['wariate.jp'] ]
↓
[ ['netturbo.com.br'], ['ac.jp'], ['netturbo.com.br'], ['netturbo.com.br'], ['k9cv9-2-13.net'], ['k9cv9-2-13.net'], ['support-intelligence.net'], ['spamhaus.org'], ['spamcop.net'], ['spamcop.net'], ['wariate.jp'], ['wariate.jp'] ]
プログラムについての知識が浅く,ご教授いただけると幸いです.
あなたの回答
tips
プレビュー