
    -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ddZ e            ZdS )a$   A version of the Auto MPG data set.

License: `CC0`_

Sourced from https://archive.ics.uci.edu/ml/datasets/auto+mpg

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

.. rubric:: ``autompg2``

:bokeh-dataframe:`bokeh.sampledata.autompg2.autompg2`

.. bokeh-sampledata-xref:: autompg2
    )annotationsN)TYPE_CHECKING)	DataFrame   )package_csv)autompg2stringstrreturnc                f    d                     d |                     d          D                       S )

     c              3  >   K   | ]}|                                 V  d S )N)
capitalize).0words     9lib/python3.11/site-packages/bokeh/sampledata/autompg2.py	<genexpr>z$_capitalize_words.<locals>.<genexpr>C   s,      DD$DOO%%DDDDDD    )joinsplit)r	   s    r   _capitalize_wordsr   ?   s1     88DD&,,s2C2CDDDDDDr   r   c                    t          dd                                          } | d                             t                    | d<   | d                             t                    | d<   | d                             dddd	          | d<   | S )
r   r   zauto-mpg2.csvmanufacturermodeldrvfrontrear4x4)fr4)r   copymapr   replace)dfs    r   
_read_datar'   E   s     
Z	1	1	6	6	8	8BN+//0ABBB~W+//"344BwK5	!!f5"I"IJJBuIIr   )r	   r
   r   r
   )r   r   )__doc__
__future__r   logging	getLogger__name__logtypingr   pandasr   util.sampledatar   __all__r   r'   r    r   r   <module>r3      s    $ # " " " " " g!! !           !       * ) ) ) ) ) E E E E    :<<r   