In this tutorial, we would be exploring different types of containers implemented by the collections module. Counters - OrderedDict - ChainMap - NamedTuple - DeQue Counters Counters are dict subclass which is used to keep the count of the elements present in an unordered dictionary. Deque A deque is a list for implementing

4m read timeFrom kdnuggets.com
Post cover image
Table of contents
CountersOrderedDictDefaultDictChainMapNamedTupleDeque

Sort: