
    -e	                        d Z ddlmZ ddlZ ej        e          ZddlmZ erddl	m
Z
 ddlmZ dZddZ e            ZdS )aU   Historical and projected population data by age, gender, and country.

License: `CC BY 3.0 IGO`_

Sourced from: https://population.un.org/wpp/Download/Standard/Population/

This module contains one pandas Dataframe: ``data``.

.. rubric:: ``data``

:bokeh-dataframe:`bokeh.sampledata.population.data`

.. bokeh-sampledata-xref:: population
    )annotationsN)TYPE_CHECKING)	DataFrame   )external_csv)datareturnr   c                     t          ddd          } | | j        dk             } |                     g dd          } |                     d	d
i          } | xj        dz  c_        | S )z

    
populationz+WPP2012_SA_DB03_POPULATION_QUINQUENNIAL.csvCP1250)encodingBoth)VarIDVariant	MidPeriodSexID
AgeGrpSpan   )axisTimeYear)columnsi  )r   SexdroprenameValue)dfs    ;lib/python3.11/site-packages/bokeh/sampledata/population.py
_read_datar   ?   su     
l$Q\d	e	e	eB	BFf	B	IIIPQ	R	RB	FF+	,	,BHHHHI    )r	   r   )__doc__
__future__r   logging	getLogger__name__logtypingr   pandasr   util.sampledatar   __all__r   r    r    r   <module>r,      s    $ # " " " " " g!! !           !       + * * * * * 	 	 	 	 z||r    