headReturns DataFrame containing first n (default 5) rows. df.head(3) Similar to take. Last modified: 27 September 2024 columnTypes schema