例如,以下代码创建了与之前相同的 ColumnTransformer,只是转换器自动命名为 "pipeline-1" 和 "pipeline-2",而不是 "num" 和 "cat": from sklearn.compose