Level 9 : Write a function that takes in a list of dictionaries with both a key and list of integers, and returns a dictionary with the standard deviation of each list.


input = [
    {
        'key': 'list1',
        'values': [4,5,2,3,4,5,2,3],
    },
    {
        'key': 'list2',
        'values': [1,1,34,12,40,3,9,7],
    }
]

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