PandasRegistry.get_boolean_obs()

PandasRegistry.get_boolean_obs()#

PandasRegistry.get_boolean_obs(name)[source]#

Get a variable and ensure it is boolean.

Parameters:

name (str) – Variable name to retrieve

Return type:

Var

Returns:

liesel.Var object for the boolean variable

Raises:

TypeError – If the variable is not boolean