Examples
import numpy as np
import pandas as pd
df = pd.DataFrame({'animal':['snake', 'bat', 'tiger', 'lion',
'fox', 'eagle', 'shark', 'dog', 'deer']})
df
Viewing the first 5 lines
df.head()
Display the first n lines (three in this case):
df.head(3)