Get a centered version of the variable: x - mean(x).
note, mean(x) is 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 centered values