pyufunc.dict_unflatten#
- pyufunc.dict_unflatten(mapping, *, separator='_')#
Unflatten a dictionary.
- Parameters:
mapping – Flattened mapping.
separator – Separator between nested key parts.
Note
Source package:
python-benedict.Source repository: fabiocaccamo/python-benedict
Source document: fabiocaccamo/python-benedict
Source license: MIT License.
Example
>>> dict_unflatten({"a_b": 1}) {'a': {'b': 1}}