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

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