w3resource

Pandas: Head and Tail

Head and Tail

To view a small sample of a Series or DataFrame object, use the head() and tail() methods. The default number of elements to display is five, but you may pass a custom number.

Complete list of Head and Tail with examples:


Download the Pandas DataFrame Notebooks from here.



Follow us on Facebook and Twitter for latest update.