
    M/Phv                     R    d Z ddlZddlmZ dZdZdZdZ	dZ
e
d	z   Zd
Zd Zd Zd ZdS )zNile River Flows.    N)utilsrestructuredtextzThis is public domain.z$Nile River flows at Ashwan 1871-1970z
This data is first analyzed in:

    Cobb, G. W. 1978. "The Problem of the Nile: Conditional Solution to a
        Changepoint Problem." *Biometrika*. 65.2, 243-51.
zuThis dataset contains measurements on the annual flow of
the Nile as measured at Ashwan for 100 years from 1871-1970.z, There is an apparent changepoint near 1898.z::

    Number of observations: 100
    Number of variables: 2
    Variable name definitions:

        year - the year of the observations
        volumne - the discharge at Aswan in 10^8, m^3
c                      t                      S )z
    Load the Nile data and return a Dataset class instance.

    Returns
    -------
    Dataset
        See DATASET_PROPOSAL.txt for more information.
    )load_pandas     ^/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/statsmodels/datasets/nile/data.pyloadr
   "   s     ==r   c                      t                      } t          j        | d         | d                             t                              }t          j        | t          | j                  |d          }|S )Nvolumeyear)index)datanamesendog
endog_name)		_get_datapdSeriesastypeintduDatasetlistcolumns)r   r   datasets      r	   r   r   .   s]    ;;DId8nDL,?,?,D,DEEEEjd$t|*<*<EV^___GNr   c                  f    t          j        t          d                              t                    S )Nznile.csv)r   load_csv__file__r   floatr   r   r	   r   r   6   s"    ;x,,33E:::r   )__doc__pandasr   statsmodels.datasetsr   r   __docformat__	COPYRIGHTTITLESOURCE
DESCRSHORT	DESCRLONGNOTEr
   r   r   r   r   r	   <module>r+      s          , , , , , ,"*	8@
 II		 	 	  ; ; ; ; ;r   