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