A ColumnTransformer quietly drops any column you don't name, unless you tell it otherwise.
Task: write output_widths(table, scaled_columns).
table is a dict mapping column names to lists of numbers. scaled_columns names some of them.ColumnTransformers with one line each: ("numbers", StandardScaler(), scaled_columns).
remainder.remainder="passthrough".[columns out of the first, columns out of the second].