Skip to content

Commit f583023

Browse files
author
Davies Liu
committed
fix tests
1 parent 51649f5 commit f583023

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

python/pyspark/rdd.py

-2
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ def sample(self, withReplacement, fraction, seed=None):
313313
Return a sampled subset of this RDD.
314314
315315
>>> rdd = sc.parallelize(range(100), 4)
316-
>>> rdd.sample(True, 0.1, 27).count()
317-
10
318316
>>> rdd.sample(False, 0.1, 81).count()
319317
10
320318
"""

0 commit comments

Comments
 (0)