Skip to content

Commit 2afd197

Browse files
committed
chop of extra
1 parent 1145ec4 commit 2afd197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/ml/feature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ class QuantileDiscretizer(JavaEstimator, HasInputCol, HasOutputCol):
990990
>>> splits = bucketizer.getSplits()
991991
>>> splits[0]
992992
-inf
993-
>>> splits[1]*10
993+
>>> int(splits[1]*10)
994994
4
995995
>>> bucketed = bucketizer.transform(df).collect()
996996
>>> bucketed[0].buckets

0 commit comments

Comments
 (0)