Skip to content

Commit 7cdbe91

Browse files
author
Jacky Li
committed
modify according to comment
1 parent bb54537 commit 7cdbe91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,12 @@ class DataFrame protected[sql](
297297
* @param numRows Number of rows to show
298298
* @group basic
299299
*/
300-
def show(numRows: Int = 20): Unit = println(showString(numRows))
300+
def show(numRows: Int): Unit = println(showString(numRows))
301301

302302
/**
303-
* Displays the [[DataFrame]] in a tabular form. (For Java compatibility)
303+
* Displays the top 20 rows of [[DataFrame]] in a tabular form.
304304
*/
305-
def show(): Unit = println(showString(20))
305+
def show(): Unit = show(20)
306306

307307
/**
308308
* Cartesian join with another [[DataFrame]].

0 commit comments

Comments
 (0)