Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
646dfed9
Unverified
Commit
646dfed9
authored
Sep 18, 2023
by
James Lamb
Committed by
GitHub
Sep 18, 2023
Browse files
[python-package] fix mypy error from Dataset.pandas_categorical (#6098)
parent
5792b5b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python-package/lightgbm/basic.py
python-package/lightgbm/basic.py
+1
-1
No files found.
python-package/lightgbm/basic.py
View file @
646dfed9
...
@@ -1593,7 +1593,7 @@ class Dataset:
...
@@ -1593,7 +1593,7 @@ class Dataset:
self
.
used_indices
:
Optional
[
List
[
int
]]
=
None
self
.
used_indices
:
Optional
[
List
[
int
]]
=
None
self
.
_need_slice
=
True
self
.
_need_slice
=
True
self
.
_predictor
:
Optional
[
_InnerPredictor
]
=
None
self
.
_predictor
:
Optional
[
_InnerPredictor
]
=
None
self
.
pandas_categorical
=
None
self
.
pandas_categorical
:
Optional
[
List
[
List
]]
=
None
self
.
_params_back_up
=
None
self
.
_params_back_up
=
None
self
.
version
=
0
self
.
version
=
0
self
.
_start_row
=
0
# Used when pushing rows one by one.
self
.
_start_row
=
0
# Used when pushing rows one by one.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment