U
    Ãmœd_  ã                   @   sH   d Z ddlmZ dZdZe ZdZdZdZ	dZ
d	d
„ Zdd„ Zdd„ ZdS )zU.S. Strike Duration Dataé    )ÚutilsÚrestructuredtextzThis is public domain.zó
This is a subset of the data used in Kennan (1985). It was originally
published by the Bureau of Labor Statistics.

::

    Kennan, J. 1985. "The duration of contract strikes in US manufacturing.
        `Journal of Econometrics` 28.1, 5-28.
zcContains data on the length of strikes in US manufacturing and
unanticipated industrial production.zëContains data on the length of strikes in US manufacturing and
unanticipated industrial production. The data is a subset of the data originally
used by Kennan. The data here is data for the months of June only to avoid
seasonal issues.zÙ::

    Number of observations - 62

    Number of variables - 2

    Variable name definitions::

                duration - duration of the strike in days
                iprod - unanticipated industrial production
c                  C   s   t ƒ } tj| dd�S )ú 
    Load the strikes data and return a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    r   )Z	endog_idx)Ú	_get_dataÚduZprocess_pandas)Údata© r   úZ/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/statsmodels/datasets/strikes/data.pyÚload_pandas)   s    	r
   c                   C   s   t ƒ S )r   )r
   r   r   r   r	   Úload6   s    	r   c                   C   s   t  td¡ t¡S )Nzstrikes.csv)r   Zload_csvÚ__file__ZastypeÚfloatr   r   r   r	   r   B   s    r   N)Ú__doc__Zstatsmodels.datasetsr   r   Ú__docformat__Z	COPYRIGHTZTITLEZSOURCEZ
DESCRSHORTZ	DESCRLONGÚNOTEr
   r   r   r   r   r   r	   Ú<module>   s   
