2、可以使用elements()方法來獲取Counter中的key值。 list(Counter(some_data)).elements()). 3、使用most_common()方法可以找出前N個出現頻率最高的元素 ...
確定! 回上一頁