Skip to content

Commit 4227ec6

Browse files
committed
minor cleanup of test case
1 parent a35a441 commit 4227ec6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/pyspark/sql/tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,10 +1996,10 @@ def test_no_ser(self):
19961996

19971997
def test_arrow_round_trip(self):
19981998
df = self.spark.createDataFrame([(1, "1"), (2, "2"), (1, "2"), (1, "2")], ["key", "value"])
1999-
#df.show()
2000-
#pdf = df.toPandas(useArrow=False)
2001-
#print(pdf)
1999+
pdf = df.toPandas(useArrow=False)
20022000
pdf_arrow = df.toPandas(useArrow=True)
2001+
# TODO - compare Pandas DataFrames
2002+
print(pdf)
20032003
print(pdf_arrow)
20042004
self.assertTrue(False)
20052005

0 commit comments

Comments
 (0)