python_utils.invert_dict ======================== Back to :doc:`Module page <../modules/python_utils>` Summary ------- return dictionary with inverted key-value pairs Signature --------- .. code-block:: python def invert_dict(dict_in, iter_val = False) .. list-table:: Input variables :header-rows: 1 * - Name - Type - Default - Description * - ``dict_in`` - - - - - - * - ``iter_val`` - - - False - - Output variables ---------------- .. list-table:: :header-rows: 1 * - Return annotation - Docstring type - Description * - ``None`` - - - - Docstring --------- .. code-block:: text return dictionary with inverted key-value pairs