Tips=pd. Read_csv (' examples/tips. CSV)
Party_counts=pd. Crosstab (tips tips [' day '], [' size '])
Party_counts
1 - and 6 - # Not many person parties
Party_counts=party_counts. Loc [: 2:5]
Party_pcts=party_counts. Div (party_counts. Sum (1), the axis=0)
Party_pcts
Party_pcts. Plot. The bar ()
After the operation, part diagrams show only a small part of