sidpy.base.dict_utilsΒΆ

Utilities that assist in dictionary manipulation

Created on Thu Jul 7 21:14:25 2020

@author: Suhas Somnath

Functions

flatten_dict

Flattens a nested dictionary

merge_dicts

Merges two nested dictionaries (right into left)

nest_dict

Generates a nested dictionary from a flattened dictionary

nested_dict_from_flattened_key

Converts a dictionary with a single key: value pair to a nested dictionary

print_nested_dict

Prints a nested dictionary in a nested manner