Skip to content

Commit 3ea88e2

Browse files
author
Nick Pentreath
committed
Parens for print statements
1 parent 3ba2411 commit 3ea88e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/src/main/python/mllib/pca_rowmatrix_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242
collected = projected.rows.collect()
4343
print("Projected Row Matrix of principal component:")
4444
for vector in collected:
45-
print vector
45+
print(vector)
4646
sc.stop()

examples/src/main/python/mllib/svd_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
collected = U.rows.collect()
4343
print("U factor is:")
4444
for vector in collected:
45-
print vector
45+
print(vector)
4646
print("Singular values are: %s" % s)
4747
print("V factor is:\n%s" % V)
4848
sc.stop()

0 commit comments

Comments
 (0)