replace_values#

SurveyVariable.replace_values(mapping: dict, combine_labels_if_not_injective: bool = True)#

Replace values by other values. The labels are retained.

Parameters#

mappingdict

The mapping.