lvgig / tubular

Python package implementing transformers for pre processing steps for machine learning.
https://tubular.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
37 stars 14 forks source link

Add option to pass list of columns into adjust_column input of CrossColumn transformers #237

Open Decima2014 opened 2 months ago

Decima2014 commented 2 months ago

Currently the CrossColumn transformers like CrossColumnMappingTransformer can only be applied to a single column as opposed to most transformers that accept a list of columns.

I have come across a project in which I would have liked to use the same cross column transformer applied to a long list of columns which would have made these steps a significant portion of the pipeline steps.

Can we instead modify the adjust_column input to be adjust_columns and loop through these within the transform function?

limlam96 commented 2 months ago

Worth waiting for these two before picking up this one PR1, PR2