Get dummy matrix for a categorical column using standard dummy coding.
Drops the column of the first category.
- Parameters:
name (str) – Column name in the data
var_name_prefix (str | None, default: None) – Prefix for dummy variable names
- Return type:
Var
- Returns:
Dictionary mapping category names to liesel.Var objects