Mojo module
counter
Defines the Counter
type.
You can import these APIs from the collections
package. For example:
from collections import Counter
from collections import Counter
Structs
-
Counter
: A container for counting hashable items. -
CountTuple
: A tuple representing a value and its count in a Counter.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!