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

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