display the head of the dataframe code example Example: getting head in pandas # to show the first 5 coloums of the tabel df.head()