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