Level 1 : What is the purpose of the collections module in Python?

Author: IndraD | Tags: collection | 1859+ Python FAQs | Share
condition | rollback | polymorphism | numpy | odd-number | threading | overflow | regex | sorted | slicing | package-management | syntaxerror | sets | set | print | regular-expressions | pep | operator-overloading | recurssion | python_version | syntax-error | raise-statement | update | operator | string-method | math | list-operation | using-os-and-pathlib-modules | assignment-operator | aggregating-data-with-functools.reduce() | memory-management | thread-safe-data-structures-(queue.queue) | mysql | asyncio-module | attribute | bitwise-operator | built-in-function | parsing-with-strptime | __all__-attribute | boolean-and-non-boolean | yield | postfix | multiple-except-blocks | walking-through-directories-using-os.walk() | python-module | append | expression | sys-module | init | floating-point-precision | list-methods-and-slicing | comment | __future__ | syntax-error | join | loops | introduction-to-multiprocessing | library | array | data-type | compute | boolean | escape-operator | indentation | indexing | __init_subclass__ | reading-and-writing-files | operations | tuple-methods | file-handling | filtering-and-indexing | using-assertions-(assertequal,-assertraises) | creating-and-starting-threads | zip-function | installation | loop-control-statements | filter | mathematics | python-syntax-and-structure | arithmetic-expression | boolean-masking | built-in | zip | pickling--unpickling | dictionary-comprehensions | arbitrary-arguments-(*args,-**kwargs) | multiple-inheritance | error-handling | thread-synchronization | functional-programming | multiple-inheritance | list-comprehensions | syntax | logical-operators | deep-copy | creating-custom-modules | zfill-function | matplotlib | working-with-dates-and-times | namespace | binary-operation | list-slicing | complex | python | collections | conditional-statement | center | copy | identity-operator | matrix-list-comprehension | higher-order-function | generators | key-value-pairs | virtual-environment | string-formatting | directory-operations | constructor | destructor | reading-and-writing-large-files-efficiently | integer | exception | precedence | input-function | binary | string-concatenation | control-statement | identity-operators-(is,-is-not) | operators | joining-and-merging-dataframes | enumerate() | shallow-copy | lambda-function | dictionary | python-django | string | docstring | iterator | opening-files-(open()) | strings | arithmetic-operation | for | literal-characters-and-special-characters | interpreter | inheritance | swapping | time-series-with-pandas | conditional-statement | class-decorators | using-lists-as-stacks | nested-loop | built-in-function | using-the-threading-module | global-keyword | anchors-(^,-$) | generators-in-python | intering | function | exception-handling | tuples | decorator | expand-tab | lambda-functions | loop | feature | bitwise | advanced-file-operations | objects | range | staticmethod | string-iteration | collection | benefit | operator-or | while-loop | floats | int | object-attribute | random-function | conditional-statements | type_conversion | string-manipulation | gil | context-manager | descriptors | unit-testing | print-statement | formal-and-actual-parameter | class-and-object | heap-memory | min-max-function | functions | matrix | keyword | datetime | sys | type-conversion-and-casting | indexing:-loc-vs-iloc | name-mangling | why-use-multiprocessing-over-threading?-(gil) | bitwise-operator | access-modifier | default-arguments | head-and-tail | match | numeric | counter-function | single-inheritance | operator-and | while-loops | reading:-read(),-readline(),-readlines() | invalid-list | membership-operators-(in,-not-in) | function-argument | random | overriding-methods | complex-number | comparison | using-yield-in-functions | classes | pseudocode | error | tuple-unpacking | return-statement | identity-operator | iterable | oops | python-repl | writing:-write(),-writelines() | mapping-function | list-indexing | mathematical-function | exponentiation | mutable | oop | list,-set,-and-dictionary-comprehensions | namedtuple | math-copysign | immutability | integers | thread | while-else-loop | functional-programming | lambda | datatype | using-else-and-finally | map-function | logical-operator | static-method | assert | variable | dataframe-and-series-objects | using-map()-for-transformations | list-method | datetime.date,-datetime.time,-datetime.datetime | built-in-modules | scientific-notation | loop-control | class | filter-function | comprehension | class-and-inheritance | default-mutable-argument | data-types | python-operators | control-flow | control-flow | command-line-parsing | multithreading | global | set-operation | managing-directories-with-os-and-shutil | raise | list-comprehension | string-slicing | methods | touples | round | data-type | max-min | pandas | multiprocessing | lists | parameter | type-conversion | version | python-history | dictionary-methods | assignment-operators | regular-expression | counter | booleans | call | choice | format | lambdas | identifier | string-slicing | data-structures | min-function | data-structure | data-structure | string-formatting | else | conversion | logical-operation | list-vs-tuple | working-with-binary-files-(rb,-wb) | sum-function | file_handling | defining-functions | application | magic-method | list | virtual-environment | global-variable | id-function | asyncio | data_structure | introduction-to-threads | basic | test-discovery | function-and-scope | design-principle | file | operand | formatting-with-strftime | round-function | async | pass | else-statement | software-design | slice | factorial-function | quantifiers-(*,-+,-?,-{}) | type-conversion | string-method | exception-handling | decimal | global-variable | tuple | implementation | class-and-instance-variable | working-with-temporary-files-using-tempfile | sum() | typeerror | recursion | with-statement | data-structures-in-python | method | encapsulation | debugging | list-join | difference-between-threads-and-processes | sorting | using-join()-and-is_alive()-methods | goto-function | encoding | def | stack | data-type-conversions | statement | error-handling | sorting-and-ranking | method-overloading | dictionaries | list-mutation | frozenset | fabs-function | input-function | inherit | file-handling | handling-missing-values-(fillna,-dropna) | import-method | string-methods | input | iterators | version-check | immutable-data-type | memory | split | logical-operator | working-with-file-paths | list-comprehension | turtle | module | while-and-for-loop | generator | introduction-to-python | dicts | precedence-and-associativity ...