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