find out top 10 from dataframe in python code example Example: only get top 10 python dataframe df[df['Ticket'] == 1].sort_values('Age')['Names'].head(10)