因为默认col是标签,所以设置一下col
students = pd.read_excel('C:/Temp/Students.xlsx', index_col='From')
counterclock=False,顺时针
startangle=-270,起点从12点开始
students['2017'].plot.pie(fontsize=8, counterclock=False, startangle=-270)
plt.title('Source of International Students', fontsize=16, fontweight='bold')
plt.ylabel('2017', fontsize=12, fontweight='bold')
plt.show()