3
Ê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mZmZ ydd
lmZmZmZ W nB ek
rô Z z&eeƒjddƒZede› d�ƒ‚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/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZTmUZUmVZVmWZWmXZXmYZYmZZZ ddl[m\Z\ ddl]m^Z^ ddl_m`Z` ddlambZb ddlcmdZdmeZemfZfmgZgmhZhmiZimjZjmkZkmlZlmmZmmnZnmoZompZp ddlqZ"ddlrmsZs ddltmuZumvZvmwZwmxZxmyZymzZzm{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‰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š�rRd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_under1p14Ú_np_version_under1p15Ú_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�   ú1/tmp/pip-build-jkwsxyiy/pandas/pandas/__init__.pyr{   Ð   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‰   r{   Údtr„   Z_SparseArrayr�   r�   r‚   Ú__getattr__Ã   sH    
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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   sF   | j jdtdd� yt| j|ƒS  tk
r@   td|› �ƒ‚Y nX d S )NzuThe pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly insteadr|   )r}   zmodule numpy has no attribute )r‰   rŠ   r‹   Úgetattrr„   rŽ   )r“   Úitemr�   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   s<   | j ƒ  yt| j|ƒS  tk
r6   td|› �ƒ‚Y nX d S )Nz!module datetime has no attribute )Úemit_warningr•   rƒ   rŽ   )Úclsr–   r�   r�   r‚   r‘   3  s
    z__Datetime.__getattr__c             C   s   t || jƒS )N)Ú
isinstancerƒ   )r™   Úotherr�   r�   r‚   Ú__instancecheck__;  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__J  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œ   X  s    z__SparseArray.__instancecheck__N)r~   r   r€   r�   r‡   Úsarœ   r�   r�   r�   r‚   r¤   R  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˜   \  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¢   g  s    z__SparseArraySub.__new__N)r   )r~   r   r€   r˜   r¢   r�   r�   r�   r‚   r¦   [  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	   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/   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   rK   rL   r�   rM   Zpandas.tseries.apirN   Zpandas.tseriesrO   Zpandas.core.computation.apirP   Zpandas.core.reshape.apirQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   Z
pandas.apiZpandas.util._print_versionsr^   Zpandas.io.apir_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   Zpandas.io.jsonrv   Zjson_normalizeZpandas.util._testerrw   Zpandas.testingZpandas.arraysÚ_versionry   ÚvÚgetÚ__version__Z__git_version__ÚcompatZPY37r‘   r{   r†   r…   r’   r„   rŒ   r—   r�   rƒ   r¤   r¦   r‡   Ú__doc__r�   r�   r�   r‚   Ú<module>   sh   
* 	  
ä@<d 


I	*