function to retrieve top 10 rows from a dataframe in python code example Example: pandas show top 10 rows df.head(10)