From b440426e90e08e4be7b5359ec244d563e813592f Mon Sep 17 00:00:00 2001 From: ChrisW09 <50968720+ChrisW09@users.noreply.github.com> Date: Fri, 16 Oct 2026 14:14:36 +0200 Subject: [PATCH] fix(preprocessor): keep ColumnTransformer step names valid for any label Preprocessor named each per-column step of its internal ColumnTransformer f"num_{label}" / f"cat_{label}". scikit-learn rejects estimator names that contain its "__" parameter separator, so fit crashed for any column label starting with "_" or containing "__" (e.g. "_score", pyarrow's "__index_level_0__", or "imp__age" from an upstream ColumnTransformer with pandas output). Steps now keep the num_