Skip to content

Commit cba7768

Browse files
committed
[SPARK-2470] wrap expression list in parentheses
1 parent e178dbe commit cba7768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/pyspark/statcounter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,5 @@ def sampleStdev(self):
125125
return math.sqrt(self.sampleVariance())
126126

127127
def __repr__(self):
128-
return "(count: %s, mean: %s, stdev: %s, max: %s, min: %s)" %
129-
(self.count(), self.mean(), self.stdev(), self.max(), self.min())
128+
return ("(count: %s, mean: %s, stdev: %s, max: %s, min: %s)" %
129+
(self.count(), self.mean(), self.stdev(), self.max(), self.min()))

0 commit comments

Comments
 (0)