america/argentina/mendoza finallylet' select the top overall time zones to do soi construct an indirect index array from the row counts in agg_countsuse to sort in ascending order in [ ]indexer agg_counts sum( argsort(in [ ]indexer[: out[ ]tz africa/cairo africa/casablanca africa/ceuta africa/johannesburg africa/lusaka america/anchorage america/argentina/buenos_aires america/argentina/cordoba america/argentina/mendoza then use take to select the rows in that orderthen slice off the last rowsin [ ]count_subset agg_counts take(indexer)[- :in [ ]count_subset out[ ] not windows tz america/sao_paulo europe/madrid pacific/honolulu asia/tokyo europe/london america/denver america/los_angeles america/chicago america/new_york windows thenas shown in the preceding code blockthis can be plotted in bar ploti'll make it stacked bar plot by passing stacked=true (see figure - in [ ]count_subset plot(kind='barh'stacked=truethe plot doesn' make it easy to see the relative percentage of windows users in the smaller groupsbut the rows can easily be normalized to sum to then plotted again (see figure - )in [ ]normed_subset count_subset div(count_subset sum( )axis= in [ ]normed_subset plot(kind='barh'stacked=true usa gov data from bit ly www it-ebooks info