Data UrchinData Urchin

Question 27 of 93 · New Columns

Help

Categorize with when/then/otherwise

Add a "size_category" column: "large" if weight_lbs > 30, "medium" if weight_lbs > 10, otherwise "small". Use `pl.when(...).then(...).when(...).then(...).otherwise(...)`.