We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f65d432 commit afe6e18Copy full SHA for afe6e18
src/sensai/data_transformation/dft.py
@@ -715,6 +715,10 @@ def _tostring_additional_entries(self) -> Dict[str, Any]:
715
def _fit(self, df: pd.DataFrame):
716
matched_rules_by_column = {}
717
self._rules = []
718
+ # For rules matching multiple columns, if independent_columns is False, the columns
719
+ # will be concatenated and treated as a single column for fitting the transformer.
720
+ # Note that transformers follow sklearn interfaces, thus just passing an array
721
+ # to them will learn a per-column-transformation. This will be the case for independent_columns=True.
722
for rule in self._userRules:
723
matching_columns = rule.matching_columns(df.columns)
724
for c in matching_columns:
0 commit comments