DataBrighten

    Secondary education, pupils (% female)

    5,907 × 6rows × columns: 209 countries, 1970 to 2019

    Real data: World Bank, World Development Indicators, indicator SE.SEC.ENRL.FE.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows5,907country-year values
    Countries209with at least one value
    Years1970 – 201950 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Female pupils as a percentage of total pupils at secondary level includes enrollments in public and private schools.

    Limits and exceptions (World Bank note)

    The percentage of female enrollment is limited in assessing gender parity, because it's affected by the gender composition of population. Ratio of female to male in enrollment rate provides a population adjusted measure of gender parity.

    The numbers in 2017

    In 2017, 138 countries have a value. The highest is Lesotho (57.38); the lowest is Afghanistan (35.03). The median country value is 48.92. The World Bank's World aggregate for 2018 is 47.96.

    Top 10 countries, 2017

    % female

    Source: World Bank, SE.SEC.ENRL.FE.ZS, retrieved 19 November 2026. Computed from secondary-education-pupils-percent-female.csv.

    Highest, 2017

    #CountryValue
    1Lesotho57.38
    2Sao Tome and Principe53.14
    3Rwanda53.1
    4Bangladesh52.8
    5Honduras52.46
    6Myanmar52.03
    7Cabo Verde52.03
    8British Virgin Islands51.8
    9Seychelles51.78
    10Senegal51.75

    Lowest, 2017

    #CountryValue
    1Afghanistan35.03
    2Central African Republic40.13
    3Niger41.92
    4Togo41.95
    5Cote d'Ivoire42.71
    6Pakistan42.84
    7Mali44.06
    8Liechtenstein44.81
    9Djibouti44.94
    10Australia45.78
    How many countries report, by decade
    DecadeMost countries in one year
    1970s127
    1980s115
    1990s146
    2000s152
    2010s154

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    201847.96
    201747.95
    201647.99
    201547.97
    201447.99
    201347.92
    201247.65
    201147.58
    201047.54
    200947.7
    200847.48
    200747.36

    By region, 2017

    World Bank regionValue
    Latin America & Caribbean 50.14
    North America48.83
    Europe & Central Asia48.35
    East Asia & Pacific47.9
    South Asia47.54
    Middle East, North Africa, Afghanistan & Pakistan47.17
    Sub-Saharan Africa 46.41

    First rows

    secondary-education-pupils-percent-female.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197013.12944
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197112.34737
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197211.32889
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197312.08799
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197411.83007
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197511.9969
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197612.77423
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income197714.2453

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberSecondary education, pupils (% female), exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2017?

    Lesotho, with 57.38.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2017)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2017)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2017
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2017);

    pandas (df = pd.read_csv("secondary-education-pupils-percent-female.csv"))

    y = df[df.year == 2017]
    y[y.value == y.value.max()][["country", "value"]]

    File: secondary-education-pupils-percent-female.csv

    How many countries report a value for 2017?

    138 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2017)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2017;

    pandas (df = pd.read_csv("secondary-education-pupils-percent-female.csv"))

    (df.year == 2017).sum()

    File: secondary-education-pupils-percent-female.csv

    What is the median across countries in 2017?

    48.92 (median of the 138 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2017))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2017 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2017) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2017));

    pandas (df = pd.read_csv("secondary-education-pupils-percent-female.csv"))

    df[df.year == 2017]["value"].median()

    File: secondary-education-pupils-percent-female.csv

    Which country rose the most between 2007 and 2017?

    Burundi: from 41.91 to 51.2, a rise of 9.29 (out of 117 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (secondary-education-pupils-percent-female-wide.csv): add a column = [2017] - [2007], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2007 AND b.year = 2017 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("secondary-education-pupils-percent-female.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2017] - w[2007]).dropna().nlargest(1)

    File: secondary-education-pupils-percent-female.csv

    Which year has the most countries reporting?

    2011, with 154 countries. (Later years are still filling in as countries report.)

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("secondary-education-pupils-percent-female.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: secondary-education-pupils-percent-female.csv