title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
TST: not printing skips
diff --git a/.travis.yml b/.travis.yml index f0ece15de65db..b7c18d2850a15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,7 +123,7 @@ after_success: after_script: - echo "after_script start" - - source activate pandas && cd /tmp && python -c "import pandas; pandas.show_versions();" + - source activate pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/16318
2017-05-10T11:36:10Z
2017-05-10T12:36:22Z
2017-05-10T12:36:22Z
2017-05-30T12:23:02Z
BUG: select_as_multiple doesn't respect start/stop kwargs GH16209
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index bca92137891a0..02f70d85ab278 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -51,6 +51,7 @@ I/O - Bug that would force importing of the clipboard routines unnecessarily, potentially causing an i...
- [x] closes #16209 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16317
2017-05-10T03:52:50Z
2017-05-31T11:57:57Z
2017-05-31T11:57:57Z
2017-06-04T17:02:55Z
ENH: Draft metadata specification doc for Apache Parquet
diff --git a/doc/source/developer.rst b/doc/source/developer.rst index 7633b4732479c..78c12b7e23b37 100644 --- a/doc/source/developer.rst +++ b/doc/source/developer.rst @@ -16,3 +16,120 @@ Developer ********* This section will focus on downstream applications of pandas. + +.. _apache.parquet: + +Storing pandas Data...
cc @martindurant @mrocklin @jreback @cpcloud closes #16010
https://api.github.com/repos/pandas-dev/pandas/pulls/16315
2017-05-10T01:33:54Z
2017-05-16T22:26:13Z
2017-05-16T22:26:13Z
2017-05-20T15:38:58Z
Add tests for Excel styling that were missing
diff --git a/pandas/tests/io/formats/test_to_excel.py b/pandas/tests/io/formats/test_to_excel.py index cdff3b8a5cca8..26a9bb018f30a 100644 --- a/pandas/tests/io/formats/test_to_excel.py +++ b/pandas/tests/io/formats/test_to_excel.py @@ -32,6 +32,14 @@ ('font-family: roman, fantasy', {'font': {'name': 'roman', 'fam...
It seems these cases were untested by accident when styler to excel conversion was recently added. - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
https://api.github.com/repos/pandas-dev/pandas/pulls/16313
2017-05-09T23:57:24Z
2017-05-10T11:05:45Z
2017-05-10T11:05:45Z
2017-05-10T11:05:47Z
Add validation for non-negative integers #16097
diff --git a/pandas/core/config.py b/pandas/core/config.py index b406f6724aa6d..3e81d7b20dc42 100644 --- a/pandas/core/config.py +++ b/pandas/core/config.py @@ -831,3 +831,10 @@ def is_callable(obj): if not callable(obj): raise ValueError("Value must be a callable") return True + + +def is_nonnegativ...
- [x] closes #16097 - [x] tests added / passed - [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry: "Added validation for non-negative integers when setting display options." Adds validation for non-negative integers and adds it to options which cannot be negat...
https://api.github.com/repos/pandas-dev/pandas/pulls/16312
2017-05-09T23:52:40Z
2017-08-01T22:57:42Z
null
2017-08-01T22:57:43Z
Fix interpolate -limit Add interpolate limit_direction='inside'
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 0a3a440ced54f..76c975952bc4d 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -19,7 +19,11 @@ Check the :ref:`API Changes <whatsnew_0210.api_breaking>` and :ref:`deprecations New features ~~~~~~...
- [ x] closes #16282 and #16284 - [x ] tests added / passed - [ x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [ x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16307
2017-05-09T18:10:18Z
2017-05-22T15:34:02Z
null
2023-05-11T01:15:35Z
BUG: Don't segfault to_numeric when input is empty
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index 2a7b37c95230c..bca92137891a0 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -37,7 +37,7 @@ Bug Fixes Conversion ^^^^^^^^^^ - +- Bug in ``pd.to_numeric()`` in which empty data inputs were causi...
Title is self-explanatory. Closes #16302.
https://api.github.com/repos/pandas-dev/pandas/pulls/16305
2017-05-09T15:37:59Z
2017-05-09T19:55:20Z
2017-05-09T19:55:19Z
2017-05-30T12:20:37Z
DEPS: Drop Python 3.4 support
diff --git a/ci/requirements-3.4.build b/ci/requirements-3.4.build deleted file mode 100644 index e8a957f70d40e..0000000000000 --- a/ci/requirements-3.4.build +++ /dev/null @@ -1,4 +0,0 @@ -python=3.4* -numpy=1.8.1 -cython=0.24.1 -libgfortran=1.0 diff --git a/ci/requirements-3.4.pip b/ci/requirements-3.4.pip deleted fi...
Title is self-explanatory. Closes #15251.
https://api.github.com/repos/pandas-dev/pandas/pulls/16303
2017-05-09T15:06:48Z
2017-05-16T00:02:13Z
2017-05-16T00:02:13Z
2017-05-16T07:15:20Z
ENH: Support fspath protocol
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 351aa9ebbdc32..0a3a440ced54f 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -20,6 +20,10 @@ Check the :ref:`API Changes <whatsnew_0210.api_breaking>` and :ref:`deprecations New features ~~~~~~~~...
Supports the [fspath protocol](https://www.python.org/dev/peps/pep-0519/) in most readers and writers. closes https://github.com/pandas-dev/pandas/issues/13823 xref https://github.com/pandas-dev/pandas/pull/14123
https://api.github.com/repos/pandas-dev/pandas/pulls/16301
2017-05-09T14:57:42Z
2017-05-18T21:06:27Z
2017-05-18T21:06:27Z
2017-05-27T16:36:51Z
BLD: run only multi on 2.7-build_test build
diff --git a/ci/script_multi.sh b/ci/script_multi.sh index daa929e177666..d79fc43fbe175 100755 --- a/ci/script_multi.sh +++ b/ci/script_multi.sh @@ -27,7 +27,7 @@ if [ "$BUILD_TEST" ]; then echo "[running]" cd /tmp unset PYTHONPATH - python -c "import pandas; pandas.test(['-n 2', '--skip-slow', '--ski...
https://api.github.com/repos/pandas-dev/pandas/pulls/16296
2017-05-09T02:20:20Z
2017-05-09T10:09:02Z
2017-05-09T10:09:02Z
2017-05-30T12:22:33Z
PERF: fix clean_index_list perf
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 8947a0fdd796c..31af56b3715a5 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -19,6 +19,9 @@ def time_getitem_list_like(self): def time_getitem_array(self): self.s[np.arange(10000)...
closes #16285 ``` In [1]: np.random.seed(1234) In [2]: import pandas as pd ...: from numpy import random ...: dct = dict(zip(range(1000), random.randint(1000, size=1000))) ...: keys = random.randint(1000, size=1000000).tolist() ...: %timeit [dct[k] for k in keys] ...: sdct = pd.Series(dct) ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16295
2017-05-09T02:05:44Z
2017-05-09T10:10:25Z
2017-05-09T10:10:25Z
2017-05-30T12:24:20Z
BUG: don't force clipboard routines to be imported in main pandas
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index e0a8065d9a507..d89422631ed04 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -48,7 +48,7 @@ Indexing I/O ^^^ - +- Bug that would force importing of the clipboard routines unecessarily, potentia...
closes #16288
https://api.github.com/repos/pandas-dev/pandas/pulls/16294
2017-05-09T01:07:17Z
2017-05-09T02:09:31Z
2017-05-09T02:09:31Z
2017-05-30T12:20:37Z
BLD: depending on non-existant file in sparse
diff --git a/setup.py b/setup.py index d101358fb63dd..9a04bb6994869 100755 --- a/setup.py +++ b/setup.py @@ -524,7 +524,7 @@ def pxd(name): 'sources': ['pandas/_libs/src/parser/tokenizer.c', 'pandas/_libs/src/parser/io.c']}, '_libs.sparse': {'pyxfile': '_li...
https://api.github.com/repos/pandas-dev/pandas/pulls/16293
2017-05-09T00:54:20Z
2017-05-09T01:10:41Z
2017-05-09T01:10:41Z
2017-05-30T12:22:08Z
BUG: pathlib.Path in io
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index e0a8065d9a507..6bc63f702952a 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -33,6 +33,8 @@ Performance Improvements Bug Fixes ~~~~~~~~~ +- Bug in using ``pathlib.Path`` or ``py.path.local`` ob...
- [x] closes #16291, closes #14932 - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16292
2017-05-09T00:43:52Z
2017-05-12T13:30:00Z
2017-05-12T13:30:00Z
2017-05-30T12:20:37Z
Correct test name for MLK holiday.
diff --git a/pandas/tests/tseries/test_holiday.py b/pandas/tests/tseries/test_holiday.py index 59a2a225ab5f8..3ea7e5b8620f2 100644 --- a/pandas/tests/tseries/test_holiday.py +++ b/pandas/tests/tseries/test_holiday.py @@ -344,7 +344,7 @@ def test_after_nearest_workday(self): class TestFederalHolidayCalendar(object): ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16287
2017-05-08T18:21:53Z
2017-05-08T19:39:17Z
2017-05-08T19:39:17Z
2017-05-10T16:19:29Z
BUG fixed broken link GH16279
diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb index 427b18b988aef..4eeda491426b1 100644 --- a/doc/source/style.ipynb +++ b/doc/source/style.ipynb @@ -12,7 +12,7 @@ "\n", "<span style=\"color: red\">*Provisional: This is a new feature and still under development. We'll be adding features and pos...
GH16279 http://nbviewer.jupyter.org/github/pandas-dev/pandas/blob/master/doc/source/html-styling.ipynb gives 404, changed to http://nbviewer.ipython.org/github/pandas-dev/pandas/blob/master/doc/source/style.ipynb - [ ] closes GH16279 - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-...
https://api.github.com/repos/pandas-dev/pandas/pulls/16281
2017-05-08T10:39:58Z
2017-05-08T10:56:57Z
2017-05-08T10:56:57Z
2017-05-30T12:20:37Z
BUG fixed broken link re GH16279
diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb index 427b18b988aef..4eeda491426b1 100644 --- a/doc/source/style.ipynb +++ b/doc/source/style.ipynb @@ -12,7 +12,7 @@ "\n", "<span style=\"color: red\">*Provisional: This is a new feature and still under development. We'll be adding features and pos...
GH16279 http://nbviewer.jupyter.org/github/pandas-dev/pandas/blob/master/doc/source/html-styling.ipynb gives 404, changed to http://nbviewer.ipython.org/github/pandas-dev/pandas/blob/master/doc/source/style.ipynb - [ ] closes #16279 - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-o...
https://api.github.com/repos/pandas-dev/pandas/pulls/16280
2017-05-08T10:26:33Z
2017-05-08T10:57:07Z
null
2023-05-11T01:15:34Z
ENH: add validate argument to merge
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index 170dde87c8363..d956f1ca54e6b 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -513,7 +513,8 @@ standard database join operations between DataFrame objects: pd.merge(left, right, how='inner', on=None, left_on=None, right_on=None...
- [x] closes #16270 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry Open question: does not currently check for whether "many" side of a merge is in fact many. I can't think of a case where I'm doing a one-to-many merge and I'd b...
https://api.github.com/repos/pandas-dev/pandas/pulls/16275
2017-05-07T01:19:30Z
2017-05-22T08:39:21Z
2017-05-22T08:39:20Z
2017-05-22T21:00:43Z
DOC: change 0.20.1 whatsnew text -> 0.20.2
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index f14a08876b6e8..e0a8065d9a507 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -1,6 +1,6 @@ -.. _whatsnew_0201: +.. _whatsnew_0202: -v0.20.1 (???) +v0.20.2 (???) ------------- This is a minor b...
https://api.github.com/repos/pandas-dev/pandas/pulls/16274
2017-05-06T23:39:22Z
2017-05-06T23:39:29Z
2017-05-06T23:39:29Z
2017-05-30T12:20:37Z
DOC: add whatsnew 0.20.2 to display
diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst index d6fb1c6a8f9cc..ffaeeb78c2799 100644 --- a/doc/source/whatsnew.rst +++ b/doc/source/whatsnew.rst @@ -18,6 +18,8 @@ What's New These are new features and improvements of note in each release. +.. include:: whatsnew/v0.20.2.txt + .. include:: whats...
https://api.github.com/repos/pandas-dev/pandas/pulls/16273
2017-05-06T22:20:07Z
2017-05-06T22:20:13Z
2017-05-06T22:20:13Z
2017-05-30T12:20:37Z
TST: remove some xfailing test_css.py tests
diff --git a/pandas/tests/io/formats/test_css.py b/pandas/tests/io/formats/test_css.py index 44f95266b6c78..c07856dc63602 100644 --- a/pandas/tests/io/formats/test_css.py +++ b/pandas/tests/io/formats/test_css.py @@ -29,32 +29,6 @@ def test_css_parse_normalisation(name, norm, abnorm): assert_same_resolution(norm, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16272
2017-05-06T22:19:47Z
2017-05-06T23:22:03Z
2017-05-06T23:22:03Z
2017-05-30T12:23:01Z
MAINT: Clean up pandas/util/testing.py
diff --git a/pandas/tests/groupby/test_timegrouper.py b/pandas/tests/groupby/test_timegrouper.py index 2196318d1920e..70b6b1e439691 100644 --- a/pandas/tests/groupby/test_timegrouper.py +++ b/pandas/tests/groupby/test_timegrouper.py @@ -1,6 +1,7 @@ """ test with the TimeGrouper / grouping with datetimes """ import ...
Transform testing methods to use more `pytest` idiom. xref #15990.
https://api.github.com/repos/pandas-dev/pandas/pulls/16271
2017-05-06T21:56:44Z
2017-05-07T21:40:58Z
2017-05-07T21:40:58Z
2017-05-07T21:41:38Z
Fix in date conversion param handling
diff --git a/pandas/io/stata.py b/pandas/io/stata.py index 55cac83804cd9..e40ba6e01d37a 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -2059,7 +2059,7 @@ def _check_column_names(self, data): # Check date conversion, and fix key if needed if self._convert_dates: for c, o in zi...
Previously this was trying to update any column name that had changed in `self._convert_dates`. If you had a column name that was non-date that was being changed, it would throw an error. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`...
https://api.github.com/repos/pandas-dev/pandas/pulls/16268
2017-05-06T15:29:32Z
2017-08-01T22:56:59Z
null
2017-08-01T22:56:59Z
BUG: support for "level=" when reset_index() is called with a flat Index
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index 504f8004bc8a6..f14a08876b6e8 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -42,7 +42,7 @@ Conversion Indexing ^^^^^^^^ - +- Bug in ``DataFrame.reset_index(level=)`` with single level index (:...
- [x] closes #16263 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16266
2017-05-06T10:03:58Z
2017-05-06T21:50:15Z
2017-05-06T21:50:15Z
2017-05-30T12:20:37Z
DOC: tm.assert_almost_equal() check_exact param defaults to False in code & docstring
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index f6b572cdf7179..4b610c505c574 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -127,7 +127,7 @@ def assert_almost_equal(left, right, check_exact=False, ---------- left : object right : object - check_exact : bool, def...
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` Parameter ```check_exact``` defaults to ```False``` whereas the docstring indicated ```True```.
https://api.github.com/repos/pandas-dev/pandas/pulls/16265
2017-05-06T07:47:10Z
2017-05-06T10:09:00Z
2017-05-06T10:09:00Z
2017-05-06T10:27:34Z
Update test_merge.py:TestMergeMulti.test_join_multi_levels
diff --git a/pandas/tests/reshape/test_merge.py b/pandas/tests/reshape/test_merge.py index d3257243d7a2c..fa098ed5a9e3e 100644 --- a/pandas/tests/reshape/test_merge.py +++ b/pandas/tests/reshape/test_merge.py @@ -1085,7 +1085,7 @@ def test_join_multi_levels(self): dict(household_id=[1, 2, 2, 3, 3, 3, 4...
Base on the explanations in #16182, I think the `test_join_multi_levels` test below should be refactored. It looks correct because currently `dropna` is defaultly dropped from `index`. And I don't think `dropna` should be involved in this test.
https://api.github.com/repos/pandas-dev/pandas/pulls/16262
2017-05-05T23:08:11Z
2017-07-26T23:59:41Z
null
2017-07-26T23:59:41Z
TST: release testing of downstream
diff --git a/.travis.yml b/.travis.yml index e5e05ed26da56..f0ece15de65db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,7 +123,7 @@ after_success: after_script: - echo "after_script start" - - source activate pandas && python -c "import pandas; pandas.show_versions();" + - source activate pandas && cd /tmp...
https://api.github.com/repos/pandas-dev/pandas/pulls/16261
2017-05-05T18:37:11Z
2017-05-06T22:05:06Z
2017-05-06T22:05:06Z
2017-05-30T12:23:04Z
DOC: update release notes
diff --git a/doc/source/release.rst b/doc/source/release.rst index f89fec9fb86e6..2587962299569 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -37,6 +37,248 @@ analysis / manipulation tool available in any language. * Binary installers on PyPI: http://pypi.python.org/pypi/pandas * Documentation: ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/16259
2017-05-05T16:55:44Z
2017-05-05T16:57:45Z
2017-05-05T16:57:45Z
2023-05-11T01:15:33Z
COMPAT/TEST test, fix for unsafe Vector.resize(), which allows refche…
diff --git a/pandas/_libs/hashtable.pxd b/pandas/_libs/hashtable.pxd index 9b352ae1c003b..3366751af144d 100644 --- a/pandas/_libs/hashtable.pxd +++ b/pandas/_libs/hashtable.pxd @@ -52,6 +52,7 @@ cdef struct Int64VectorData: cdef class Int64Vector: cdef Int64VectorData *data cdef ndarray ao + cdef bint ext...
closes issue #15854, supersedes pull request #16224, #16193 Adds a test showing how the ``uniques`` attribute leaks to user space, and calling ``get_labels()`` again with different data could change the underlying ndarray. With this pull request an exception will be raised after calling ``append()`` after calling `...
https://api.github.com/repos/pandas-dev/pandas/pulls/16258
2017-05-05T14:19:23Z
2017-05-11T11:39:07Z
2017-05-11T11:39:07Z
2017-05-11T11:39:51Z
DOC: add read_gbq as top-level in api.rst
diff --git a/doc/source/api.rst b/doc/source/api.rst index c652573bc6677..cb5136df1ff8b 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -128,7 +128,6 @@ SQL Google BigQuery ~~~~~~~~~~~~~~~ -.. currentmodule:: pandas.io.gbq .. autosummary:: :toctree: generated/ @@ -136,9 +135,6 @@ Google BigQuery ...
Noticed that the link to the top-level one did not work in the whatsnew file
https://api.github.com/repos/pandas-dev/pandas/pulls/16256
2017-05-05T13:35:55Z
2017-05-05T14:35:50Z
2017-05-05T14:35:50Z
2017-05-05T15:14:33Z
DOC: some reviewing of the 0.20 whatsnew file
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 61042071a52ec..551c4bd67146b 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -14,14 +14,13 @@ Highlights include: - The ``.ix`` indexer has been deprecated, see :ref:`here <whatsnew_0200.api_break...
Taking the opportunity to do some further edits to the whatsnew file
https://api.github.com/repos/pandas-dev/pandas/pulls/16254
2017-05-05T13:22:04Z
2017-05-05T15:21:32Z
2017-05-05T15:21:31Z
2017-05-05T15:22:55Z
ENH: Adding 'protocol' parameter to 'to_pickle'.
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 36dffc3d3378b..593e96960ed34 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -27,7 +27,8 @@ New features Other Enhancements ^^^^^^^^^^^^^^^^^^ - +- :func:`to_pickle` has gained a protocol param...
This PR aims at adding an optional `protocol` parameter to the function `to_pickle`. Closes #14488. If needed, I can update the corresponding test (`pandas/tests/io/test_pickle.py`).
https://api.github.com/repos/pandas-dev/pandas/pulls/16252
2017-05-05T12:40:36Z
2017-05-18T10:30:53Z
null
2017-05-18T10:48:24Z
DOC: Updated release notes for 0.20.1
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 61042071a52ec..b0aac2aee4238 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -1,6 +1,6 @@ .. _whatsnew_0200: -v0.20.0 (May 4, 2017) +v0.20.1 (May 5, 2017) --------------------- This is a maj...
Also added release note for https://github.com/pandas-dev/pandas/pull/16250
https://api.github.com/repos/pandas-dev/pandas/pulls/16251
2017-05-05T12:17:05Z
2017-05-05T14:06:38Z
2017-05-05T14:06:38Z
2017-05-27T16:36:39Z
DEPR: add shims for util + TST: test that we work in downstream packages
diff --git a/ci/install_release_build.sh b/ci/install_release_build.sh new file mode 100644 index 0000000000000..f8373176643fa --- /dev/null +++ b/ci/install_release_build.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# this requires cython to be installed + +# this builds the release cleanly +rm -rf dist +git clean -xfd +python...
https://api.github.com/repos/pandas-dev/pandas/pulls/16250
2017-05-05T10:09:48Z
2017-05-05T16:54:48Z
2017-05-05T16:54:48Z
2017-05-05T16:56:32Z
BUG: rolling.quantile does not return an interpolated result
diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py new file mode 100644 index 0000000000000..9da9d0b855323 --- /dev/null +++ b/asv_bench/benchmarks/rolling.py @@ -0,0 +1,185 @@ +from .pandas_vb_common import * +import pandas as pd +import numpy as np + + +class DataframeRolling(object): + ...
Now computing the quantile of a rolling window matches the default of the rolling method in Series, DataFrame and np.percentile. Fixes bugs #9413 and #16211 - [x] closes #9413 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16247
2017-05-05T06:52:13Z
2017-07-10T10:15:08Z
2017-07-10T10:15:08Z
2017-07-10T10:15:11Z
DOC: Whatsnew cleanup
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index bfd8031b4c305..61042071a52ec 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -1,7 +1,7 @@ .. _whatsnew_0200: -v0.20.0 (May 12, 2017) ------------------------- +v0.20.0 (May 4, 2017) +-----------...
https://api.github.com/repos/pandas-dev/pandas/pulls/16245
2017-05-05T01:59:15Z
2017-05-05T02:23:35Z
2017-05-05T02:23:35Z
2017-05-27T16:36:38Z
BUG: Incorrect handling of rolling.cov with offset window
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index 13365401f1d1c..8182a1c111a0a 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -80,6 +80,7 @@ Groupby/Resample/Rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Bug creating datetime rolling window on an empty ...
- [x] closes #16058 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16244
2017-05-04T22:33:50Z
2017-05-30T23:12:51Z
2017-05-30T23:12:51Z
2017-06-04T17:02:55Z
TST: Test CategoricalIndex in test_is_categorical
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index 6c2bbe330eeee..bfec1ec3ebe8c 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -205,13 +205,15 @@ def is_categorical(arr): >>> is_categorical([1, 2, 3]) False - Categoricals and Series Categorical...
Title is self-explanatory. Follow-up to #16237.
https://api.github.com/repos/pandas-dev/pandas/pulls/16243
2017-05-04T22:03:23Z
2017-05-04T23:31:49Z
2017-05-04T23:31:49Z
2017-05-05T01:11:28Z
TST: xfail some bottleneck on windows
diff --git a/ci/requirements-3.6_WIN.run b/ci/requirements-3.6_WIN.run index 840d2867e9297..899bfbc6b6b23 100644 --- a/ci/requirements-3.6_WIN.run +++ b/ci/requirements-3.6_WIN.run @@ -1,6 +1,7 @@ python-dateutil pytz numpy=1.12* +bottleneck openpyxl xlsxwriter xlrd diff --git a/pandas/tests/series/test_analytics...
xref https://github.com/pandas-dev/pandas/issues/16049#issuecomment-299298192
https://api.github.com/repos/pandas-dev/pandas/pulls/16240
2017-05-04T21:28:24Z
2017-05-04T23:26:09Z
2017-05-04T23:26:09Z
2017-05-04T23:27:05Z
Fix ModuleNotFoundError: No module named 'pandas.formats'
diff --git a/setup.py b/setup.py index 806047a344281..d101358fb63dd 100755 --- a/setup.py +++ b/setup.py @@ -648,6 +648,7 @@ def pxd(name): 'pandas.core.util', 'pandas.computation', 'pandas.errors', + 'pandas.formats', 'pandas.io', ...
Fixes `test_shim` failure: ``` ================================== FAILURES =================================== __________________________________ test_shim __________________________________ def test_shim(): # https://github.com/pandas-dev/pandas/pull/16059 # Remove in 0.21 with tm....
https://api.github.com/repos/pandas-dev/pandas/pulls/16239
2017-05-04T20:13:13Z
2017-05-04T20:58:25Z
2017-05-04T20:58:25Z
2017-05-04T20:58:33Z
TST: Remove __init__ statements in testing
diff --git a/pandas/tests/indexes/test_multi.py b/pandas/tests/indexes/test_multi.py index 402dba0ba08b8..1fe4d85815c4b 100644 --- a/pandas/tests/indexes/test_multi.py +++ b/pandas/tests/indexes/test_multi.py @@ -486,7 +486,7 @@ def test_copy_names(self): def test_names(self): - # names are assigned in ...
We should never have had `__init__` in a test case (even with the old `nose` paradigm). Closes #16235.
https://api.github.com/repos/pandas-dev/pandas/pulls/16238
2017-05-04T19:45:25Z
2017-05-04T21:29:16Z
2017-05-04T21:29:15Z
2017-05-04T21:29:58Z
DOC, TST: Document and Test Functions in dtypes/common.py
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index ba822071a3b72..6c2bbe330eeee 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -37,7 +37,7 @@ def _ensure_float(arr): Parameters ---------- - arr : ndarray, Series + arr : array-like T...
Title is self-explanatory. Closes #15895.
https://api.github.com/repos/pandas-dev/pandas/pulls/16237
2017-05-04T19:10:29Z
2017-05-04T21:37:15Z
2017-05-04T21:37:15Z
2017-05-04T21:39:06Z
CLN: Index.append() refactoring
diff --git a/pandas/core/dtypes/concat.py b/pandas/core/dtypes/concat.py index 292d5f608d4cb..0ce45eea119ed 100644 --- a/pandas/core/dtypes/concat.py +++ b/pandas/core/dtypes/concat.py @@ -19,7 +19,7 @@ _TD_DTYPE) from pandas.core.dtypes.generic import ( ABCDatetimeIndex, ABCTimedeltaIndex, - ABCPeriodInd...
- [x] tests passed (one xpassed due to #16234) - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` The first commit is just #16213 . The others reorganize a bit the code for ``Index.append()``.
https://api.github.com/repos/pandas-dev/pandas/pulls/16236
2017-05-04T16:05:54Z
2017-08-22T08:11:11Z
2017-08-22T08:11:11Z
2017-08-22T08:42:14Z
BUG: Accept list-like color with single col in plot
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index 983f3edfa2f46..cbfebee2ceba2 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -55,6 +55,8 @@ I/O Plotting ^^^^^^^^ +- Bug in ``DataFrame.plot`` with a single column and a list-like ``color`` (:i...
Close #3486
https://api.github.com/repos/pandas-dev/pandas/pulls/16233
2017-05-04T13:27:43Z
2017-05-11T16:07:28Z
2017-05-11T16:07:28Z
2017-05-30T12:20:36Z
ENH: add optional ddof param to DataFrame.cov()
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index c5fe89282bf52..ff39f2307243b 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -119,6 +119,7 @@ Other Enhancements - :func:`Series.to_pickle` and :func:`DataFrame.to_pickle` have gained a ``protocol...
- [ ] closes #xxxx (searched, didn't see any issues on this topic) - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry Noticed that the .cov() methods on DataFrame and Series assume the user wants to calculate sample variance and norm...
https://api.github.com/repos/pandas-dev/pandas/pulls/16227
2017-05-04T09:23:55Z
2017-10-29T23:20:20Z
null
2023-05-11T01:15:32Z
MAINT: Remove tm.TestCase from testing
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 26a2f56f3c1a1..aacfe25b91564 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -617,11 +617,11 @@ the expected correct result:: Transitioning to ``pytest`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -*pandas* existing test str...
Title is self-explanatory. xref #15990 xref <a href="https://github.com/pandas-dev/pandas/pull/16201#pullrequestreview-36158775">#16201 (comment)</a>
https://api.github.com/repos/pandas-dev/pandas/pulls/16225
2017-05-04T04:14:23Z
2017-05-04T11:01:21Z
2017-05-04T11:01:21Z
2017-05-04T13:34:40Z
Vector array
diff --git a/pandas/_libs/hashtable.pxd b/pandas/_libs/hashtable.pxd index 9b352ae1c003b..5b4e6e99e5e93 100644 --- a/pandas/_libs/hashtable.pxd +++ b/pandas/_libs/hashtable.pxd @@ -52,8 +52,9 @@ cdef struct Int64VectorData: cdef class Int64Vector: cdef Int64VectorData *data cdef ndarray ao + cdef bint ext...
alt to #16193, appends to #16222 closes #15854 @chris-b1 comment from #16222 : This has the downside of introducing more manual memory management, but on the plus side removes the interim gil acquisition from some algos. I couldn't figure out how to append to #16222, so I started another pull request, sorry, but...
https://api.github.com/repos/pandas-dev/pandas/pulls/16224
2017-05-04T03:51:37Z
2017-05-05T13:07:46Z
null
2023-05-11T01:15:32Z
CLN: make submodules of pandas.util private
diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py index d79051ed2d66c..40cfec1bcd4c7 100644 --- a/asv_bench/benchmarks/algorithms.py +++ b/asv_bench/benchmarks/algorithms.py @@ -5,7 +5,7 @@ import pandas as pd from pandas.util import testing as tm -for imp in ['pandas.util.hashing...
xref #13634
https://api.github.com/repos/pandas-dev/pandas/pulls/16223
2017-05-04T02:15:03Z
2017-05-04T14:27:36Z
2017-05-04T14:27:36Z
2017-05-05T10:44:28Z
COMPAT/PERF remove arrays from Vector classes (WIP)
diff --git a/pandas/_libs/hashtable.pxd b/pandas/_libs/hashtable.pxd index 9b352ae1c003b..5b4e6e99e5e93 100644 --- a/pandas/_libs/hashtable.pxd +++ b/pandas/_libs/hashtable.pxd @@ -52,8 +52,9 @@ cdef struct Int64VectorData: cdef class Int64Vector: cdef Int64VectorData *data cdef ndarray ao + cdef bint ext...
alt to #16193 closes #15854 This has the downside of introducing more manual memory management, but on the plus side removes the interim gil acquisition from some algos. cc @mattip - if you could give this a try in PyPy? Thanks.
https://api.github.com/repos/pandas-dev/pandas/pulls/16222
2017-05-03T23:46:32Z
2017-05-04T10:56:03Z
null
2023-05-11T01:15:31Z
DOC: don't include all methods/attributes of IntervalIndex
diff --git a/doc/source/api.rst b/doc/source/api.rst index 491bec3c83f61..c652573bc6677 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -618,7 +618,6 @@ strings and apply several methods to it. These can be accessed like Series.cat Series.dt Index.str - CategoricalIndex.str ...
Alternative for #16050 I totally forgot I already had made such a "class without autosummary table" template before for Categorical, so I hope this should work for IntervalIndex as well.
https://api.github.com/repos/pandas-dev/pandas/pulls/16221
2017-05-03T23:03:15Z
2017-05-04T21:15:56Z
2017-05-04T21:15:56Z
2017-05-04T23:27:41Z
ENH: Provide dict object for to_dict() #16122
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 3df0a21facb02..ce80a80e58cd7 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -26,6 +26,7 @@ New features Other Enhancements ^^^^^^^^^^^^^^^^^^ +- ``Series.to_dict()`` and ``DataFrame.to_dict()`...
- [x] closes #16122 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16220
2017-05-03T21:05:46Z
2017-05-16T16:06:19Z
2017-05-16T16:06:19Z
2018-04-18T18:24:05Z
ENH Adding categorical parallel_coordinates implementation
diff --git a/pandas/plotting/__init__.py b/pandas/plotting/__init__.py index c3cbedb0fc28c..f4019801eb8db 100644 --- a/pandas/plotting/__init__.py +++ b/pandas/plotting/__init__.py @@ -12,8 +12,8 @@ from pandas.plotting._misc import (scatter_matrix, radviz, andrews_curves, bootstr...
- [x] closes #12341 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [ ] whatsnew entry Initial PR for #12341 I have a couple of questions, the signature is different from the parallel_coordinates method and I was not sure if we need all of them ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16219
2017-05-03T17:46:37Z
2017-10-28T00:25:06Z
null
2023-05-11T01:15:31Z
rolling.quantile returns an interpolated result
diff --git a/doc/source/whatsnew/v0.20.1.txt b/doc/source/whatsnew/v0.20.1.txt index 504f8004bc8a6..ce843d56c5ae2 100644 --- a/doc/source/whatsnew/v0.20.1.txt +++ b/doc/source/whatsnew/v0.20.1.txt @@ -78,7 +78,7 @@ Reshaping Numeric ^^^^^^^ - +- Bug in ``.rolling.quantile()`` which incorrectly used different defaul...
- [x] closes #9413 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16216
2017-05-03T12:00:32Z
2017-05-05T06:44:29Z
null
2023-05-11T01:15:31Z
ENH: Make RangeIndex.append() return RangeIndex when possible
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 36dffc3d3378b..3df0a21facb02 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -26,6 +26,7 @@ New features Other Enhancements ^^^^^^^^^^^^^^^^^^ +- ``RangeIndex.append`` now returns a ``RangeInde...
- [x] closes #16212 - [x] tests added / passed - [x] passes ``git diff master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry This is analogous to what is already done for ``RangeIndex.union()``, but there doesn't seem to be much scope for code reuse (what could be, in principle, reused in ``.app...
https://api.github.com/repos/pandas-dev/pandas/pulls/16213
2017-05-03T11:42:17Z
2017-05-12T11:45:06Z
2017-05-12T11:45:06Z
2017-05-12T11:57:49Z
Add bigquery scope for google credentials
diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py index 8038cc500f6cd..0a0a493e8704a 100644 --- a/pandas/io/gbq.py +++ b/pandas/io/gbq.py @@ -200,6 +200,8 @@ def get_application_default_credentials(self): try: credentials = GoogleCredentials.get_application_default() + credentials = cr...
Bigquery requires scoped credentials when loading application default credentials Quick test code below, it will return "invalid token" error. When uncomment the create_scoped() statement, the code run correctly without any error. ```bash # use google default application credentials export GOOGLE_APPLICATION_CRED...
https://api.github.com/repos/pandas-dev/pandas/pulls/16210
2017-05-03T06:54:00Z
2017-05-03T10:18:23Z
null
2023-05-11T01:15:30Z
BUG: Categorical scatter plot has KeyError #16199
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index 52f7701724f18..0210ec53125b8 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -36,6 +36,7 @@ Performance Improvements Bug Fixes ~~~~~~~~~ +- Fixed issue with dataframe scatter plot for categoric...
Appropriately handles categorical data for dataframe scatter plots which currently raises KeyError for categorical data - [x] closes #16199 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16208
2017-05-03T01:58:51Z
2017-06-12T21:55:23Z
2017-06-12T21:55:23Z
2017-07-07T13:12:14Z
COMPAT: ensure proper extension dtype's don't pickle the cache
diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py index 59c23addd418e..561f1951a4151 100644 --- a/pandas/core/dtypes/dtypes.py +++ b/pandas/core/dtypes/dtypes.py @@ -24,6 +24,7 @@ class ExtensionDtype(object): isbuiltin = 0 isnative = 0 _metadata = [] + _cache = {} def __...
xref #16201
https://api.github.com/repos/pandas-dev/pandas/pulls/16207
2017-05-02T22:59:33Z
2017-05-03T00:54:59Z
2017-05-03T00:54:59Z
2017-05-03T00:58:40Z
DOC: Remove various warnings from doc build
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 7a056203ed447..134cc5106015b 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1004,6 +1004,7 @@ Transform the entire frame. ``.transform()`` allows input functions as: a numpy function name or a user defined function. .. ipython:: py...
This gets a handful, though it hasn't addressed https://github.com/pandas-dev/pandas/pull/16050 yet.
https://api.github.com/repos/pandas-dev/pandas/pulls/16206
2017-05-02T21:02:30Z
2017-05-03T18:16:45Z
2017-05-03T18:16:45Z
2023-05-11T01:15:29Z
BUG: Fixed renaming of falsey names in build_table_schema
diff --git a/pandas/io/json/table_schema.py b/pandas/io/json/table_schema.py index d8ef3afc9591f..c3865afa9c0c0 100644 --- a/pandas/io/json/table_schema.py +++ b/pandas/io/json/table_schema.py @@ -76,7 +76,11 @@ def set_default_names(data): def make_field(arr, dtype=None): dtype = dtype or arr.dtype - field ...
Closes https://github.com/pandas-dev/pandas/issues/16203
https://api.github.com/repos/pandas-dev/pandas/pulls/16205
2017-05-02T19:49:56Z
2017-05-03T01:22:50Z
2017-05-03T01:22:50Z
2017-05-03T18:24:27Z
API Change repr name for table schema
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index 81fb8090a7afe..7e6ffaaffb72b 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -9,7 +9,6 @@ module is imported, register them here rather then in the module. """ -import sys import warnings import pandas.core.co...
Not API breaking, since pandas 0.20.0 hasn't been released yet. `_repr_table_schema_` isn't the right name, since we include both the schema and the data. xref https://github.com/pandas-dev/pandas/pull/16198#discussion_r114342141 @rgbkrk do you need any kind of backwards compatibility with `_repr_table_schema_`?
https://api.github.com/repos/pandas-dev/pandas/pulls/16204
2017-05-02T19:38:10Z
2017-05-03T18:23:29Z
2017-05-03T18:23:28Z
2017-05-03T18:23:44Z
DEPR: correct deprecation message for datetools
diff --git a/pandas/util/depr_module.py b/pandas/util/depr_module.py index b438c91d980af..9c648b76fdad1 100644 --- a/pandas/util/depr_module.py +++ b/pandas/util/depr_module.py @@ -83,8 +83,7 @@ def __getattr__(self, name): FutureWarning, stacklevel=2) else: if deprmod...
Small error in the datetools depr message I just noticed: Before ("Day.Day"): ``` In [33]: from pandas import datetools In [34]: datetools.Day(1) /home/joris/miniconda3/envs/dev/bin/ipython:1: FutureWarning: pandas.core.datetools.Day is deprecated. Please use pandas.tseries.offsets.Day.Day instead. #!/hom...
https://api.github.com/repos/pandas-dev/pandas/pulls/16202
2017-05-02T17:11:30Z
2017-05-03T19:18:42Z
2017-05-03T19:18:42Z
2017-05-03T22:15:43Z
MAINT: Complete Conversion to Pytest Idiom
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 08e28582e7469..26a2f56f3c1a1 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -632,14 +632,6 @@ framework that will facilitate testing and developing. Thus, instead of writing def test_really_cool_feature(): ...
* Convert all test setup/teardown to `pytest` idiom * Remove any classes that inherit from `unittest.TestCase` * Update documentation that we are still using `tm.TestCase` Closes #15990. `pytest` idiom for test setup/teardown can be found <a href="https://docs.pytest.org/en/2.7.3/xunit_setup.html">here</a>.
https://api.github.com/repos/pandas-dev/pandas/pulls/16201
2017-05-02T16:31:20Z
2017-05-04T02:38:13Z
2017-05-04T02:38:13Z
2017-05-04T03:13:55Z
DOC: Add redirect for moved classes
diff --git a/doc/_templates/api_redirect.html b/doc/_templates/api_redirect.html index 24bdd8363830f..c04a8b58ce544 100644 --- a/doc/_templates/api_redirect.html +++ b/doc/_templates/api_redirect.html @@ -1,15 +1,10 @@ -{% set pgn = pagename.split('.') -%} -{% if pgn[-2][0].isupper() -%} - {% set redirect = ["pandas...
The new redirects in this commit are for Resampler and Styler Refactor how we do redirects. Moved all the logic into the config file, where you state the methods / classes to be redirected. Removed all the logic from the template, and just look up in the new html_context variable. Closes https://github.com/pan...
https://api.github.com/repos/pandas-dev/pandas/pulls/16200
2017-05-02T16:21:12Z
2017-05-02T17:52:47Z
2017-05-02T17:52:47Z
2017-05-03T18:24:35Z
register custom DisplayFormatter for table schema
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index d77d17aa4d00e..81fb8090a7afe 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -9,6 +9,7 @@ module is imported, register them here rather then in the module. """ +import sys import warnings import pandas.core.co...
instead of using `_ipython_display_` for custom mime-types This should solve the issues in #16171, without needing to register/unregister `_ipython_display_`. In the long run, https://github.com/ipython/ipython/pull/10496 should remove the need for any custom registration, in favor of a simple `_repr_mimebundle_` met...
https://api.github.com/repos/pandas-dev/pandas/pulls/16198
2017-05-02T14:59:42Z
2017-05-02T19:17:10Z
2017-05-02T19:17:10Z
2023-05-11T01:15:29Z
Unblock supported compression libs in pytables
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index 983f3edfa2f46..95e88f610004f 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -19,7 +19,7 @@ Highlights include: Enhancements ~~~~~~~~~~~~ - +- Unblocked access to additional compression types s...
- [x] closes #14478 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16196
2017-05-02T08:36:23Z
2017-05-11T22:55:10Z
2017-05-11T22:55:09Z
2017-05-30T12:20:36Z
TST: test reset_index with tuple index name and col_level!=0
diff --git a/pandas/tests/test_multilevel.py b/pandas/tests/test_multilevel.py index 5b2057f830102..f4cb07625faf2 100644 --- a/pandas/tests/test_multilevel.py +++ b/pandas/tests/test_multilevel.py @@ -2286,6 +2286,11 @@ def test_reset_index_multiindex_columns(self): "incomplete col...
- [x] tests added / passed - [x] passes ``git diff master --name-only -- '*.py' | flake8 --diff`` This just completes #16165 as [asked](https://github.com/pandas-dev/pandas/pull/16165#issuecomment-298427315) by @jorisvandenbossche
https://api.github.com/repos/pandas-dev/pandas/pulls/16195
2017-05-02T07:53:19Z
2017-05-02T10:26:20Z
2017-05-02T10:26:20Z
2017-05-03T23:17:50Z
COMPAT: PySlice_GetIndicesEx is a macro on PyPy
diff --git a/pandas/_libs/src/compat_helper.h b/pandas/_libs/src/compat_helper.h index 8f86bb3f8e62f..bdff61d7d4150 100644 --- a/pandas/_libs/src/compat_helper.h +++ b/pandas/_libs/src/compat_helper.h @@ -26,8 +26,10 @@ the macro, which restores compat. https://bugs.python.org/issue29943 */ -#if PY_VERSION_HEX < 0x...
the fix for issue #15961 broke compatibility with PyPy. This pull request fixes it (fixed formatting for linter)
https://api.github.com/repos/pandas-dev/pandas/pulls/16194
2017-05-02T05:58:23Z
2017-05-02T10:28:23Z
2017-05-02T10:28:23Z
2017-05-02T10:28:26Z
Pypy refcheck
diff --git a/pandas/_libs/hashtable.pxd b/pandas/_libs/hashtable.pxd index 9b352ae1c003b..65d8c5eff1b7b 100644 --- a/pandas/_libs/hashtable.pxd +++ b/pandas/_libs/hashtable.pxd @@ -53,7 +53,7 @@ cdef class Int64Vector: cdef Int64VectorData *data cdef ndarray ao - cdef resize(self) - cpdef to_array(sel...
``np.resize(a, refcheck=True)`` relies on refcount semantics to check that no other object holds a reference to ``a``. Since PyPy only partially mocks refcount semantics, the check is unreliable on PyPy. Unfortunately ``a`` (or rather ``uniques`` in this case) is allocated all the way out at user space, so it might be...
https://api.github.com/repos/pandas-dev/pandas/pulls/16193
2017-05-02T05:06:04Z
2017-05-04T10:55:45Z
null
2023-05-11T01:15:29Z
COMPAT: PySlice_GetIndicesEx is a macro on PyPy
diff --git a/pandas/_libs/src/compat_helper.h b/pandas/_libs/src/compat_helper.h index 8f86bb3f8e62f..73787023c27b7 100644 --- a/pandas/_libs/src/compat_helper.h +++ b/pandas/_libs/src/compat_helper.h @@ -26,7 +26,7 @@ the macro, which restores compat. https://bugs.python.org/issue29943 */ -#if PY_VERSION_HEX < 0x0...
the fix for issue #15961 broke compatibility with PyPy. This pull request fixes it
https://api.github.com/repos/pandas-dev/pandas/pulls/16192
2017-05-02T04:46:09Z
2017-05-02T05:56:06Z
null
2023-05-11T01:15:28Z
BUG: incorrect handling of scipy.sparse.dok formats
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index e0a8065d9a507..ad8a85843ea17 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -66,8 +66,7 @@ Groupby/Resample/Rolling Sparse ^^^^^^ - - +- Bug in construction of SparseDataFrame from ``scipy.spa...
- [x] closes #16179 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
https://api.github.com/repos/pandas-dev/pandas/pulls/16191
2017-05-02T03:06:20Z
2017-05-11T23:00:05Z
2017-05-11T23:00:05Z
2017-05-30T12:20:36Z
MAINT: Remove vestigial self.assert*
diff --git a/pandas/tests/frame/test_repr_info.py b/pandas/tests/frame/test_repr_info.py index 74301b918bd02..0300c53e086cd 100644 --- a/pandas/tests/frame/test_repr_info.py +++ b/pandas/tests/frame/test_repr_info.py @@ -331,13 +331,13 @@ def test_info_memory_usage(self): res = buf.getvalue().splitlines() ...
Remove all remaining `self.assert*` method calls originating from `unittest`. Any that are left are calls to methods directly defined in the test class or a higher derived `pandas` test class. Partially addresses #15990. Once this PR is merged, it is important that we remain vigilant about requiring PR's to adhe...
https://api.github.com/repos/pandas-dev/pandas/pulls/16190
2017-05-02T02:21:54Z
2017-05-02T10:24:17Z
2017-05-02T10:24:17Z
2017-05-02T13:29:51Z
DEPR: deprecate pandas.api.types.is_sequence
diff --git a/doc/source/api.rst b/doc/source/api.rst index 7102258318b5b..491bec3c83f61 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1969,15 +1969,14 @@ Dtype introspection Iterable introspection +.. autosummary:: + :toctree: generated/ + api.types.is_dict_like api.types.is_file_like ...
xref #16042
https://api.github.com/repos/pandas-dev/pandas/pulls/16189
2017-05-02T00:30:29Z
2017-05-02T01:22:24Z
2017-05-02T01:22:24Z
2017-05-02T06:11:13Z
DOC: update the .agg doc-string with examples
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 3332bfcd65d50..4882acbe820ea 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -9,7 +9,7 @@ users upgrade to this version. Highlights include: -- new ``.agg()`` API for Series/DataFrame similar ...
consolidates .agg docs across frame/series & groupby & window
https://api.github.com/repos/pandas-dev/pandas/pulls/16188
2017-05-02T00:10:23Z
2017-05-02T11:26:28Z
2017-05-02T11:26:28Z
2017-05-02T12:08:32Z
MAINT: Remove self.assertAlmostEqual from testing
diff --git a/pandas/tests/indexing/test_chaining_and_caching.py b/pandas/tests/indexing/test_chaining_and_caching.py index c39876a8c6e44..c1f5d2941106d 100644 --- a/pandas/tests/indexing/test_chaining_and_caching.py +++ b/pandas/tests/indexing/test_chaining_and_caching.py @@ -32,7 +32,7 @@ def test_slice_consolidate_in...
Title is self-explanatory. Partially addresses #15990.
https://api.github.com/repos/pandas-dev/pandas/pulls/16183
2017-05-01T17:19:43Z
2017-05-02T00:01:59Z
2017-05-02T00:01:59Z
2017-05-02T00:51:57Z
TST: DatetimeIndex and its Timestamp elements returning same .weekofyear with tz (#6538)
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index aded04e82ee7e..6e4756c3c5245 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -1580,7 +1580,7 @@ Conversion - Bug in ``Timestamp.replace`` now raises ``TypeError`` when incorrect argument names a...
- [x] closes #6538 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` I think this was closed by PR #15740.
https://api.github.com/repos/pandas-dev/pandas/pulls/16181
2017-05-01T00:00:04Z
2017-05-01T11:34:20Z
2017-05-01T11:34:20Z
2017-12-20T02:00:02Z
BUG: Made SparseDataFrame.fillna() fill all NaNs
diff --git a/pandas/core/sparse/array.py b/pandas/core/sparse/array.py index 8ac9d3916573e..444f0ba33fd6d 100644 --- a/pandas/core/sparse/array.py +++ b/pandas/core/sparse/array.py @@ -595,14 +595,12 @@ def fillna(self, value, downcast=None): if issubclass(self.dtype.type, np.floating): value = fl...
- [x] closes #16112 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` The dia and dok format matrices seem to have other, unrelated bugs that prevent correct initialization. Therefore, they are excluded from tests in this commit. See #16177 and #16179. ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16178
2017-04-30T03:43:32Z
2017-07-12T15:45:04Z
null
2017-07-12T15:45:04Z
MAINT: Remove self.assertNotEqual from testing
diff --git a/pandas/tests/frame/test_api.py b/pandas/tests/frame/test_api.py index d2a1e32f015b2..208c7b5ace50e 100644 --- a/pandas/tests/frame/test_api.py +++ b/pandas/tests/frame/test_api.py @@ -247,7 +247,7 @@ def test_deepcopy(self): series = cp['A'] series[:] = 10 for idx, value in compa...
Title is self-explanatory. Partially addresses #15990.
https://api.github.com/repos/pandas-dev/pandas/pulls/16176
2017-04-29T21:09:16Z
2017-05-01T11:40:42Z
2017-05-01T11:40:42Z
2017-05-01T15:46:22Z
Update docs.ecosystem.api.pandasdmx
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index ee0ea60c6f220..31849fc142aea 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -173,13 +173,15 @@ This package requires valid credentials for this API (non free). `pandaSDMX <https://pandasdmx.readthedocs.io>`__ ~~~~~~~~~~~...
I am the author of pandaSDMX and contributed the section about two years ago. It is outdated and has become misleading. - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16172
2017-04-29T15:49:55Z
2017-05-01T20:10:12Z
2017-05-01T20:10:12Z
2017-05-01T20:20:43Z
BUG: Restore return value in notebook reprs
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index f8cbdffa27bb4..790a9ed24b007 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -307,6 +307,21 @@ def mpl_style_cb(key): return val +def table_schema_cb(key): + # Having _ipython_display_ defined messes with ...
Monkey patches the _ipython_display_ method onto NDFrame, so that notebook cells have a real return value. Setting the display.html.table_schema will monkey patch the method on, and remove it when unset. closes https://github.com/ipython/ipython/issues/10491
https://api.github.com/repos/pandas-dev/pandas/pulls/16171
2017-04-29T11:39:44Z
2017-05-01T16:20:34Z
2017-05-01T16:20:34Z
2017-05-03T22:10:09Z
Use cssdecl package for resolving CSS
diff --git a/ci/requirements-2.7.pip b/ci/requirements-2.7.pip index eb796368e7820..ec10ee76c01e4 100644 --- a/ci/requirements-2.7.pip +++ b/ci/requirements-2.7.pip @@ -6,3 +6,4 @@ py PyCrypto mock ipython +cssdecl diff --git a/ci/requirements-2.7_WIN.pip b/ci/requirements-2.7_WIN.pip new file mode 100644 index 0000...
Uses dependency on an external project instead of having local code to handle the resolution of DataFrame.style CSS to interpretable atoms. This allows reuse of that code and relatively independent development of more complete CSS2.2 coverage. - [x] ~~closes #xxxx~~ N/A - [x] tests added / passed - [x] passes `...
https://api.github.com/repos/pandas-dev/pandas/pulls/16170
2017-04-29T11:31:52Z
2017-05-15T08:13:03Z
null
2017-05-15T08:13:04Z
MAINT: Remove self.assertEqual from testing
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 7ebdd9735b967..2fe6359fd1ea6 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -104,6 +104,7 @@ def signature(f): map = map zip = zip filter = filter + intern = sys.intern reduce = functools.reduce ...
Title is self-explanatory. Massive, massive PR. Partially addresses #15990.
https://api.github.com/repos/pandas-dev/pandas/pulls/16169
2017-04-29T09:07:17Z
2017-04-29T20:04:09Z
2017-04-29T20:04:09Z
2017-04-29T20:23:03Z
ENH: pandas read_* wildcard #15904
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 8fa1283ffc924..8466b3d3c3297 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -910,9 +910,6 @@ The :ref:`CSV <io.read_csv_table>` docs `appending to a csv <http://stackoverflow.com/questions/17134942/pandas-dataframe-output-end-...
- [x] closes #15904 - [x] tests added / passed (N/A for docs) - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry (N/A for docs)
https://api.github.com/repos/pandas-dev/pandas/pulls/16166
2017-04-28T01:46:28Z
2017-04-30T11:09:46Z
2017-04-30T11:09:46Z
2017-04-30T11:10:30Z
Support resetting index with tuple name
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 86a598183517c..4c2dda48a7d10 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -490,6 +490,7 @@ Other Enhancements - ``Series.interpolate()`` now supports timedelta as an index type with ``method='t...
- [x] closes #16164 - [x] tests added / passed - [x] passes ``git diff master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry Notice the first commit is pure refactoring, and the bug is actually fixed by the [one-liner](https://github.com/pandas-dev/pandas/pull/16165/commits/e12bca109658435a709dd...
https://api.github.com/repos/pandas-dev/pandas/pulls/16165
2017-04-28T00:18:17Z
2017-04-28T21:31:24Z
null
2017-05-01T20:43:12Z
DEPR: deprecate is_any_int_dtype and is_floating_dtype from pandas.api.types
diff --git a/doc/source/api.rst b/doc/source/api.rst index ab14c2758ae49..7102258318b5b 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1939,3 +1939,61 @@ Data types related functionality api.types.union_categoricals api.types.infer_dtype api.types.pandas_dtype + +Dtype introspection + +.. auto...
closes #16042
https://api.github.com/repos/pandas-dev/pandas/pulls/16163
2017-04-27T22:47:38Z
2017-04-28T10:20:16Z
2017-04-28T10:20:16Z
2017-04-28T10:32:01Z
ENH: Multi-level join on multi-indexes
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index cfd3f9e88e4ea..7b4cf7cb1bda9 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -31,10 +31,10 @@ operations. Concatenating objects --------------------- -The :func:`~pandas.concat` function (in the main pandas namespace) does all of...
closes #6360 Allow for merging on multiple levels of multi-indexes
https://api.github.com/repos/pandas-dev/pandas/pulls/16162
2017-04-27T22:28:16Z
2018-03-11T20:22:02Z
null
2018-03-12T22:55:46Z
Add column index to be removed in get_dummies
diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py index a3cf80d758b7b..a3dd1a63780dc 100644 --- a/pandas/core/reshape/reshape.py +++ b/pandas/core/reshape/reshape.py @@ -1099,6 +1099,9 @@ def get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False, first level. .. ve...
While create dummies with get_dummies, we sometime want to remove an other column than the first one. Add this possibility by : - changing drop_first to drop_idx, - drop_idx accept both bool (as drop_first) and int - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-o...
https://api.github.com/repos/pandas-dev/pandas/pulls/16159
2017-04-27T08:30:33Z
2017-04-27T12:45:59Z
null
2017-04-27T13:29:00Z
MAINT: Remove self.assertTrue from testing
diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py index 52061f7f1e0ae..827a4668ed0bc 100644 --- a/pandas/tests/computation/test_eval.py +++ b/pandas/tests/computation/test_eval.py @@ -662,17 +662,17 @@ def test_identical(self): x = 1 result = pd.eval('x', engin...
Title is self-explanatory. Partially addresses #15990.
https://api.github.com/repos/pandas-dev/pandas/pulls/16158
2017-04-27T08:12:39Z
2017-04-27T12:17:48Z
2017-04-27T12:17:48Z
2017-04-29T09:12:35Z
DEPR: allow options for using bottleneck/numexpr
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 5789f39266927..7a056203ed447 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -93,7 +93,7 @@ Accelerated operations ---------------------- pandas has support for accelerating certain types of binary numerical and boolean operations us...
deprecate pd.computation.expressions.set_use_numexpr() supersedes #16140
https://api.github.com/repos/pandas-dev/pandas/pulls/16157
2017-04-27T00:44:16Z
2017-04-27T21:28:35Z
2017-04-27T21:28:35Z
2017-04-27T21:29:56Z
BUG: Fix some PeriodIndex resampling issues
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 4a3122a78b234..eafe8d08aafaa 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -171,6 +171,82 @@ Other Enhancements Backwards incompatible API changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. _what...
closes #15944 xref partially #12884 closes #13083 closes #13224 This PR addresses some of the issues related to PeriodIndex resampling. As I'm new to the pandas codebase, I appreciate any advice.
https://api.github.com/repos/pandas-dev/pandas/pulls/16153
2017-04-26T20:46:01Z
2017-10-01T14:55:33Z
2017-10-01T14:55:32Z
2017-10-06T17:44:22Z
CLN: remove unused TimeGrouper._get_binner_for_resample() method
diff --git a/pandas/core/resample.py b/pandas/core/resample.py index 203ae0cb17e02..1685a5d75245d 100644 --- a/pandas/core/resample.py +++ b/pandas/core/resample.py @@ -1099,23 +1099,6 @@ def _get_grouper(self, obj): r._set_binner() return r.binner, r.grouper, r.obj - def _get_binner_for_resample...
- [x] tests passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [ ] whatsnew entry method seems unused and is not covered by tests -> remove it?
https://api.github.com/repos/pandas-dev/pandas/pulls/16152
2017-04-26T20:36:47Z
2017-04-27T01:32:13Z
2017-04-27T01:32:13Z
2017-04-27T01:33:27Z
MAINT: Remove self.assertFalse from testing
diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py index cc14282934f16..52061f7f1e0ae 100644 --- a/pandas/tests/computation/test_eval.py +++ b/pandas/tests/computation/test_eval.py @@ -1443,7 +1443,7 @@ def test_simple_in_ops(self): res = pd.eval('3 in (1, 2)', eng...
Title is self-explanatory. Partially addresses #15990.
https://api.github.com/repos/pandas-dev/pandas/pulls/16151
2017-04-26T19:55:56Z
2017-04-27T00:42:34Z
2017-04-27T00:42:34Z
2017-04-27T00:43:23Z
API: Relax is-file-like conditions
diff --git a/pandas/core/dtypes/inference.py b/pandas/core/dtypes/inference.py index 66f4d87aa8e33..a5316a83612cb 100644 --- a/pandas/core/dtypes/inference.py +++ b/pandas/core/dtypes/inference.py @@ -142,12 +142,8 @@ def is_file_like(obj): Check if the object is a file-like object. For objects to be consid...
Previously, we were requiring that all file-like objects had "read," "write," "seek," and "tell" methods, but that was too strict (e.g. read-only buffers). This commit relaxes those requirements to having EITHER "read" or "write" as attributes. Closes #16135.
https://api.github.com/repos/pandas-dev/pandas/pulls/16150
2017-04-26T17:55:19Z
2017-04-27T09:59:57Z
2017-04-27T09:59:57Z
2017-04-27T13:41:58Z
Support more styles for xlsxwriter
diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb index 1d6ce163cf977..a78595beabf1d 100644 --- a/doc/source/style.ipynb +++ b/doc/source/style.ipynb @@ -935,7 +935,7 @@ "\n", "<span style=\"color: red\">*Experimental: This is a new feature and still under development. We'll be adding features and ...
I was surprised to find that despite the interchangeable representation of Excel styles, xlsxwriter did not have good style support. I've not added direct tests for this functionality, but test some of it through `test_styler_to_excel`. - [x] ~~closes #xxxx~~ - [x] tests added / passed - [x] passes ``git dif...
https://api.github.com/repos/pandas-dev/pandas/pulls/16149
2017-04-26T16:45:44Z
2017-10-31T00:34:37Z
2017-10-31T00:34:37Z
2017-10-31T00:34:48Z
MAINT: Remove vestigial assertRaisesRegexp
diff --git a/pandas/tests/dtypes/test_common.py b/pandas/tests/dtypes/test_common.py index c4ef5e48b4db9..2aad1b6baaac0 100644 --- a/pandas/tests/dtypes/test_common.py +++ b/pandas/tests/dtypes/test_common.py @@ -20,7 +20,7 @@ def test_invalid_dtype_error(self): msg = 'not understood' invalid_list = [...
Removes remaining `assertRaisesRegexp` before #16119 got merged. This must be merged in ASAP because `master` will fail otherwise. @jreback @jorisvandenbossche
https://api.github.com/repos/pandas-dev/pandas/pulls/16148
2017-04-26T15:49:36Z
2017-04-26T16:26:33Z
2017-04-26T16:26:33Z
2017-04-26T19:20:36Z
DEPR: provide deprecations and exposure for NaTType
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 025ac7673622b..b6feb5cf8cedd 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -1246,7 +1246,7 @@ these are now the public subpackages. - The function :func:`~pandas.api.types.union_categoricals...
xref #16137
https://api.github.com/repos/pandas-dev/pandas/pulls/16146
2017-04-26T13:43:03Z
2017-04-27T21:27:54Z
2017-04-27T21:27:54Z
2017-04-27T22:12:14Z
DOC: Fix table styling in main docs
diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t index 1adaaf58d79c5..b61068ee28bef 100644 --- a/doc/source/themes/nature_with_gtoc/static/nature.css_t +++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t @@ -315,7 +315,6 @@ thead { ...
When switching to nbsphinx, I modified the site's CSS so that the converted notebook looks decent. This had some unfortunate changes on tables elsewhere in the notebook. This change fixes the headers to be left-aligned in the main site, and right-aligned for the tables generated by `df.style` in the nbsphinx-con...
https://api.github.com/repos/pandas-dev/pandas/pulls/16145
2017-04-26T13:39:02Z
2017-04-26T16:11:05Z
2017-04-26T16:11:05Z
2017-05-01T15:50:17Z
DOC: fix some typos
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index c9c22de9141fe..0b66b90afec67 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -1241,7 +1241,7 @@ If indicated, a deprecation warning will be issued if you reference theses modul Some new subpackage...
Some corrections based on the comments of @crayxt
https://api.github.com/repos/pandas-dev/pandas/pulls/16144
2017-04-26T09:11:56Z
2017-04-26T09:12:03Z
2017-04-26T09:12:03Z
2017-04-26T09:12:41Z
BUG:Pivot table drops column/index names=nan when dropna=false
diff --git a/pandas/_libs/hashtable_class_helper.pxi.in b/pandas/_libs/hashtable_class_helper.pxi.in index 3ce82dace40a9..e545c66e90c66 100644 --- a/pandas/_libs/hashtable_class_helper.pxi.in +++ b/pandas/_libs/hashtable_class_helper.pxi.in @@ -330,7 +330,7 @@ cdef class {{name}}HashTable(HashTable): @cython.bound...
- [x] closes #14072 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [ ] whatsnew entry clean-up of #14246
https://api.github.com/repos/pandas-dev/pandas/pulls/16142
2017-04-26T06:36:21Z
2017-07-26T23:58:51Z
null
2017-07-26T23:58:51Z
ENH 14194: add style option for hiding index and columns
diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb index a78595beabf1d..20f7c2a93b9e6 100644 --- a/doc/source/style.ipynb +++ b/doc/source/style.ipynb @@ -674,13 +674,14 @@ "- precision\n", "- captions\n", "- table-wide styles\n", + "- hiding the index or columns\n", "\n", "Each of...
- [ x] closes #14194 - [ x] tests added / passed - [ x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16141
2017-04-26T04:56:04Z
2017-11-19T16:15:35Z
2017-11-19T16:15:34Z
2017-11-19T16:15:39Z
Add shim modules with deprecation warnings to ensure backward compat
diff --git a/pandas/__init__.py b/pandas/__init__.py index 43fa362b66ed5..f83a4ba14d852 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -58,6 +58,7 @@ from pandas.io.api import * from pandas.util._tester import test import pandas.testing +from . import computation # TODO: Remove when deprecated shim mod...
The following shim modules are included: - `pandas.computation` - `pandas.tools.hashing` - `pandas.types` Fixes #16138
https://api.github.com/repos/pandas-dev/pandas/pulls/16140
2017-04-26T02:32:34Z
2017-04-27T21:28:42Z
null
2017-04-27T22:43:57Z