fit_a_nef.utils.unflatten_dict

fit_a_nef.utils.unflatten_dict(d: Dict, separation: str = '.')

Unflattens a dictionary, inverse to flatten_dict.

Parameters:
  • d (Dict) – The dictionary to unflatten.

  • separation (str, optional) – The separation character, defaults to “.”.

Returns:

The unflattened dictionary.

Return type:

Dict