Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Panchenko committed Feb 28, 2024
1 parent afe6e18 commit 179fc0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sensai/data_transformation/dft.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def __init__(self,
separate transformation is to be learned for each of them (rather than using the same transformation for all columns and
learning the transformation from the data of all columns).
This parameter must be specified to for rules matching more than one column,
None is acceptable for rules mathching a single column, in which case None, True, and False all have the same effect.
None is acceptable for rules matching a single column, in which case None, True, and False all have the same effect.
"""
# NOTE: keep in sync with Rule!
if (skip or unsupported) and count_not_none(transformer, transformer_factory) > 0:
Expand Down Expand Up @@ -636,7 +636,7 @@ def __init__(self,
separate transformation is to be learned for each of them (rather than using the same transformation for all columns and
learning the transformation from the data of all columns).
This parameter must be specified to for rules matching more than one column,
None is acceptable for rules mathching a single column, in which case None, True, and False all have the same effect.
None is acceptable for rules matching a single column, in which case None, True, and False all have the same effect.
"""
if (skip or unsupported) and count_not_none(transformer, transformer_factory) > 0:
raise ValueError("Passed transformer or transformer_factory while skip=True or unsupported=True")
Expand Down

0 comments on commit 179fc0b

Please sign in to comment.