pandas top 100 code example
Example 1: nlargest
>>> df.nlargest(3, 'population')
population GDP alpha-2
France 65000000 2583560 FR
Italy 59000000 1937894 IT
Malta 434000 12011 MT
Example 2: pandas show top 10 rows
df.head(10)