[doc] Mention data consistency for categorical features. (#9678)

This commit is contained in:
Jiaming Yuan
2023-10-24 10:11:33 +08:00
committed by GitHub
parent 5e6cb63a56
commit 3ca06ac51e
8 changed files with 293 additions and 96 deletions

View File

@@ -821,7 +821,7 @@ class DirectoryExcursion:
"""
def __init__(self, path: os.PathLike, cleanup: bool = False):
def __init__(self, path: Union[os.PathLike, str], cleanup: bool = False):
self.path = path
self.curdir = os.path.normpath(os.path.abspath(os.path.curdir))
self.cleanup = cleanup