lee
Databricks Employee
Databricks Employee

Please take a look at the documentation. df.head() will show the first 1 row by default, but you can add an integer as a parameter to show additional: https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.DataFrame.head

Please look at other display methods such as df.show() or the custom databricks method display(df)