This issue is based on the admission rate data of Qingbei, 985 colleges and 211 colleges and universities in various regions across the country , uses python’s matplotlib library Draw the corresponding distribution map , I hope it will be helpful to everyone, If you have any questions or areas that need improvement, please contact the editor. ##1. Admission rate of 985 colleges and universities in various regions across the country##
df_985 = pd.read_excel('./985高校录取率.xlsx')
Copy after login
- # Tianjin ranked first with an acceptance rate of 5.81%.
- Shanghai and Beijing ranked second and third with admission rates of 5.33% and 4.29% respectively.
- There are 17 areas where the acceptance rate exceeds the average of 1.62%.
df_211 = pd.read_excel('./211高校录取率.xlsx')
Copy after login
df_qb = pd.read_excel('./清北录取率.xlsx')
Copy after login
- 北京以9.13%的录取率排名第一,远高于其他地区。
上海、、天津、辽宁、浙江分列第二至五位。
The above is the detailed content of Python College Entrance Examination | matplotlib plots the admission rates of Qingbei, 985 universities, and 211 universities in various regions across the country. For more information, please follow other related articles on the PHP Chinese website!