├── .binstar.yml ├── .gitattributes ├── .github ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .pep8speaks.yml ├── .travis.yml ├── AUTHORS.md ├── LICENSE ├── LICENSES ├── DATEUTIL_LICENSE ├── MSGPACK_LICENSE ├── MSGPACK_NUMPY_LICENSE ├── MUSL_LICENSE ├── NUMPY_LICENSE ├── OTHER ├── PSF_LICENSE ├── SAS7BDAT_LICENSE ├── SCIPY_LICENSE ├── SIX ├── ULTRAJSON_LICENSE └── XARRAY_LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── RELEASE.md ├── asv_bench ├── asv.conf.json └── benchmarks │ ├── __init__.py │ ├── algorithms.py │ ├── attrs_caching.py │ ├── binary_ops.py │ ├── categoricals.py │ ├── ctors.py │ ├── dtypes.py │ ├── eval.py │ ├── frame_ctor.py │ ├── frame_methods.py │ ├── gil.py │ ├── groupby.py │ ├── index_object.py │ ├── indexing.py │ ├── indexing_engines.py │ ├── inference.py │ ├── io │ ├── __init__.py │ ├── csv.py │ ├── excel.py │ ├── hdf.py │ ├── json.py │ ├── msgpack.py │ ├── pickle.py │ ├── sas.py │ ├── sql.py │ └── stata.py │ ├── join_merge.py │ ├── multiindex_object.py │ ├── offset.py │ ├── pandas_vb_common.py │ ├── panel_ctor.py │ ├── panel_methods.py │ ├── period.py │ ├── plotting.py │ ├── reindex.py │ ├── replace.py │ ├── reshape.py │ ├── rolling.py │ ├── series_methods.py │ ├── sparse.py │ ├── stat_ops.py │ ├── strings.py │ ├── timedelta.py │ ├── timeseries.py │ └── timestamp.py ├── azure-pipelines.yml ├── ci ├── azure │ ├── posix.yml │ └── windows.yml ├── before_script_travis.sh ├── build_docs.sh ├── check_cache.sh ├── code_checks.sh ├── deps │ ├── azure-27-compat.yaml │ ├── azure-27-locale.yaml │ ├── azure-36-locale_slow.yaml │ ├── azure-37-locale.yaml │ ├── azure-37-numpydev.yaml │ ├── azure-macos-35.yaml │ ├── azure-windows-27.yaml │ ├── azure-windows-36.yaml │ ├── travis-27.yaml │ ├── travis-36-doc.yaml │ ├── travis-36-locale.yaml │ ├── travis-36-slow.yaml │ ├── travis-36.yaml │ └── travis-37.yaml ├── incremental │ ├── build.cmd │ ├── build.sh │ ├── install_miniconda.sh │ ├── setup_conda_environment.cmd │ └── setup_conda_environment.sh ├── install_db_travis.sh ├── install_travis.sh ├── prep_cython_cache.sh ├── print_skipped.py ├── run_tests.sh ├── run_with_env.cmd ├── submit_cython_cache.sh ├── travis_encrypt_gbq.sh ├── travis_gbq.json.enc ├── travis_gbq_config.txt └── travis_process_gbq_encryption.sh ├── codecov.yml ├── conda.recipe ├── bld.bat ├── build.sh └── meta.yaml ├── doc ├── README.rst ├── _templates │ ├── api_redirect.html │ └── autosummary │ │ ├── accessor.rst │ │ ├── accessor_attribute.rst │ │ ├── accessor_callable.rst │ │ ├── accessor_method.rst │ │ ├── class.rst │ │ └── class_without_autosummary.rst ├── cheatsheet │ ├── Pandas_Cheat_Sheet.pdf │ ├── Pandas_Cheat_Sheet.pptx │ ├── Pandas_Cheat_Sheet_JA.pdf │ ├── Pandas_Cheat_Sheet_JA.pptx │ └── README.txt ├── data │ ├── baseball.csv │ ├── fx_prices │ ├── iris.data │ ├── mindex_ex.csv │ ├── test.xls │ └── tips.csv ├── logo │ ├── pandas_logo.png │ ├── pandas_logo.py │ └── pandas_logo.svg ├── make.py ├── redirects.csv ├── source │ ├── _static │ │ ├── banklist.html │ │ ├── ci.png │ │ ├── df_repr_truncated.png │ │ ├── eval-perf-small.png │ │ ├── eval-perf.png │ │ ├── favicon.ico │ │ ├── legacy_0.10.h5 │ │ ├── new-excel-index.png │ │ ├── old-excel-index.png │ │ ├── option_unicode01.png │ │ ├── option_unicode02.png │ │ ├── option_unicode03.png │ │ ├── option_unicode04.png │ │ ├── print_df_new.png │ │ ├── print_df_old.png │ │ ├── query-perf-small.png │ │ ├── query-perf.png │ │ ├── reshaping_melt.png │ │ ├── reshaping_pivot.png │ │ ├── reshaping_stack.png │ │ ├── reshaping_unstack.png │ │ ├── reshaping_unstack_0.png │ │ ├── reshaping_unstack_1.png │ │ ├── stub │ │ ├── style-excel.png │ │ ├── trunc_after.png │ │ ├── trunc_before.png │ │ ├── whatsnew_assign.png │ │ └── whatsnew_plot_submethods.png │ ├── conf.py │ ├── development │ │ ├── contributing.rst │ │ ├── contributing_docstring.rst │ │ ├── developer.rst │ │ ├── extending.rst │ │ ├── index.rst │ │ └── internals.rst │ ├── ecosystem.rst │ ├── getting_started │ │ ├── 10min.rst │ │ ├── basics.rst │ │ ├── comparison │ │ │ ├── comparison_with_r.rst │ │ │ ├── comparison_with_sas.rst │ │ │ ├── comparison_with_sql.rst │ │ │ ├── comparison_with_stata.rst │ │ │ └── index.rst │ │ ├── dsintro.rst │ │ ├── index.rst │ │ ├── overview.rst │ │ └── tutorials.rst │ ├── index.rst.template │ ├── install.rst │ ├── reference │ │ ├── arrays.rst │ │ ├── extensions.rst │ │ ├── frame.rst │ │ ├── general_functions.rst │ │ ├── general_utility_functions.rst │ │ ├── groupby.rst │ │ ├── index.rst │ │ ├── indexing.rst │ │ ├── io.rst │ │ ├── offset_frequency.rst │ │ ├── panel.rst │ │ ├── plotting.rst │ │ ├── resampling.rst │ │ ├── series.rst │ │ ├── style.rst │ │ └── window.rst │ ├── styled.xlsx │ ├── themes │ │ └── nature_with_gtoc │ │ │ ├── layout.html │ │ │ ├── static │ │ │ └── nature.css_t │ │ │ └── theme.conf │ ├── user_guide │ │ ├── advanced.rst │ │ ├── categorical.rst │ │ ├── computation.rst │ │ ├── cookbook.rst │ │ ├── enhancingperf.rst │ │ ├── gotchas.rst │ │ ├── groupby.rst │ │ ├── index.rst │ │ ├── indexing.rst │ │ ├── integer_na.rst │ │ ├── io.rst │ │ ├── merging.rst │ │ ├── missing_data.rst │ │ ├── options.rst │ │ ├── reshaping.rst │ │ ├── sparse.rst │ │ ├── style.ipynb │ │ ├── templates │ │ │ ├── myhtml.tpl │ │ │ └── template_structure.html │ │ ├── text.rst │ │ ├── timedeltas.rst │ │ ├── timeseries.rst │ │ └── visualization.rst │ └── whatsnew │ │ ├── index.rst │ │ ├── v0.10.0.rst │ │ ├── v0.10.1.rst │ │ ├── v0.11.0.rst │ │ ├── v0.12.0.rst │ │ ├── v0.13.0.rst │ │ ├── v0.13.1.rst │ │ ├── v0.14.0.rst │ │ ├── v0.14.1.rst │ │ ├── v0.15.0.rst │ │ ├── v0.15.1.rst │ │ ├── v0.15.2.rst │ │ ├── v0.16.0.rst │ │ ├── v0.16.1.rst │ │ ├── v0.16.2.rst │ │ ├── v0.17.0.rst │ │ ├── v0.17.1.rst │ │ ├── v0.18.0.rst │ │ ├── v0.18.1.rst │ │ ├── v0.19.0.rst │ │ ├── v0.19.1.rst │ │ ├── v0.19.2.rst │ │ ├── v0.20.0.rst │ │ ├── v0.20.2.rst │ │ ├── v0.20.3.rst │ │ ├── v0.21.0.rst │ │ ├── v0.21.1.rst │ │ ├── v0.22.0.rst │ │ ├── v0.23.0.rst │ │ ├── v0.23.1.rst │ │ ├── v0.23.2.rst │ │ ├── v0.23.3.rst │ │ ├── v0.23.4.rst │ │ ├── v0.24.0.rst │ │ ├── v0.24.1.rst │ │ ├── v0.24.2.rst │ │ ├── v0.25.0.rst │ │ ├── v0.4.x.rst │ │ ├── v0.5.0.rst │ │ ├── v0.6.0.rst │ │ ├── v0.6.1.rst │ │ ├── v0.7.0.rst │ │ ├── v0.7.1.rst │ │ ├── v0.7.2.rst │ │ ├── v0.7.3.rst │ │ ├── v0.8.0.rst │ │ ├── v0.8.1.rst │ │ ├── v0.9.0.rst │ │ ├── v0.9.1.rst │ │ └── whatsnew_0171_html_table.html └── sphinxext │ ├── README.rst │ ├── announce.py │ └── contributors.py ├── environment.yml ├── pandas ├── __init__.py ├── _libs │ ├── __init__.py │ ├── algos.pxd │ ├── algos.pyx │ ├── algos_common_helper.pxi.in │ ├── algos_rank_helper.pxi.in │ ├── algos_take_helper.pxi.in │ ├── groupby.pxd │ ├── groupby.pyx │ ├── groupby_helper.pxi.in │ ├── hashing.pyx │ ├── hashtable.pxd │ ├── hashtable.pyx │ ├── hashtable_class_helper.pxi.in │ ├── hashtable_func_helper.pxi.in │ ├── index.pyx │ ├── index_class_helper.pxi.in │ ├── indexing.pyx │ ├── internals.pyx │ ├── interval.pyx │ ├── intervaltree.pxi.in │ ├── join.pyx │ ├── khash.pxd │ ├── lib.pyx │ ├── missing.pxd │ ├── missing.pyx │ ├── ops.pyx │ ├── parsers.pyx │ ├── properties.pyx │ ├── reduction.pyx │ ├── reshape.pyx │ ├── skiplist.pxd │ ├── skiplist.pyx │ ├── sparse.pyx │ ├── sparse_op_helper.pxi.in │ ├── src │ │ ├── compat_helper.h │ │ ├── headers │ │ │ ├── cmath │ │ │ ├── ms_inttypes.h │ │ │ ├── ms_stdint.h │ │ │ ├── portable.h │ │ │ └── stdint.h │ │ ├── inline_helper.h │ │ ├── klib │ │ │ ├── khash.h │ │ │ └── khash_python.h │ │ ├── msgpack │ │ │ ├── pack.h │ │ │ ├── pack_template.h │ │ │ ├── sysdep.h │ │ │ ├── unpack.h │ │ │ ├── unpack_define.h │ │ │ └── unpack_template.h │ │ ├── parse_helper.h │ │ ├── parser │ │ │ ├── io.c │ │ │ ├── io.h │ │ │ ├── tokenizer.c │ │ │ └── tokenizer.h │ │ ├── skiplist.h │ │ └── ujson │ │ │ ├── lib │ │ │ ├── ultrajson.h │ │ │ ├── ultrajsondec.c │ │ │ └── ultrajsonenc.c │ │ │ └── python │ │ │ ├── JSONtoObj.c │ │ │ ├── objToJSON.c │ │ │ ├── py_defines.h │ │ │ ├── ujson.c │ │ │ └── version.h │ ├── testing.pyx │ ├── tslib.pyx │ ├── tslibs │ │ ├── __init__.py │ │ ├── ccalendar.pxd │ │ ├── ccalendar.pyx │ │ ├── conversion.pxd │ │ ├── conversion.pyx │ │ ├── fields.pyx │ │ ├── frequencies.pxd │ │ ├── frequencies.pyx │ │ ├── nattype.pxd │ │ ├── nattype.pyx │ │ ├── np_datetime.pxd │ │ ├── np_datetime.pyx │ │ ├── offsets.pxd │ │ ├── offsets.pyx │ │ ├── parsing.pyx │ │ ├── period.pyx │ │ ├── resolution.pyx │ │ ├── src │ │ │ └── datetime │ │ │ │ ├── np_datetime.c │ │ │ │ ├── np_datetime.h │ │ │ │ ├── np_datetime_strings.c │ │ │ │ └── np_datetime_strings.h │ │ ├── strptime.pyx │ │ ├── timedeltas.pxd │ │ ├── timedeltas.pyx │ │ ├── timestamps.pxd │ │ ├── timestamps.pyx │ │ ├── timezones.pxd │ │ ├── timezones.pyx │ │ └── util.pxd │ ├── util.pxd │ ├── window.pyx │ └── writers.pyx ├── _version.py ├── api │ ├── __init__.py │ ├── extensions │ │ └── __init__.py │ └── types │ │ └── __init__.py ├── arrays │ └── __init__.py ├── compat │ ├── __init__.py │ ├── chainmap.py │ ├── chainmap_impl.py │ ├── numpy │ │ ├── __init__.py │ │ └── function.py │ └── pickle_compat.py ├── conftest.py ├── core │ ├── __init__.py │ ├── accessor.py │ ├── algorithms.py │ ├── api.py │ ├── apply.py │ ├── arrays │ │ ├── __init__.py │ │ ├── _ranges.py │ │ ├── array_.py │ │ ├── base.py │ │ ├── categorical.py │ │ ├── datetimelike.py │ │ ├── datetimes.py │ │ ├── integer.py │ │ ├── interval.py │ │ ├── numpy_.py │ │ ├── period.py │ │ ├── sparse.py │ │ └── timedeltas.py │ ├── base.py │ ├── categorical.py │ ├── common.py │ ├── computation │ │ ├── __init__.py │ │ ├── align.py │ │ ├── api.py │ │ ├── check.py │ │ ├── common.py │ │ ├── engines.py │ │ ├── eval.py │ │ ├── expr.py │ │ ├── expressions.py │ │ ├── ops.py │ │ ├── pytables.py │ │ └── scope.py │ ├── config.py │ ├── config_init.py │ ├── dtypes │ │ ├── __init__.py │ │ ├── api.py │ │ ├── base.py │ │ ├── cast.py │ │ ├── common.py │ │ ├── concat.py │ │ ├── dtypes.py │ │ ├── generic.py │ │ ├── inference.py │ │ └── missing.py │ ├── frame.py │ ├── generic.py │ ├── groupby │ │ ├── __init__.py │ │ ├── base.py │ │ ├── categorical.py │ │ ├── generic.py │ │ ├── groupby.py │ │ ├── grouper.py │ │ └── ops.py │ ├── index.py │ ├── indexes │ │ ├── __init__.py │ │ ├── accessors.py │ │ ├── api.py │ │ ├── base.py │ │ ├── category.py │ │ ├── datetimelike.py │ │ ├── datetimes.py │ │ ├── frozen.py │ │ ├── interval.py │ │ ├── multi.py │ │ ├── numeric.py │ │ ├── period.py │ │ ├── range.py │ │ └── timedeltas.py │ ├── indexing.py │ ├── internals │ │ ├── __init__.py │ │ ├── arrays.py │ │ ├── blocks.py │ │ ├── concat.py │ │ ├── construction.py │ │ └── managers.py │ ├── missing.py │ ├── nanops.py │ ├── ops.py │ ├── panel.py │ ├── resample.py │ ├── reshape │ │ ├── __init__.py │ │ ├── api.py │ │ ├── concat.py │ │ ├── melt.py │ │ ├── merge.py │ │ ├── pivot.py │ │ ├── reshape.py │ │ ├── tile.py │ │ └── util.py │ ├── series.py │ ├── sorting.py │ ├── sparse │ │ ├── __init__.py │ │ ├── api.py │ │ ├── frame.py │ │ ├── scipy_sparse.py │ │ └── series.py │ ├── strings.py │ ├── tools │ │ ├── __init__.py │ │ ├── datetimes.py │ │ ├── numeric.py │ │ └── timedeltas.py │ ├── util │ │ ├── __init__.py │ │ └── hashing.py │ └── window.py ├── errors │ └── __init__.py ├── io │ ├── __init__.py │ ├── api.py │ ├── clipboard │ │ ├── __init__.py │ │ ├── clipboards.py │ │ ├── exceptions.py │ │ └── windows.py │ ├── clipboards.py │ ├── common.py │ ├── date_converters.py │ ├── excel │ │ ├── __init__.py │ │ ├── _base.py │ │ ├── _openpyxl.py │ │ ├── _util.py │ │ ├── _xlrd.py │ │ ├── _xlsxwriter.py │ │ └── _xlwt.py │ ├── feather_format.py │ ├── formats │ │ ├── __init__.py │ │ ├── console.py │ │ ├── css.py │ │ ├── csvs.py │ │ ├── excel.py │ │ ├── format.py │ │ ├── html.py │ │ ├── latex.py │ │ ├── printing.py │ │ ├── style.py │ │ ├── templates │ │ │ └── html.tpl │ │ └── terminal.py │ ├── gbq.py │ ├── gcs.py │ ├── html.py │ ├── json │ │ ├── __init__.py │ │ ├── json.py │ │ ├── normalize.py │ │ └── table_schema.py │ ├── msgpack │ │ ├── __init__.py │ │ ├── _packer.pyx │ │ ├── _unpacker.pyx │ │ ├── _version.py │ │ └── exceptions.py │ ├── packers.py │ ├── parquet.py │ ├── parsers.py │ ├── pickle.py │ ├── pytables.py │ ├── s3.py │ ├── sas │ │ ├── __init__.py │ │ ├── sas.pyx │ │ ├── sas7bdat.py │ │ ├── sas_constants.py │ │ ├── sas_xport.py │ │ └── sasreader.py │ ├── sql.py │ └── stata.py ├── plotting │ ├── __init__.py │ ├── _compat.py │ ├── _converter.py │ ├── _core.py │ ├── _misc.py │ ├── _style.py │ ├── _timeseries.py │ └── _tools.py ├── testing.py ├── tests │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── test_api.py │ │ └── test_types.py │ ├── arithmetic │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_datetime64.py │ │ ├── test_numeric.py │ │ ├── test_object.py │ │ ├── test_period.py │ │ └── test_timedelta64.py │ ├── arrays │ │ ├── __init__.py │ │ ├── categorical │ │ │ ├── __init__.py │ │ │ ├── common.py │ │ │ ├── conftest.py │ │ │ ├── test_algos.py │ │ │ ├── test_analytics.py │ │ │ ├── test_api.py │ │ │ ├── test_constructors.py │ │ │ ├── test_dtypes.py │ │ │ ├── test_indexing.py │ │ │ ├── test_missing.py │ │ │ ├── test_operators.py │ │ │ ├── test_repr.py │ │ │ ├── test_sorting.py │ │ │ ├── test_subclass.py │ │ │ └── test_warnings.py │ │ ├── interval │ │ │ ├── __init__.py │ │ │ ├── test_interval.py │ │ │ └── test_ops.py │ │ ├── sparse │ │ │ ├── __init__.py │ │ │ ├── test_arithmetics.py │ │ │ ├── test_array.py │ │ │ ├── test_dtype.py │ │ │ └── test_libsparse.py │ │ ├── test_array.py │ │ ├── test_datetimelike.py │ │ ├── test_datetimes.py │ │ ├── test_integer.py │ │ ├── test_numpy.py │ │ ├── test_period.py │ │ └── test_timedeltas.py │ ├── computation │ │ ├── __init__.py │ │ ├── test_compat.py │ │ └── test_eval.py │ ├── data │ │ ├── iris.csv │ │ └── tips.csv │ ├── dtypes │ │ ├── __init__.py │ │ ├── cast │ │ │ ├── __init__.py │ │ │ ├── test_construct_from_scalar.py │ │ │ ├── test_construct_ndarray.py │ │ │ ├── test_construct_object_arr.py │ │ │ ├── test_convert_objects.py │ │ │ ├── test_downcast.py │ │ │ ├── test_find_common_type.py │ │ │ ├── test_infer_datetimelike.py │ │ │ └── test_infer_dtype.py │ │ ├── test_common.py │ │ ├── test_concat.py │ │ ├── test_dtypes.py │ │ ├── test_generic.py │ │ ├── test_inference.py │ │ └── test_missing.py │ ├── extension │ │ ├── __init__.py │ │ ├── arrow │ │ │ ├── __init__.py │ │ │ ├── bool.py │ │ │ └── test_bool.py │ │ ├── base │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── casting.py │ │ │ ├── constructors.py │ │ │ ├── dtype.py │ │ │ ├── getitem.py │ │ │ ├── groupby.py │ │ │ ├── interface.py │ │ │ ├── io.py │ │ │ ├── methods.py │ │ │ ├── missing.py │ │ │ ├── ops.py │ │ │ ├── printing.py │ │ │ ├── reduce.py │ │ │ ├── reshaping.py │ │ │ └── setitem.py │ │ ├── conftest.py │ │ ├── decimal │ │ │ ├── __init__.py │ │ │ ├── array.py │ │ │ └── test_decimal.py │ │ ├── json │ │ │ ├── __init__.py │ │ │ ├── array.py │ │ │ └── test_json.py │ │ ├── test_categorical.py │ │ ├── test_common.py │ │ ├── test_datetime.py │ │ ├── test_external_block.py │ │ ├── test_integer.py │ │ ├── test_interval.py │ │ ├── test_numpy.py │ │ ├── test_period.py │ │ └── test_sparse.py │ ├── frame │ │ ├── __init__.py │ │ ├── common.py │ │ ├── conftest.py │ │ ├── test_alter_axes.py │ │ ├── test_analytics.py │ │ ├── test_api.py │ │ ├── test_apply.py │ │ ├── test_arithmetic.py │ │ ├── test_asof.py │ │ ├── test_axis_select_reindex.py │ │ ├── test_block_internals.py │ │ ├── test_combine_concat.py │ │ ├── test_constructors.py │ │ ├── test_convert_to.py │ │ ├── test_dtypes.py │ │ ├── test_duplicates.py │ │ ├── test_indexing.py │ │ ├── test_join.py │ │ ├── test_missing.py │ │ ├── test_mutate_columns.py │ │ ├── test_nonunique_indexes.py │ │ ├── test_operators.py │ │ ├── test_period.py │ │ ├── test_quantile.py │ │ ├── test_query_eval.py │ │ ├── test_rank.py │ │ ├── test_replace.py │ │ ├── test_repr_info.py │ │ ├── test_reshape.py │ │ ├── test_sort_values_level_as_str.py │ │ ├── test_sorting.py │ │ ├── test_subclass.py │ │ ├── test_timeseries.py │ │ ├── test_timezones.py │ │ ├── test_to_csv.py │ │ └── test_validate.py │ ├── generic │ │ ├── __init__.py │ │ ├── test_frame.py │ │ ├── test_generic.py │ │ ├── test_label_or_level_utils.py │ │ └── test_series.py │ ├── groupby │ │ ├── __init__.py │ │ ├── aggregate │ │ │ ├── __init__.py │ │ │ ├── test_aggregate.py │ │ │ ├── test_cython.py │ │ │ └── test_other.py │ │ ├── conftest.py │ │ ├── test_apply.py │ │ ├── test_bin_groupby.py │ │ ├── test_categorical.py │ │ ├── test_counting.py │ │ ├── test_filters.py │ │ ├── test_function.py │ │ ├── test_groupby.py │ │ ├── test_grouping.py │ │ ├── test_index_as_string.py │ │ ├── test_nth.py │ │ ├── test_rank.py │ │ ├── test_timegrouper.py │ │ ├── test_transform.py │ │ ├── test_value_counts.py │ │ └── test_whitelist.py │ ├── indexes │ │ ├── __init__.py │ │ ├── common.py │ │ ├── conftest.py │ │ ├── datetimelike.py │ │ ├── datetimes │ │ │ ├── __init__.py │ │ │ ├── test_arithmetic.py │ │ │ ├── test_astype.py │ │ │ ├── test_construction.py │ │ │ ├── test_date_range.py │ │ │ ├── test_datetime.py │ │ │ ├── test_datetimelike.py │ │ │ ├── test_formats.py │ │ │ ├── test_indexing.py │ │ │ ├── test_misc.py │ │ │ ├── test_missing.py │ │ │ ├── test_ops.py │ │ │ ├── test_partial_slicing.py │ │ │ ├── test_scalar_compat.py │ │ │ ├── test_setops.py │ │ │ ├── test_timezones.py │ │ │ └── test_tools.py │ │ ├── interval │ │ │ ├── __init__.py │ │ │ ├── test_astype.py │ │ │ ├── test_construction.py │ │ │ ├── test_interval.py │ │ │ ├── test_interval_new.py │ │ │ ├── test_interval_range.py │ │ │ └── test_interval_tree.py │ │ ├── multi │ │ │ ├── __init__.py │ │ │ ├── conftest.py │ │ │ ├── test_analytics.py │ │ │ ├── test_astype.py │ │ │ ├── test_compat.py │ │ │ ├── test_constructor.py │ │ │ ├── test_contains.py │ │ │ ├── test_conversion.py │ │ │ ├── test_copy.py │ │ │ ├── test_drop.py │ │ │ ├── test_duplicates.py │ │ │ ├── test_equivalence.py │ │ │ ├── test_format.py │ │ │ ├── test_get_set.py │ │ │ ├── test_indexing.py │ │ │ ├── test_integrity.py │ │ │ ├── test_join.py │ │ │ ├── test_missing.py │ │ │ ├── test_monotonic.py │ │ │ ├── test_names.py │ │ │ ├── test_partial_indexing.py │ │ │ ├── test_reindex.py │ │ │ ├── test_reshape.py │ │ │ ├── test_set_ops.py │ │ │ └── test_sorting.py │ │ ├── period │ │ │ ├── __init__.py │ │ │ ├── test_arithmetic.py │ │ │ ├── test_asfreq.py │ │ │ ├── test_astype.py │ │ │ ├── test_construction.py │ │ │ ├── test_formats.py │ │ │ ├── test_indexing.py │ │ │ ├── test_ops.py │ │ │ ├── test_partial_slicing.py │ │ │ ├── test_period.py │ │ │ ├── test_period_range.py │ │ │ ├── test_scalar_compat.py │ │ │ ├── test_setops.py │ │ │ └── test_tools.py │ │ ├── test_base.py │ │ ├── test_category.py │ │ ├── test_common.py │ │ ├── test_frozen.py │ │ ├── test_numeric.py │ │ ├── test_range.py │ │ └── timedeltas │ │ │ ├── __init__.py │ │ │ ├── test_arithmetic.py │ │ │ ├── test_astype.py │ │ │ ├── test_construction.py │ │ │ ├── test_formats.py │ │ │ ├── test_indexing.py │ │ │ ├── test_ops.py │ │ │ ├── test_partial_slicing.py │ │ │ ├── test_scalar_compat.py │ │ │ ├── test_setops.py │ │ │ ├── test_timedelta.py │ │ │ ├── test_timedelta_range.py │ │ │ └── test_tools.py │ ├── indexing │ │ ├── __init__.py │ │ ├── common.py │ │ ├── conftest.py │ │ ├── interval │ │ │ ├── __init__.py │ │ │ ├── test_interval.py │ │ │ └── test_interval_new.py │ │ ├── multiindex │ │ │ ├── __init__.py │ │ │ ├── conftest.py │ │ │ ├── test_chaining_and_caching.py │ │ │ ├── test_datetime.py │ │ │ ├── test_getitem.py │ │ │ ├── test_iloc.py │ │ │ ├── test_indexing_slow.py │ │ │ ├── test_ix.py │ │ │ ├── test_loc.py │ │ │ ├── test_multiindex.py │ │ │ ├── test_partial.py │ │ │ ├── test_set_ops.py │ │ │ ├── test_setitem.py │ │ │ ├── test_slice.py │ │ │ ├── test_sorted.py │ │ │ └── test_xs.py │ │ ├── test_callable.py │ │ ├── test_categorical.py │ │ ├── test_chaining_and_caching.py │ │ ├── test_coercion.py │ │ ├── test_datetime.py │ │ ├── test_floats.py │ │ ├── test_iloc.py │ │ ├── test_indexing.py │ │ ├── test_indexing_engines.py │ │ ├── test_indexing_slow.py │ │ ├── test_ix.py │ │ ├── test_loc.py │ │ ├── test_partial.py │ │ ├── test_scalar.py │ │ └── test_timedelta.py │ ├── internals │ │ ├── __init__.py │ │ └── test_internals.py │ ├── io │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── data │ │ │ ├── S4_EDUC1.dta │ │ │ ├── banklist.csv │ │ │ ├── banklist.html │ │ │ ├── blank.xls │ │ │ ├── blank.xlsm │ │ │ ├── blank.xlsx │ │ │ ├── blank_with_header.xls │ │ │ ├── blank_with_header.xlsm │ │ │ ├── blank_with_header.xlsx │ │ │ ├── categorical_0_14_1.pickle │ │ │ ├── categorical_0_15_2.pickle │ │ │ ├── computer_sales_page.html │ │ │ ├── feather-0_3_1.feather │ │ │ ├── fixed_width_format.txt │ │ │ ├── gbq_fake_job.txt │ │ │ ├── html_encoding │ │ │ │ ├── chinese_utf-16.html │ │ │ │ ├── chinese_utf-32.html │ │ │ │ ├── chinese_utf-8.html │ │ │ │ └── letz_latin1.html │ │ │ ├── iris.csv │ │ │ ├── legacy_hdf │ │ │ │ ├── datetimetz_object.h5 │ │ │ │ ├── legacy_table_fixed_py2.h5 │ │ │ │ ├── legacy_table_py2.h5 │ │ │ │ ├── periodindex_0.20.1_x86_64_darwin_2.7.13.h5 │ │ │ │ ├── pytables_native.h5 │ │ │ │ └── pytables_native2.h5 │ │ │ ├── legacy_msgpack │ │ │ │ ├── 0.16.0 │ │ │ │ │ └── 0.16.0_x86_64_darwin_2.7.9.msgpack │ │ │ │ ├── 0.16.2 │ │ │ │ │ ├── 0.16.2_AMD64_windows_2.7.10.msgpack │ │ │ │ │ ├── 0.16.2_AMD64_windows_3.4.3.msgpack │ │ │ │ │ ├── 0.16.2_x86_64_darwin_2.7.10.msgpack │ │ │ │ │ ├── 0.16.2_x86_64_darwin_2.7.9.msgpack │ │ │ │ │ ├── 0.16.2_x86_64_darwin_3.4.3.msgpack │ │ │ │ │ ├── 0.16.2_x86_64_linux_2.7.10.msgpack │ │ │ │ │ └── 0.16.2_x86_64_linux_3.4.3.msgpack │ │ │ │ ├── 0.17.0 │ │ │ │ │ ├── 0.17.0_AMD64_windows_2.7.11.msgpack │ │ │ │ │ ├── 0.17.0_AMD64_windows_3.4.4.msgpack │ │ │ │ │ ├── 0.17.0_x86_64_darwin_2.7.11.msgpack │ │ │ │ │ ├── 0.17.0_x86_64_darwin_3.4.4.msgpack │ │ │ │ │ ├── 0.17.0_x86_64_linux_2.7.11.msgpack │ │ │ │ │ ├── 0.17.0_x86_64_linux_3.4.4.msgpack │ │ │ │ │ ├── 0.17.1_AMD64_windows_2.7.11.msgpack │ │ │ │ │ └── 0.17.1_AMD64_windows_3.5.1.msgpack │ │ │ │ ├── 0.17.1 │ │ │ │ │ ├── 0.17.1_AMD64_windows_2.7.11.msgpack │ │ │ │ │ ├── 0.17.1_AMD64_windows_3.5.1.msgpack │ │ │ │ │ ├── 0.17.1_x86_64_darwin_2.7.11.msgpack │ │ │ │ │ ├── 0.17.1_x86_64_darwin_3.5.1.msgpack │ │ │ │ │ ├── 0.17.1_x86_64_linux_2.7.11.msgpack │ │ │ │ │ └── 0.17.1_x86_64_linux_3.4.4.msgpack │ │ │ │ ├── 0.18.0 │ │ │ │ │ ├── 0.18.0_AMD64_windows_2.7.11.msgpack │ │ │ │ │ ├── 0.18.0_AMD64_windows_3.5.1.msgpack │ │ │ │ │ ├── 0.18.0_x86_64_darwin_2.7.11.msgpack │ │ │ │ │ └── 0.18.0_x86_64_darwin_3.5.1.msgpack │ │ │ │ ├── 0.18.1 │ │ │ │ │ ├── 0.18.1_x86_64_darwin_2.7.12.msgpack │ │ │ │ │ └── 0.18.1_x86_64_darwin_3.5.2.msgpack │ │ │ │ └── 0.19.2 │ │ │ │ │ ├── 0.19.2_x86_64_darwin_2.7.12.msgpack │ │ │ │ │ └── 0.19.2_x86_64_darwin_3.6.1.msgpack │ │ │ ├── legacy_pickle │ │ │ │ ├── 0.10.1 │ │ │ │ │ ├── AMD64_windows_2.7.3.pickle │ │ │ │ │ └── x86_64_linux_2.7.3.pickle │ │ │ │ ├── 0.11.0 │ │ │ │ │ ├── 0.11.0_x86_64_linux_3.3.0.pickle │ │ │ │ │ ├── x86_64_linux_2.7.3.pickle │ │ │ │ │ └── x86_64_linux_3.3.0.pickle │ │ │ │ ├── 0.12.0 │ │ │ │ │ ├── 0.12.0_AMD64_windows_2.7.3.pickle │ │ │ │ │ └── 0.12.0_x86_64_linux_2.7.3.pickle │ │ │ │ ├── 0.13.0 │ │ │ │ │ ├── 0.13.0_AMD64_windows_2.7.3.pickle │ │ │ │ │ ├── 0.13.0_i686_linux_2.6.5.pickle │ │ │ │ │ ├── 0.13.0_i686_linux_2.7.3.pickle │ │ │ │ │ ├── 0.13.0_i686_linux_3.2.3.pickle │ │ │ │ │ ├── 0.13.0_x86_64_darwin_2.7.5.pickle │ │ │ │ │ ├── 0.13.0_x86_64_darwin_2.7.6.pickle │ │ │ │ │ ├── 0.13.0_x86_64_linux_2.7.3.pickle │ │ │ │ │ ├── 0.13.0_x86_64_linux_2.7.8.pickle │ │ │ │ │ └── 0.13.0_x86_64_linux_3.3.0.pickle │ │ │ │ ├── 0.14.0 │ │ │ │ │ ├── 0.14.0_x86_64_darwin_2.7.6.pickle │ │ │ │ │ └── 0.14.0_x86_64_linux_2.7.8.pickle │ │ │ │ ├── 0.14.1 │ │ │ │ │ ├── 0.14.1_x86_64_darwin_2.7.12.pickle │ │ │ │ │ └── 0.14.1_x86_64_linux_2.7.8.pickle │ │ │ │ ├── 0.15.0 │ │ │ │ │ ├── 0.15.0_x86_64_darwin_2.7.12.pickle │ │ │ │ │ └── 0.15.0_x86_64_linux_2.7.8.pickle │ │ │ │ ├── 0.15.2 │ │ │ │ │ └── 0.15.2_x86_64_darwin_2.7.9.pickle │ │ │ │ ├── 0.16.0 │ │ │ │ │ └── 0.16.0_x86_64_darwin_2.7.9.pickle │ │ │ │ ├── 0.16.2 │ │ │ │ │ ├── 0.16.2_AMD64_windows_2.7.10.pickle │ │ │ │ │ ├── 0.16.2_AMD64_windows_2.7.14.pickle │ │ │ │ │ ├── 0.16.2_AMD64_windows_3.4.3.pickle │ │ │ │ │ ├── 0.16.2_x86_64_darwin_2.7.10.pickle │ │ │ │ │ ├── 0.16.2_x86_64_darwin_2.7.9.pickle │ │ │ │ │ ├── 0.16.2_x86_64_darwin_3.4.3.pickle │ │ │ │ │ ├── 0.16.2_x86_64_linux_2.7.10.pickle │ │ │ │ │ └── 0.16.2_x86_64_linux_3.4.3.pickle │ │ │ │ ├── 0.17.0 │ │ │ │ │ ├── 0.17.0_AMD64_windows_2.7.11.pickle │ │ │ │ │ ├── 0.17.0_AMD64_windows_3.4.4.pickle │ │ │ │ │ ├── 0.17.0_x86_64_darwin_2.7.11.pickle │ │ │ │ │ ├── 0.17.0_x86_64_darwin_3.4.4.pickle │ │ │ │ │ ├── 0.17.0_x86_64_darwin_3.5.3.pickle │ │ │ │ │ ├── 0.17.0_x86_64_linux_2.7.11.pickle │ │ │ │ │ ├── 0.17.0_x86_64_linux_3.4.4.pickle │ │ │ │ │ └── 0.17.1_AMD64_windows_2.7.11.pickle │ │ │ │ ├── 0.17.1 │ │ │ │ │ ├── 0.17.1_AMD64_windows_2.7.11.pickle │ │ │ │ │ └── 0.17.1_x86_64_darwin_2.7.11.pickle │ │ │ │ ├── 0.18.0 │ │ │ │ │ ├── 0.18.0_AMD64_windows_2.7.11.pickle │ │ │ │ │ ├── 0.18.0_AMD64_windows_3.5.1.pickle │ │ │ │ │ ├── 0.18.0_x86_64_darwin_2.7.11.pickle │ │ │ │ │ └── 0.18.0_x86_64_darwin_3.5.1.pickle │ │ │ │ ├── 0.18.1 │ │ │ │ │ ├── 0.18.1_x86_64_darwin_2.7.12.pickle │ │ │ │ │ └── 0.18.1_x86_64_darwin_3.5.2.pickle │ │ │ │ ├── 0.19.2 │ │ │ │ │ ├── 0.19.2_AMD64_windows_2.7.14.pickle │ │ │ │ │ ├── 0.19.2_x86_64_darwin_2.7.12.pickle │ │ │ │ │ ├── 0.19.2_x86_64_darwin_2.7.14.pickle │ │ │ │ │ └── 0.19.2_x86_64_darwin_3.6.1.pickle │ │ │ │ └── 0.20.3 │ │ │ │ │ └── 0.20.3_x86_64_darwin_2.7.14.pickle │ │ │ ├── macau.html │ │ │ ├── nyse_wsj.html │ │ │ ├── spam.html │ │ │ ├── stata10_115.dta │ │ │ ├── stata10_117.dta │ │ │ ├── stata11_115.dta │ │ │ ├── stata11_117.dta │ │ │ ├── stata12_117.dta │ │ │ ├── stata13_dates.dta │ │ │ ├── stata14_118.dta │ │ │ ├── stata15.dta │ │ │ ├── stata16_118.dta │ │ │ ├── stata1_114.dta │ │ │ ├── stata1_117.dta │ │ │ ├── stata1_encoding.dta │ │ │ ├── stata2_113.dta │ │ │ ├── stata2_114.dta │ │ │ ├── stata2_115.dta │ │ │ ├── stata2_117.dta │ │ │ ├── stata3.csv │ │ │ ├── stata3_113.dta │ │ │ ├── stata3_114.dta │ │ │ ├── stata3_115.dta │ │ │ ├── stata3_117.dta │ │ │ ├── stata4_113.dta │ │ │ ├── stata4_114.dta │ │ │ ├── stata4_115.dta │ │ │ ├── stata4_117.dta │ │ │ ├── stata5.csv │ │ │ ├── stata5_113.dta │ │ │ ├── stata5_114.dta │ │ │ ├── stata5_115.dta │ │ │ ├── stata5_117.dta │ │ │ ├── stata6.csv │ │ │ ├── stata6_113.dta │ │ │ ├── stata6_114.dta │ │ │ ├── stata6_115.dta │ │ │ ├── stata6_117.dta │ │ │ ├── stata7_111.dta │ │ │ ├── stata7_115.dta │ │ │ ├── stata7_117.dta │ │ │ ├── stata8_113.dta │ │ │ ├── stata8_115.dta │ │ │ ├── stata8_117.dta │ │ │ ├── stata9_115.dta │ │ │ ├── stata9_117.dta │ │ │ ├── test1.csv │ │ │ ├── test1.xls │ │ │ ├── test1.xlsm │ │ │ ├── test1.xlsx │ │ │ ├── test2.xls │ │ │ ├── test2.xlsm │ │ │ ├── test2.xlsx │ │ │ ├── test3.xls │ │ │ ├── test3.xlsm │ │ │ ├── test3.xlsx │ │ │ ├── test4.xls │ │ │ ├── test4.xlsm │ │ │ ├── test4.xlsx │ │ │ ├── test5.xls │ │ │ ├── test5.xlsm │ │ │ ├── test5.xlsx │ │ │ ├── test_converters.xls │ │ │ ├── test_converters.xlsm │ │ │ ├── test_converters.xlsx │ │ │ ├── test_index_name_pre17.xls │ │ │ ├── test_index_name_pre17.xlsm │ │ │ ├── test_index_name_pre17.xlsx │ │ │ ├── test_mmap.csv │ │ │ ├── test_multisheet.xls │ │ │ ├── test_multisheet.xlsm │ │ │ ├── test_multisheet.xlsx │ │ │ ├── test_squeeze.xls │ │ │ ├── test_squeeze.xlsm │ │ │ ├── test_squeeze.xlsx │ │ │ ├── test_types.xls │ │ │ ├── test_types.xlsm │ │ │ ├── test_types.xlsx │ │ │ ├── testdateoverflow.xls │ │ │ ├── testdateoverflow.xlsm │ │ │ ├── testdateoverflow.xlsx │ │ │ ├── testdtype.xls │ │ │ ├── testdtype.xlsm │ │ │ ├── testdtype.xlsx │ │ │ ├── testmultiindex.xls │ │ │ ├── testmultiindex.xlsm │ │ │ ├── testmultiindex.xlsx │ │ │ ├── testskiprows.xls │ │ │ ├── testskiprows.xlsm │ │ │ ├── testskiprows.xlsx │ │ │ ├── times_1900.xls │ │ │ ├── times_1900.xlsm │ │ │ ├── times_1900.xlsx │ │ │ ├── times_1904.xls │ │ │ ├── times_1904.xlsm │ │ │ ├── times_1904.xlsx │ │ │ ├── tips.csv │ │ │ ├── valid_markup.html │ │ │ └── wikipedia_states.html │ │ ├── formats │ │ │ ├── __init__.py │ │ │ ├── data │ │ │ │ └── html │ │ │ │ │ ├── datetime64_hourformatter.html │ │ │ │ │ ├── datetime64_monthformatter.html │ │ │ │ │ ├── escape_disabled.html │ │ │ │ │ ├── escaped.html │ │ │ │ │ ├── gh12031_expected_output.html │ │ │ │ │ ├── gh14882_expected_output_1.html │ │ │ │ │ ├── gh14882_expected_output_2.html │ │ │ │ │ ├── gh14998_expected_output.html │ │ │ │ │ ├── gh15019_expected_output.html │ │ │ │ │ ├── gh21625_expected_output.html │ │ │ │ │ ├── gh22270_expected_output.html │ │ │ │ │ ├── gh22579_expected_output.html │ │ │ │ │ ├── gh22783_expected_output.html │ │ │ │ │ ├── gh22783_named_columns_index.html │ │ │ │ │ ├── gh6131_expected_output.html │ │ │ │ │ ├── gh8452_expected_output.html │ │ │ │ │ ├── index_1.html │ │ │ │ │ ├── index_2.html │ │ │ │ │ ├── index_3.html │ │ │ │ │ ├── index_4.html │ │ │ │ │ ├── index_5.html │ │ │ │ │ ├── index_formatter.html │ │ │ │ │ ├── index_named_multi_columns_named_multi.html │ │ │ │ │ ├── index_named_multi_columns_named_standard.html │ │ │ │ │ ├── index_named_multi_columns_none.html │ │ │ │ │ ├── index_named_multi_columns_unnamed_multi.html │ │ │ │ │ ├── index_named_multi_columns_unnamed_standard.html │ │ │ │ │ ├── index_named_standard_columns_named_multi.html │ │ │ │ │ ├── index_named_standard_columns_named_standard.html │ │ │ │ │ ├── index_named_standard_columns_none.html │ │ │ │ │ ├── index_named_standard_columns_unnamed_multi.html │ │ │ │ │ ├── index_named_standard_columns_unnamed_standard.html │ │ │ │ │ ├── index_none_columns_named_multi.html │ │ │ │ │ ├── index_none_columns_named_standard.html │ │ │ │ │ ├── index_none_columns_none.html │ │ │ │ │ ├── index_none_columns_unnamed_multi.html │ │ │ │ │ ├── index_none_columns_unnamed_standard.html │ │ │ │ │ ├── index_unnamed_multi_columns_named_multi.html │ │ │ │ │ ├── index_unnamed_multi_columns_named_standard.html │ │ │ │ │ ├── index_unnamed_multi_columns_none.html │ │ │ │ │ ├── index_unnamed_multi_columns_unnamed_multi.html │ │ │ │ │ ├── index_unnamed_multi_columns_unnamed_standard.html │ │ │ │ │ ├── index_unnamed_standard_columns_named_multi.html │ │ │ │ │ ├── index_unnamed_standard_columns_named_standard.html │ │ │ │ │ ├── index_unnamed_standard_columns_none.html │ │ │ │ │ ├── index_unnamed_standard_columns_unnamed_multi.html │ │ │ │ │ ├── index_unnamed_standard_columns_unnamed_standard.html │ │ │ │ │ ├── justify.html │ │ │ │ │ ├── multiindex_1.html │ │ │ │ │ ├── multiindex_2.html │ │ │ │ │ ├── multiindex_sparsify_1.html │ │ │ │ │ ├── multiindex_sparsify_2.html │ │ │ │ │ ├── multiindex_sparsify_false_multi_sparse_1.html │ │ │ │ │ ├── multiindex_sparsify_false_multi_sparse_2.html │ │ │ │ │ ├── render_links_false.html │ │ │ │ │ ├── render_links_true.html │ │ │ │ │ ├── trunc_df_index_named_multi_columns_named_multi.html │ │ │ │ │ ├── trunc_df_index_named_multi_columns_named_standard.html │ │ │ │ │ ├── trunc_df_index_named_multi_columns_none.html │ │ │ │ │ ├── trunc_df_index_named_multi_columns_unnamed_multi.html │ │ │ │ │ ├── trunc_df_index_named_multi_columns_unnamed_standard.html │ │ │ │ │ ├── trunc_df_index_named_standard_columns_named_multi.html │ │ │ │ │ ├── trunc_df_index_named_standard_columns_named_standard.html │ │ │ │ │ ├── trunc_df_index_named_standard_columns_none.html │ │ │ │ │ ├── trunc_df_index_named_standard_columns_unnamed_multi.html │ │ │ │ │ ├── trunc_df_index_named_standard_columns_unnamed_standard.html │ │ │ │ │ ├── trunc_df_index_none_columns_named_multi.html │ │ │ │ │ ├── trunc_df_index_none_columns_named_standard.html │ │ │ │ │ ├── trunc_df_index_none_columns_none.html │ │ │ │ │ ├── trunc_df_index_none_columns_unnamed_multi.html │ │ │ │ │ ├── trunc_df_index_none_columns_unnamed_standard.html │ │ │ │ │ ├── trunc_df_index_unnamed_multi_columns_named_multi.html │ │ │ │ │ ├── trunc_df_index_unnamed_multi_columns_named_standard.html │ │ │ │ │ ├── trunc_df_index_unnamed_multi_columns_none.html │ │ │ │ │ ├── trunc_df_index_unnamed_multi_columns_unnamed_multi.html │ │ │ │ │ ├── trunc_df_index_unnamed_multi_columns_unnamed_standard.html │ │ │ │ │ ├── trunc_df_index_unnamed_standard_columns_named_multi.html │ │ │ │ │ ├── trunc_df_index_unnamed_standard_columns_named_standard.html │ │ │ │ │ ├── trunc_df_index_unnamed_standard_columns_none.html │ │ │ │ │ ├── trunc_df_index_unnamed_standard_columns_unnamed_multi.html │ │ │ │ │ ├── trunc_df_index_unnamed_standard_columns_unnamed_standard.html │ │ │ │ │ ├── truncate.html │ │ │ │ │ ├── truncate_multi_index.html │ │ │ │ │ ├── truncate_multi_index_sparse_off.html │ │ │ │ │ ├── unicode_1.html │ │ │ │ │ ├── unicode_2.html │ │ │ │ │ └── with_classes.html │ │ │ ├── test_console.py │ │ │ ├── test_css.py │ │ │ ├── test_eng_formatting.py │ │ │ ├── test_format.py │ │ │ ├── test_printing.py │ │ │ ├── test_style.py │ │ │ ├── test_to_csv.py │ │ │ ├── test_to_excel.py │ │ │ ├── test_to_html.py │ │ │ └── test_to_latex.py │ │ ├── generate_legacy_storage_files.py │ │ ├── json │ │ │ ├── __init__.py │ │ │ ├── data │ │ │ │ ├── tsframe_iso_v012.json │ │ │ │ ├── tsframe_v012.json │ │ │ │ └── tsframe_v012.json.zip │ │ │ ├── test_compression.py │ │ │ ├── test_json_table_schema.py │ │ │ ├── test_normalize.py │ │ │ ├── test_pandas.py │ │ │ ├── test_readlines.py │ │ │ └── test_ujson.py │ │ ├── msgpack │ │ │ ├── __init__.py │ │ │ ├── common.py │ │ │ ├── data │ │ │ │ └── frame.mp │ │ │ ├── test_buffer.py │ │ │ ├── test_case.py │ │ │ ├── test_except.py │ │ │ ├── test_extension.py │ │ │ ├── test_format.py │ │ │ ├── test_limits.py │ │ │ ├── test_newspec.py │ │ │ ├── test_obj.py │ │ │ ├── test_pack.py │ │ │ ├── test_read_size.py │ │ │ ├── test_seq.py │ │ │ ├── test_sequnpack.py │ │ │ ├── test_subtype.py │ │ │ ├── test_unpack.py │ │ │ └── test_unpack_raw.py │ │ ├── parser │ │ │ ├── __init__.py │ │ │ ├── conftest.py │ │ │ ├── data │ │ │ │ ├── iris.csv │ │ │ │ ├── items.jsonl │ │ │ │ ├── salaries.csv │ │ │ │ ├── salaries.csv.bz2 │ │ │ │ ├── salaries.csv.gz │ │ │ │ ├── salaries.csv.xz │ │ │ │ ├── salaries.csv.zip │ │ │ │ ├── sauron.SHIFT_JIS.csv │ │ │ │ ├── sub_char.csv │ │ │ │ ├── tar_csv.tar │ │ │ │ ├── tar_csv.tar.gz │ │ │ │ ├── test1.csv │ │ │ │ ├── test1.csv.bz2 │ │ │ │ ├── test1.csv.gz │ │ │ │ ├── test2.csv │ │ │ │ ├── test_mmap.csv │ │ │ │ ├── tips.csv │ │ │ │ ├── tips.csv.bz2 │ │ │ │ ├── tips.csv.gz │ │ │ │ ├── unicode_series.csv │ │ │ │ ├── utf16_ex.txt │ │ │ │ └── utf16_ex_small.zip │ │ │ ├── test_c_parser_only.py │ │ │ ├── test_comment.py │ │ │ ├── test_common.py │ │ │ ├── test_compression.py │ │ │ ├── test_converters.py │ │ │ ├── test_dialect.py │ │ │ ├── test_dtypes.py │ │ │ ├── test_header.py │ │ │ ├── test_index_col.py │ │ │ ├── test_mangle_dupes.py │ │ │ ├── test_multi_thread.py │ │ │ ├── test_na_values.py │ │ │ ├── test_network.py │ │ │ ├── test_parse_dates.py │ │ │ ├── test_python_parser_only.py │ │ │ ├── test_quoting.py │ │ │ ├── test_read_fwf.py │ │ │ ├── test_skiprows.py │ │ │ ├── test_textreader.py │ │ │ ├── test_unsupported.py │ │ │ └── test_usecols.py │ │ ├── sas │ │ │ ├── __init__.py │ │ │ ├── data │ │ │ │ ├── DEMO_G.csv │ │ │ │ ├── DEMO_G.xpt │ │ │ │ ├── DRXFCD_G.csv │ │ │ │ ├── DRXFCD_G.xpt │ │ │ │ ├── SSHSV1_A.csv │ │ │ │ ├── SSHSV1_A.xpt │ │ │ │ ├── airline.csv │ │ │ │ ├── airline.sas7bdat │ │ │ │ ├── cars.sas7bdat │ │ │ │ ├── datetime.csv │ │ │ │ ├── datetime.sas7bdat │ │ │ │ ├── load_log.sas7bdat │ │ │ │ ├── many_columns.csv │ │ │ │ ├── many_columns.sas7bdat │ │ │ │ ├── paxraw_d_short.csv │ │ │ │ ├── paxraw_d_short.xpt │ │ │ │ ├── productsales.csv │ │ │ │ ├── productsales.sas7bdat │ │ │ │ ├── test1.sas7bdat │ │ │ │ ├── test10.sas7bdat │ │ │ │ ├── test11.sas7bdat │ │ │ │ ├── test12.sas7bdat │ │ │ │ ├── test13.sas7bdat │ │ │ │ ├── test14.sas7bdat │ │ │ │ ├── test15.sas7bdat │ │ │ │ ├── test16.sas7bdat │ │ │ │ ├── test2.sas7bdat │ │ │ │ ├── test3.sas7bdat │ │ │ │ ├── test4.sas7bdat │ │ │ │ ├── test5.sas7bdat │ │ │ │ ├── test6.sas7bdat │ │ │ │ ├── test7.sas7bdat │ │ │ │ ├── test8.sas7bdat │ │ │ │ ├── test9.sas7bdat │ │ │ │ ├── test_12659.csv │ │ │ │ ├── test_12659.sas7bdat │ │ │ │ ├── test_sas7bdat_1.csv │ │ │ │ ├── test_sas7bdat_2.csv │ │ │ │ └── zero_variables.sas7bdat │ │ │ ├── test_sas.py │ │ │ ├── test_sas7bdat.py │ │ │ └── test_xport.py │ │ ├── test_clipboard.py │ │ ├── test_common.py │ │ ├── test_compression.py │ │ ├── test_date_converters.py │ │ ├── test_excel.py │ │ ├── test_feather.py │ │ ├── test_gbq.py │ │ ├── test_gcs.py │ │ ├── test_html.py │ │ ├── test_packers.py │ │ ├── test_parquet.py │ │ ├── test_pickle.py │ │ ├── test_pytables.py │ │ ├── test_s3.py │ │ ├── test_sql.py │ │ └── test_stata.py │ ├── plotting │ │ ├── __init__.py │ │ ├── common.py │ │ ├── test_boxplot_method.py │ │ ├── test_converter.py │ │ ├── test_datetimelike.py │ │ ├── test_frame.py │ │ ├── test_groupby.py │ │ ├── test_hist_method.py │ │ ├── test_misc.py │ │ └── test_series.py │ ├── reductions │ │ ├── __init__.py │ │ ├── test_reductions.py │ │ └── test_stat_reductions.py │ ├── resample │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_base.py │ │ ├── test_datetime_index.py │ │ ├── test_period_index.py │ │ ├── test_resample_api.py │ │ ├── test_resampler_grouper.py │ │ ├── test_time_grouper.py │ │ └── test_timedelta.py │ ├── reshape │ │ ├── __init__.py │ │ ├── data │ │ │ └── cut_data.csv │ │ ├── merge │ │ │ ├── __init__.py │ │ │ ├── data │ │ │ │ ├── allow_exact_matches.csv │ │ │ │ ├── allow_exact_matches_and_tolerance.csv │ │ │ │ ├── asof.csv │ │ │ │ ├── asof2.csv │ │ │ │ ├── quotes.csv │ │ │ │ ├── quotes2.csv │ │ │ │ ├── tolerance.csv │ │ │ │ ├── trades.csv │ │ │ │ └── trades2.csv │ │ │ ├── test_join.py │ │ │ ├── test_merge.py │ │ │ ├── test_merge_asof.py │ │ │ ├── test_merge_index_as_string.py │ │ │ ├── test_merge_ordered.py │ │ │ └── test_multi.py │ │ ├── test_concat.py │ │ ├── test_cut.py │ │ ├── test_melt.py │ │ ├── test_pivot.py │ │ ├── test_qcut.py │ │ ├── test_reshape.py │ │ ├── test_union_categoricals.py │ │ └── test_util.py │ ├── scalar │ │ ├── __init__.py │ │ ├── interval │ │ │ ├── __init__.py │ │ │ ├── test_interval.py │ │ │ └── test_ops.py │ │ ├── period │ │ │ ├── __init__.py │ │ │ ├── test_asfreq.py │ │ │ └── test_period.py │ │ ├── test_nat.py │ │ ├── timedelta │ │ │ ├── __init__.py │ │ │ ├── test_arithmetic.py │ │ │ ├── test_construction.py │ │ │ ├── test_formats.py │ │ │ └── test_timedelta.py │ │ └── timestamp │ │ │ ├── __init__.py │ │ │ ├── test_arithmetic.py │ │ │ ├── test_comparisons.py │ │ │ ├── test_rendering.py │ │ │ ├── test_timestamp.py │ │ │ ├── test_timezones.py │ │ │ └── test_unary_ops.py │ ├── series │ │ ├── __init__.py │ │ ├── common.py │ │ ├── conftest.py │ │ ├── indexing │ │ │ ├── __init__.py │ │ │ ├── conftest.py │ │ │ ├── test_alter_index.py │ │ │ ├── test_boolean.py │ │ │ ├── test_callable.py │ │ │ ├── test_datetime.py │ │ │ ├── test_iloc.py │ │ │ ├── test_indexing.py │ │ │ ├── test_loc.py │ │ │ └── test_numeric.py │ │ ├── test_alter_axes.py │ │ ├── test_analytics.py │ │ ├── test_api.py │ │ ├── test_apply.py │ │ ├── test_arithmetic.py │ │ ├── test_asof.py │ │ ├── test_block_internals.py │ │ ├── test_combine_concat.py │ │ ├── test_constructors.py │ │ ├── test_datetime_values.py │ │ ├── test_dtypes.py │ │ ├── test_duplicates.py │ │ ├── test_internals.py │ │ ├── test_io.py │ │ ├── test_missing.py │ │ ├── test_operators.py │ │ ├── test_period.py │ │ ├── test_quantile.py │ │ ├── test_rank.py │ │ ├── test_replace.py │ │ ├── test_repr.py │ │ ├── test_sorting.py │ │ ├── test_subclass.py │ │ ├── test_timeseries.py │ │ ├── test_timezones.py │ │ └── test_validate.py │ ├── sparse │ │ ├── __init__.py │ │ ├── common.py │ │ ├── frame │ │ │ ├── __init__.py │ │ │ ├── conftest.py │ │ │ ├── test_analytics.py │ │ │ ├── test_apply.py │ │ │ ├── test_frame.py │ │ │ ├── test_indexing.py │ │ │ ├── test_to_csv.py │ │ │ └── test_to_from_scipy.py │ │ ├── series │ │ │ ├── __init__.py │ │ │ ├── test_indexing.py │ │ │ └── test_series.py │ │ ├── test_combine_concat.py │ │ ├── test_format.py │ │ ├── test_groupby.py │ │ ├── test_indexing.py │ │ ├── test_pivot.py │ │ └── test_reshape.py │ ├── test_algos.py │ ├── test_base.py │ ├── test_common.py │ ├── test_compat.py │ ├── test_config.py │ ├── test_downstream.py │ ├── test_errors.py │ ├── test_expressions.py │ ├── test_join.py │ ├── test_lib.py │ ├── test_multilevel.py │ ├── test_nanops.py │ ├── test_register_accessor.py │ ├── test_sorting.py │ ├── test_strings.py │ ├── test_take.py │ ├── test_window.py │ ├── tools │ │ ├── __init__.py │ │ └── test_numeric.py │ ├── tseries │ │ ├── __init__.py │ │ ├── frequencies │ │ │ ├── __init__.py │ │ │ ├── test_freq_code.py │ │ │ ├── test_inference.py │ │ │ └── test_to_offset.py │ │ ├── holiday │ │ │ ├── __init__.py │ │ │ ├── test_calendar.py │ │ │ ├── test_federal.py │ │ │ ├── test_holiday.py │ │ │ └── test_observance.py │ │ └── offsets │ │ │ ├── __init__.py │ │ │ ├── common.py │ │ │ ├── conftest.py │ │ │ ├── data │ │ │ ├── cday-0.14.1.pickle │ │ │ └── dateoffset_0_15_2.pickle │ │ │ ├── test_fiscal.py │ │ │ ├── test_offsets.py │ │ │ ├── test_offsets_properties.py │ │ │ ├── test_ticks.py │ │ │ └── test_yqm_offsets.py │ ├── tslibs │ │ ├── __init__.py │ │ ├── test_api.py │ │ ├── test_array_to_datetime.py │ │ ├── test_ccalendar.py │ │ ├── test_conversion.py │ │ ├── test_libfrequencies.py │ │ ├── test_liboffsets.py │ │ ├── test_normalize_date.py │ │ ├── test_parse_iso8601.py │ │ ├── test_parsing.py │ │ ├── test_period_asfreq.py │ │ ├── test_timedeltas.py │ │ └── test_timezones.py │ └── util │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── test_assert_almost_equal.py │ │ ├── test_assert_categorical_equal.py │ │ ├── test_assert_extension_array_equal.py │ │ ├── test_assert_frame_equal.py │ │ ├── test_assert_index_equal.py │ │ ├── test_assert_interval_array_equal.py │ │ ├── test_assert_numpy_array_equal.py │ │ ├── test_assert_series_equal.py │ │ ├── test_deprecate.py │ │ ├── test_deprecate_kwarg.py │ │ ├── test_hashing.py │ │ ├── test_locale.py │ │ ├── test_move.py │ │ ├── test_safe_import.py │ │ ├── test_util.py │ │ ├── test_validate_args.py │ │ ├── test_validate_args_and_kwargs.py │ │ └── test_validate_kwargs.py ├── tseries │ ├── __init__.py │ ├── api.py │ ├── converter.py │ ├── frequencies.py │ ├── holiday.py │ ├── offsets.py │ └── plotting.py └── util │ ├── __init__.py │ ├── _decorators.py │ ├── _depr_module.py │ ├── _doctools.py │ ├── _exceptions.py │ ├── _print_versions.py │ ├── _test_decorators.py │ ├── _tester.py │ ├── _validators.py │ ├── move.c │ └── testing.py ├── release_stats.sh ├── requirements-dev.txt ├── scripts ├── build_dist.sh ├── build_dist_for_release.sh ├── download_wheels.py ├── find_commits_touching_func.py ├── generate_pip_deps_from_conda.py ├── list_future_warnings.sh ├── merge-pr.py ├── tests │ ├── __init__.py │ ├── conftest.py │ └── test_validate_docstrings.py └── validate_docstrings.py ├── setup.cfg ├── setup.py ├── test.bat ├── test.sh ├── test_fast.bat ├── test_fast.sh ├── test_rebuild.sh ├── tox.ini └── versioneer.py /.binstar.yml: -------------------------------------------------------------------------------- 1 | package: pandas 2 | user: jreback 3 | 4 | install: 5 | - conda config --add channels pandas 6 | 7 | before_script: 8 | - python -V 9 | 10 | platform: 11 | - linux-64 12 | #- linux-32 13 | - osx-64 14 | #- win-32 15 | - win-64 16 | engine: 17 | - python=2.7 18 | - python=3.4 19 | script: 20 | - conda build conda.recipe --quiet 21 | 22 | iotimeout: 600 23 | 24 | build_targets: conda 25 | 26 | notifications: 27 | email: 28 | recipients: ['jeff@reback.net'] 29 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | # enforce text on certain files 3 | *.py text 4 | *.pyx text 5 | *.pyd text 6 | *.c text 7 | *.h text 8 | *.html text 9 | *.csv text 10 | *.json text 11 | *.pickle binary 12 | *.h5 binary 13 | *.dta binary 14 | *.xls binary 15 | *.xlsx binary 16 | pandas/_version.py export-subst 17 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | - [ ] closes #xxxx 2 | - [ ] tests added / passed 3 | - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` 4 | - [ ] whatsnew entry 5 | -------------------------------------------------------------------------------- /.pep8speaks.yml: -------------------------------------------------------------------------------- 1 | # File : .pep8speaks.yml 2 | 3 | scanner: 4 | diff_only: True # If True, errors caused by only the patch are shown 5 | 6 | # Opened issue in pep8speaks, so we can directly use the config in setup.cfg 7 | # (and avoid having to duplicate it here): 8 | # https://github.com/OrkoHunter/pep8speaks/issues/95 9 | 10 | pycodestyle: 11 | max-line-length: 79 12 | ignore: 13 | - W503, # line break before binary operator 14 | - W504, # line break after binary operator 15 | - E402, # module level import not at top of file 16 | - E731, # do not assign a lambda expression, use a def 17 | - C406, # Unnecessary list literal - rewrite as a dict literal. 18 | - C408, # Unnecessary dict call - rewrite as a literal. 19 | - C409 # Unnecessary list passed to tuple() - rewrite as a tuple literal. 20 | -------------------------------------------------------------------------------- /LICENSES/MSGPACK_LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2008-2011 INADA Naoki 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | tseries: pandas/_libs/lib.pyx pandas/_libs/tslib.pyx pandas/_libs/hashtable.pyx 2 | python setup.py build_ext --inplace 3 | 4 | .PHONY : develop build clean clean_pyc tseries doc 5 | 6 | clean: 7 | -python setup.py clean 8 | 9 | clean_pyc: 10 | -find . -name '*.py[co]' -exec rm {} \; 11 | 12 | build: clean_pyc 13 | python setup.py build_ext --inplace 14 | 15 | lint-diff: 16 | git diff upstream/master --name-only -- "*.py" | xargs flake8 17 | 18 | develop: build 19 | -python setup.py develop 20 | 21 | doc: 22 | -rm -rf doc/build doc/source/generated 23 | cd doc; \ 24 | python make.py clean; \ 25 | python make.py html 26 | -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- 1 | Release Notes 2 | ============= 3 | 4 | The list of changes to Pandas between each release can be found 5 | [here](http://pandas.pydata.org/pandas-docs/stable/whatsnew.html). For full 6 | details, see the commit logs at http://github.com/pandas-dev/pandas. 7 | -------------------------------------------------------------------------------- /asv_bench/benchmarks/__init__.py: -------------------------------------------------------------------------------- 1 | """Pandas benchmarks.""" 2 | -------------------------------------------------------------------------------- /asv_bench/benchmarks/io/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/asv_bench/benchmarks/io/__init__.py -------------------------------------------------------------------------------- /asv_bench/benchmarks/io/sas.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | from pandas import read_sas 4 | 5 | 6 | class SAS(object): 7 | 8 | params = ['sas7bdat', 'xport'] 9 | param_names = ['format'] 10 | 11 | def setup(self, format): 12 | # Read files that are located in 'pandas/io/tests/sas/data' 13 | files = {'sas7bdat': 'test1.sas7bdat', 'xport': 'paxraw_d_short.xpt'} 14 | file = files[format] 15 | paths = [os.path.dirname(__file__), '..', '..', '..', 'pandas', 16 | 'tests', 'io', 'sas', 'data', file] 17 | self.f = os.path.join(*paths) 18 | 19 | def time_read_msgpack(self, format): 20 | read_sas(self.f, format=format) 21 | -------------------------------------------------------------------------------- /asv_bench/benchmarks/panel_methods.py: -------------------------------------------------------------------------------- 1 | import warnings 2 | 3 | import numpy as np 4 | from pandas import Panel 5 | 6 | 7 | class PanelMethods(object): 8 | 9 | params = ['items', 'major', 'minor'] 10 | param_names = ['axis'] 11 | 12 | def setup(self, axis): 13 | with warnings.catch_warnings(record=True): 14 | self.panel = Panel(np.random.randn(100, 1000, 100)) 15 | 16 | def time_pct_change(self, axis): 17 | with warnings.catch_warnings(record=True): 18 | self.panel.pct_change(1, axis=axis) 19 | 20 | def time_shift(self, axis): 21 | with warnings.catch_warnings(record=True): 22 | self.panel.shift(1, axis=axis) 23 | 24 | 25 | from .pandas_vb_common import setup # noqa: F401 26 | -------------------------------------------------------------------------------- /ci/before_script_travis.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "inside $0" 4 | 5 | if [ "${TRAVIS_OS_NAME}" == "linux" ]; then 6 | sh -e /etc/init.d/xvfb start 7 | sleep 3 8 | fi 9 | 10 | # Never fail because bad things happened here. 11 | true 12 | -------------------------------------------------------------------------------- /ci/deps/azure-27-compat.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - bottleneck=1.2.0 7 | - cython=0.28.2 8 | - jinja2=2.8 9 | - numexpr=2.6.1 10 | - numpy=1.12.0 11 | - openpyxl=2.5.5 12 | - pytables=3.4.2 13 | - python-dateutil=2.5.0 14 | - python=2.7* 15 | - pytz=2013b 16 | - scipy=0.18.1 17 | - xlrd=1.0.0 18 | - xlsxwriter=0.5.2 19 | - xlwt=0.7.5 20 | # universal 21 | - pytest>=4.0.2 22 | - pytest-xdist 23 | - pytest-mock 24 | - isort 25 | - pip: 26 | - html5lib==1.0b2 27 | - beautifulsoup4==4.2.1 28 | - hypothesis>=3.58.0 29 | -------------------------------------------------------------------------------- /ci/deps/azure-27-locale.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - bottleneck=1.2.0 7 | - cython=0.28.2 8 | - lxml 9 | - matplotlib=2.0.0 10 | - numpy=1.12.0 11 | - openpyxl=2.4.0 12 | - python-dateutil 13 | - python-blosc 14 | - python=2.7 15 | - pytz 16 | - pytz=2013b 17 | - scipy 18 | - sqlalchemy=0.8.1 19 | - xlrd=1.0.0 20 | - xlsxwriter=0.5.2 21 | - xlwt=0.7.5 22 | # universal 23 | - pytest>=4.0.2 24 | - pytest-xdist 25 | - pytest-mock 26 | - hypothesis>=3.58.0 27 | - isort 28 | - pip: 29 | - html5lib==1.0b2 30 | - beautifulsoup4==4.2.1 31 | -------------------------------------------------------------------------------- /ci/deps/azure-36-locale_slow.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - beautifulsoup4 7 | - cython>=0.28.2 8 | - gcsfs 9 | - html5lib 10 | - ipython 11 | - jinja2 12 | - lxml 13 | - matplotlib 14 | - nomkl 15 | - numexpr 16 | - numpy 17 | - openpyxl 18 | - pytables 19 | - python-dateutil 20 | - python=3.6* 21 | - pytz 22 | - s3fs 23 | - scipy 24 | - xarray 25 | - xlrd 26 | - xlsxwriter 27 | - xlwt 28 | # universal 29 | - pytest>=4.0.2 30 | - pytest-xdist 31 | - pytest-mock 32 | - moto 33 | - isort 34 | - pip: 35 | - hypothesis>=3.58.0 36 | -------------------------------------------------------------------------------- /ci/deps/azure-37-locale.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - beautifulsoup4 7 | - cython>=0.28.2 8 | - html5lib 9 | - ipython 10 | - jinja2 11 | - lxml 12 | - matplotlib 13 | - nomkl 14 | - numexpr 15 | - numpy 16 | - openpyxl 17 | - pytables 18 | - python-dateutil 19 | - python=3.7* 20 | - pytz 21 | - s3fs 22 | - scipy 23 | - xarray 24 | - xlrd 25 | - xlsxwriter 26 | - xlwt 27 | # universal 28 | - pytest>=4.0.2 29 | - pytest-xdist 30 | - pytest-mock 31 | - isort 32 | - pip: 33 | - hypothesis>=3.58.0 34 | - moto # latest moto in conda-forge fails with 3.7, move to conda dependencies when this is fixed 35 | -------------------------------------------------------------------------------- /ci/deps/azure-37-numpydev.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | dependencies: 5 | - python=3.7* 6 | - pytz 7 | - Cython>=0.28.2 8 | # universal 9 | - pytest>=4.0.2 10 | - pytest-xdist 11 | - pytest-mock 12 | - hypothesis>=3.58.0 13 | - isort 14 | - pip: 15 | - "git+git://github.com/dateutil/dateutil.git" 16 | - "-f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" 17 | - "--pre" 18 | - "numpy" 19 | - "scipy" 20 | -------------------------------------------------------------------------------- /ci/deps/azure-macos-35.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | dependencies: 5 | - beautifulsoup4 6 | - bottleneck 7 | - cython>=0.28.2 8 | - html5lib 9 | - jinja2 10 | - lxml 11 | - matplotlib=2.2.0 12 | - nomkl 13 | - numexpr 14 | - numpy=1.12.0 15 | - openpyxl=2.5.5 16 | - pyarrow 17 | - pytables 18 | - python=3.5* 19 | - pytz 20 | - xarray 21 | - xlrd 22 | - xlsxwriter 23 | - xlwt 24 | - isort 25 | - pip: 26 | - python-dateutil==2.5.3 27 | # universal 28 | - pytest>=4.0.2 29 | - pytest-xdist 30 | - pytest-mock 31 | - hypothesis>=3.58.0 32 | -------------------------------------------------------------------------------- /ci/deps/azure-windows-27.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - beautifulsoup4 7 | - bottleneck 8 | - dateutil 9 | - gcsfs 10 | - html5lib 11 | - jinja2=2.8 12 | - lxml 13 | - matplotlib=2.0.1 14 | - numexpr 15 | - numpy=1.12* 16 | - openpyxl 17 | - pytables 18 | - python=2.7.* 19 | - pytz 20 | - s3fs 21 | - scipy 22 | - sqlalchemy 23 | - xlrd 24 | - xlsxwriter 25 | - xlwt 26 | # universal 27 | - cython>=0.28.2 28 | - pytest>=4.0.2 29 | - pytest-xdist 30 | - pytest-mock 31 | - moto 32 | - hypothesis>=3.58.0 33 | - isort 34 | -------------------------------------------------------------------------------- /ci/deps/azure-windows-36.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - blosc 7 | - bottleneck 8 | - boost-cpp<1.67 9 | - fastparquet>=0.2.1 10 | - matplotlib 11 | - numexpr 12 | - numpy=1.14* 13 | - openpyxl 14 | - parquet-cpp 15 | - pyarrow 16 | - pytables 17 | - python-dateutil 18 | - python=3.6.6 19 | - pytz 20 | - scipy 21 | - xlrd 22 | - xlsxwriter 23 | - xlwt 24 | # universal 25 | - cython>=0.28.2 26 | - pytest>=4.0.2 27 | - pytest-xdist 28 | - pytest-mock 29 | - hypothesis>=3.58.0 30 | - isort 31 | -------------------------------------------------------------------------------- /ci/deps/travis-36-locale.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - beautifulsoup4 7 | - cython>=0.28.2 8 | - html5lib 9 | - ipython 10 | - jinja2 11 | - lxml 12 | - matplotlib 13 | - nomkl 14 | - numexpr 15 | - numpy 16 | - openpyxl 17 | - psycopg2 18 | - pymysql 19 | - pytables 20 | - python-dateutil 21 | - python=3.6* 22 | - pytz 23 | - s3fs 24 | - scipy 25 | - sqlalchemy 26 | - xarray 27 | - xlrd 28 | - xlsxwriter 29 | - xlwt 30 | # universal 31 | - pytest>=4.0.2 32 | - pytest-xdist 33 | - pytest-mock 34 | - moto 35 | - isort 36 | - pip: 37 | - hypothesis>=3.58.0 38 | -------------------------------------------------------------------------------- /ci/deps/travis-36-slow.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | dependencies: 6 | - beautifulsoup4 7 | - cython>=0.28.2 8 | - html5lib 9 | - lxml 10 | - matplotlib 11 | - numexpr 12 | - numpy 13 | - openpyxl 14 | - patsy 15 | - psycopg2 16 | - pymysql 17 | - pytables 18 | - python-dateutil 19 | - python=3.6* 20 | - pytz 21 | - s3fs 22 | - scipy 23 | - sqlalchemy 24 | - xlrd 25 | - xlsxwriter 26 | - xlwt 27 | # universal 28 | - pytest>=4.0.2 29 | - pytest-xdist 30 | - pytest-mock 31 | - moto 32 | - hypothesis>=3.58.0 33 | - isort 34 | -------------------------------------------------------------------------------- /ci/deps/travis-37.yaml: -------------------------------------------------------------------------------- 1 | name: pandas-dev 2 | channels: 3 | - defaults 4 | - conda-forge 5 | - c3i_test 6 | dependencies: 7 | - python=3.7 8 | - botocore>=1.11 9 | - cython>=0.28.2 10 | - numpy 11 | - python-dateutil 12 | - nomkl 13 | - pyarrow 14 | - pytz 15 | - pytest>=4.0.2 16 | - pytest-xdist 17 | - pytest-mock 18 | - hypothesis>=3.58.0 19 | - s3fs 20 | - isort 21 | - pip: 22 | - moto 23 | -------------------------------------------------------------------------------- /ci/incremental/build.cmd: -------------------------------------------------------------------------------- 1 | @rem https://github.com/numba/numba/blob/master/buildscripts/incremental/build.cmd 2 | 3 | @rem Build numba extensions without silencing compile errors 4 | python setup.py build_ext -q --inplace 5 | 6 | @rem Install pandas locally 7 | python -m pip install -e . 8 | 9 | if %errorlevel% neq 0 exit /b %errorlevel% 10 | -------------------------------------------------------------------------------- /ci/incremental/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Make sure any error below is reported as such 4 | set -v -e 5 | 6 | echo "[building extensions]" 7 | python setup.py build_ext -q --inplace 8 | python -m pip install -e . 9 | 10 | echo 11 | echo "[show environment]" 12 | conda list 13 | 14 | echo 15 | echo "[done]" 16 | exit 0 17 | -------------------------------------------------------------------------------- /ci/incremental/install_miniconda.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -v -e 4 | 5 | # Install Miniconda 6 | unamestr=`uname` 7 | if [[ "$unamestr" == 'Linux' ]]; then 8 | if [[ "$BITS32" == "yes" ]]; then 9 | wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86.sh -O miniconda.sh 10 | else 11 | wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh 12 | fi 13 | elif [[ "$unamestr" == 'Darwin' ]]; then 14 | wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh 15 | else 16 | echo Error 17 | fi 18 | chmod +x miniconda.sh 19 | ./miniconda.sh -b 20 | -------------------------------------------------------------------------------- /ci/incremental/setup_conda_environment.cmd: -------------------------------------------------------------------------------- 1 | @rem https://github.com/numba/numba/blob/master/buildscripts/incremental/setup_conda_environment.cmd 2 | @rem The cmd /C hack circumvents a regression where conda installs a conda.bat 3 | @rem script in non-root environments. 4 | set CONDA_INSTALL=cmd /C conda install -q -y 5 | set PIP_INSTALL=pip install -q 6 | 7 | @echo on 8 | 9 | @rem Deactivate any environment 10 | call deactivate 11 | @rem Display root environment (for debugging) 12 | conda list 13 | @rem Clean up any left-over from a previous build 14 | conda remove --all -q -y -n pandas-dev 15 | @rem Scipy, CFFI, jinja2 and IPython are optional dependencies, but exercised in the test suite 16 | conda env create --file=ci\deps\azure-windows-%CONDA_PY%.yaml 17 | 18 | call activate pandas-dev 19 | conda list 20 | 21 | if %errorlevel% neq 0 exit /b %errorlevel% 22 | -------------------------------------------------------------------------------- /ci/install_db_travis.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ "${TRAVIS_OS_NAME}" != "linux" ]; then 4 | echo "not using dbs on non-linux" 5 | exit 0 6 | fi 7 | 8 | echo "installing dbs" 9 | mysql -e 'create database pandas_nosetest;' 10 | psql -c 'create database pandas_nosetest;' -U postgres 11 | 12 | echo "done" 13 | exit 0 14 | -------------------------------------------------------------------------------- /ci/submit_cython_cache.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | CACHE_File="$HOME/.cache/cython_files.tar" 4 | PYX_CACHE_DIR="$HOME/.cache/pyxfiles" 5 | pyx_file_list=`find ${TRAVIS_BUILD_DIR} -name "*.pyx" -o -name "*.pxd" -o -name "*.pxi.in"` 6 | 7 | rm -rf $CACHE_File 8 | rm -rf $PYX_CACHE_DIR 9 | 10 | home_dir=$(pwd) 11 | 12 | mkdir -p $PYX_CACHE_DIR 13 | rsync -Rv $pyx_file_list $PYX_CACHE_DIR 14 | 15 | echo "pyx files:" 16 | echo $pyx_file_list 17 | 18 | tar cf ${CACHE_File} --files-from /dev/null 19 | 20 | for i in ${pyx_file_list} 21 | do 22 | f=${i%.pyx} 23 | ls $f.{c,cpp} | tar rf ${CACHE_File} -T - 24 | done 25 | 26 | echo "Cython files in cache tar:" 27 | tar tvf ${CACHE_File} 28 | 29 | exit 0 30 | -------------------------------------------------------------------------------- /ci/travis_gbq.json.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/ci/travis_gbq.json.enc -------------------------------------------------------------------------------- /ci/travis_gbq_config.txt: -------------------------------------------------------------------------------- 1 | TRAVIS_IV_ENV=encrypted_1d9d7b1f171b_iv 2 | TRAVIS_KEY_ENV=encrypted_1d9d7b1f171b_key 3 | -------------------------------------------------------------------------------- /ci/travis_process_gbq_encryption.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | source ci/travis_gbq_config.txt 4 | 5 | if [[ -n ${SERVICE_ACCOUNT_KEY} ]]; then 6 | echo "${SERVICE_ACCOUNT_KEY}" > ci/travis_gbq.json; 7 | elif [[ -n ${!TRAVIS_IV_ENV} ]]; then 8 | openssl aes-256-cbc -K ${!TRAVIS_KEY_ENV} -iv ${!TRAVIS_IV_ENV} \ 9 | -in ci/travis_gbq.json.enc -out ci/travis_gbq.json -d; 10 | export GBQ_PROJECT_ID='pandas-travis'; 11 | echo 'Successfully decrypted gbq credentials' 12 | fi 13 | 14 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | codecov: 2 | branch: master 3 | 4 | coverage: 5 | status: 6 | project: 7 | default: 8 | enabled: no 9 | target: '82' 10 | patch: 11 | default: 12 | enabled: no 13 | target: '50' 14 | -------------------------------------------------------------------------------- /conda.recipe/bld.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | %PYTHON% setup.py install 3 | -------------------------------------------------------------------------------- /conda.recipe/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | $PYTHON setup.py install 3 | -------------------------------------------------------------------------------- /doc/README.rst: -------------------------------------------------------------------------------- 1 | See `contributing.rst `_ in this repo. 2 | -------------------------------------------------------------------------------- /doc/_templates/api_redirect.html: -------------------------------------------------------------------------------- 1 | {% set redirect = redirects[pagename.split("/")[-1]] %} 2 | 3 | 4 | 5 | This API page has moved 6 | 7 | 8 |

This API page has moved here.

9 | 10 | 11 | -------------------------------------------------------------------------------- /doc/_templates/autosummary/accessor.rst: -------------------------------------------------------------------------------- 1 | {{ fullname }} 2 | {{ underline }} 3 | 4 | .. currentmodule:: {{ module.split('.')[0] }} 5 | 6 | .. autoaccessor:: {{ (module.split('.')[1:] + [objname]) | join('.') }} 7 | -------------------------------------------------------------------------------- /doc/_templates/autosummary/accessor_attribute.rst: -------------------------------------------------------------------------------- 1 | {{ fullname }} 2 | {{ underline }} 3 | 4 | .. currentmodule:: {{ module.split('.')[0] }} 5 | 6 | .. autoaccessorattribute:: {{ (module.split('.')[1:] + [objname]) | join('.') }} 7 | -------------------------------------------------------------------------------- /doc/_templates/autosummary/accessor_callable.rst: -------------------------------------------------------------------------------- 1 | {{ fullname }} 2 | {{ underline }} 3 | 4 | .. currentmodule:: {{ module.split('.')[0] }} 5 | 6 | .. autoaccessorcallable:: {{ (module.split('.')[1:] + [objname]) | join('.') }}.__call__ 7 | -------------------------------------------------------------------------------- /doc/_templates/autosummary/accessor_method.rst: -------------------------------------------------------------------------------- 1 | {{ fullname }} 2 | {{ underline }} 3 | 4 | .. currentmodule:: {{ module.split('.')[0] }} 5 | 6 | .. autoaccessormethod:: {{ (module.split('.')[1:] + [objname]) | join('.') }} 7 | -------------------------------------------------------------------------------- /doc/_templates/autosummary/class_without_autosummary.rst: -------------------------------------------------------------------------------- 1 | {{ fullname }} 2 | {{ underline }} 3 | 4 | .. currentmodule:: {{ module }} 5 | 6 | .. autoclass:: {{ objname }} 7 | -------------------------------------------------------------------------------- /doc/cheatsheet/Pandas_Cheat_Sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/cheatsheet/Pandas_Cheat_Sheet.pdf -------------------------------------------------------------------------------- /doc/cheatsheet/Pandas_Cheat_Sheet.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/cheatsheet/Pandas_Cheat_Sheet.pptx -------------------------------------------------------------------------------- /doc/cheatsheet/Pandas_Cheat_Sheet_JA.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/cheatsheet/Pandas_Cheat_Sheet_JA.pdf -------------------------------------------------------------------------------- /doc/cheatsheet/Pandas_Cheat_Sheet_JA.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/cheatsheet/Pandas_Cheat_Sheet_JA.pptx -------------------------------------------------------------------------------- /doc/cheatsheet/README.txt: -------------------------------------------------------------------------------- 1 | The Pandas Cheat Sheet was created using Microsoft Powerpoint 2013. 2 | To create the PDF version, within Powerpoint, simply do a "Save As" 3 | and pick "PDF' as the format. 4 | 5 | This cheat sheet was inspired by the RstudioData Wrangling Cheatsheet[1], written by Irv Lustig, Princeton Consultants[2]. 6 | 7 | [1]: https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf 8 | [2]: http://www.princetonoptimization.com/ 9 | -------------------------------------------------------------------------------- /doc/data/fx_prices: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/data/fx_prices -------------------------------------------------------------------------------- /doc/data/mindex_ex.csv: -------------------------------------------------------------------------------- 1 | year,indiv,zit,xit 2 | 1977,"A",1.2,.6 3 | 1977,"B",1.5,.5 4 | 1977,"C",1.7,.8 5 | 1978,"A",.2,.06 6 | 1978,"B",.7,.2 7 | 1978,"C",.8,.3 8 | 1978,"D",.9,.5 9 | 1978,"E",1.4,.9 10 | 1979,"C",.2,.15 11 | 1979,"D",.14,.05 12 | 1979,"E",.5,.15 13 | 1979,"F",1.2,.5 14 | 1979,"G",3.4,1.9 15 | 1979,"H",5.4,2.7 16 | 1979,"I",6.4,1.2 17 | -------------------------------------------------------------------------------- /doc/data/test.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/data/test.xls -------------------------------------------------------------------------------- /doc/logo/pandas_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/logo/pandas_logo.png -------------------------------------------------------------------------------- /doc/source/_static/ci.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/ci.png -------------------------------------------------------------------------------- /doc/source/_static/df_repr_truncated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/df_repr_truncated.png -------------------------------------------------------------------------------- /doc/source/_static/eval-perf-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/eval-perf-small.png -------------------------------------------------------------------------------- /doc/source/_static/eval-perf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/eval-perf.png -------------------------------------------------------------------------------- /doc/source/_static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/favicon.ico -------------------------------------------------------------------------------- /doc/source/_static/legacy_0.10.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/legacy_0.10.h5 -------------------------------------------------------------------------------- /doc/source/_static/new-excel-index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/new-excel-index.png -------------------------------------------------------------------------------- /doc/source/_static/old-excel-index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/old-excel-index.png -------------------------------------------------------------------------------- /doc/source/_static/option_unicode01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/option_unicode01.png -------------------------------------------------------------------------------- /doc/source/_static/option_unicode02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/option_unicode02.png -------------------------------------------------------------------------------- /doc/source/_static/option_unicode03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/option_unicode03.png -------------------------------------------------------------------------------- /doc/source/_static/option_unicode04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/option_unicode04.png -------------------------------------------------------------------------------- /doc/source/_static/print_df_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/print_df_new.png -------------------------------------------------------------------------------- /doc/source/_static/print_df_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/print_df_old.png -------------------------------------------------------------------------------- /doc/source/_static/query-perf-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/query-perf-small.png -------------------------------------------------------------------------------- /doc/source/_static/query-perf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/query-perf.png -------------------------------------------------------------------------------- /doc/source/_static/reshaping_melt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/reshaping_melt.png -------------------------------------------------------------------------------- /doc/source/_static/reshaping_pivot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/reshaping_pivot.png -------------------------------------------------------------------------------- /doc/source/_static/reshaping_stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/reshaping_stack.png -------------------------------------------------------------------------------- /doc/source/_static/reshaping_unstack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/reshaping_unstack.png -------------------------------------------------------------------------------- /doc/source/_static/reshaping_unstack_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/reshaping_unstack_0.png -------------------------------------------------------------------------------- /doc/source/_static/reshaping_unstack_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/reshaping_unstack_1.png -------------------------------------------------------------------------------- /doc/source/_static/stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/stub -------------------------------------------------------------------------------- /doc/source/_static/style-excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/style-excel.png -------------------------------------------------------------------------------- /doc/source/_static/trunc_after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/trunc_after.png -------------------------------------------------------------------------------- /doc/source/_static/trunc_before.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/trunc_before.png -------------------------------------------------------------------------------- /doc/source/_static/whatsnew_assign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/whatsnew_assign.png -------------------------------------------------------------------------------- /doc/source/_static/whatsnew_plot_submethods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/_static/whatsnew_plot_submethods.png -------------------------------------------------------------------------------- /doc/source/development/index.rst: -------------------------------------------------------------------------------- 1 | {{ header }} 2 | 3 | .. _development: 4 | 5 | =========== 6 | Development 7 | =========== 8 | 9 | .. If you update this toctree, also update the manual toctree in the 10 | main index.rst.template 11 | 12 | .. toctree:: 13 | :maxdepth: 2 14 | 15 | contributing 16 | internals 17 | extending 18 | developer 19 | -------------------------------------------------------------------------------- /doc/source/getting_started/comparison/index.rst: -------------------------------------------------------------------------------- 1 | {{ header }} 2 | 3 | .. _comparison: 4 | 5 | =========================== 6 | Comparison with other tools 7 | =========================== 8 | 9 | .. toctree:: 10 | :maxdepth: 2 11 | 12 | comparison_with_r 13 | comparison_with_sql 14 | comparison_with_sas 15 | comparison_with_stata 16 | -------------------------------------------------------------------------------- /doc/source/getting_started/index.rst: -------------------------------------------------------------------------------- 1 | {{ header }} 2 | 3 | .. _getting_started: 4 | 5 | =============== 6 | Getting started 7 | =============== 8 | 9 | .. If you update this toctree, also update the manual toctree in the 10 | main index.rst.template 11 | 12 | .. toctree:: 13 | :maxdepth: 2 14 | 15 | overview 16 | 10min 17 | basics 18 | dsintro 19 | comparison/index 20 | tutorials 21 | -------------------------------------------------------------------------------- /doc/source/reference/extensions.rst: -------------------------------------------------------------------------------- 1 | {{ header }} 2 | 3 | .. _api.extensions: 4 | 5 | ========== 6 | Extensions 7 | ========== 8 | .. currentmodule:: pandas 9 | 10 | These are primarily intended for library authors looking to extend pandas 11 | objects. 12 | 13 | .. autosummary:: 14 | :toctree: api/ 15 | 16 | api.extensions.register_extension_dtype 17 | api.extensions.register_dataframe_accessor 18 | api.extensions.register_series_accessor 19 | api.extensions.register_index_accessor 20 | api.extensions.ExtensionDtype 21 | api.extensions.ExtensionArray 22 | arrays.PandasArray 23 | -------------------------------------------------------------------------------- /doc/source/reference/plotting.rst: -------------------------------------------------------------------------------- 1 | {{ header }} 2 | 3 | .. _api.plotting: 4 | 5 | ======== 6 | Plotting 7 | ======== 8 | .. currentmodule:: pandas.plotting 9 | 10 | The following functions are contained in the `pandas.plotting` module. 11 | 12 | .. autosummary:: 13 | :toctree: api/ 14 | 15 | andrews_curves 16 | bootstrap_plot 17 | deregister_matplotlib_converters 18 | lag_plot 19 | parallel_coordinates 20 | radviz 21 | register_matplotlib_converters 22 | scatter_matrix 23 | -------------------------------------------------------------------------------- /doc/source/styled.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/doc/source/styled.xlsx -------------------------------------------------------------------------------- /doc/source/themes/nature_with_gtoc/theme.conf: -------------------------------------------------------------------------------- 1 | [theme] 2 | inherit = basic 3 | stylesheet = nature.css 4 | pygments_style = tango 5 | 6 | [options] 7 | sidebarwidth = 270 8 | -------------------------------------------------------------------------------- /doc/source/user_guide/templates/myhtml.tpl: -------------------------------------------------------------------------------- 1 | {% extends "html.tpl" %} 2 | {% block table %} 3 |

{{ table_title|default("My Table") }}

4 | {{ super() }} 5 | {% endblock table %} 6 | -------------------------------------------------------------------------------- /doc/source/whatsnew/v0.23.3.rst: -------------------------------------------------------------------------------- 1 | .. _whatsnew_0233: 2 | 3 | What's New in 0.23.3 (July 7, 2018) 4 | ----------------------------------- 5 | 6 | {{ header }} 7 | 8 | This release fixes a build issue with the sdist for Python 3.7 (:issue:`21785`) 9 | There are no other changes. 10 | 11 | .. _whatsnew_0.23.3.contributors: 12 | 13 | Contributors 14 | ~~~~~~~~~~~~ 15 | 16 | .. contributors:: v0.23.2..v0.23.3 17 | -------------------------------------------------------------------------------- /doc/sphinxext/README.rst: -------------------------------------------------------------------------------- 1 | sphinxext 2 | ========= 3 | 4 | This directory contains copies of different sphinx extensions in use in the 5 | pandas documentation. These copies originate from other projects: 6 | 7 | - ``numpydoc`` - Numpy's Sphinx extensions: this can be found at its own 8 | repository: https://github.com/numpy/numpydoc 9 | - ``ipython_directive`` and ``ipython_console_highlighting`` in the folder 10 | `ipython_sphinxext` - Sphinx extensions from IPython: these are included 11 | in IPython: https://github.com/ipython/ipython/tree/master/IPython/sphinxext 12 | 13 | .. note:: 14 | 15 | These copies are maintained at the respective projects, so fixes should, 16 | to the extent possible, be pushed upstream instead of only adapting our 17 | local copy to avoid divergence between the local and upstream version. 18 | -------------------------------------------------------------------------------- /pandas/_libs/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # flake8: noqa 3 | 4 | from .tslibs import ( 5 | iNaT, NaT, Timestamp, Timedelta, OutOfBoundsDatetime, Period) 6 | -------------------------------------------------------------------------------- /pandas/_libs/algos.pxd: -------------------------------------------------------------------------------- 1 | from pandas._libs.util cimport numeric 2 | 3 | 4 | cdef inline Py_ssize_t swap(numeric *a, numeric *b) nogil: 5 | cdef: 6 | numeric t 7 | 8 | # cython doesn't allow pointer dereference so use array syntax 9 | t = a[0] 10 | a[0] = b[0] 11 | b[0] = t 12 | return 0 13 | 14 | 15 | cdef enum TiebreakEnumType: 16 | TIEBREAK_AVERAGE 17 | TIEBREAK_MIN, 18 | TIEBREAK_MAX 19 | TIEBREAK_FIRST 20 | TIEBREAK_FIRST_DESCENDING 21 | TIEBREAK_DENSE 22 | -------------------------------------------------------------------------------- /pandas/_libs/groupby.pxd: -------------------------------------------------------------------------------- 1 | cdef enum InterpolationEnumType: 2 | INTERPOLATION_LINEAR, 3 | INTERPOLATION_LOWER, 4 | INTERPOLATION_HIGHER, 5 | INTERPOLATION_NEAREST, 6 | INTERPOLATION_MIDPOINT 7 | -------------------------------------------------------------------------------- /pandas/_libs/indexing.pyx: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | 4 | cdef class _NDFrameIndexerBase: 5 | """ 6 | A base class for _NDFrameIndexer for fast instantiation and attribute 7 | access. 8 | """ 9 | cdef public object obj, name, _ndim 10 | 11 | def __init__(self, name, obj): 12 | self.obj = obj 13 | self.name = name 14 | self._ndim = None 15 | 16 | @property 17 | def ndim(self): 18 | # Delay `ndim` instantiation until required as reading it 19 | # from `obj` isn't entirely cheap. 20 | ndim = self._ndim 21 | if ndim is None: 22 | ndim = self._ndim = self.obj.ndim 23 | return ndim 24 | -------------------------------------------------------------------------------- /pandas/_libs/missing.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from numpy cimport ndarray, uint8_t 4 | 5 | cpdef bint checknull(object val) 6 | cpdef bint checknull_old(object val) 7 | cpdef ndarray[uint8_t] isnaobj(ndarray arr) 8 | 9 | cdef bint is_null_datetime64(v) 10 | cdef bint is_null_timedelta64(v) 11 | cdef bint is_null_period(v) 12 | -------------------------------------------------------------------------------- /pandas/_libs/src/headers/portable.h: -------------------------------------------------------------------------------- 1 | #ifndef _PANDAS_PORTABLE_H_ 2 | #define _PANDAS_PORTABLE_H_ 3 | 4 | #if defined(_MSC_VER) 5 | #define strcasecmp( s1, s2 ) _stricmp( s1, s2 ) 6 | #endif 7 | 8 | // GH-23516 - works around locale perf issues 9 | // from MUSL libc, MIT Licensed - see LICENSES 10 | #define isdigit_ascii(c) ((unsigned)c - '0' < 10) 11 | #define isspace_ascii(c) (c == ' ' || (unsigned)c-'\t' < 5) 12 | #define toupper_ascii(c) (((unsigned)c-'a' < 26) ? (c & 0x5f) : c) 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /pandas/_libs/src/headers/stdint.h: -------------------------------------------------------------------------------- 1 | #ifndef _PANDAS_STDINT_H_ 2 | #define _PANDAS_STDINT_H_ 3 | 4 | #if defined(_MSC_VER) && (_MSC_VER < 1900) 5 | #include "ms_stdint.h" 6 | #else 7 | #include 8 | #endif 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pandas/_libs/src/inline_helper.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2016, PyData Development Team 3 | All rights reserved. 4 | 5 | Distributed under the terms of the BSD Simplified License. 6 | 7 | The full license is in the LICENSE file, distributed with this software. 8 | */ 9 | 10 | #ifndef PANDAS__LIBS_SRC_INLINE_HELPER_H_ 11 | #define PANDAS__LIBS_SRC_INLINE_HELPER_H_ 12 | 13 | #ifndef PANDAS_INLINE 14 | #if defined(__GNUC__) 15 | #define PANDAS_INLINE static __inline__ 16 | #elif defined(_MSC_VER) 17 | #define PANDAS_INLINE static __inline 18 | #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 19 | #define PANDAS_INLINE static inline 20 | #else 21 | #define PANDAS_INLINE 22 | #endif // __GNUC__ 23 | #endif // PANDAS_INLINE 24 | 25 | #endif // PANDAS__LIBS_SRC_INLINE_HELPER_H_ 26 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # flake8: noqa 3 | 4 | from .conversion import normalize_date, localize_pydatetime, tz_convert_single 5 | from .nattype import NaT, iNaT, is_null_datetimelike 6 | from .np_datetime import OutOfBoundsDatetime 7 | from .period import Period, IncompatibleFrequency 8 | from .timestamps import Timestamp 9 | from .timedeltas import delta_to_nanoseconds, ints_to_pytimedelta, Timedelta 10 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/ccalendar.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from cython cimport Py_ssize_t 4 | 5 | from numpy cimport int64_t, int32_t 6 | 7 | 8 | cdef int dayofweek(int y, int m, int d) nogil 9 | cdef bint is_leapyear(int64_t year) nogil 10 | cpdef int32_t get_days_in_month(int year, Py_ssize_t month) nogil 11 | cpdef int32_t get_week_of_year(int year, int month, int day) nogil 12 | cpdef int32_t get_day_of_year(int year, int month, int day) nogil 13 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/frequencies.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | cpdef object get_rule_month(object source, object default=*) 4 | 5 | cpdef get_freq_code(freqstr) 6 | cpdef object get_freq(object freq) 7 | cpdef str get_base_alias(freqstr) 8 | cpdef int get_to_timestamp_base(int base) 9 | cpdef str get_freq_str(base, mult=*) 10 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/nattype.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from cpython.datetime cimport datetime 4 | 5 | from numpy cimport int64_t 6 | cdef int64_t NPY_NAT 7 | 8 | cdef bint _nat_scalar_rules[6] 9 | 10 | 11 | cdef class _NaT(datetime): 12 | cdef readonly: 13 | int64_t value 14 | object freq 15 | 16 | cdef _NaT c_NaT 17 | 18 | 19 | cdef bint checknull_with_nat(object val) 20 | cpdef bint is_null_datetimelike(object val, bint inat_is_null=*) 21 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/offsets.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | cdef to_offset(object obj) 4 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/timedeltas.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from numpy cimport int64_t 4 | 5 | # Exposed for tslib, not intended for outside use. 6 | cdef int64_t cast_from_unit(object ts, object unit) except? -1 7 | cpdef int64_t delta_to_nanoseconds(delta) except? -1 8 | cdef convert_to_timedelta64(object ts, object unit) 9 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/timestamps.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from numpy cimport int64_t 4 | from pandas._libs.tslibs.np_datetime cimport npy_datetimestruct 5 | 6 | cdef object create_timestamp_from_ts(int64_t value, 7 | npy_datetimestruct dts, 8 | object tz, object freq) 9 | -------------------------------------------------------------------------------- /pandas/_libs/tslibs/timezones.pxd: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | cpdef bint is_utc(object tz) 4 | cdef bint is_tzlocal(object tz) 5 | 6 | cdef bint treat_tz_as_pytz(object tz) 7 | cdef bint treat_tz_as_dateutil(object tz) 8 | 9 | cpdef bint tz_compare(object start, object end) 10 | cpdef object get_timezone(object tz) 11 | cpdef object maybe_get_tz(object tz) 12 | 13 | cdef get_utcoffset(tzinfo, obj) 14 | cdef bint is_fixed_offset(object tz) 15 | 16 | cdef object get_dst_info(object tz) 17 | -------------------------------------------------------------------------------- /pandas/api/__init__.py: -------------------------------------------------------------------------------- 1 | """ public toolkit API """ 2 | from . import types, extensions # noqa 3 | -------------------------------------------------------------------------------- /pandas/api/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | """Public API for extending pandas objects.""" 2 | from pandas.core.accessor import (register_dataframe_accessor, # noqa 3 | register_index_accessor, 4 | register_series_accessor) 5 | from pandas.core.algorithms import take # noqa 6 | from pandas.core.arrays import (ExtensionArray, # noqa 7 | ExtensionScalarOpsMixin) 8 | from pandas.core.dtypes.dtypes import ( # noqa 9 | ExtensionDtype, register_extension_dtype 10 | ) 11 | -------------------------------------------------------------------------------- /pandas/api/types/__init__.py: -------------------------------------------------------------------------------- 1 | """ public toolkit API """ 2 | 3 | from pandas.core.dtypes.api import * # noqa 4 | from pandas.core.dtypes.dtypes import (CategoricalDtype, # noqa 5 | DatetimeTZDtype, 6 | PeriodDtype, 7 | IntervalDtype) 8 | from pandas.core.dtypes.concat import union_categoricals # noqa 9 | from pandas._libs.lib import infer_dtype # noqa 10 | -------------------------------------------------------------------------------- /pandas/arrays/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | All of pandas' ExtensionArrays. 3 | 4 | See :ref:`extending.extension-types` for more. 5 | """ 6 | from pandas.core.arrays import ( 7 | IntervalArray, PeriodArray, Categorical, SparseArray, IntegerArray, 8 | PandasArray, 9 | DatetimeArray, 10 | TimedeltaArray, 11 | ) 12 | 13 | 14 | __all__ = [ 15 | 'Categorical', 16 | 'DatetimeArray', 17 | 'IntegerArray', 18 | 'IntervalArray', 19 | 'PandasArray', 20 | 'PeriodArray', 21 | 'SparseArray', 22 | 'TimedeltaArray', 23 | ] 24 | -------------------------------------------------------------------------------- /pandas/compat/chainmap.py: -------------------------------------------------------------------------------- 1 | try: 2 | from collections import ChainMap 3 | except ImportError: 4 | from pandas.compat.chainmap_impl import ChainMap 5 | 6 | 7 | class DeepChainMap(ChainMap): 8 | 9 | def __setitem__(self, key, value): 10 | for mapping in self.maps: 11 | if key in mapping: 12 | mapping[key] = value 13 | return 14 | self.maps[0][key] = value 15 | 16 | def __delitem__(self, key): 17 | for mapping in self.maps: 18 | if key in mapping: 19 | del mapping[key] 20 | return 21 | raise KeyError(key) 22 | 23 | # override because the m parameter is introduced in Python 3.4 24 | def new_child(self, m=None): 25 | if m is None: 26 | m = {} 27 | return self.__class__(m, *self.maps) 28 | -------------------------------------------------------------------------------- /pandas/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/__init__.py -------------------------------------------------------------------------------- /pandas/core/arrays/__init__.py: -------------------------------------------------------------------------------- 1 | from .array_ import array # noqa 2 | from .base import (ExtensionArray, # noqa 3 | ExtensionOpsMixin, 4 | ExtensionScalarOpsMixin) 5 | from .categorical import Categorical # noqa 6 | from .datetimes import DatetimeArray # noqa 7 | from .interval import IntervalArray # noqa 8 | from .period import PeriodArray, period_array # noqa 9 | from .timedeltas import TimedeltaArray # noqa 10 | from .integer import ( # noqa 11 | IntegerArray, integer_array) 12 | from .sparse import SparseArray # noqa 13 | from .numpy_ import PandasArray, PandasDtype # noqa 14 | -------------------------------------------------------------------------------- /pandas/core/categorical.py: -------------------------------------------------------------------------------- 1 | import warnings 2 | 3 | from pandas.core.dtypes.dtypes import CategoricalDtype # noqa 4 | 5 | from pandas.core.arrays import Categorical # noqa 6 | 7 | # TODO: Remove after 0.23.x 8 | warnings.warn("'pandas.core' is private. Use 'pandas.Categorical'", 9 | FutureWarning, stacklevel=2) 10 | -------------------------------------------------------------------------------- /pandas/core/computation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/computation/__init__.py -------------------------------------------------------------------------------- /pandas/core/computation/api.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | 3 | from pandas.core.computation.eval import eval 4 | -------------------------------------------------------------------------------- /pandas/core/computation/check.py: -------------------------------------------------------------------------------- 1 | from distutils.version import LooseVersion 2 | import warnings 3 | 4 | _NUMEXPR_INSTALLED = False 5 | _MIN_NUMEXPR_VERSION = "2.6.1" 6 | _NUMEXPR_VERSION = None 7 | 8 | try: 9 | import numexpr as ne 10 | ver = LooseVersion(ne.__version__) 11 | _NUMEXPR_INSTALLED = ver >= LooseVersion(_MIN_NUMEXPR_VERSION) 12 | _NUMEXPR_VERSION = ver 13 | 14 | if not _NUMEXPR_INSTALLED: 15 | warnings.warn( 16 | "The installed version of numexpr {ver} is not supported " 17 | "in pandas and will be not be used\nThe minimum supported " 18 | "version is {min_ver}\n".format( 19 | ver=ver, min_ver=_MIN_NUMEXPR_VERSION), UserWarning) 20 | 21 | except ImportError: # pragma: no cover 22 | pass 23 | 24 | __all__ = ['_NUMEXPR_INSTALLED', '_NUMEXPR_VERSION'] 25 | -------------------------------------------------------------------------------- /pandas/core/computation/common.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | from pandas.compat import reduce 4 | 5 | import pandas as pd 6 | 7 | 8 | def _ensure_decoded(s): 9 | """ if we have bytes, decode them to unicode """ 10 | if isinstance(s, (np.bytes_, bytes)): 11 | s = s.decode(pd.get_option('display.encoding')) 12 | return s 13 | 14 | 15 | def _result_type_many(*arrays_and_dtypes): 16 | """ wrapper around numpy.result_type which overcomes the NPY_MAXARGS (32) 17 | argument limit """ 18 | try: 19 | return np.result_type(*arrays_and_dtypes) 20 | except ValueError: 21 | # we have > NPY_MAXARGS terms in our expression 22 | return reduce(np.result_type, arrays_and_dtypes) 23 | 24 | 25 | class NameResolutionError(NameError): 26 | pass 27 | -------------------------------------------------------------------------------- /pandas/core/dtypes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/dtypes/__init__.py -------------------------------------------------------------------------------- /pandas/core/groupby/__init__.py: -------------------------------------------------------------------------------- 1 | from pandas.core.groupby.groupby import GroupBy # noqa: F401 2 | from pandas.core.groupby.generic import ( # noqa: F401 3 | SeriesGroupBy, DataFrameGroupBy) 4 | from pandas.core.groupby.grouper import Grouper # noqa: F401 5 | -------------------------------------------------------------------------------- /pandas/core/index.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | from pandas.core.indexes.api import * 3 | from pandas.core.indexes.multi import _sparsify 4 | -------------------------------------------------------------------------------- /pandas/core/indexes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/indexes/__init__.py -------------------------------------------------------------------------------- /pandas/core/internals/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from .blocks import ( # noqa:F401 3 | _block_shape, # io.pytables 4 | _safe_reshape, # io.packers 5 | make_block, # io.pytables, io.packers 6 | FloatBlock, IntBlock, ComplexBlock, BoolBlock, ObjectBlock, 7 | TimeDeltaBlock, DatetimeBlock, DatetimeTZBlock, 8 | CategoricalBlock, ExtensionBlock, Block) 9 | from .managers import ( # noqa:F401 10 | BlockManager, SingleBlockManager, 11 | create_block_manager_from_arrays, create_block_manager_from_blocks, 12 | items_overlap_with_suffix, # reshape.merge 13 | concatenate_block_managers) # reshape.concat, reshape.merge 14 | -------------------------------------------------------------------------------- /pandas/core/reshape/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/reshape/__init__.py -------------------------------------------------------------------------------- /pandas/core/reshape/api.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | 3 | from pandas.core.reshape.concat import concat 4 | from pandas.core.reshape.melt import lreshape, melt, wide_to_long 5 | from pandas.core.reshape.merge import merge, merge_asof, merge_ordered 6 | from pandas.core.reshape.pivot import crosstab, pivot, pivot_table 7 | from pandas.core.reshape.reshape import get_dummies 8 | from pandas.core.reshape.tile import cut, qcut 9 | -------------------------------------------------------------------------------- /pandas/core/sparse/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/sparse/__init__.py -------------------------------------------------------------------------------- /pandas/core/sparse/api.py: -------------------------------------------------------------------------------- 1 | # pylint: disable=W0611 2 | # flake8: noqa 3 | from pandas.core.arrays.sparse import SparseArray, SparseDtype 4 | from pandas.core.sparse.frame import SparseDataFrame 5 | from pandas.core.sparse.series import SparseSeries 6 | -------------------------------------------------------------------------------- /pandas/core/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/tools/__init__.py -------------------------------------------------------------------------------- /pandas/core/util/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/core/util/__init__.py -------------------------------------------------------------------------------- /pandas/io/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/io/__init__.py -------------------------------------------------------------------------------- /pandas/io/api.py: -------------------------------------------------------------------------------- 1 | """ 2 | Data IO api 3 | """ 4 | 5 | # flake8: noqa 6 | 7 | from pandas.io.clipboards import read_clipboard 8 | from pandas.io.excel import ExcelFile, ExcelWriter, read_excel 9 | from pandas.io.feather_format import read_feather 10 | from pandas.io.gbq import read_gbq 11 | from pandas.io.html import read_html 12 | from pandas.io.json import read_json 13 | from pandas.io.packers import read_msgpack, to_msgpack 14 | from pandas.io.parquet import read_parquet 15 | from pandas.io.parsers import read_csv, read_fwf, read_table 16 | from pandas.io.pickle import read_pickle, to_pickle 17 | from pandas.io.pytables import HDFStore, read_hdf 18 | from pandas.io.sas import read_sas 19 | from pandas.io.sql import read_sql, read_sql_query, read_sql_table 20 | from pandas.io.stata import read_stata 21 | -------------------------------------------------------------------------------- /pandas/io/clipboard/exceptions.py: -------------------------------------------------------------------------------- 1 | import ctypes 2 | 3 | 4 | class PyperclipException(RuntimeError): 5 | pass 6 | 7 | 8 | class PyperclipWindowsException(PyperclipException): 9 | 10 | def __init__(self, message): 11 | message += " ({err})".format(err=ctypes.WinError()) 12 | super(PyperclipWindowsException, self).__init__(message) 13 | -------------------------------------------------------------------------------- /pandas/io/excel/__init__.py: -------------------------------------------------------------------------------- 1 | from pandas.io.excel._base import read_excel, ExcelWriter, ExcelFile 2 | from pandas.io.excel._openpyxl import _OpenpyxlWriter 3 | from pandas.io.excel._util import register_writer 4 | from pandas.io.excel._xlsxwriter import _XlsxWriter 5 | from pandas.io.excel._xlwt import _XlwtWriter 6 | 7 | __all__ = ["read_excel", "ExcelWriter", "ExcelFile"] 8 | 9 | 10 | register_writer(_OpenpyxlWriter) 11 | 12 | 13 | register_writer(_XlwtWriter) 14 | 15 | 16 | register_writer(_XlsxWriter) 17 | -------------------------------------------------------------------------------- /pandas/io/formats/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/io/formats/__init__.py -------------------------------------------------------------------------------- /pandas/io/gcs.py: -------------------------------------------------------------------------------- 1 | """ GCS support for remote file interactivity """ 2 | try: 3 | import gcsfs 4 | except ImportError: 5 | raise ImportError("The gcsfs library is required to handle GCS files") 6 | 7 | 8 | def get_filepath_or_buffer(filepath_or_buffer, encoding=None, 9 | compression=None, mode=None): 10 | 11 | if mode is None: 12 | mode = 'rb' 13 | 14 | fs = gcsfs.GCSFileSystem() 15 | filepath_or_buffer = fs.open(filepath_or_buffer, mode) 16 | return filepath_or_buffer, None, compression, True 17 | -------------------------------------------------------------------------------- /pandas/io/json/__init__.py: -------------------------------------------------------------------------------- 1 | from .json import to_json, read_json, loads, dumps # noqa 2 | from .normalize import json_normalize # noqa 3 | from .table_schema import build_table_schema # noqa 4 | 5 | del json, normalize, table_schema # noqa 6 | -------------------------------------------------------------------------------- /pandas/io/msgpack/_version.py: -------------------------------------------------------------------------------- 1 | version = (0, 4, 6) 2 | -------------------------------------------------------------------------------- /pandas/io/msgpack/exceptions.py: -------------------------------------------------------------------------------- 1 | class UnpackException(Exception): 2 | pass 3 | 4 | 5 | class BufferFull(UnpackException): 6 | pass 7 | 8 | 9 | class OutOfData(UnpackException): 10 | pass 11 | 12 | 13 | class UnpackValueError(UnpackException, ValueError): 14 | pass 15 | 16 | 17 | class ExtraData(ValueError): 18 | 19 | def __init__(self, unpacked, extra): 20 | self.unpacked = unpacked 21 | self.extra = extra 22 | 23 | def __str__(self): 24 | return "unpack(b) received extra data." 25 | 26 | 27 | class PackException(Exception): 28 | pass 29 | 30 | 31 | class PackValueError(PackException, ValueError): 32 | pass 33 | -------------------------------------------------------------------------------- /pandas/io/sas/__init__.py: -------------------------------------------------------------------------------- 1 | from .sasreader import read_sas # noqa 2 | -------------------------------------------------------------------------------- /pandas/plotting/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Plotting api 3 | """ 4 | 5 | # flake8: noqa 6 | 7 | from pandas.plotting._misc import (scatter_matrix, radviz, 8 | andrews_curves, bootstrap_plot, 9 | parallel_coordinates, lag_plot, 10 | autocorrelation_plot) 11 | from pandas.plotting._core import boxplot 12 | from pandas.plotting._style import plot_params 13 | from pandas.plotting._tools import table 14 | try: 15 | from pandas.plotting._converter import ( 16 | register as register_matplotlib_converters) 17 | from pandas.plotting._converter import ( 18 | deregister as deregister_matplotlib_converters) 19 | except ImportError: 20 | pass 21 | -------------------------------------------------------------------------------- /pandas/plotting/_compat.py: -------------------------------------------------------------------------------- 1 | # being a bit too dynamic 2 | # pylint: disable=E1101 3 | from __future__ import division 4 | 5 | from distutils.version import LooseVersion 6 | import operator 7 | 8 | 9 | def _mpl_version(version, op): 10 | def inner(): 11 | try: 12 | import matplotlib as mpl 13 | except ImportError: 14 | return False 15 | return (op(LooseVersion(mpl.__version__), LooseVersion(version)) and 16 | str(mpl.__version__)[0] != '0') 17 | 18 | return inner 19 | 20 | 21 | _mpl_ge_2_0_1 = _mpl_version('2.0.1', operator.ge) 22 | _mpl_ge_2_1_0 = _mpl_version('2.1.0', operator.ge) 23 | _mpl_ge_2_2_0 = _mpl_version('2.2.0', operator.ge) 24 | _mpl_ge_2_2_2 = _mpl_version('2.2.2', operator.ge) 25 | _mpl_ge_3_0_0 = _mpl_version('3.0.0', operator.ge) 26 | -------------------------------------------------------------------------------- /pandas/testing.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | 3 | """ 4 | Public testing utility functions. 5 | """ 6 | 7 | from pandas.util.testing import ( 8 | assert_frame_equal, assert_index_equal, assert_series_equal) 9 | -------------------------------------------------------------------------------- /pandas/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/__init__.py -------------------------------------------------------------------------------- /pandas/tests/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/api/__init__.py -------------------------------------------------------------------------------- /pandas/tests/arithmetic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/arithmetic/__init__.py -------------------------------------------------------------------------------- /pandas/tests/arrays/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/arrays/__init__.py -------------------------------------------------------------------------------- /pandas/tests/arrays/categorical/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/arrays/categorical/__init__.py -------------------------------------------------------------------------------- /pandas/tests/arrays/categorical/common.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from pandas import Categorical 4 | 5 | 6 | class TestCategorical(object): 7 | 8 | def setup_method(self, method): 9 | self.factor = Categorical(['a', 'b', 'b', 'a', 'a', 'c', 'c', 'c'], 10 | ordered=True) 11 | -------------------------------------------------------------------------------- /pandas/tests/arrays/categorical/conftest.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.fixture(params=[True, False]) 5 | def allow_fill(request): 6 | """Boolean 'allow_fill' parameter for Categorical.take""" 7 | return request.param 8 | 9 | 10 | @pytest.fixture(params=[True, False]) 11 | def ordered(request): 12 | """Boolean 'ordered' parameter for Categorical.""" 13 | return request.param 14 | -------------------------------------------------------------------------------- /pandas/tests/arrays/interval/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/arrays/interval/__init__.py -------------------------------------------------------------------------------- /pandas/tests/arrays/sparse/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/arrays/sparse/__init__.py -------------------------------------------------------------------------------- /pandas/tests/computation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/computation/__init__.py -------------------------------------------------------------------------------- /pandas/tests/dtypes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/dtypes/__init__.py -------------------------------------------------------------------------------- /pandas/tests/dtypes/cast/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/dtypes/cast/__init__.py -------------------------------------------------------------------------------- /pandas/tests/dtypes/cast/test_construct_ndarray.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import numpy as np 4 | import pytest 5 | 6 | from pandas.core.dtypes.cast import construct_1d_ndarray_preserving_na 7 | 8 | from pandas.util import testing as tm 9 | 10 | 11 | @pytest.mark.parametrize('values, dtype, expected', [ 12 | ([1, 2, 3], None, np.array([1, 2, 3])), 13 | (np.array([1, 2, 3]), None, np.array([1, 2, 3])), 14 | (['1', '2', None], None, np.array(['1', '2', None])), 15 | (['1', '2', None], np.dtype('str'), np.array(['1', '2', None])), 16 | ([1, 2, None], np.dtype('str'), np.array(['1', '2', None])), 17 | ]) 18 | def test_construct_1d_ndarray_preserving_na(values, dtype, expected): 19 | result = construct_1d_ndarray_preserving_na(values, dtype=dtype) 20 | tm.assert_numpy_array_equal(result, expected) 21 | -------------------------------------------------------------------------------- /pandas/tests/dtypes/cast/test_convert_objects.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import numpy as np 4 | import pytest 5 | 6 | from pandas.core.dtypes.cast import maybe_convert_objects 7 | 8 | 9 | @pytest.mark.parametrize("data", [[1, 2], ["apply", "banana"]]) 10 | @pytest.mark.parametrize("copy", [True, False]) 11 | def test_maybe_convert_objects_copy(data, copy): 12 | arr = np.array(data) 13 | out = maybe_convert_objects(arr, copy=copy) 14 | 15 | assert (arr is out) is (not copy) 16 | -------------------------------------------------------------------------------- /pandas/tests/dtypes/cast/test_infer_datetimelike.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import numpy as np 4 | import pytest 5 | 6 | from pandas import DataFrame, NaT, Series, Timestamp 7 | 8 | 9 | @pytest.mark.parametrize("data,exp_size", [ 10 | # see gh-16362. 11 | ([[NaT, "a", "b", 0], [NaT, "b", "c", 1]], 8), 12 | ([[NaT, "a", 0], [NaT, "b", 1]], 6) 13 | ]) 14 | def test_maybe_infer_to_datetimelike_df_construct(data, exp_size): 15 | result = DataFrame(np.array(data)) 16 | assert result.size == exp_size 17 | 18 | 19 | def test_maybe_infer_to_datetimelike_ser_construct(): 20 | # see gh-19671. 21 | result = Series(["M1701", Timestamp("20130101")]) 22 | assert result.dtype.kind == "O" 23 | -------------------------------------------------------------------------------- /pandas/tests/extension/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/extension/__init__.py -------------------------------------------------------------------------------- /pandas/tests/extension/arrow/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/extension/arrow/__init__.py -------------------------------------------------------------------------------- /pandas/tests/extension/base/base.py: -------------------------------------------------------------------------------- 1 | import pandas.util.testing as tm 2 | 3 | 4 | class BaseExtensionTests(object): 5 | assert_equal = staticmethod(tm.assert_equal) 6 | assert_series_equal = staticmethod(tm.assert_series_equal) 7 | assert_frame_equal = staticmethod(tm.assert_frame_equal) 8 | assert_extension_array_equal = staticmethod( 9 | tm.assert_extension_array_equal 10 | ) 11 | -------------------------------------------------------------------------------- /pandas/tests/extension/base/casting.py: -------------------------------------------------------------------------------- 1 | import pandas as pd 2 | from pandas.core.internals import ObjectBlock 3 | 4 | from .base import BaseExtensionTests 5 | 6 | 7 | class BaseCastingTests(BaseExtensionTests): 8 | """Casting to and from ExtensionDtypes""" 9 | 10 | def test_astype_object_series(self, all_data): 11 | ser = pd.Series({"A": all_data}) 12 | result = ser.astype(object) 13 | assert isinstance(result._data.blocks[0], ObjectBlock) 14 | 15 | def test_tolist(self, data): 16 | result = pd.Series(data).tolist() 17 | expected = list(data) 18 | assert result == expected 19 | 20 | def test_astype_str(self, data): 21 | result = pd.Series(data[:5]).astype(str) 22 | expected = pd.Series(data[:5].astype(str)) 23 | self.assert_series_equal(result, expected) 24 | -------------------------------------------------------------------------------- /pandas/tests/extension/base/io.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | import pytest 3 | 4 | from pandas.compat import StringIO 5 | 6 | import pandas as pd 7 | 8 | from .base import BaseExtensionTests 9 | 10 | 11 | class BaseParsingTests(BaseExtensionTests): 12 | 13 | @pytest.mark.parametrize('engine', ['c', 'python']) 14 | def test_EA_types(self, engine, data): 15 | df = pd.DataFrame({ 16 | 'with_dtype': pd.Series(data, dtype=str(data.dtype)) 17 | }) 18 | csv_output = df.to_csv(index=False, na_rep=np.nan) 19 | result = pd.read_csv(StringIO(csv_output), dtype={ 20 | 'with_dtype': str(data.dtype) 21 | }, engine=engine) 22 | expected = df 23 | self.assert_frame_equal(result, expected) 24 | -------------------------------------------------------------------------------- /pandas/tests/extension/decimal/__init__.py: -------------------------------------------------------------------------------- 1 | from .array import DecimalArray, DecimalDtype, to_decimal, make_data 2 | 3 | 4 | __all__ = ['DecimalArray', 'DecimalDtype', 'to_decimal', 'make_data'] 5 | -------------------------------------------------------------------------------- /pandas/tests/extension/json/__init__.py: -------------------------------------------------------------------------------- 1 | from .array import JSONArray, JSONDtype, make_data 2 | 3 | __all__ = ['JSONArray', 'JSONDtype', 'make_data'] 4 | -------------------------------------------------------------------------------- /pandas/tests/frame/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/frame/__init__.py -------------------------------------------------------------------------------- /pandas/tests/generic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/generic/__init__.py -------------------------------------------------------------------------------- /pandas/tests/groupby/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/groupby/__init__.py -------------------------------------------------------------------------------- /pandas/tests/groupby/aggregate/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/groupby/aggregate/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexes/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexes/datetimes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexes/datetimes/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexes/interval/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexes/interval/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexes/multi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexes/multi/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexes/period/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexes/period/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexes/timedeltas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexes/timedeltas/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexing/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexing/conftest.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | import pytest 3 | 4 | from pandas._libs import index as libindex 5 | 6 | 7 | @pytest.fixture(params=[ 8 | (libindex.Int64Engine, np.int64), 9 | (libindex.Int32Engine, np.int32), 10 | (libindex.Int16Engine, np.int16), 11 | (libindex.Int8Engine, np.int8), 12 | (libindex.UInt64Engine, np.uint64), 13 | (libindex.UInt32Engine, np.uint32), 14 | (libindex.UInt16Engine, np.uint16), 15 | (libindex.UInt8Engine, np.uint8), 16 | (libindex.Float64Engine, np.float64), 17 | (libindex.Float32Engine, np.float32), 18 | ], ids=lambda x: x[0].__name__) 19 | def numeric_indexing_engine_type_and_dtype(request): 20 | return request.param 21 | -------------------------------------------------------------------------------- /pandas/tests/indexing/interval/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexing/interval/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexing/multiindex/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/indexing/multiindex/__init__.py -------------------------------------------------------------------------------- /pandas/tests/indexing/multiindex/test_datetime.py: -------------------------------------------------------------------------------- 1 | from datetime import datetime 2 | 3 | import numpy as np 4 | 5 | from pandas import Index, Period, Series, period_range 6 | 7 | 8 | def test_multiindex_period_datetime(): 9 | # GH4861, using datetime in period of multiindex raises exception 10 | 11 | idx1 = Index(['a', 'a', 'a', 'b', 'b']) 12 | idx2 = period_range('2012-01', periods=len(idx1), freq='M') 13 | s = Series(np.random.randn(len(idx1)), [idx1, idx2]) 14 | 15 | # try Period as index 16 | expected = s.iloc[0] 17 | result = s.loc['a', Period('2012-01')] 18 | assert result == expected 19 | 20 | # try datetime as index 21 | result = s.loc['a', datetime(2012, 1, 1)] 22 | assert result == expected 23 | -------------------------------------------------------------------------------- /pandas/tests/indexing/test_indexing_slow.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import pytest 4 | 5 | from pandas import DataFrame 6 | import pandas.util.testing as tm 7 | 8 | 9 | class TestIndexingSlow(object): 10 | 11 | @pytest.mark.slow 12 | def test_large_dataframe_indexing(self): 13 | # GH10692 14 | result = DataFrame({'x': range(10 ** 6)}, dtype='int64') 15 | result.loc[len(result)] = len(result) + 1 16 | expected = DataFrame({'x': range(10 ** 6 + 1)}, dtype='int64') 17 | tm.assert_frame_equal(result, expected) 18 | -------------------------------------------------------------------------------- /pandas/tests/internals/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/internals/__init__.py -------------------------------------------------------------------------------- /pandas/tests/io/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/__init__.py -------------------------------------------------------------------------------- /pandas/tests/io/data/S4_EDUC1.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/S4_EDUC1.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/blank.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/blank.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/blank.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/blank.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/blank.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/blank.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/blank_with_header.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/blank_with_header.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/blank_with_header.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/blank_with_header.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/blank_with_header.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/blank_with_header.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/categorical_0_15_2.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/categorical_0_15_2.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/feather-0_3_1.feather: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/feather-0_3_1.feather -------------------------------------------------------------------------------- /pandas/tests/io/data/fixed_width_format.txt: -------------------------------------------------------------------------------- 1 | A B C 2 | 1 2 3 3 | 4 5 6 4 | -------------------------------------------------------------------------------- /pandas/tests/io/data/html_encoding/chinese_utf-16.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/html_encoding/chinese_utf-16.html -------------------------------------------------------------------------------- /pandas/tests/io/data/html_encoding/chinese_utf-32.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/html_encoding/chinese_utf-32.html -------------------------------------------------------------------------------- /pandas/tests/io/data/html_encoding/chinese_utf-8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
01
0 漊煻獌 漊煻獌
1 袟袘觕 袟袘觕
2 埱娵徖 埱娵徖
-------------------------------------------------------------------------------- /pandas/tests/io/data/html_encoding/letz_latin1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/html_encoding/letz_latin1.html -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_hdf/datetimetz_object.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_hdf/datetimetz_object.h5 -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_hdf/legacy_table_fixed_py2.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_hdf/legacy_table_fixed_py2.h5 -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_hdf/legacy_table_py2.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_hdf/legacy_table_py2.h5 -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_hdf/periodindex_0.20.1_x86_64_darwin_2.7.13.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_hdf/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_hdf/pytables_native.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_hdf/pytables_native.h5 -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_hdf/pytables_native2.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_hdf/pytables_native2.h5 -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.0/0.16.0_x86_64_darwin_2.7.9.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.0/0.16.0_x86_64_darwin_2.7.9.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_AMD64_windows_2.7.10.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_AMD64_windows_2.7.10.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_AMD64_windows_3.4.3.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_AMD64_windows_3.4.3.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_darwin_2.7.10.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_darwin_2.7.10.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_darwin_2.7.9.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_darwin_2.7.9.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_darwin_3.4.3.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_darwin_3.4.3.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_linux_2.7.10.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_linux_2.7.10.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_linux_3.4.3.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.16.2/0.16.2_x86_64_linux_3.4.3.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_AMD64_windows_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_AMD64_windows_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_AMD64_windows_3.4.4.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_AMD64_windows_3.4.4.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_darwin_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_darwin_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_darwin_3.4.4.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_darwin_3.4.4.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_linux_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_linux_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_linux_3.4.4.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.0_x86_64_linux_3.4.4.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.1_AMD64_windows_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.1_AMD64_windows_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.1_AMD64_windows_3.5.1.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.0/0.17.1_AMD64_windows_3.5.1.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_AMD64_windows_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_AMD64_windows_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_AMD64_windows_3.5.1.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_AMD64_windows_3.5.1.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_darwin_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_darwin_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_darwin_3.5.1.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_darwin_3.5.1.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_linux_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_linux_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_linux_3.4.4.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.17.1/0.17.1_x86_64_linux_3.4.4.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_AMD64_windows_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_AMD64_windows_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_AMD64_windows_3.5.1.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_AMD64_windows_3.5.1.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_x86_64_darwin_2.7.11.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_x86_64_darwin_2.7.11.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_x86_64_darwin_3.5.1.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.18.0/0.18.0_x86_64_darwin_3.5.1.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.18.1/0.18.1_x86_64_darwin_2.7.12.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.18.1/0.18.1_x86_64_darwin_2.7.12.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.18.1/0.18.1_x86_64_darwin_3.5.2.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.18.1/0.18.1_x86_64_darwin_3.5.2.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.19.2/0.19.2_x86_64_darwin_2.7.12.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.19.2/0.19.2_x86_64_darwin_2.7.12.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_msgpack/0.19.2/0.19.2_x86_64_darwin_3.6.1.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_msgpack/0.19.2/0.19.2_x86_64_darwin_3.6.1.msgpack -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.10.1/AMD64_windows_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.10.1/AMD64_windows_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.10.1/x86_64_linux_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.10.1/x86_64_linux_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.11.0/0.11.0_x86_64_linux_3.3.0.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.11.0/0.11.0_x86_64_linux_3.3.0.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.11.0/x86_64_linux_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.11.0/x86_64_linux_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.11.0/x86_64_linux_3.3.0.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.11.0/x86_64_linux_3.3.0.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.12.0/0.12.0_AMD64_windows_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.12.0/0.12.0_AMD64_windows_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.12.0/0.12.0_x86_64_linux_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.12.0/0.12.0_x86_64_linux_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_AMD64_windows_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_AMD64_windows_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_i686_linux_2.6.5.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_i686_linux_2.6.5.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_i686_linux_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_i686_linux_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_i686_linux_3.2.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_i686_linux_3.2.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_darwin_2.7.5.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_darwin_2.7.5.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_darwin_2.7.6.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_darwin_2.7.6.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_linux_2.7.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_linux_2.7.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_linux_2.7.8.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_linux_2.7.8.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_linux_3.3.0.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.13.0/0.13.0_x86_64_linux_3.3.0.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.14.0/0.14.0_x86_64_darwin_2.7.6.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.14.0/0.14.0_x86_64_darwin_2.7.6.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.14.0/0.14.0_x86_64_linux_2.7.8.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.14.0/0.14.0_x86_64_linux_2.7.8.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.14.1/0.14.1_x86_64_darwin_2.7.12.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.14.1/0.14.1_x86_64_darwin_2.7.12.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.14.1/0.14.1_x86_64_linux_2.7.8.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.14.1/0.14.1_x86_64_linux_2.7.8.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.15.0/0.15.0_x86_64_darwin_2.7.12.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.15.0/0.15.0_x86_64_darwin_2.7.12.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.15.0/0.15.0_x86_64_linux_2.7.8.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.15.0/0.15.0_x86_64_linux_2.7.8.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.15.2/0.15.2_x86_64_darwin_2.7.9.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.15.2/0.15.2_x86_64_darwin_2.7.9.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.0/0.16.0_x86_64_darwin_2.7.9.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.0/0.16.0_x86_64_darwin_2.7.9.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_AMD64_windows_2.7.10.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_AMD64_windows_2.7.10.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_AMD64_windows_2.7.14.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_AMD64_windows_2.7.14.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_AMD64_windows_3.4.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_AMD64_windows_3.4.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_darwin_2.7.10.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_darwin_2.7.10.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_darwin_2.7.9.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_darwin_2.7.9.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_darwin_3.4.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_darwin_3.4.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_linux_2.7.10.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_linux_2.7.10.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_linux_3.4.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.16.2/0.16.2_x86_64_linux_3.4.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_AMD64_windows_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_AMD64_windows_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_AMD64_windows_3.4.4.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_AMD64_windows_3.4.4.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_3.4.4.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_3.4.4.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_3.5.3.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_darwin_3.5.3.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_linux_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_linux_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_linux_3.4.4.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.0_x86_64_linux_3.4.4.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.0/0.17.1_AMD64_windows_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.0/0.17.1_AMD64_windows_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.1/0.17.1_AMD64_windows_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.1/0.17.1_AMD64_windows_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.17.1/0.17.1_x86_64_darwin_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.17.1/0.17.1_x86_64_darwin_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_AMD64_windows_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_AMD64_windows_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_AMD64_windows_3.5.1.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_AMD64_windows_3.5.1.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_x86_64_darwin_2.7.11.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_x86_64_darwin_2.7.11.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_x86_64_darwin_3.5.1.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.18.0/0.18.0_x86_64_darwin_3.5.1.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.18.1/0.18.1_x86_64_darwin_2.7.12.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.18.1/0.18.1_x86_64_darwin_2.7.12.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.18.1/0.18.1_x86_64_darwin_3.5.2.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.18.1/0.18.1_x86_64_darwin_3.5.2.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_AMD64_windows_2.7.14.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_AMD64_windows_2.7.14.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_x86_64_darwin_2.7.12.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_x86_64_darwin_2.7.12.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_x86_64_darwin_2.7.14.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_x86_64_darwin_2.7.14.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_x86_64_darwin_3.6.1.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.19.2/0.19.2_x86_64_darwin_3.6.1.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/legacy_pickle/0.20.3/0.20.3_x86_64_darwin_2.7.14.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/legacy_pickle/0.20.3/0.20.3_x86_64_darwin_2.7.14.pickle -------------------------------------------------------------------------------- /pandas/tests/io/data/stata10_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata10_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata10_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata10_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata11_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata11_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata11_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata11_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata12_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata12_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata13_dates.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata13_dates.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata14_118.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata14_118.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata15.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata15.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata16_118.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata16_118.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata1_114.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata1_114.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata1_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata1_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata1_encoding.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata1_encoding.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata2_113.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata2_113.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata2_114.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata2_114.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata2_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata2_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata2_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata2_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata3_113.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata3_113.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata3_114.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata3_114.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata3_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata3_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata3_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata3_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata4_113.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata4_113.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata4_114.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata4_114.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata4_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata4_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata4_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata4_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata5_113.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata5_113.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata5_114.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata5_114.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata5_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata5_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata5_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata5_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata6.csv: -------------------------------------------------------------------------------- 1 | byte_,int_,long_,float_,double_,date_td,string_,string_1 2 | 0,0,0,0,0,1960-01-01,"a","a" 3 | 1,1,1,1,1,3014-12-31,"ab","b" 4 | -1,-1,-1,-1,-1,2014-12-31,"abc","c" 5 | 100,32740,-2147483647,-1.7010000002777e+38,-2.000000000000e+307,1970-01-01,"This string has 244 characters, so that ir is the maximum length permitted by Stata. This string has 244 characters, so that ir is the maximum length permitted by Stata. This string has 244 characters, so that ir is the maximum length permitted","d" 6 | -127,-32767,2147483620,1.7010000002777e+38,8.000000000000e+307,1970-01-02,"abcdefghijklmnopqrstuvwxyz","e" 7 | -------------------------------------------------------------------------------- /pandas/tests/io/data/stata6_113.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata6_113.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata6_114.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata6_114.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata6_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata6_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata6_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata6_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata7_111.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata7_111.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata7_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata7_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata7_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata7_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata8_113.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata8_113.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata8_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata8_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata8_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata8_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata9_115.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata9_115.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/stata9_117.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/stata9_117.dta -------------------------------------------------------------------------------- /pandas/tests/io/data/test1.csv: -------------------------------------------------------------------------------- 1 | index,A,B,C,D 2 | 2000-01-03 00:00:00,0.980268513777,3.68573087906,-0.364216805298,-1.15973806169 3 | 2000-01-04 00:00:00,1.04791624281,-0.0412318367011,-0.16181208307,0.212549316967 4 | 2000-01-05 00:00:00,0.498580885705,0.731167677815,-0.537677223318,1.34627041952 5 | 2000-01-06 00:00:00,1.12020151869,1.56762092543,0.00364077397681,0.67525259227 6 | 2000-01-07 00:00:00,-0.487094399463,0.571454623474,-1.6116394093,0.103468562917 7 | 2000-01-10 00:00:00,0.836648671666,0.246461918642,0.588542635376,1.0627820613 8 | 2000-01-11 00:00:00,-0.157160753327,1.34030689438,1.19577795622,-1.09700699751 -------------------------------------------------------------------------------- /pandas/tests/io/data/test1.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test1.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test1.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test1.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test1.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test1.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test2.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test2.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test2.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test2.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test2.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test2.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test3.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test3.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test3.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test3.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test3.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test3.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test4.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test4.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test4.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test4.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test4.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test4.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test5.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test5.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test5.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test5.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test5.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test5.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test_converters.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_converters.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test_converters.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_converters.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test_converters.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_converters.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test_index_name_pre17.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_index_name_pre17.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test_index_name_pre17.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_index_name_pre17.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test_index_name_pre17.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_index_name_pre17.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test_mmap.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,one,I 3 | 2,two,II 4 | 5 | 3,three,III 6 | -------------------------------------------------------------------------------- /pandas/tests/io/data/test_multisheet.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_multisheet.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test_multisheet.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_multisheet.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test_multisheet.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_multisheet.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test_squeeze.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_squeeze.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test_squeeze.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_squeeze.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test_squeeze.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_squeeze.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/test_types.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_types.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/test_types.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_types.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/test_types.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/test_types.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/testdateoverflow.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testdateoverflow.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/testdateoverflow.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testdateoverflow.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/testdateoverflow.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testdateoverflow.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/testdtype.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testdtype.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/testdtype.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testdtype.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/testdtype.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testdtype.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/testmultiindex.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testmultiindex.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/testmultiindex.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testmultiindex.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/testmultiindex.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testmultiindex.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/testskiprows.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testskiprows.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/testskiprows.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testskiprows.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/testskiprows.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/testskiprows.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/times_1900.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/times_1900.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/times_1900.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/times_1900.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/times_1900.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/times_1900.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/data/times_1904.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/times_1904.xls -------------------------------------------------------------------------------- /pandas/tests/io/data/times_1904.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/times_1904.xlsm -------------------------------------------------------------------------------- /pandas/tests/io/data/times_1904.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/data/times_1904.xlsx -------------------------------------------------------------------------------- /pandas/tests/io/formats/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/formats/__init__.py -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/datetime64_hourformatter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
hod
010:10
112:12
19 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/datetime64_monthformatter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
months
02016-01
12016-02
19 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/escape_disabled.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
co 6 | co>l2
str 12 | boldbold
stri>ng2 &boldbold
22 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/escaped.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
co<l1co>l2
str<ing1 &amp;<type 'str'><type 'str'>
stri>ng2 &amp;<type 'str'><type 'str'>
22 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh12031_expected_output.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
A
06,0
13,1
22,2
23 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh14998_expected_output.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
A
1
13 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh15019_expected_output.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
01
1.7640520.400157
0.9787382.240893
......
0.950088-0.151357
-0.1032190.410599
31 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh21625_expected_output.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
x
00.200
-------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh22270_expected_output.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
x
0100
-------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh22783_expected_output.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
01...34
1.7640520.400157...2.2408931.867558
-0.9772780.950088...-0.1032190.410599
28 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh22783_named_columns_index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
columns.name01...34
1.7640520.400157...2.2408931.867558
-0.9772780.950088...-0.1032190.410599
31 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/gh8452_expected_output.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
ab
cdcd
0353
1464
29 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
ABC
foo11.2one
bar23.4two
baz35.6NaN
31 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
ABC
11.2one
23.4two
35.6NaN
27 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
ABC
idx
foo11.2one
bar23.4two
baz35.6NaN
37 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
ABC
foocar11.2one
bike23.4two
barcar35.6NaN
34 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_formatter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
fooNone
a01
b23
c45
d67
32 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_multi_columns_named_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
columns.name.0a
columns.name.1bc
index.name.0index.name.1
ab00
c00
35 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_multi_columns_named_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
columns.name01
index.name.0index.name.1
ab00
c00
30 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_multi_columns_none.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
index.name.0index.name.1
ab00
c00
24 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_multi_columns_unnamed_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
a
bc
index.name.0index.name.1
ab00
c00
35 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_multi_columns_unnamed_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
01
index.name.0index.name.1
ab00
c00
30 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_standard_columns_named_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
columns.name.0a
columns.name.1bc
index.name
000
100
31 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_standard_columns_named_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
columns.name01
index.name
000
100
27 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_standard_columns_none.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
index.name
000
100
22 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_standard_columns_unnamed_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
a
bc
index.name
000
100
31 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_named_standard_columns_unnamed_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
01
index.name
000
100
27 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_none_columns_named_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
columns.name.0a
columns.name.1bc
00
00
26 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_none_columns_named_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
columns.name01
00
00
22 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_none_columns_none.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
00
00
13 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_none_columns_unnamed_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
a
bc
00
00
22 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_none_columns_unnamed_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
01
00
00
19 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_multi_columns_named_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
columns.name.0a
columns.name.1bc
ab00
c00
29 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_multi_columns_named_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
columns.name01
ab00
c00
24 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_multi_columns_none.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
ab00
c00
16 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_multi_columns_unnamed_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
a
bc
ab00
c00
29 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_multi_columns_unnamed_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
01
ab00
c00
24 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_standard_columns_named_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
columns.name.0a
columns.name.1bc
000
100
26 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_standard_columns_named_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
columns.name01
000
100
22 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_standard_columns_none.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
000
100
15 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_standard_columns_unnamed_multi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
a
bc
000
100
26 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/index_unnamed_standard_columns_unnamed_standard.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
01
000
100
22 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/justify.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
ABC
061223442
13000020
22700001
31 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/multiindex_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
CL001
CL10101
0abcd
1efgh
33 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/multiindex_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
0123
0101
0abcd
1efgh
35 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/render_links_false.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
foobarNone
00http://pandas.pydata.org/?q1=a&q2=bpydata.org
10www.pydata.orgpydata.org
25 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/render_links_true.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
foobarNone
00http://pandas.pydata.org/?q1=a&q2=bpydata.org
10www.pydata.orgpydata.org
25 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/trunc_df_index_none_columns_none.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
01...67
89...1415
...............
4849...5455
5657...6263
40 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/unicode_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
A
0σ
15 | -------------------------------------------------------------------------------- /pandas/tests/io/formats/data/html/with_classes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | -------------------------------------------------------------------------------- /pandas/tests/io/json/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/json/__init__.py -------------------------------------------------------------------------------- /pandas/tests/io/json/data/tsframe_v012.json.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/json/data/tsframe_v012.json.zip -------------------------------------------------------------------------------- /pandas/tests/io/msgpack/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/msgpack/__init__.py -------------------------------------------------------------------------------- /pandas/tests/io/msgpack/common.py: -------------------------------------------------------------------------------- 1 | from pandas.compat import PY3 2 | 3 | # array compat 4 | if PY3: 5 | frombytes = lambda obj, data: obj.frombytes(data) 6 | tobytes = lambda obj: obj.tobytes() 7 | else: 8 | frombytes = lambda obj, data: obj.fromstring(data) 9 | tobytes = lambda obj: obj.tostring() 10 | -------------------------------------------------------------------------------- /pandas/tests/io/msgpack/data/frame.mp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/msgpack/data/frame.mp -------------------------------------------------------------------------------- /pandas/tests/io/msgpack/test_buffer.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | from pandas.io.msgpack import packb, unpackb 4 | 5 | from .common import frombytes 6 | 7 | 8 | def test_unpack_buffer(): 9 | from array import array 10 | buf = array('b') 11 | frombytes(buf, packb((b'foo', b'bar'))) 12 | obj = unpackb(buf, use_list=1) 13 | assert [b'foo', b'bar'] == obj 14 | 15 | 16 | def test_unpack_bytearray(): 17 | buf = bytearray(packb(('foo', 'bar'))) 18 | obj = unpackb(buf, use_list=1) 19 | assert [b'foo', b'bar'] == obj 20 | expected_type = bytes 21 | assert all(type(s) == expected_type for s in obj) 22 | -------------------------------------------------------------------------------- /pandas/tests/io/msgpack/test_subtype.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | from collections import namedtuple 4 | 5 | from pandas.io.msgpack import packb 6 | 7 | 8 | class MyList(list): 9 | pass 10 | 11 | 12 | class MyDict(dict): 13 | pass 14 | 15 | 16 | class MyTuple(tuple): 17 | pass 18 | 19 | 20 | MyNamedTuple = namedtuple('MyNamedTuple', 'x y') 21 | 22 | 23 | def test_types(): 24 | assert packb(MyDict()) == packb(dict()) 25 | assert packb(MyList()) == packb(list()) 26 | assert packb(MyNamedTuple(1, 2)) == packb((1, 2)) 27 | -------------------------------------------------------------------------------- /pandas/tests/io/parser/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/__init__.py -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/items.jsonl: -------------------------------------------------------------------------------- 1 | {"a": 1, "b": 2} 2 | {"b":2, "a" :1} 3 | -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/salaries.csv.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/salaries.csv.bz2 -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/salaries.csv.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/salaries.csv.gz -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/salaries.csv.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/salaries.csv.xz -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/salaries.csv.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/salaries.csv.zip -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/sauron.SHIFT_JIS.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/sauron.SHIFT_JIS.csv -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/sub_char.csv: -------------------------------------------------------------------------------- 1 | a,"b",c 2 | 1,2,3 -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/tar_csv.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/tar_csv.tar.gz -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/test1.csv: -------------------------------------------------------------------------------- 1 | index,A,B,C,D 2 | 2000-01-03 00:00:00,0.980268513777,3.68573087906,-0.364216805298,-1.15973806169 3 | 2000-01-04 00:00:00,1.04791624281,-0.0412318367011,-0.16181208307,0.212549316967 4 | 2000-01-05 00:00:00,0.498580885705,0.731167677815,-0.537677223318,1.34627041952 5 | 2000-01-06 00:00:00,1.12020151869,1.56762092543,0.00364077397681,0.67525259227 6 | 2000-01-07 00:00:00,-0.487094399463,0.571454623474,-1.6116394093,0.103468562917 7 | 2000-01-10 00:00:00,0.836648671666,0.246461918642,0.588542635376,1.0627820613 8 | 2000-01-11 00:00:00,-0.157160753327,1.34030689438,1.19577795622,-1.09700699751 -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/test1.csv.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/test1.csv.bz2 -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/test1.csv.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/test1.csv.gz -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/test2.csv: -------------------------------------------------------------------------------- 1 | A,B,C,D,E 2 | 2000-01-03 00:00:00,0.980268513777,3.68573087906,-0.364216805298,-1.15973806169,foo 3 | 2000-01-04 00:00:00,1.04791624281,-0.0412318367011,-0.16181208307,0.212549316967,bar 4 | 2000-01-05 00:00:00,0.498580885705,0.731167677815,-0.537677223318,1.34627041952,baz 5 | 2000-01-06 00:00:00,1.12020151869,1.56762092543,0.00364077397681,0.67525259227,qux 6 | 2000-01-07 00:00:00,-0.487094399463,0.571454623474,-1.6116394093,0.103468562917,foo2 7 | -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/test_mmap.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,one,I 3 | 2,two,II 4 | 3,three,III 5 | -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/tips.csv.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/tips.csv.bz2 -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/tips.csv.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/tips.csv.gz -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/unicode_series.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/unicode_series.csv -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/utf16_ex.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/utf16_ex.txt -------------------------------------------------------------------------------- /pandas/tests/io/parser/data/utf16_ex_small.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/parser/data/utf16_ex_small.zip -------------------------------------------------------------------------------- /pandas/tests/io/sas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/__init__.py -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/DEMO_G.xpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/DEMO_G.xpt -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/DRXFCD_G.xpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/DRXFCD_G.xpt -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/SSHSV1_A.xpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/SSHSV1_A.xpt -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/airline.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/airline.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/cars.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/cars.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/datetime.csv: -------------------------------------------------------------------------------- 1 | Date1,Date2,DateTime,DateTimeHi,Taiw 2 | 1677-09-22,1677-09-22,1677-09-21 00:12:44,1677-09-21 00:12:43.145226,1912-01-01 3 | 1960-01-01,1960-01-01,1960-01-01 00:00:00,1960-01-01 00:00:00.000000,1960-01-01 4 | 2016-02-29,2016-02-29,2016-02-29 23:59:59,2016-02-29 23:59:59.123456,2016-02-29 5 | 2262-04-11,2262-04-11,2262-04-11 23:47:16,2262-04-11 23:47:16.854774,2262-04-11 6 | -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/datetime.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/datetime.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/load_log.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/load_log.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/many_columns.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/many_columns.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/paxraw_d_short.xpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/paxraw_d_short.xpt -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/productsales.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/productsales.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test1.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test1.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test10.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test10.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test11.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test11.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test12.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test12.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test13.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test13.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test14.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test14.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test15.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test15.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test16.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test16.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test2.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test2.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test3.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test3.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test4.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test4.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test5.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test5.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test6.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test6.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test7.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test7.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test8.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test8.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test9.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test9.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/test_12659.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/test_12659.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/data/zero_variables.sas7bdat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/io/sas/data/zero_variables.sas7bdat -------------------------------------------------------------------------------- /pandas/tests/io/sas/test_sas.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | from pandas.compat import StringIO 4 | 5 | from pandas import read_sas 6 | import pandas.util.testing as tm 7 | 8 | 9 | class TestSas(object): 10 | 11 | def test_sas_buffer_format(self): 12 | # see gh-14947 13 | b = StringIO("") 14 | 15 | msg = ("If this is a buffer object rather than a string " 16 | "name, you must specify a format string") 17 | with pytest.raises(ValueError, match=msg): 18 | read_sas(b) 19 | 20 | def test_sas_read_no_format_or_extension(self): 21 | # see gh-24548 22 | msg = ("unable to infer format of SAS file") 23 | with tm.ensure_clean('test_file_no_extension') as path: 24 | with pytest.raises(ValueError, match=msg): 25 | read_sas(path) 26 | -------------------------------------------------------------------------------- /pandas/tests/plotting/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/plotting/__init__.py -------------------------------------------------------------------------------- /pandas/tests/reductions/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Tests for reductions where we want to test for matching behavior across 3 | Array, Index, Series, and DataFrame methods. 4 | """ 5 | -------------------------------------------------------------------------------- /pandas/tests/resample/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/resample/__init__.py -------------------------------------------------------------------------------- /pandas/tests/reshape/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/reshape/__init__.py -------------------------------------------------------------------------------- /pandas/tests/reshape/merge/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/reshape/merge/__init__.py -------------------------------------------------------------------------------- /pandas/tests/reshape/merge/data/quotes.csv: -------------------------------------------------------------------------------- 1 | time,ticker,bid,ask 2 | 20160525 13:30:00.023,GOOG,720.50,720.93 3 | 20160525 13:30:00.023,MSFT,51.95,51.95 4 | 20160525 13:30:00.041,MSFT,51.95,51.95 5 | 20160525 13:30:00.048,GOOG,720.50,720.93 6 | 20160525 13:30:00.048,GOOG,720.50,720.93 7 | 20160525 13:30:00.048,GOOG,720.50,720.93 8 | 20160525 13:30:00.048,GOOG,720.50,720.93 9 | 20160525 13:30:00.072,GOOG,720.50,720.88 10 | 20160525 13:30:00.075,AAPL,98.55,98.56 11 | 20160525 13:30:00.076,AAPL,98.55,98.56 12 | 20160525 13:30:00.076,AAPL,98.55,98.56 13 | 20160525 13:30:00.076,AAPL,98.55,98.56 14 | 20160525 13:30:00.078,MSFT,51.95,51.95 15 | 20160525 13:30:00.078,MSFT,51.95,51.95 16 | 20160525 13:30:00.078,MSFT,51.95,51.95 17 | 20160525 13:30:00.078,MSFT,51.92,51.95 18 | -------------------------------------------------------------------------------- /pandas/tests/scalar/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/scalar/__init__.py -------------------------------------------------------------------------------- /pandas/tests/scalar/interval/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/scalar/interval/__init__.py -------------------------------------------------------------------------------- /pandas/tests/scalar/period/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/scalar/period/__init__.py -------------------------------------------------------------------------------- /pandas/tests/scalar/timedelta/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/scalar/timedelta/__init__.py -------------------------------------------------------------------------------- /pandas/tests/scalar/timestamp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/scalar/timestamp/__init__.py -------------------------------------------------------------------------------- /pandas/tests/series/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/series/__init__.py -------------------------------------------------------------------------------- /pandas/tests/series/common.py: -------------------------------------------------------------------------------- 1 | from pandas.util._decorators import cache_readonly 2 | 3 | import pandas as pd 4 | import pandas.util.testing as tm 5 | 6 | _ts = tm.makeTimeSeries() 7 | 8 | 9 | class TestData(object): 10 | 11 | @cache_readonly 12 | def ts(self): 13 | ts = _ts.copy() 14 | ts.name = 'ts' 15 | return ts 16 | 17 | @cache_readonly 18 | def series(self): 19 | series = tm.makeStringSeries() 20 | series.name = 'series' 21 | return series 22 | 23 | @cache_readonly 24 | def objSeries(self): 25 | objSeries = tm.makeObjectSeries() 26 | objSeries.name = 'objects' 27 | return objSeries 28 | 29 | @cache_readonly 30 | def empty(self): 31 | return pd.Series([], index=[]) 32 | -------------------------------------------------------------------------------- /pandas/tests/series/conftest.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | import pandas.util.testing as tm 4 | 5 | 6 | @pytest.fixture 7 | def datetime_series(): 8 | """ 9 | Fixture for Series of floats with DatetimeIndex 10 | """ 11 | s = tm.makeTimeSeries() 12 | s.name = 'ts' 13 | return s 14 | 15 | 16 | @pytest.fixture 17 | def string_series(): 18 | """ 19 | Fixture for Series of floats with Index of unique strings 20 | """ 21 | s = tm.makeStringSeries() 22 | s.name = 'series' 23 | return s 24 | 25 | 26 | @pytest.fixture 27 | def object_series(): 28 | """ 29 | Fixture for Series of dtype datetime64[ns] with Index of unique strings 30 | """ 31 | s = tm.makeObjectSeries() 32 | s.name = 'objects' 33 | return s 34 | -------------------------------------------------------------------------------- /pandas/tests/series/indexing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/series/indexing/__init__.py -------------------------------------------------------------------------------- /pandas/tests/series/indexing/conftest.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | from pandas.tests.series.common import TestData 4 | 5 | 6 | @pytest.fixture(scope='module') 7 | def test_data(): 8 | return TestData() 9 | -------------------------------------------------------------------------------- /pandas/tests/series/test_validate.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSeriesValidate(object): 5 | """Tests for error handling related to data types of method arguments.""" 6 | 7 | @pytest.mark.parametrize("func", ["reset_index", "_set_name", 8 | "sort_values", "sort_index", 9 | "rename", "dropna"]) 10 | @pytest.mark.parametrize("inplace", [1, "True", [1, 2, 3], 5.0]) 11 | def test_validate_bool_args(self, string_series, func, inplace): 12 | msg = "For argument \"inplace\" expected type bool" 13 | kwargs = dict(inplace=inplace) 14 | 15 | if func == "_set_name": 16 | kwargs["name"] = "hello" 17 | 18 | with pytest.raises(ValueError, match=msg): 19 | getattr(string_series, func)(**kwargs) 20 | -------------------------------------------------------------------------------- /pandas/tests/sparse/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/sparse/__init__.py -------------------------------------------------------------------------------- /pandas/tests/sparse/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/sparse/common.py -------------------------------------------------------------------------------- /pandas/tests/sparse/frame/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/sparse/frame/__init__.py -------------------------------------------------------------------------------- /pandas/tests/sparse/frame/test_to_csv.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | import pytest 3 | 4 | from pandas import SparseDataFrame, read_csv 5 | from pandas.util import testing as tm 6 | 7 | 8 | class TestSparseDataFrameToCsv(object): 9 | fill_values = [np.nan, 0, None, 1] 10 | 11 | @pytest.mark.parametrize('fill_value', fill_values) 12 | def test_to_csv_sparse_dataframe(self, fill_value): 13 | # GH19384 14 | sdf = SparseDataFrame({'a': type(self).fill_values}, 15 | default_fill_value=fill_value) 16 | 17 | with tm.ensure_clean('sparse_df.csv') as path: 18 | sdf.to_csv(path, index=False) 19 | df = read_csv(path, skip_blank_lines=False) 20 | 21 | tm.assert_sp_frame_equal(df.to_sparse(fill_value=fill_value), sdf) 22 | -------------------------------------------------------------------------------- /pandas/tests/sparse/series/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/sparse/series/__init__.py -------------------------------------------------------------------------------- /pandas/tests/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/tools/__init__.py -------------------------------------------------------------------------------- /pandas/tests/tseries/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/tseries/__init__.py -------------------------------------------------------------------------------- /pandas/tests/tseries/frequencies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/tseries/frequencies/__init__.py -------------------------------------------------------------------------------- /pandas/tests/tseries/holiday/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/tseries/holiday/__init__.py -------------------------------------------------------------------------------- /pandas/tests/tseries/offsets/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /pandas/tests/tseries/offsets/conftest.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | import pandas.tseries.offsets as offsets 4 | 5 | 6 | @pytest.fixture(params=[getattr(offsets, o) for o in offsets.__all__]) 7 | def offset_types(request): 8 | """ 9 | Fixture for all the datetime offsets available for a time series. 10 | """ 11 | return request.param 12 | 13 | 14 | @pytest.fixture(params=[getattr(offsets, o) for o in offsets.__all__ if 15 | issubclass(getattr(offsets, o), offsets.MonthOffset) 16 | and o != 'MonthOffset']) 17 | def month_classes(request): 18 | """ 19 | Fixture for month based datetime offsets available for a time series. 20 | """ 21 | return request.param 22 | -------------------------------------------------------------------------------- /pandas/tests/tseries/offsets/data/cday-0.14.1.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/tseries/offsets/data/cday-0.14.1.pickle -------------------------------------------------------------------------------- /pandas/tests/tslibs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/tslibs/__init__.py -------------------------------------------------------------------------------- /pandas/tests/tslibs/test_ccalendar.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from datetime import datetime 3 | 4 | import numpy as np 5 | import pytest 6 | 7 | from pandas._libs.tslibs import ccalendar 8 | 9 | 10 | @pytest.mark.parametrize("date_tuple,expected", [ 11 | ((2001, 3, 1), 60), 12 | ((2004, 3, 1), 61), 13 | ((1907, 12, 31), 365), # End-of-year, non-leap year. 14 | ((2004, 12, 31), 366), # End-of-year, leap year. 15 | ]) 16 | def test_get_day_of_year_numeric(date_tuple, expected): 17 | assert ccalendar.get_day_of_year(*date_tuple) == expected 18 | 19 | 20 | def test_get_day_of_year_dt(): 21 | dt = datetime.fromordinal(1 + np.random.randint(365 * 4000)) 22 | result = ccalendar.get_day_of_year(dt.year, dt.month, dt.day) 23 | 24 | expected = (dt - dt.replace(month=1, day=1)).days + 1 25 | assert result == expected 26 | -------------------------------------------------------------------------------- /pandas/tests/tslibs/test_normalize_date.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """Tests for functions from pandas._libs.tslibs""" 3 | 4 | from datetime import date, datetime 5 | 6 | import pytest 7 | 8 | from pandas._libs import tslibs 9 | 10 | 11 | @pytest.mark.parametrize("value,expected", [ 12 | (date(2012, 9, 7), datetime(2012, 9, 7)), 13 | (datetime(2012, 9, 7, 12), datetime(2012, 9, 7)), 14 | (datetime(2007, 10, 1, 1, 12, 5, 10), datetime(2007, 10, 1)) 15 | ]) 16 | def test_normalize_date(value, expected): 17 | result = tslibs.normalize_date(value) 18 | assert result == expected 19 | -------------------------------------------------------------------------------- /pandas/tests/util/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tests/util/__init__.py -------------------------------------------------------------------------------- /pandas/tests/util/conftest.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.fixture(params=[True, False]) 5 | def check_dtype(request): 6 | return request.param 7 | 8 | 9 | @pytest.fixture(params=[True, False]) 10 | def check_exact(request): 11 | return request.param 12 | 13 | 14 | @pytest.fixture(params=[True, False]) 15 | def check_index_type(request): 16 | return request.param 17 | 18 | 19 | @pytest.fixture(params=[True, False]) 20 | def check_less_precise(request): 21 | return request.param 22 | 23 | 24 | @pytest.fixture(params=[True, False]) 25 | def check_categorical(request): 26 | return request.param 27 | -------------------------------------------------------------------------------- /pandas/tseries/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/pandas/tseries/__init__.py -------------------------------------------------------------------------------- /pandas/tseries/api.py: -------------------------------------------------------------------------------- 1 | """ 2 | Timeseries API 3 | """ 4 | 5 | # flake8: noqa 6 | 7 | from pandas.tseries.frequencies import infer_freq 8 | import pandas.tseries.offsets as offsets 9 | -------------------------------------------------------------------------------- /pandas/tseries/converter.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | import warnings 3 | 4 | from pandas.plotting._converter import ( 5 | DatetimeConverter, MilliSecondLocator, PandasAutoDateFormatter, 6 | PandasAutoDateLocator, PeriodConverter, TimeConverter, TimeFormatter, 7 | TimeSeries_DateFormatter, TimeSeries_DateLocator, get_datevalue, 8 | get_finder, time2num) 9 | 10 | 11 | def register(): 12 | from pandas.plotting._converter import register as register_ 13 | msg = ("'pandas.tseries.converter.register' has been moved and renamed to " 14 | "'pandas.plotting.register_matplotlib_converters'. ") 15 | warnings.warn(msg, FutureWarning, stacklevel=2) 16 | register_() 17 | -------------------------------------------------------------------------------- /pandas/tseries/plotting.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | 3 | from pandas.plotting._timeseries import tsplot 4 | -------------------------------------------------------------------------------- /pandas/util/__init__.py: -------------------------------------------------------------------------------- 1 | from pandas.util._decorators import Appender, Substitution, cache_readonly # noqa 2 | from pandas.core.util.hashing import hash_pandas_object, hash_array # noqa 3 | -------------------------------------------------------------------------------- /pandas/util/_exceptions.py: -------------------------------------------------------------------------------- 1 | import contextlib 2 | 3 | 4 | @contextlib.contextmanager 5 | def rewrite_exception(old_name, new_name): 6 | """Rewrite the message of an exception.""" 7 | try: 8 | yield 9 | except Exception as e: 10 | msg = e.args[0] 11 | msg = msg.replace(old_name, new_name) 12 | args = (msg,) 13 | if len(e.args) > 1: 14 | args = args + e.args[1:] 15 | e.args = args 16 | raise 17 | -------------------------------------------------------------------------------- /pandas/util/_tester.py: -------------------------------------------------------------------------------- 1 | """ 2 | Entrypoint for testing from the top-level namespace 3 | """ 4 | import os 5 | import sys 6 | 7 | PKG = os.path.dirname(os.path.dirname(__file__)) 8 | 9 | 10 | def test(extra_args=None): 11 | try: 12 | import pytest 13 | except ImportError: 14 | raise ImportError("Need pytest>=4.0.2 to run tests") 15 | try: 16 | import hypothesis # noqa 17 | except ImportError: 18 | raise ImportError("Need hypothesis>=3.58 to run tests") 19 | cmd = ['--skip-slow', '--skip-network', '--skip-db'] 20 | if extra_args: 21 | if not isinstance(extra_args, list): 22 | extra_args = [extra_args] 23 | cmd = extra_args 24 | cmd += [PKG] 25 | print("running: pytest {}".format(' '.join(cmd))) 26 | sys.exit(pytest.main(cmd)) 27 | 28 | 29 | __all__ = ['test'] 30 | -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- 1 | numpy>=1.15 2 | python-dateutil>=2.5.0 3 | pytz 4 | asv 5 | cython>=0.28.2 6 | flake8 7 | flake8-comprehensions 8 | flake8-rst>=0.6.0,<=0.7.0 9 | gitpython 10 | hypothesis>=3.82 11 | isort 12 | moto 13 | pytest>=4.0.2 14 | pytest-mock 15 | sphinx 16 | numpydoc 17 | beautifulsoup4>=4.2.1 18 | blosc 19 | botocore>=1.11 20 | boto3 21 | bottleneck>=1.2.0 22 | fastparquet>=0.2.1 23 | html5lib 24 | ipython>=5.6.0 25 | ipykernel 26 | jinja2 27 | lxml 28 | matplotlib>=2.0.0 29 | nbsphinx 30 | numexpr>=2.6.8 31 | openpyxl 32 | pyarrow>=0.9.0 33 | tables>=3.4.2 34 | pytest-cov 35 | pytest-xdist 36 | s3fs 37 | scipy>=1.1 38 | seaborn 39 | sqlalchemy 40 | statsmodels 41 | xarray 42 | xlrd 43 | xlsxwriter 44 | xlwt 45 | cpplint -------------------------------------------------------------------------------- /scripts/build_dist.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # build the distribution 4 | LAST=`git tag --sort version:refname | grep -v rc | tail -1` 5 | 6 | echo "Building distribution for: $LAST" 7 | git checkout $LAST 8 | 9 | read -p "Ok to continue (y/n)? " answer 10 | case ${answer:0:1} in 11 | y|Y ) 12 | echo "Building distribution" 13 | ./build_dist_for_release.sh 14 | ;; 15 | * ) 16 | echo "Not building distribution" 17 | ;; 18 | esac 19 | -------------------------------------------------------------------------------- /scripts/build_dist_for_release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # this requires cython to be installed 4 | 5 | # this builds the release cleanly & is building on the current checkout 6 | rm -rf dist 7 | git clean -xfd 8 | python setup.py clean --quiet 9 | python setup.py cython --quiet 10 | python setup.py sdist --formats=gztar --quiet 11 | -------------------------------------------------------------------------------- /scripts/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wesm/pandas/479f821ef9881c545a73878571024d6c0671f382/scripts/tests/__init__.py -------------------------------------------------------------------------------- /scripts/tests/conftest.py: -------------------------------------------------------------------------------- 1 | def pytest_addoption(parser): 2 | parser.addoption("--strict-data-files", action="store_true", 3 | help="Unused. For compat with setup.cfg.") 4 | -------------------------------------------------------------------------------- /test.bat: -------------------------------------------------------------------------------- 1 | :: test on windows 2 | 3 | pytest --skip-slow --skip-network pandas -n 2 -r sxX --strict %* 4 | -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | command -v coverage >/dev/null && coverage erase 3 | command -v python-coverage >/dev/null && python-coverage erase 4 | pytest pandas --cov=pandas -r sxX --strict 5 | -------------------------------------------------------------------------------- /test_fast.bat: -------------------------------------------------------------------------------- 1 | :: test on windows 2 | set PYTHONHASHSEED=314159265 3 | pytest --skip-slow --skip-network --skip-db -m "not single" -n 4 -r sXX --strict pandas 4 | -------------------------------------------------------------------------------- /test_fast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Workaround for pytest-xdist flaky collection order 4 | # https://github.com/pytest-dev/pytest/issues/920 5 | # https://github.com/pytest-dev/pytest/issues/1075 6 | export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))') 7 | 8 | pytest pandas --skip-slow --skip-network --skip-db -m "not single" -n 4 -r sxX --strict "$@" 9 | -------------------------------------------------------------------------------- /test_rebuild.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | python setup.py clean 4 | python setup.py build_ext --inplace 5 | coverage erase 6 | pytest pandas --cov=pandas 7 | --------------------------------------------------------------------------------