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