def top_n_locations(data, feature='Confirmed', n=10):
    """Return list of top n locations wrt feature in descending order"""

    top_n = (data
             .groupby('Location')
             .agg('max')
             .sort_values(feature, ascending=False)
             .head(n)
             .index
             .values)
    return list(top_n)