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

Example

>>> remap_nested_dict({"a": {"b": 1}})
{'a': {'b': 1}}
Returns:

Remapped data structure.

Return type:

Any