Level 1 : What is the purpose of the map function in Python?

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