a
    na
                     @  sX   d Z ddlmZ ddlZeeZddlZddlm	Z	 ddl
mZ dZdd	 Ze ZdS )
z US airports with field elevations > 1500 meters.

Sourced from http://services.nationalmap.gov on October 15, 2015.

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

.. rubric:: ``data``

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

    )annotationsN   )import_required)external_path)datac                  C  s   t dd} ttddx}| }t|}ddgddgdd	gdd
gg}| j|d |d}|jddddd |jd	d
ddd W d   n1 s0    Y  |S )z

    ZpandaszOairports sample data requires Pandas (http://pandas.pydata.org) to be installedzairports.jsonrZ
attributesZnamZzv3ZgeometryxyZfeatures)metanameZ	elevation)zattributes.namzattributes.zv3T)columnsZinplace)z
geometry.xz
geometry.yN)r   openr   readjsonloadsZjson_normalizerename)ZpdfZcontentZairportsZschemar    r   8lib/python3.9/site-packages/bokeh/sampledata/airports.py
_read_data:   s    

2r   )__doc__Z
__future__r   ZloggingZ	getLogger__name__logr   Zutil.dependenciesr   Zutil.sampledatar   __all__r   r   r   r   r   r   <module>   s   
