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