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