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

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