a
    na	                     @  sP   d Z ddlmZ ddlZeeZddlZddlm	Z	m
Z
 dZdd Ze ZdS )	a@   Per-county unemployment data for Unites States in 2009.

This module contains one dict: ``data``.


The dict is indexed by the two-tuples containing ``(state_id, county_id)`` and
has the unemployment rate (2009) as the value.

.. code-block:: ipython

    {
        (1, 1): 9.7,
        (1, 3): 9.1,
        ...
    }

    )annotationsN   )external_pathopen_csv)datac            	      C  s|   i } t tdX}tj|ddd}|D ]2}|\	}}}}}}}}}t|| t|t|f< q&W d   n1 sn0    Y  | S )z

    zunemployment09.csv,")Z	delimiterZ	quotecharN)r   r   csvreaderfloatint)	r   fr
   rowZdummyZstate_idZ	county_idZdummZrate r   <lib/python3.9/site-packages/bokeh/sampledata/unemployment.py
_read_data>   s    8r   )__doc__Z
__future__r   ZloggingZ	getLogger__name__logr	   Zutil.sampledatar   r   __all__r   r   r   r   r   r   <module>   s   
