aboutsummaryrefslogtreecommitdiff
path: root/functions/array_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'functions/array_functions.py')
-rw-r--r--functions/array_functions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/array_functions.py b/functions/array_functions.py
new file mode 100644
index 0000000..be15abd
--- /dev/null
+++ b/functions/array_functions.py
@@ -0,0 +1,3 @@
+def get_list_of_dict(keys, list_of_tuples):
+ list_of_dict = [dict(zip(keys, values)) for values in list_of_tuples]
+ return list_of_dict