pyufunc.remap_nested_dict#
- pyufunc.remap_nested_dict(mapping, **kwargs)#
Transform nested mappings and sequences with
boltons.iterutils.remap.- Parameters:
mapping – Nested data structure to transform.
**kwargs – Keyword arguments passed to
boltons.iterutils.remap.
Note
Source package:
boltons.Source repository: mahmoud/boltons
Source document: https://boltons.readthedocs.io/en/latest/
Source license: BSD License.
Example
>>> remap_nested_dict({"a": {"b": 1}}) {'a': {'b': 1}}
- Returns:
Remapped data structure.
- Return type:
Any