Custom transformer for sklearn Pipeline that alters both X and y Custom transformer for sklearn Pipeline that alters both X and y numpy numpy