PandasRegistry.get_calc_standardized()

PandasRegistry.get_calc_standardized()#

PandasRegistry.get_calc_standardized(name, var_name=None)[source]#

Get a standardized version of the variable: (x - mean(x)) / std(x).

note, mean(x) and std(x) are computed from the original data and cached.

Parameters:
  • name (str) – Column name in the data

  • var_name (str | None, default: None) – Custom name for the resulting variable

Return type:

Var

Returns:

liesel.Var object with standardized values