Hello. I need to group data by name, count it and make a pie chart of the percentage share of place names from a given among all names.
Link to my excel file: https://drive.google.com/file/d/1gw5mcu3mJXH0Gg4Q-PnRrxDMFq-6VvDo/view?usp=sharing
import pandas as pd
import xlrd
import matplotlib.pyplot as plt
data = pd.read_excel("table.xlsx", sheet_name=0)
data.groupby('Woj.')['Nazwa miejscowości'].unique().plot(kind='bar')
plt.show()