ceo consultant engineer executive homemaker investor lawyer manager not provided owner physician president professor real estate retired self-employed it can be easier to look at this data graphically as bar plot ('barhmeans horizontal bar plotsee figure - )in [ ]over_ mm plot(kind='barh'figure - total donations by party for top occupations you might be interested in the top donor occupations or top companies donating to obama and romney to do thisyou can group by candidate name and use variant of the top method from earlier in the def get_top_amounts(groupkeyn= )totals group groupby(key)['contb_receipt_amt'sum(order totals by key in descending order return totals order(ascending=false)[- : data aggregation and group operations www it-ebooks info