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).