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