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 Notebook from here.