code: def _read_data() -> DataFrame:
      """ """
      df = external_csv(
          "population",
          "WPP2012_SA_DB03_POPULATION_QUINQUENNIAL.csv",
          encoding="CP1250",
      )
      df = df[df.Sex != "Both"]
      df = df.drop(
          ["VarID", "Variant", "MidPeriod", "SexID", "AgeGrpSpan"],
          axis=1,
      )
      df = df.rename(columns={"Time": "Year"})
      df.Value *= 1000
      return df
  
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING
  from ..util.sampledata import external_csv
label_desc: Use image node_id 1 for calling a global function with example usage: _read_data() and returns: df