head command python code example
Example 1: python - head
df.head(10)
df.tail(10)
Example 2: getting head in pandas
# to show the first 5 coloums of the tabel
df.head()
df.head(10)
df.tail(10)
# to show the first 5 coloums of the tabel
df.head()