Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2019 08:14 AM
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)