Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Nov 1, 2024
1 parent 622a4ab commit c262a3c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def is_df(part: T) -> T:
cp.testing.assert_allclose(predt.values.compute(), single_node)

# Make sure the output can be integrated back to original dataframe
X.columns = X.columns.astype("object")
# Work around https://github.com/dmlc/xgboost/issues/10752
X["predict"] = predictions
X["inplace_predict"] = series_predictions

Expand Down

0 comments on commit c262a3c

Please sign in to comment.