PandasRegistry.get_calc()#
- PandasRegistry.get_calc(name, transform, var_name=None, cache_key=None)[source]#
Get a derived version of the variable.
Derived variables are cached when possible. Creates a lsl.new_obs for the base variable and a lsl.new_calc for the derived variable.
- Parameters:
- Return type:
- Returns:
liesel.Var object with transformed values