File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -705,14 +705,14 @@ def partial_dependence(
705705 continue
706706
707707 if _safe_indexing (X , feature_idx , axis = 1 ).dtype .kind in "iu" :
708- # TODO(1.8 ): raise a ValueError instead.
708+ # TODO(1.9 ): raise a ValueError instead.
709709 warnings .warn (
710710 f"The column { feature !r} contains integer data. Partial "
711711 "dependence plots are not supported for integer data: this "
712712 "can lead to implicit rounding with NumPy arrays or even errors "
713713 "with newer pandas versions. Please convert numerical features"
714714 "to floating point dtypes ahead of time to avoid problems. "
715- "This will raise ValueError in scikit-learn 1.8 ." ,
715+ "This will raise ValueError in scikit-learn 1.9 ." ,
716716 FutureWarning ,
717717 )
718718 # Do not warn again for other features to avoid spamming the caller.
You can’t perform that action at this time.
0 commit comments