scale_values_in_dict¶
Scale the values in a dictionary.
For each element in the dictionary, applies value * multiplier.
Parameters¶
-
dictionary
Type → T
Dictionary to scale.
-
multiplier
Type → float
Scaling value.
-
inplace
Type → bool
Default →
TrueIf True, perform operation in-place