Skip to content

scale_values_in_dict

Scale the values in a dictionary.

For each element in the dictionary, applies value * multiplier.

Parameters

  • dictionary

    TypeT

    Dictionary to scale.

  • multiplier

    Typefloat

    Scaling value.

  • inplace

    Typebool

    DefaultTrue

    If True, perform operation in-place