Skip to content

Commit

Permalink
duplicated check.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Mar 6, 2023
1 parent ad78621 commit 44e9dd5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python-package/xgboost/sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,6 @@ def _get_qid(
"Found both the special column `qid` in `X` and the `qid` from the"
"`fit` method. Please remove one of them."
)
assert qid is None
q_x = X.qid
X = X.drop("qid", axis=1)
return X, q_x
Expand Down

0 comments on commit 44e9dd5

Please sign in to comment.