
上QQ阅读APP看书,第一时间看更新
There's more...
The .show() functionality defaults to 20 rows if not explicitly stated. If we only wanted to show the first 5 rows of a dataframe, we would need to explicitly state it as seen in the following script: df.show(5).
The .show() functionality defaults to 20 rows if not explicitly stated. If we only wanted to show the first 5 rows of a dataframe, we would need to explicitly state it as seen in the following script: df.show(5).