Python College Entrance Examination | Distribution of the number of people in the science subjects of the Sichuan College Entrance Examination in 2023

Release: 2023-08-09 15:47:31
forward
673 people have browsed it

##This issue is based on the 2023 Sichuan Province issued by the Sichuan Provincial Education Examination Authority The distribution of the number of people in the science subjects of the college entrance examination table looks at the distribution of undergraduate batches , I hope it will be helpful to everyone, If you have any questions or need If you want to improve, please contact the editor.

Data source: Sichuan Provincial Education Examination Authority


##1. Distribution of people in one section

def get_data_pic():
    L1 = (
    Line()
    .add_xaxis(df['分数'].tolist()[::-1])
    .add_yaxis(
        "",
        df['人数'].tolist()[::-1],
        symbol_size=0.5,
    )
    .add_yaxis(
        "",
        data_t,
        symbol_size=0.5,
    )
    .add_yaxis(
        "",
        data_t2,
        symbol_size=0.5,
    )
    .set_series_opts(
        label_opts=opts.LabelOpts(is_show=False)
    )
    .set_global_opts(
        legend_opts=opts.LegendOpts(is_show=False),
        title_opts=opts.TitleOpts(
            title='2023年四川省高考理科一分一段人数分布',
            pos_top='1%',
            pos_left="1%",
            title_textstyle_opts=opts.TextStyleOpts(color='#fff200',font_size=20)
        ),
        yaxis_opts=opts.AxisOpts(
            axislabel_opts=opts.LabelOpts(font_size=12, color=colors[3]),
            axisline_opts=opts.AxisLineOpts(
                is_show=False,
                linestyle_opts=opts.LineStyleOpts(width=2, color=colors[3])
            ),
        ) 
    )
)
Copy after login
Python College Entrance Examination | Distribution of the number of people in the science subjects of the Sichuan College Entrance Examination in 2023

Have a college entrance examination A total of 295512 people

Undergraduate batch score line: 520 points, 520 points or aboveTotal84257people
The score line for the second batch of undergraduate courses: 433 Points, a total of 189872 for those with 433 points or above


2. 本科批次占比

def get_pie_pic():
    pie = (
        Pie()
        .add(
            "", 
            [list(z) for z in zip(lables, datas)],
            radius=["40%", "70%"],
            center=["50%", "50%"],
            label_opts=opts.LabelOpts(formatter="{b}: \n{d}%",font_size=18), 
        )
        .set_global_opts(
            title_opts=opts.TitleOpts(
                title=f'2023年四川省高考理科各批次人数分布',
                pos_top='39%',
                pos_left="center",
            ),
            legend_opts=opts.LegendOpts(
                is_show=False,
                textstyle_opts=opts.TextStyleOpts(font_size=14),
                pos_top='6%',
            ), 
        )
    )
Copy after login
Python College Entrance Examination | Distribution of the number of people in the science subjects of the Sichuan College Entrance Examination in 2023
本科一批过线人数占比:28.51%

本科二批过线人数占比:28.51%+35.74%=64.25%

二批以下人数占比:35.75%

The above is the detailed content of Python College Entrance Examination | Distribution of the number of people in the science subjects of the Sichuan College Entrance Examination in 2023. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:Python当打之年
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!