def cat_summary(data, category):
    subset = data[(data['Major_category'] == category)]
    total = subset['Total'].sum()
    return total
def cat_summary(data, category):
    subset = data[(data['Major_category'] == category)]
    total = subset['Total'].sum()
    return total