Collections module
Collections module package allows to work with several container type datatypes.
There are 5 main container types in collections : Counter, namedtuple, orderedDict, defaultdict
deque collections
Counter collections
namedtuple collections
orderedDict collections
defaultdict collections
Codeblock E.1. Deque Collections.
Codeblock E.2. Counter Collections.
Codeblock E.3. namedtuple Collections..
Codeblock E.4. orderedDict Collections.
Codeblock E.5. defaultdict Collections.
Download. Collections ipynb package demo file.
---- Summary ----
As of now you know how to use several data containers of collections.
Collections package.
Deque.
Default dict.
Named tuple
etc...
Copyright © 2022-2023. Anoop Johny. All Rights Reserved.