We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb54537 commit 7cdbe91Copy full SHA for 7cdbe91
sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
@@ -297,12 +297,12 @@ class DataFrame protected[sql](
297
* @param numRows Number of rows to show
298
* @group basic
299
*/
300
- def show(numRows: Int = 20): Unit = println(showString(numRows))
+ def show(numRows: Int): Unit = println(showString(numRows))
301
302
/**
303
- * Displays the [[DataFrame]] in a tabular form. (For Java compatibility)
+ * Displays the top 20 rows of [[DataFrame]] in a tabular form.
304
305
- def show(): Unit = println(showString(20))
+ def show(): Unit = show(20)
306
307
308
* Cartesian join with another [[DataFrame]].
0 commit comments