PandasRegistry.get_numeric_obs()

PandasRegistry.get_numeric_obs()#

PandasRegistry.get_numeric_obs(name)[source]#

Get a variable and ensure it is numeric.

Parameters:

name (str) – Variable name to retrieve

Return type:

Var

Returns:

liesel.Var object for the numeric variable

Raises:

TypeError – If the variable is not numeric