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