3
®yb�)  ã               @   sÞ  d Z d3Zg ZxPeD ]HZyeeƒ W q ek
rX Z zeje› de› �ƒ W Y ddZ[X qX qW erteddjeƒ ƒ‚[[[dd	l	m
Z
mZmZmZ ydd
lmZmZmZ W nD ek
rî Z z(eeƒjddƒZede› d�ƒe‚W Y ddZ[X nX ddlmZmZmZmZmZmZ ddlZ ddl!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZTmUZUmVZVmWZWmXZX ddlYmZZZ ddl[m\Z\ ddl]m^Z^ ddl_m`Z` ddlambZbmcZcmdZdmeZemfZfmgZgmhZhmiZimjZjmkZkmlZlmmZmmnZn ddloZ ddlpmqZq ddlrmsZsmtZtmuZumvZvmwZwmxZxmyZymzZzm{Z{m|Z|m}Z}m~Z~mZm€Z€m�Z�m‚Z‚mƒZƒm„Z„m…Z…m†Z†m‡Z‡mˆZˆm‰Z‰ ddlŠm‹ZŒ ddl�mŽZŽ ddl�Z ddl�Z ddl‘m’Z’ e’ƒ Z“e“j”de“d ƒZ•e“j”dƒZ–[’[“e j—j˜�rLdd „ Z™nŠG d!d"„ d"ƒZšG d#d$„ d$ƒZ›G d%d&„ d&ƒZœG d'd(„ d(ƒZ�e�ƒ ZžG d)d*„ d*eŸƒZ G d+d,„ d,e d-�Z¡e¡Z¢G d.d/„ d/eŸƒZ£G d0d1„ d1e£d-�Z¤e¤Z¥d2Z¦dS )4ZrestructuredtextÚnumpyÚpytzÚdateutilz: Nz(Unable to import required dependencies:
Ú
é    )Ú_np_version_under1p16Ú_np_version_under1p17Ú_np_version_under1p18Ú_is_numpy_dev)Ú	hashtableÚlibÚtslibzcannot import name Ú zC extension: z¦ not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.)Ú
get_optionÚ
set_optionÚreset_optionÚdescribe_optionÚoption_contextÚoptions)7Ú	Int8DtypeÚ
Int16DtypeÚ
Int32DtypeÚ
Int64DtypeÚ
UInt8DtypeÚUInt16DtypeÚUInt32DtypeÚUInt64DtypeÚCategoricalDtypeÚPeriodDtypeÚIntervalDtypeÚDatetimeTZDtypeÚStringDtypeÚBooleanDtypeÚNAÚisnaÚisnullÚnotnaÚnotnullÚIndexÚCategoricalIndexÚ
Int64IndexÚUInt64IndexÚ
RangeIndexÚFloat64IndexÚ
MultiIndexÚIntervalIndexÚTimedeltaIndexÚDatetimeIndexÚPeriodIndexÚ
IndexSliceÚNaTÚPeriodÚperiod_rangeÚ	TimedeltaÚtimedelta_rangeÚ	TimestampÚ
date_rangeÚbdate_rangeÚIntervalÚinterval_rangeÚ
DateOffsetÚ
to_numericÚto_datetimeÚto_timedeltaÚGrouperÚ	factorizeÚuniqueÚvalue_countsÚNamedAggÚarrayÚCategoricalÚset_eng_float_formatÚSeriesÚ	DataFrame)ÚSparseDtype)Ú
infer_freq)Úoffsets)Úeval)ÚconcatÚlreshapeÚmeltÚwide_to_longÚmergeÚ
merge_asofÚmerge_orderedÚcrosstabÚpivotÚpivot_tableÚget_dummiesÚcutÚqcut)Úshow_versions)Ú	ExcelFileÚExcelWriterÚ
read_excelÚread_csvÚread_fwfÚ
read_tableÚread_pickleÚ	to_pickleÚHDFStoreÚread_hdfÚread_sqlÚread_sql_queryÚread_sql_tableÚread_clipboardÚread_parquetÚread_orcÚread_featherÚread_gbqÚ	read_htmlÚ	read_jsonÚ
read_stataÚread_sasÚ	read_spss)Ú_json_normalize)Útesté   )Úget_versionszclosest-tagÚversionzfull-revisionidc             C   sæ   dd l }| dkr2|jdtdd� G dd„ dƒ}|S | dkrZ|jdtdd� dd	lm} |S | d
kr~|jdtdd� dd l}|S | dkrª|jd| › d�tdd� t| f i ƒS | dkrÒ|jdtdd� ddlm} |S td| › d�ƒ‚d S )Nr   ÚPanelzzThe Panel class is removed from pandas. Accessing it from the top-level namespace will also be removed in the next versioné   )Ú
stacklevelc               @   s   e Zd ZdS )z__getattr__.<locals>.PanelN)Ú__name__Ú
__module__Ú__qualname__© r   r   ú3/tmp/pip-install-4cy230dp/pandas/pandas/__init__.pyry   Ì   s   Údatetimez�The pandas.datetime class is deprecated and will be removed from pandas in a future version. Import from datetime module instead.)r�   ÚnpzuThe pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly insteadÚSparseSeriesÚSparseDataFramezThe zq class is removed from pandas. Accessing it from the top-level namespace will also be removed in the next versionÚSparseArrayz†The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.)r…   z"module 'pandas' has no attribute 'ú'>   rƒ   r„   )	ÚwarningsÚwarnÚFutureWarningr�   r   ÚtypeÚpandas.core.arrays.sparser…   ÚAttributeError)Únamer‡   ry   Údtr‚   Z_SparseArrayr   r   r€   Ú__getattr__À   sH    
r�   c               @   s   e Zd ZdS )ry   N)r|   r}   r~   r   r   r   r€   ry     s   ry   c               @   s   e Zd ZdS )r„   N)r|   r}   r~   r   r   r   r€   r„   
  s   r„   c               @   s   e Zd ZdS )rƒ   N)r|   r}   r~   r   r   r   r€   rƒ     s   rƒ   c               @   s   e Zd Zdd„ Zdd„ ZdS )Ú__numpyc             C   s    dd l }dd l}|| _|| _d S )Nr   )r   r‡   r‚   )Úselfr‚   r‡   r   r   r€   Ú__init__  s    z__numpy.__init__c             C   sV   | j jdtdd� yt| j|ƒS  tk
rP } ztd|› �ƒ|‚W Y d d }~X nX d S )NzuThe pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly insteadrz   )r{   zmodule numpy has no attribute )r‡   rˆ   r‰   Úgetattrr‚   rŒ   )r‘   ÚitemÚerrr   r   r€   r�     s    z__numpy.__getattr__N)r|   r}   r~   r’   r�   r   r   r   r€   r�     s   r�   c               @   s,   e Zd ZddlmZ eZdd„ Zdd„ ZdS )Ú
__Datetimer   )r�   c             C   sL   | j ƒ  yt| j|ƒS  tk
rF } ztd|› �ƒ|‚W Y d d }~X nX d S )Nz!module datetime has no attribute )Úemit_warningr“   r�   rŒ   )Úclsr”   r•   r   r   r€   r�   .  s    
z__Datetime.__getattr__c             C   s   t || jƒS )N)Ú
isinstancer�   )r˜   Úotherr   r   r€   Ú__instancecheck__8  s    z__Datetime.__instancecheck__N)r|   r}   r~   r�   rŽ   r�   r›   r   r   r   r€   r–   (  s   
r–   c               @   s   e Zd Zddd„Zdd„ ZdS )Ú__DatetimeSubr   c             C   s   dd l }|jdtdd� d S )Nr   zzThe pandas.datetime class is deprecated and will be removed from pandas in a future version. Import from datetime instead.é   )r{   )r‡   rˆ   r‰   )Údummyr‡   r   r   r€   r—   <  s
    z__DatetimeSub.emit_warningc             O   s   | j ƒ  ddlm} |||ŽS )Nr   )r�   )r—   r�   )r˜   ÚargsÚkwargsrŽ   r   r   r€   Ú__new__G  s    z__DatetimeSub.__new__N)r   )r|   r}   r~   r—   r¡   r   r   r   r€   rœ   ;  s   
rœ   )Ú	metaclassc               @   s$   e Zd ZddlmZ eZdd„ ZdS )Ú__SparseArrayr   )r…   c             C   s   t || jƒS )N)r™   r…   )r˜   rš   r   r   r€   r›   U  s    z__SparseArray.__instancecheck__N)r|   r}   r~   r‹   r…   Úsar›   r   r   r   r€   r£   O  s   r£   c               @   s   e Zd Zddd„Zdd„ ZdS )Ú__SparseArraySubr   c             C   s   dd l }|jdtdd� d S )Nr   z†The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.r�   )r{   )r‡   rˆ   r‰   )rž   r‡   r   r   r€   r—   Y  s
    z__SparseArraySub.emit_warningc             O   s   | j ƒ  ddlm} |||ŽS )Nr   )r…   )r—   r‹   r…   )r˜   rŸ   r    r¤   r   r   r€   r¡   d  s    z__SparseArraySub.__new__N)r   )r|   r}   r~   r—   r¡   r   r   r   r€   r¥   X  s   
r¥   aã  
pandas - a powerful data analysis and manipulation library for Python
=====================================================================

**pandas** is a Python package providing fast, flexible, and expressive data
structures designed to make working with "relational" or "labeled" data both
easy and intuitive. It aims to be the fundamental high-level building block for
doing practical, **real world** data analysis in Python. Additionally, it has
the broader goal of becoming **the most powerful and flexible open source data
analysis / manipulation tool available in any language**. It is already well on
its way toward this goal.

Main Features
-------------
Here are just a few of the things that pandas does well:

  - Easy handling of missing data in floating point as well as non-floating
    point data.
  - Size mutability: columns can be inserted and deleted from DataFrame and
    higher dimensional objects
  - Automatic and explicit data alignment: objects can be explicitly aligned
    to a set of labels, or the user can simply ignore the labels and let
    `Series`, `DataFrame`, etc. automatically align the data for you in
    computations.
  - Powerful, flexible group by functionality to perform split-apply-combine
    operations on data sets, for both aggregating and transforming data.
  - Make it easy to convert ragged, differently-indexed data in other Python
    and NumPy data structures into DataFrame objects.
  - Intelligent label-based slicing, fancy indexing, and subsetting of large
    data sets.
  - Intuitive merging and joining data sets.
  - Flexible reshaping and pivoting of data sets.
  - Hierarchical labeling of axes (possible to have multiple labels per tick).
  - Robust IO tools for loading data from flat files (CSV and delimited),
    Excel files, databases, and saving/loading data from the ultrafast HDF5
    format.
  - Time series-specific functionality: date range generation and frequency
    conversion, moving window statistics, date shifting and lagging.
)r   r   r   )§Z__docformat__Zhard_dependenciesZmissing_dependenciesÚ
dependencyÚ
__import__ÚImportErrorÚeÚappendÚjoinZpandas.compat.numpyr   r   r   r	   Zpandas._libsr
   Z
_hashtabler   Z_libr   Z_tslibÚstrÚreplaceÚmoduleZpandas._configr   r   r   r   r   r   Zpandas.core.config_initZpandasZpandas.core.apir   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r‹   rK   Zpandas.tseries.apirL   Zpandas.tseriesrM   Zpandas.core.computation.apirN   Zpandas.core.reshape.apirO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   Z
pandas.apiZpandas.util._print_versionsr\   Zpandas.io.apir]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   Zpandas.io.jsonrt   Zjson_normalizeZpandas.util._testerru   Zpandas.testingZpandas.arraysÚ_versionrw   ÚvÚgetÚ__version__Z__git_version__ÚcompatZPY37r�   ry   r„   rƒ   r�   r‚   rŠ   r–   rœ   r�   r£   r¥   r…   Ú__doc__r   r   r   r€   Ú<module>   sj   
* 
ä@<d 


G	*