print the first ten rows of a dataframe in pandas code example Example: pandas show top 10 rows df.head(10)