Skip to content

Commit ad5d81d

Browse files
committed
update doc
1 parent 014fb08 commit ad5d81d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/pyspark/ml/feature.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ class Bucketizer(JavaTransformer, HasInputCol, HasOutputCol, HasInputCols, HasOu
323323
Maps a column of continuous features to a column of feature buckets. Since 2.3.0,
324324
:py:class:`Bucketizer` can map multiple columns at once by setting the :py:attr:`inputCols`
325325
parameter. Note that when both the :py:attr:`inputCol` and :py:attr:`inputCols` parameters
326-
are set, a log warning will be printed and only :py:attr:`inputCol` will take effect, while
327-
:py:attr:`inputCols` will be ignored. The :py:attr:`splits` parameter is only used for single
326+
are set, an Exception will be thrown. The :py:attr:`splits` parameter is only used for single
328327
column usage, and :py:attr:`splitsArray` is for multiple columns.
329328
330329
>>> values = [(0.1, 0.0), (0.4, 1.0), (1.2, 1.3), (1.5, float("nan")),

0 commit comments

Comments
 (0)