Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Davies Liu committed Nov 14, 2014
1 parent 51649f5 commit f583023
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/pyspark/rdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,6 @@ def sample(self, withReplacement, fraction, seed=None):
Return a sampled subset of this RDD.
>>> rdd = sc.parallelize(range(100), 4)
>>> rdd.sample(True, 0.1, 27).count()
10
>>> rdd.sample(False, 0.1, 81).count()
10
"""
Expand Down

0 comments on commit f583023

Please sign in to comment.