Skip to content

Commit 0143cf0

Browse files
committed
Drop deprecated key Dataset attibute
1 parent a369983 commit 0143cf0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

khiops/sklearn/dataset.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,12 +436,9 @@ class Dataset:
436436
categorical_target : bool, default True
437437
``True`` if the vector ``y`` should be considered as a categorical variable. If
438438
``False`` it is considered as numeric. Ignored if ``y`` is ``None``.
439-
key : str
440-
The name of the key column for all tables.
441-
**Deprecated:** Will be removed in khiops-python 11.
442439
"""
443440

444-
def __init__(self, X, y=None, categorical_target=True, key=None):
441+
def __init__(self, X, y=None, categorical_target=True):
445442
# Initialize members
446443
self.main_table = None
447444
self.secondary_tables = None

0 commit comments

Comments
 (0)