A paint shop's model has a colour column. Training taught it some colours. Later, a customer asks about a colour it has never seen, and that must not crash anything.
Task: write encode_colours(train_colours, new_colours).
"colour".OneHotEncoder(handle_unknown="ignore") on the training colours."columns": the encoder's output column names, from get_feature_names_out(), as a list of strings."rows": the encoded new colours as a list of lists of whole numbers (0 or 1), one inner list per new colour.