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 |
|---|---|---|---|---|---|---|---|
Fix 20599 overflow error when int in json is too large | diff --git a/pandas/io/json/json.py b/pandas/io/json/json.py
index 1627b2f4d3ec3..17492f5d5cac9 100644
--- a/pandas/io/json/json.py
+++ b/pandas/io/json/json.py
@@ -19,7 +19,18 @@
from .table_schema import build_table_schema, parse_table_schema
from pandas.core.dtypes.common import is_period_dtype
-loads = json.loa... | - [ ] closes #20599
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21410 | 2018-06-10T15:18:12Z | 2018-06-10T15:32:50Z | null | 2018-06-10T15:32:50Z |
Two tests didn't properly assert an exception was raised. Fixed. | diff --git a/pandas/tests/indexes/datetimes/test_indexing.py b/pandas/tests/indexes/datetimes/test_indexing.py
index dd192db4b0eb3..8cffa035721b0 100644
--- a/pandas/tests/indexes/datetimes/test_indexing.py
+++ b/pandas/tests/indexes/datetimes/test_indexing.py
@@ -583,7 +583,6 @@ def test_get_indexer(self):
def te... | - [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21409 | 2018-06-10T12:28:49Z | 2018-06-12T11:37:01Z | 2018-06-12T11:37:01Z | 2018-06-17T12:58:45Z |
BUG : read_json with table='orient' causes unexpected type coercion | diff --git a/pandas/io/json/json.py b/pandas/io/json/json.py
index 1627b2f4d3ec3..641265a95e93b 100644
--- a/pandas/io/json/json.py
+++ b/pandas/io/json/json.py
@@ -706,10 +706,10 @@ def _try_convert_data(self, name, data, use_dtypes=True,
except (TypeError, ValueError):
pass
- ... | BUG : read_json with table='orient' causes unexpected type coercion #21345
- [x] closes #21345
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Changed `.astype` parameters according to the comments. Should work now
| https://api.github.com/repos/pandas-dev/pandas/pulls/21408 | 2018-06-10T09:45:57Z | 2018-06-19T17:23:51Z | null | 2018-06-19T17:26:00Z |
BUG: Construct Timestamp with tz correctly near DST border | diff --git a/doc/source/whatsnew/v0.23.2.txt b/doc/source/whatsnew/v0.23.2.txt
index c636e73fbd6c2..1de44ffeb4160 100644
--- a/doc/source/whatsnew/v0.23.2.txt
+++ b/doc/source/whatsnew/v0.23.2.txt
@@ -73,6 +73,10 @@ Bug Fixes
-
+**Timezones**
+- Bug in :class:`Timestamp` and :class:`DatetimeIndex` where passing a ... | closes #19970
closes #20854
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
So I _think_ the reason we need to convert a `Timestamp` to `datetime` branch is because of how `Timestamp` behave with `normalize` explained by this https://github.co... | https://api.github.com/repos/pandas-dev/pandas/pulls/21407 | 2018-06-10T07:45:52Z | 2018-06-13T10:51:43Z | 2018-06-13T10:51:42Z | 2018-06-29T14:47:48Z |
BUG: `line terminator` and '\n to \r\n' problem in Windows(Issue #20353) | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 9159f7c8056ec..1940f22fd0661 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -235,6 +235,97 @@ If installed, we now require:
| scipy | 0.18.1 | |
+-----------------+--... | - [ ] closes #20353
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21406 | 2018-06-10T07:01:37Z | 2018-10-19T12:55:28Z | 2018-10-19T12:55:27Z | 2018-10-19T12:55:35Z |
parametrize tests, unify repeated tests | diff --git a/pandas/tests/tseries/offsets/test_offsets.py b/pandas/tests/tseries/offsets/test_offsets.py
index 5369b1a94a956..e310feba9f700 100644
--- a/pandas/tests/tseries/offsets/test_offsets.py
+++ b/pandas/tests/tseries/offsets/test_offsets.py
@@ -89,6 +89,7 @@ def test_to_m8():
class Base(object):
_offset... | There's more to do, but the diff is already pretty big as it is.
There are a handful of test methods that are defined in 5-6 test classes. By moving those to the base class we a) get rid of duplicate code and b) run the tests for all (well, most) `DateOffset` subclasses. | https://api.github.com/repos/pandas-dev/pandas/pulls/21405 | 2018-06-10T02:57:10Z | 2018-06-13T10:54:56Z | 2018-06-13T10:54:56Z | 2018-06-22T03:27:40Z |
fix DateOffset eq to depend on normalize attr | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 68c1839221508..6d5e40d37c8df 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -91,7 +91,7 @@ Categorical
Datetimelike
^^^^^^^^^^^^
--
+- Fixed bug where two :class:`DateOffset` objects with diff... | This has a bullet point in #18854 but doesn't appear to have its own issue.
Current:
```
now = pd.Timestamp.now()
off = pd.offsets.Week(n=1, normalize=False)
normed = pd.offsets.Week(n=1, normalize=True)
>>> now + off == now + normed
False
>>> off == normed # PR changes this comparison to False
True
```
... | https://api.github.com/repos/pandas-dev/pandas/pulls/21404 | 2018-06-10T02:09:11Z | 2018-06-13T19:59:20Z | 2018-06-13T19:59:20Z | 2018-06-22T03:27:33Z |
DOC: isin() docstring change DataFrame to pd.DataFrame | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ca572e2e56b6c..21e3cfcdd195e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -7283,11 +7283,11 @@ def isin(self, values):
When ``values`` is a Series or DataFrame:
>>> df = pd.DataFrame({'A': [1, 2, 3], 'B': ['a', 'b', 'f... | isin() docstring change DataFrame to pd.DataFrame | https://api.github.com/repos/pandas-dev/pandas/pulls/21403 | 2018-06-09T20:49:25Z | 2018-06-13T12:12:38Z | 2018-06-13T12:12:38Z | 2018-06-13T12:13:27Z |
CI: Enable Spellcheck in dockbuild | diff --git a/ci/build_docs.sh b/ci/build_docs.sh
index 90a666dc34ed7..2bbc2ac2d4000 100755
--- a/ci/build_docs.sh
+++ b/ci/build_docs.sh
@@ -34,6 +34,9 @@ if [ "$DOC" ]; then
echo ./make.py
./make.py
+ echo "Running spell check on documentation"
+ ./make.py spellcheck
+
echo #####################... | This is the initial PR to try and fix the issue #21354 the sphinx spelling extension needs every name to be divided and added to each line in order to get the name marked as spelt correctly. The file `names_wordlist.txt` is updated on every run of the function `get_authors()` located inside`scripts/announce.py`.
Sin... | https://api.github.com/repos/pandas-dev/pandas/pulls/21402 | 2018-06-09T16:31:45Z | 2018-11-03T13:22:57Z | null | 2018-11-03T13:22:58Z |
ENH: to_sql() add parameter "method" to control insertions method (#8… | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 9aff1e54d8e98..fa6a8b1d01530 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4989,6 +4989,54 @@ with respect to the timezone.
timezone aware or naive. When reading ``TIMESTAMP WITH TIME ZONE`` types, pandas
will convert the data to UTC.
+.. _io.sql... | …953)
- [x] closes #8953
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21401 | 2018-06-09T11:01:04Z | 2018-12-28T21:03:13Z | 2018-12-28T21:03:13Z | 2019-01-04T11:20:54Z |
MAINT: Deprecate encoding from stata reader/writer | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index de985d4db5fa3..68c1839221508 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -45,7 +45,7 @@ Other API Changes
Deprecations
~~~~~~~~~~~~
--
+- :meth:`DataFrame.to_stata`, :meth:`read_stata`, :cl... | Deprecate the encoding parameter from all Stata reading and writing
methods and classes. The encoding depends only on the file format and
cannot be changed by users.
- [X] closes #21244
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21400 | 2018-06-09T10:22:35Z | 2018-06-12T00:05:45Z | 2018-06-12T00:05:45Z | 2018-09-20T15:49:38Z |
BUG to_clipboard passes the wrong sep to to_csv | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index de985d4db5fa3..26478601fcde8 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -147,7 +147,7 @@ MultiIndex
I/O
^^^
--
+- Bug in :func:`to_clipboard` which passes r'\t' instead of '\t' to to_csv (... | Originally, the sep is `\t` as to_csv expects. A commit changes the sep to `r'\t',` causing an exception (because `csv.writer` expects the delimiter to be a one-character string). The exception is suppressed (with `pass` in the `except` block), causing the data frame to be passed to `to_string` downstream (even though ... | https://api.github.com/repos/pandas-dev/pandas/pulls/21398 | 2018-06-09T02:57:37Z | 2018-06-09T16:04:22Z | null | 2023-05-11T01:17:56Z |
DOC: Loading sphinxcontrib.spelling to sphinx only if it's available (#21396) | diff --git a/ci/environment-dev.yaml b/ci/environment-dev.yaml
index f9f9208519d61..5733857b55dd4 100644
--- a/ci/environment-dev.yaml
+++ b/ci/environment-dev.yaml
@@ -13,3 +13,4 @@ dependencies:
- pytz
- setuptools>=24.2.0
- sphinx
+ - sphinxcontrib-spelling
diff --git a/ci/requirements_dev.txt b/ci/require... | - [X] closes #21396
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
I think the optional dependencies go directly into the `.txt` files for pip and conda, and not into the yaml file. Please correct me if I'm wrong.
Seems like besides `sphinxc... | https://api.github.com/repos/pandas-dev/pandas/pulls/21397 | 2018-06-08T23:11:07Z | 2018-06-12T07:57:04Z | 2018-06-12T07:57:04Z | 2018-06-20T15:22:33Z |
Bugfix timedelta notimplemented eq | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 7a10e8d1073d0..308748a1856d8 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -193,6 +193,7 @@ Other Enhancements
- :func:`~DataFrame.to_csv`, :func:`~Series.to_csv`, :func:`~DataFrame.to_json`, an... | - [x] closes #20829
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21394 | 2018-06-08T20:21:47Z | 2018-10-24T16:25:39Z | 2018-10-24T16:25:38Z | 2018-10-26T08:34:41Z |
TST: adding test cases for verifying correct values shown by pivot_table() #21378 | diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py
index 3ec60d50f2792..ca95dde1a20c9 100644
--- a/pandas/tests/reshape/test_pivot.py
+++ b/pandas/tests/reshape/test_pivot.py
@@ -161,6 +161,24 @@ def test_pivot_with_non_observable_dropna(self, dropna):
tm.assert_frame_equal(... | BUG: Incorrect values shown by pivot_table() #21378
- [x] closes #21378
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Just added a new test to verify the included patch in `master` branch | https://api.github.com/repos/pandas-dev/pandas/pulls/21393 | 2018-06-08T19:31:00Z | 2018-06-15T17:33:36Z | 2018-06-15T17:33:35Z | 2018-06-15T17:33:43Z |
DOC: Whatsnew for string coercion fix [ci skip] | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 07120e26b4ecd..2d50235885042 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -100,6 +100,8 @@ Bug Fixes
- Bug in :meth:`Series.str.replace()` where the method throws `TypeError` on Python 3.5.2 (:... | xref https://github.com/pandas-dev/pandas/pull/21366/files/a94d3995160a07a09693a883ceb0641e82ca7bdd#r194103331
That PR had
tests (https://github.com/pandas-dev/pandas/pull/21366/files/a94d3995160a07a09693a883ceb0641e82ca7bdd#diff-10e7ab03eb0363417c9b042860d3ba73R814)
but no release note for this specifically, sinc... | https://api.github.com/repos/pandas-dev/pandas/pulls/21392 | 2018-06-08T19:12:50Z | 2018-06-08T20:10:21Z | null | 2023-05-11T01:17:56Z |
Release 0.23.1 backports part I | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index ae1d7029217a4..5464e7cba22c3 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -173,3 +173,23 @@ def setup(self, dtype):
def time_isin_categorical(self, dtype):
se... | https://api.github.com/repos/pandas-dev/pandas/pulls/21389 | 2018-06-08T17:22:16Z | 2018-06-09T15:32:44Z | 2018-06-09T15:32:44Z | 2018-06-09T15:32:52Z | |
DOC: update whatsnew 0.23.1 | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 5a1bcce9b5970..d0af3c6c9ca9c 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -47,27 +47,23 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
-Groupby/Resample/Rolling
-~~~~~~~~~~~~~~~~~~~~~~~~
+*... | One of the last commits apparently added back the subsections | https://api.github.com/repos/pandas-dev/pandas/pulls/21387 | 2018-06-08T16:41:36Z | 2018-06-08T16:41:50Z | 2018-06-08T16:41:50Z | 2018-06-08T17:42:01Z |
Accepts integer/float string with units and raises when unit is ambiguous | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index b71edcf1f6f51..5bbdddaf60fbe 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -665,8 +665,7 @@ Timedelta
- Bug in :class:`Index` with numeric dtype when multiplying or dividing an array with dtype ... | I couldn't get tests to run on my machine so I will see if it passes on the CI servers.
- [x] closes #12136
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21384 | 2018-06-08T14:45:43Z | 2018-10-07T16:30:57Z | null | 2018-10-07T17:07:52Z |
DOC: update multi-index term with MultiIndex | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index d4efa8a28f6c5..74f1d80c6fd3d 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -168,7 +168,7 @@ either match on the *index* or *columns* via the **axis** keyword:
df_orig = df
-Furthermore you can align a level of a multi-indexed D... | Hello,
before I start working on part 2 of the sphinx spelling extension I wanted to submit this PR in order to fix the double use of multi-index and MultiIndex. I have changed all `multi-index` mentions through the documentation to `MultiIndex`, this meant that some titles needed changing and new linking needed to be... | https://api.github.com/repos/pandas-dev/pandas/pulls/21382 | 2018-06-08T11:26:36Z | 2018-06-08T17:39:12Z | 2018-06-08T17:39:12Z | 2018-06-29T14:43:18Z |
TST : Adding new test case for pivot_table() with Categorical data | diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py
index 3ec60d50f2792..e7a9f5551b2df 100644
--- a/pandas/tests/reshape/test_pivot.py
+++ b/pandas/tests/reshape/test_pivot.py
@@ -142,6 +142,30 @@ def test_pivot_table_dropna_categoricals(self, dropna):
tm.assert_frame_equal(r... | TST: add additional test cases for pivot_table with categorical data #21370
- [x] closes #21370
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Added a new test case for checking ```index/column/value``` workability as per the patch offered b... | https://api.github.com/repos/pandas-dev/pandas/pulls/21381 | 2018-06-08T11:25:31Z | 2018-09-25T16:55:29Z | null | 2018-09-25T16:55:29Z |
MAINT: More friendly error msg on Index overflow | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index dff6b5421d5ab..bf1051332ee19 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -181,6 +181,9 @@ class Index(IndexOpsMixin, PandasObject):
----------
data : array-like (1-dimensional)
dtype : NumPy dty... | Display a more friendly error message when there is an `OverflowError` during `Index` construction.
Partially addresses #15832. | https://api.github.com/repos/pandas-dev/pandas/pulls/21377 | 2018-06-08T05:34:52Z | 2018-06-12T00:16:37Z | 2018-06-12T00:16:37Z | 2018-06-29T14:46:02Z |
PERF: Add __contains__ to CategoricalIndex | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index 5464e7cba22c3..48f42621d183d 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -193,3 +193,16 @@ def time_categorical_series_is_monotonic_increasing(self):
def time_categor... | - [x] progress towards #20395
- [x] xref #21022
- [ ] tests added / passed
- [x] benchmark added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Currently, membership checks in ``CategoricalIndex`` is very slow as explained in #21022. This PR fixes the issue fo... | https://api.github.com/repos/pandas-dev/pandas/pulls/21369 | 2018-06-07T21:38:54Z | 2018-06-14T10:38:24Z | 2018-06-14T10:38:24Z | 2018-07-02T23:25:25Z |
DOC: clean-up 0.23.1 whatsnew | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 048a429136f0c..09b711c80910c 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -10,19 +10,22 @@ and bug fixes. We recommend that all users upgrade to this version.
:local:
:backlinks: none
... | I added a "Fixed regressions" section and moved some over there. @TomAugspurger does that look ok to you? (then I'll maybe merge to the other PRs can add it there)
Also mad the bug fixes subsections into plain text to make it a bit less "heavy" (given the only few entries per section). | https://api.github.com/repos/pandas-dev/pandas/pulls/21368 | 2018-06-07T21:12:48Z | 2018-06-07T21:20:17Z | 2018-06-07T21:20:17Z | 2018-06-12T16:30:40Z |
DOC: move whatsnew file for #21116 (index droplevel) | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index f2bc81eea186b..b3c1dbc86525d 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -15,8 +15,6 @@ and bug fixes. We recommend that all users upgrade to this version.
New features
~~~~~~~~~~~~
-- :met... | xref https://github.com/pandas-dev/pandas/pull/21116#issuecomment-395436923 | https://api.github.com/repos/pandas-dev/pandas/pulls/21367 | 2018-06-07T20:41:51Z | 2018-06-07T20:42:12Z | 2018-06-07T20:42:12Z | 2018-06-07T20:42:15Z |
REGR: NA-values in ctors with string dtype | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 5a1bcce9b5970..b766ee9f3dec1 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -10,7 +10,6 @@ and bug fixes. We recommend that all users upgrade to this version.
:local:
:backlinks: none
... | ```python
In [1]: import pandas as pd
In [2]: pd.Series([1, 2, None], dtype='str')[2] # None
```
Closes #21083 | https://api.github.com/repos/pandas-dev/pandas/pulls/21366 | 2018-06-07T18:59:58Z | 2018-06-08T16:27:14Z | 2018-06-08T16:27:14Z | 2018-06-12T16:30:40Z |
Fix Issue #21336: Defeault behavior for resolution property in Timestamps | diff --git a/doc/source/whatsnew/v0.23.2.txt b/doc/source/whatsnew/v0.23.2.txt
index c636e73fbd6c2..c03065bc7e63d 100644
--- a/doc/source/whatsnew/v0.23.2.txt
+++ b/doc/source/whatsnew/v0.23.2.txt
@@ -75,4 +75,4 @@ Bug Fixes
**Other**
--
+- Timestamp resolution returns a :class:`Timedelta` (in nanoseconds) rather ... | - [x] closes #21336
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21365 | 2018-06-07T18:53:25Z | 2018-07-12T00:55:47Z | null | 2018-07-12T00:55:47Z |
Fix #21356: JSON nested_to_record Silently Drops Top-Level None Values | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 807b83fa2cf69..8ce2824d779f4 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -31,6 +31,7 @@ Fixed Regressions
- Fixed regression in constructors coercing NA values like ``None`` to strings when pa... | - [x] closes #21356
- [x] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21363 | 2018-06-07T18:25:30Z | 2018-06-08T16:50:21Z | 2018-06-08T16:50:20Z | 2018-06-12T16:30:39Z |
BUG: Fixed concat warning message | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 09b711c80910c..ead4fac14182d 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -74,6 +74,7 @@ I/O
Reshaping
- Bug in :func:`concat` where error was raised in concatenating :class:`Series` with nu... | - [x] closes #21101
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21362 | 2018-06-07T18:08:48Z | 2018-06-07T21:21:09Z | 2018-06-07T21:21:08Z | 2018-06-12T16:30:39Z |
Revert change to comparison op with datetime.date objects | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 5a1bcce9b5970..3cebcc56e9083 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -10,12 +10,52 @@ and bug fixes. We recommend that all users upgrade to this version.
:local:
:backlinks: none
... | - [x] closes #21152
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
cc @jbrockmendel, @innominate227
FYI, @jorisvandenbossche the whatsnew will conflict with your other PR | https://api.github.com/repos/pandas-dev/pandas/pulls/21361 | 2018-06-07T18:01:46Z | 2018-06-08T16:54:37Z | 2018-06-08T16:54:37Z | 2018-06-12T16:30:39Z |
Revert "enable multivalues insert (#19664)" | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 7bd56d52b3492..32129147ee281 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4719,12 +4719,6 @@ writes ``data`` to the database in batches of 1000 rows at a time:
data.to_sql('data_chunked', engine, chunksize=1000)
-.. note::
-
- The functi... | This reverts commit 7c7bd569ce8e0f117c618d068e3d2798134dbc73.
Reverts https://github.com/pandas-dev/pandas/pull/19664
Closes https://github.com/pandas-dev/pandas/issues/21103 | https://api.github.com/repos/pandas-dev/pandas/pulls/21355 | 2018-06-07T14:13:38Z | 2018-06-07T21:25:38Z | 2018-06-07T21:25:38Z | 2018-06-12T16:30:38Z |
Fix typo in error message in the PlanePlot class | diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py
index 87b7d13251f28..d1a2121597dd6 100644
--- a/pandas/plotting/_core.py
+++ b/pandas/plotting/_core.py
@@ -811,7 +811,7 @@ class PlanePlot(MPLPlot):
def __init__(self, data, x, y, **kwargs):
MPLPlot.__init__(self, data, **kwargs)
i... | - [x] closes #21347
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Very simple fix, just a typo in an error message. | https://api.github.com/repos/pandas-dev/pandas/pulls/21350 | 2018-06-07T07:41:06Z | 2018-06-07T11:23:33Z | 2018-06-07T11:23:33Z | 2018-06-12T16:30:38Z |
Support for use of Enums in MultiIndex | diff --git a/ci/deps/travis-27.yaml b/ci/deps/travis-27.yaml
index 5a9e206ec2c69..03f47186f781a 100644
--- a/ci/deps/travis-27.yaml
+++ b/ci/deps/travis-27.yaml
@@ -41,6 +41,7 @@ dependencies:
# universal
- pytest
- pytest-xdist
+ - enum34
- moto==1.3.4
- hypothesis>=3.58.0
- pip:
diff --git a/pandas... | - [x] closes #21298
- [x] tests added / passed: added `test_use_enum_in_multiindex` in `tests/indexes/test_multi.py`, see diff
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The boolean flag in https://github.com/pandas-dev/pandas/blob/9f95f7dbffef7752175ca9ed918314cb6f0... | https://api.github.com/repos/pandas-dev/pandas/pulls/21348 | 2018-06-07T00:49:51Z | 2018-11-26T03:51:55Z | null | 2022-05-12T01:23:23Z |
PERF: Add __contains__ to CategoricalIndex | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index 5464e7cba22c3..48f42621d183d 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -193,3 +193,16 @@ def time_categorical_series_is_monotonic_increasing(self):
def time_categor... | - [x] progress towards #20395
- [x] xref #21022
- [ ] tests added / passed
- [x] benchmark added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Currently, membership checks in ``CategoricalIndex`` is very slow as explained in #21022. This PR fixes the issue fo... | https://api.github.com/repos/pandas-dev/pandas/pulls/21342 | 2018-06-06T18:48:52Z | 2018-06-07T21:28:07Z | null | 2018-06-07T21:28:07Z |
make DateOffset immutable | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index a9c49b7476fa6..fd34424dedc52 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -67,6 +67,7 @@ Datetimelike API Changes
^^^^^^^^^^^^^^^^^^^^^^^^
- For :class:`DatetimeIndex` and :class:`TimedeltaI... | Returning to the long-standing goal of making `DateOffset`s immutable (recall: `DateOffset.__eq__` calls `DateOffset._params` which is _very_ slow. `_params` can't be cached ATM because `DateOffset` is mutable`)
Earlier attempts in this direction tried to make the base class a `cdef class`, but that has run into `p... | https://api.github.com/repos/pandas-dev/pandas/pulls/21341 | 2018-06-06T16:10:10Z | 2018-06-21T10:24:21Z | 2018-06-21T10:24:21Z | 2018-06-22T03:27:26Z |
HDFStore.walk() to iterate on groups | diff --git a/doc/source/api.rst b/doc/source/api.rst
index f2c00d5d12031..8dc5d0e9fc023 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -100,6 +100,7 @@ HDFStore: PyTables (HDF5)
HDFStore.select
HDFStore.info
HDFStore.keys
+ HDFStore.walk
Feather
~~~~~~~
diff --git a/doc/source/io.rst b/do... | This PR adds a walk() method to HDFStore in order to iterate on groups.
This is a revival of the initial PR #10932, rebased on upstream/master and updated tests.
- [x] closes #10143
- [x] tests added / passed: test_pytables.py:testwalk()
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [... | https://api.github.com/repos/pandas-dev/pandas/pulls/21339 | 2018-06-06T09:27:22Z | 2018-06-26T22:53:32Z | null | 2018-06-27T08:11:24Z |
Series.describe returns first and last for tz-aware datetimes | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 691345ad26e58..c609cb04db028 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -316,6 +316,7 @@ Timezones
- Bug in :class:`Series` constructor which would coerce tz-aware and tz-naive :class:`Timest... | GH issue 21328
- [x] closes #21328
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21332 | 2018-06-05T21:43:25Z | 2018-07-06T22:57:52Z | 2018-07-06T22:57:52Z | 2018-07-07T01:42:11Z |
DOC: fix mistake in Series.str.cat | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index 5d50c45fe7eca..44811781837bc 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -2172,9 +2172,9 @@ def cat(self, others=None, sep=None, na_rep=None, join=None):
Returns
-------
- concat : str if `other is None... | Fix error in API-docstring that was introduced at the end of #20347 due to timepressure for the v.0.23-cutoff: removed functionality that categorical callers get categorical output, but forgot to adapt doc-string.
Unfortunately, this survived both #20347 and the follow-up, but since v.0.23.1 is coming soon, I didn't... | https://api.github.com/repos/pandas-dev/pandas/pulls/21330 | 2018-06-05T20:08:21Z | 2018-06-06T15:08:23Z | 2018-06-06T15:08:23Z | 2018-06-12T16:30:38Z |
Fixed Issue Preventing Agg on RollingGroupBy Objects | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 3b61fde77cb9f..a0eeb4c6288c8 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -783,6 +783,7 @@ Groupby/Resample/Rolling
- Bug in :meth:`Series.resample` when passing ``numpy.timedelta64`` to ``loff... | - [X] closes #15072
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
AFAICT the fact that RollingGroupBy could not use `agg` with a list of functions is simply due to the fact that the GroupByMixing it inherits from could not handle the reduction... | https://api.github.com/repos/pandas-dev/pandas/pulls/21323 | 2018-06-05T04:47:09Z | 2018-09-26T10:35:55Z | 2018-09-26T10:35:54Z | 2020-01-16T00:34:29Z |
BLD: include dll in package_data on Windows | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 1a8b1603daaaa..18004be2b6b5f 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -132,3 +132,4 @@ Bug Fixes
**Other**
- Tab completion on :class:`Index` in IPython no longer outputs deprecation war... | - [x] closes #21106
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Not sure how to test this, but I believe should remove the runtime dependency by static linking against the MSVC++ runtime. @cgohlke any thoughts? | https://api.github.com/repos/pandas-dev/pandas/pulls/21321 | 2018-06-05T01:03:57Z | 2018-06-08T23:32:21Z | 2018-06-08T23:32:21Z | 2018-06-12T16:30:38Z |
BUG: Fix empty Data frames to JSON round-trippable back to data frames | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 07120e26b4ecd..6118732768cb0 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -122,6 +122,7 @@ Bug Fixes
- Bug in IO methods specifying ``compression='zip'`` which produced uncompressed zip archive... | [x] closes #21287
[x] tests added / passed
[x]passes git diff upstream/master -u -- "*.py" | flake8 --diff
[x]whatsnew entry
Fixes the bug occurring when empty DF, previously saved to JSON-file, is read from JSON back to DF. | https://api.github.com/repos/pandas-dev/pandas/pulls/21318 | 2018-06-04T19:23:28Z | 2018-06-08T23:40:04Z | 2018-06-08T23:40:03Z | 2018-06-12T16:30:37Z |
DOC: whatsnew note for MultiIndex Sorting Fix | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 69b07d12c1e98..4f7f720c9004a 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -87,6 +87,7 @@ Indexing
- Bug in :func:`interval_range` when ``start``/``periods`` or ``end``/``periods`` are specified... | xref https://github.com/pandas-dev/pandas/pull/21043#issuecomment-394342149 | https://api.github.com/repos/pandas-dev/pandas/pulls/21316 | 2018-06-04T16:32:58Z | 2018-06-05T09:04:03Z | 2018-06-05T09:04:02Z | 2018-12-25T06:12:51Z |
Make Period - Period return DateOffset instead of int | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index abf574ae109fd..41be4cb0053ff 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -69,6 +69,49 @@ Current Behavior:
.. _whatsnew_0240.api.datetimelike:
+
+.. _whatsnew_0240.api.period_subtraction:
... | Discussed briefly in #20049.
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21314 | 2018-06-04T14:42:47Z | 2018-06-29T00:41:00Z | 2018-06-29T00:41:00Z | 2020-04-05T17:41:50Z |
BUG: fix DataFrame.__getitem__ and .loc with non-list listlikes | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 3a8c81b5e9281..ccd14b7abe611 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -310,6 +310,8 @@ Indexing
- When ``.ix`` is asked for a missing integer label in a :class:`MultiIndex` with a first lev... | - [x] closes #21294
- [x] closes #21428
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
xref #21309 , but worth fixing separately | https://api.github.com/repos/pandas-dev/pandas/pulls/21313 | 2018-06-04T13:49:12Z | 2018-07-07T14:24:57Z | 2018-07-07T14:24:56Z | 2018-07-08T08:24:12Z |
REGR: allow merging on object boolean columns | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 1a8b1603daaaa..07120e26b4ecd 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -65,15 +65,14 @@ In addition, ordering comparisons will raise a ``TypeError`` in the future.
a tz-aware time instead ... | Fixes https://github.com/pandas-dev/pandas/issues/21119
This is a quick/hacky fix for the specific case in that issue, i.e. merging boolean / object boolean columns.
However, I have the feeling we should do a more general solution for cases where object dtyped columns might be actually mergeable. The problem is ... | https://api.github.com/repos/pandas-dev/pandas/pulls/21310 | 2018-06-04T08:41:20Z | 2018-06-08T17:44:18Z | 2018-06-08T17:44:18Z | 2018-06-12T16:30:37Z |
TST: fix shebang typo | diff --git a/pandas/tests/io/generate_legacy_storage_files.py b/pandas/tests/io/generate_legacy_storage_files.py
index 9f1ac8b1e677b..eb40e5521f7f1 100755
--- a/pandas/tests/io/generate_legacy_storage_files.py
+++ b/pandas/tests/io/generate_legacy_storage_files.py
@@ -1,4 +1,4 @@
-#!/usr/env/bin python
+#!/usr/bin/env ... | Fix shebang typo in generate_legacy_storage_files.py
- [x] closes #21306 | https://api.github.com/repos/pandas-dev/pandas/pulls/21307 | 2018-06-04T05:06:39Z | 2018-06-04T11:21:23Z | 2018-06-04T11:21:22Z | 2018-06-05T06:24:05Z |
Added parameter to the autocorr plot and code for partial autocorr plot | diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py
index 150c9274d4e5c..da6b64e37f6ed 100644
--- a/pandas/plotting/_misc.py
+++ b/pandas/plotting/_misc.py
@@ -602,13 +602,15 @@ def lag_plot(series, lag=1, ax=None, **kwds):
return ax
-def autocorrelation_plot(series, ax=None, **kwds):
+def autocor... | Added additional parameters to the autocorrelation_plot to be able to plot a specified number of lags and additional code for plotting the partial autocorrelation plot together with p and q value.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/21302 | 2018-06-03T12:06:59Z | 2018-11-01T01:39:57Z | null | 2018-11-01T01:39:57Z |
Added argument to autocorrelation_plot | diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py
index 150c9274d4e5c..20ae041d1d9f5 100644
--- a/pandas/plotting/_misc.py
+++ b/pandas/plotting/_misc.py
@@ -602,7 +602,7 @@ def lag_plot(series, lag=1, ax=None, **kwds):
return ax
-def autocorrelation_plot(series, ax=None, **kwds):
+def autocorre... | Added additional parameter to autocorrelation_plot to plot the specified number of lags in case of long time series.
| https://api.github.com/repos/pandas-dev/pandas/pulls/21301 | 2018-06-03T10:30:30Z | 2018-06-03T12:09:09Z | null | 2023-05-11T01:17:55Z |
BUG: encoding error in to_csv compression | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index f2bc81eea186b..db4f4acc7ee16 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -92,6 +92,7 @@ I/O
- Bug in IO methods specifying ``compression='zip'`` which produced uncompressed zip archives (:is... | - [x] closes #21241
closes #21118
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Fix a problem where encoding wasn't handled properly in to_csv compression in Python 3. It was caused by dumping uncompressed csv on disk and reading it back to ... | https://api.github.com/repos/pandas-dev/pandas/pulls/21300 | 2018-06-03T10:03:06Z | 2018-06-05T04:54:31Z | 2018-06-05T04:54:31Z | 2018-06-20T18:11:54Z |
Add Featuretools to Pandas Ecosystem Page | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 30cdb06b28487..6714398084186 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -38,7 +38,10 @@ Statsmodels leverages pandas objects as the underlying data container for comput
Use pandas DataFrames in your `scikit-learn <http:... | Adding a library for automated feature engineering that is built on top of Pandas that I think would be very relevant to users of pandas.
More info on our website (https://www.featuretools.com/) and GitHub (https://github.com/featuretools/featuretools/). | https://api.github.com/repos/pandas-dev/pandas/pulls/21297 | 2018-06-02T17:52:57Z | 2018-06-05T11:08:30Z | 2018-06-05T11:08:30Z | 2018-06-12T16:30:36Z |
DOC: Fixing 'a la' confusion in series.quantile documentation | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 4cf29319f703e..d8bdd9ac9ed22 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1837,7 +1837,7 @@ def round(self, decimals=0, *args, **kwargs):
def quantile(self, q=0.5, interpolation='linear'):
"""
- Return value at... | Just stating that numpy.percentile also offers something similar to this
- [x] closes #21292
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] Just clarified quantile doc a bit
| https://api.github.com/repos/pandas-dev/pandas/pulls/21293 | 2018-06-02T05:23:51Z | 2018-06-06T07:31:12Z | 2018-06-06T07:31:11Z | 2018-06-06T07:31:20Z |
BUG: invalid rolling window on empty input | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index f2bc81eea186b..733633c38c281 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -52,6 +52,7 @@ Groupby/Resample/Rolling
- Bug in :func:`DataFrame.agg` where applying multiple aggregation functions to... | Added a raise Value Error for the case when window==0, Kindly refer to issue #21286 for the same
- [x] closes #21286
- [x] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] A simple except cases added
| https://api.github.com/repos/pandas-dev/pandas/pulls/21291 | 2018-06-02T05:05:04Z | 2018-06-08T16:25:52Z | 2018-06-08T16:25:52Z | 2018-06-12T16:30:36Z |
PERF: improve performance of groupby rank (#21237) | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 7777322071957..0725bbeb6c36d 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -5,7 +5,7 @@
import numpy as np
from pandas import (DataFrame, Series, MultiIndex, date_range, period_range,
- ... | - [x] closes #21237
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21285 | 2018-06-01T13:39:35Z | 2018-06-14T10:08:58Z | 2018-06-14T10:08:58Z | 2018-06-14T10:09:02Z |
BUG: DataFrame.asof() : Timezone Awareness / Naivety comparison TypeError (incorrect) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index c2c8c1c17700f..b7a9c0e1a3cdf 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2883,6 +2883,20 @@ use the ``parse_dates`` keyword to parse those strings to datetimes:
read_excel('path_to_file.xls', 'Sheet1', parse_dates=['date_strings'])
+
+Parsi... | - [x] closes #21194
- [x] tests added / passed
- [x] whatsnew entry
- modified whatsnew.v0.23.1.txt
| https://api.github.com/repos/pandas-dev/pandas/pulls/21284 | 2018-06-01T11:32:43Z | 2018-08-04T13:14:59Z | null | 2018-08-04T13:14:59Z |
BUG: Using DatetimeIndex.date with timezone returns incorrect date #2… | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 9c29c34adb7dd..974527624a312 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -86,8 +86,10 @@ Indexing
- Bug in :meth:`Series.reset_index` where appropriate error was not raised with an invalid lev... |
- [ ] closes #21230, closes https://github.com/pandas-dev/pandas/issues/21267
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Added 2 tests for DatetimeIndex.date in tests/indexes/datetimes/test_datetime.py. Please let me know if I should move... | https://api.github.com/repos/pandas-dev/pandas/pulls/21281 | 2018-06-01T01:51:48Z | 2018-06-07T09:39:25Z | 2018-06-07T09:39:24Z | 2018-06-12T16:30:35Z |
BUG: Fix encoding for Stata format 118 files | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 69b07d12c1e98..bddb9d3b8e2a7 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -95,6 +95,7 @@ I/O
- Bug in IO methods specifying ``compression='zip'`` which produced uncompressed zip archives (:issu... | Ensure that Stata 118 files always use utf-8 encoding
- [x] closes #21244
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21279 | 2018-05-31T23:35:47Z | 2018-06-06T13:15:24Z | 2018-06-06T13:15:24Z | 2019-03-21T13:27:46Z |
Add missing period to get_dummies docs | diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py
index 0829aa8f5a509..2757e0797a410 100644
--- a/pandas/core/reshape/reshape.py
+++ b/pandas/core/reshape/reshape.py
@@ -725,7 +725,7 @@ def get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False,
----------
data : array-like, ... | Newline characters are stripped from the docstring when formatting parameter documentation. Because of this, the docs for the `prefix` parameter of [`pandas.get_dummies`](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.get_dummies.html) look like a single run-on sentence. Added a period to the end of the ... | https://api.github.com/repos/pandas-dev/pandas/pulls/21277 | 2018-05-31T19:28:46Z | 2018-06-01T00:14:34Z | 2018-06-01T00:14:34Z | 2018-06-09T09:18:47Z |
PERF: improve performance of NDFrame.describe | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 4ff71c706cd34..12e4824b2dd2a 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -512,3 +512,21 @@ def time_nlargest(self, keep):
def time_nsmallest(self, keep):
... | A one-line change that enables to calculate the percentiles in `describe` more efficiently. The point is that calculating percentiles in one pass is faster than separately.
`describe` (with default `percentiles` argument) becomes 25-30% faster than before for numerical Series and DataFrames.
### Setup
```
impo... | https://api.github.com/repos/pandas-dev/pandas/pulls/21274 | 2018-05-31T12:11:36Z | 2018-06-05T17:01:14Z | 2018-06-05T17:01:14Z | 2018-06-08T08:12:31Z |
Fix an attribute error in __init__.py | diff --git a/pandas/__init__.py b/pandas/__init__.py
index 97ae73174c09c..da5257257ac50 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -67,7 +67,7 @@
parser = _DeprecatedModule(deprmod='pandas.parser',
removals=['na_values'],
moved={'CParserError': '... | This fixes a problem, where a bool is treated like a string.
| https://api.github.com/repos/pandas-dev/pandas/pulls/21273 | 2018-05-31T11:53:02Z | 2018-06-19T00:49:34Z | null | 2018-06-19T00:49:34Z |
CI: bump numpy on appveyor ci | diff --git a/ci/appveyor-27.yaml b/ci/appveyor-27.yaml
index 84107c605b14f..cfc6a796bd77e 100644
--- a/ci/appveyor-27.yaml
+++ b/ci/appveyor-27.yaml
@@ -11,9 +11,9 @@ dependencies:
- lxml
- matplotlib
- numexpr
- - numpy=1.10*
+ - numpy=1.12*
- openpyxl
- - pytables==3.2.2
+ - pytables
- python=2.7.*... | https://api.github.com/repos/pandas-dev/pandas/pulls/21271 | 2018-05-31T10:25:50Z | 2018-05-31T15:59:16Z | 2018-05-31T15:59:16Z | 2018-05-31T15:59:37Z | |
DOC: fill in class names for rename methods | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 0899e9cd87aba..1c7339a91c2fd 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3720,7 +3720,7 @@ def rename(self, *args, **kwargs):
copy : boolean, default True
Also copy underlying data
inplace : boolean, defau... | The documentation for the `inplace` parameter has the `%(klass)` placeholder from the original NDFrame. This fills in the appropriate values in the following places:
* http://pandas.pydata.org/pandas-docs/version/0.23/generated/pandas.DataFrame.rename.html
* http://pandas.pydata.org/pandas-docs/version/0.23/generat... | https://api.github.com/repos/pandas-dev/pandas/pulls/21268 | 2018-05-31T04:53:13Z | 2018-05-31T10:19:19Z | 2018-05-31T10:19:19Z | 2018-06-08T17:20:02Z |
TST: Add failing tests for minute rounding | diff --git a/pandas/tests/scalar/timestamp/test_unary_ops.py b/pandas/tests/scalar/timestamp/test_unary_ops.py
index aecddab8477fc..0336ea41c4e3f 100644
--- a/pandas/tests/scalar/timestamp/test_unary_ops.py
+++ b/pandas/tests/scalar/timestamp/test_unary_ops.py
@@ -118,6 +118,25 @@ def test_ceil_floor_edge(self, test_in... | For some minute frequencies, `.ceil()` will round up even if it should not.
- [ ] closes #21262
- [x] tests added
- [ ] tests passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21265 | 2018-05-30T23:13:29Z | 2018-06-19T00:50:13Z | null | 2018-06-29T08:54:20Z |
DOC: Fix renaming categories section | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index e4ce7ebd01dac..c6827f67a390b 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -358,10 +358,10 @@ Renaming categories is done by assigning new values to the
s
s.cat.categories = ["Group %s" % g for g in s.cat.... | The categories were not correctly saved so that the renaming using the
dict-like object had no effect.
| https://api.github.com/repos/pandas-dev/pandas/pulls/21264 | 2018-05-30T22:29:56Z | 2018-05-31T08:29:23Z | 2018-05-31T08:29:23Z | 2018-05-31T08:30:30Z |
Color text based on background color when using `_background_gradient()` | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index e931450cb5c01..0c604f9aad993 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -181,7 +181,7 @@ Reshaping
Other
^^^^^
--
+- :meth: `~pandas.io.formats.style.Styler.background_gradient` now takes ... | The purpose of this PR is to automatically color text dark or light based on the background color of the HTML table:
================`old behavior` ===========================`new behavior`========
 ![image]... | https://api.github.com/repos/pandas-dev/pandas/pulls/21263 | 2018-05-30T20:41:26Z | 2018-06-07T12:52:21Z | 2018-06-07T12:52:20Z | 2018-06-07T19:26:03Z |
ENH: Support ExtensionArray operators via a mixin | diff --git a/doc/source/extending.rst b/doc/source/extending.rst
index 8018d35770924..38b3b19031a0e 100644
--- a/doc/source/extending.rst
+++ b/doc/source/extending.rst
@@ -61,7 +61,7 @@ Extension Types
.. warning::
- The :class:`pandas.api.extension.ExtensionDtype` and :class:`pandas.api.extension.ExtensionArra... | - [x] closes #19577
- [x] tests added / passed
- tests/extension/decimal/test_decimal.py:TestOperator
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
- in v0.24.0
Based on a discussion in #20889, this provides a mixin (via a mixin factory) that provides a defaul... | https://api.github.com/repos/pandas-dev/pandas/pulls/21261 | 2018-05-30T18:32:47Z | 2018-06-29T02:01:01Z | 2018-06-29T02:01:01Z | 2018-07-02T14:39:19Z |
BUG: Series.get() with ExtensionArray and integer index | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 1ab67bd80a5e8..76d08e84a6efd 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -270,6 +270,7 @@ Reshaping
ExtensionArray
^^^^^^^^^^^^^^
+- Bug in :meth:`Series.get` for ``Series`` using ``Extensi... | - [x] closes #21257
- [x] tests added / passed
- added example in tests/extension/base/getitem.py:test_get()
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
- Put this in 0.23.1 for now
| https://api.github.com/repos/pandas-dev/pandas/pulls/21260 | 2018-05-30T17:35:51Z | 2018-06-29T00:47:09Z | 2018-06-29T00:47:09Z | 2018-06-29T13:44:00Z |
ENH: Add support for tablewise application of style.background_gradient with axis=None | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 034a56b2ac0cb..c042275f00a17 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -425,6 +425,7 @@ Other
- :meth: `~pandas.io.formats.style.Styler.background_gradient` now takes a ``text_color_thresh... |
- [x] closes #15204
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21259 | 2018-05-30T15:58:02Z | 2018-07-12T12:38:38Z | 2018-07-12T12:38:38Z | 2018-07-12T12:38:40Z |
BUG: Allow IntervalIndex to be constructed from categorical data with appropriate dtype | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 35484e34ee9eb..5dd2490dd5b39 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -81,6 +81,7 @@ Indexing
- Bug in :meth:`Series.reset_index` where appropriate error was not raised with an invalid leve... | - [X] closes #21243
- [X] closes #21253
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Added this to 0.23.1 since it's a regression and the fix is a minor change outside the `IntervalIndex` class. Not opposed to pushing to 0.24.0 if backporti... | https://api.github.com/repos/pandas-dev/pandas/pulls/21254 | 2018-05-30T06:49:31Z | 2018-06-04T21:28:52Z | 2018-06-04T21:28:51Z | 2018-06-22T17:14:31Z |
BUG: dropna incorrect with categoricals in pivot_table | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 2b64ef32c1eb6..97a5975dad9a6 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -29,6 +29,8 @@ Fixed Regressions
- Bug in :meth:`~DataFrame.to_csv` causes encoding error when compression and encoding... | closes #21133
| https://api.github.com/repos/pandas-dev/pandas/pulls/21252 | 2018-05-29T23:50:34Z | 2018-06-07T22:05:58Z | 2018-06-07T22:05:58Z | 2018-06-12T16:30:35Z |
Append Mode for ExcelWriter with openpyxl | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index e931450cb5c01..6997ea84e5b83 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -8,6 +8,8 @@ v0.24.0
New features
~~~~~~~~~~~~
+- ``ExcelWriter`` now accepts ``mode`` as a keyword argument, enabli... | - [X] closes #3441
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21251 | 2018-05-29T23:40:00Z | 2018-06-19T01:03:15Z | 2018-06-19T01:03:15Z | 2019-05-02T21:13:37Z |
EHN: to_csv compression accepts file-like object | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index e931450cb5c01..55e76512b2440 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -13,7 +13,7 @@ New features
Other Enhancements
^^^^^^^^^^^^^^^^^^
- :func:`to_datetime` now supports the ``%Z`` and `... | - [x] closes #21227
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Handle an unsupported case when a file-like object instead of path passed into to_csv with compression. According to documentation, compression keyword requires it to be a file... | https://api.github.com/repos/pandas-dev/pandas/pulls/21249 | 2018-05-29T17:03:13Z | 2018-05-30T23:27:47Z | 2018-05-30T23:27:47Z | 2018-05-31T20:06:22Z |
BUG: Fix handling of encoding for the StataReader #21244 | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index e931450cb5c01..ee33f31aad01b 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -146,7 +146,8 @@ MultiIndex
I/O
^^^
--
+- :func:`pandas.read_stata` now honours the ``encoding`` parameter, and supp... | - [x] closes #21244
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21246 | 2018-05-29T13:08:47Z | 2018-06-12T11:02:59Z | null | 2023-05-11T01:17:54Z |
BUG: Support to create DataFrame from list subclasses | diff --git a/asv_bench/benchmarks/frame_ctor.py b/asv_bench/benchmarks/frame_ctor.py
index 60f6a66e07a7b..dfb6ab5b189b2 100644
--- a/asv_bench/benchmarks/frame_ctor.py
+++ b/asv_bench/benchmarks/frame_ctor.py
@@ -91,4 +91,17 @@ def time_frame_from_ndarray(self):
self.df = DataFrame(self.data)
+class FromLi... | - [x] closes #21226
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Alternative fix could be that instead of doing `isinstance` check in frame's `_to_arrays` method:
```
if isinstance(data[0], (list, tuple)):
```
We would do:
```
if ... | https://api.github.com/repos/pandas-dev/pandas/pulls/21238 | 2018-05-29T04:16:58Z | 2018-12-15T21:21:24Z | 2018-12-15T21:21:24Z | 2018-12-15T23:23:09Z |
pct change bug issue 21200 | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 4d0373e4571da..80317d6806346 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -382,6 +382,33 @@ Backwards incompatible API changes
- :meth:`read_csv` will now raise a ``ValueError`` if a column wit... | closes #21200
closes #21621
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This addresses [#21200](https://github.com/pandas-dev/pandas/issues/21200?_pjax=%23js-repo-pjax-container) . When there are different groups in a dataframe, by using gr... | https://api.github.com/repos/pandas-dev/pandas/pulls/21235 | 2018-05-28T23:10:49Z | 2018-12-12T12:41:38Z | 2018-12-12T12:41:37Z | 2023-02-12T20:13:28Z |
CLN: move common printing utilties to pandas.io.formats.printing | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index f79288c167356..145d116261a82 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -57,17 +57,11 @@
import pandas.core.missing as missing
import pandas.core.algorithms as algos
import pandas.core.sorting as sorting
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/21234 | 2018-05-28T23:00:27Z | 2018-05-29T01:46:20Z | 2018-05-29T01:46:20Z | 2018-05-29T01:46:20Z | |
BUG: df.agg, df.transform and df.apply use different methods when axis=1 than when axis=0 | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 3b04d9937d7f2..04c2e253cfa5d 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -475,7 +475,9 @@ Numeric
- Bug in :class:`Series` ``__rmatmul__`` doesn't support matrix vector multiplication (:issue:... | - [x] closes #16679
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is a splitoff from #21123, to only fix #16679. #19629 will be fixed in a separate PR afterwards.
Passing functions to ``df.agg``, ``df.transform`` and ``df.apply`` may u... | https://api.github.com/repos/pandas-dev/pandas/pulls/21224 | 2018-05-27T21:40:04Z | 2018-07-28T14:24:49Z | 2018-07-28T14:24:49Z | 2018-09-16T23:20:10Z |
ENH: Merge DataFrame and Series using `on` (GH21220) | diff --git a/doc/source/merging.rst b/doc/source/merging.rst
index d78e476dd7837..98914c13d4d31 100644
--- a/doc/source/merging.rst
+++ b/doc/source/merging.rst
@@ -506,8 +506,8 @@ You can also pass a list of dicts or Series:
.. _merging.join:
-Database-style DataFrame joining/merging
-----------------------------... | - [x] closes #21220
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21223 | 2018-05-27T15:08:47Z | 2018-07-23T17:02:14Z | 2018-07-23T17:02:14Z | 2018-07-23T17:03:41Z |
BUG: df.agg(sum, axis=1) uses different method than when axis=0 | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 5a553264e828b..6bad62e8916e9 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -94,3 +94,8 @@ Categorical
^^^^^^^^^^^
-
+
+Numeric
+^^^^^^^
+
+- :meth:`~DataFrame.agg` now correctly handles built... | - [x] closes #21134
- [x] xref #21123
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is a splitoff from #21123, to only fix #21134. #19629 will be fixed in a separate PR afterwards.
Passing builtins to ``df.agg`` is ok when ``axis=0``,... | https://api.github.com/repos/pandas-dev/pandas/pulls/21222 | 2018-05-27T09:57:24Z | 2018-05-27T10:51:20Z | null | 2018-05-27T21:32:26Z |
DOC: correct header line in v0.24.0 | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index b94377af770f4..43e513c9d03f5 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -1,7 +1,7 @@
.. _whatsnew_0240:
v0.24.0
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-------
.. _whatsnew_0240.enhancements... | Small change, but I *think* that this was the cause of a bunch of warnings in the doc build | https://api.github.com/repos/pandas-dev/pandas/pulls/21218 | 2018-05-26T10:43:24Z | 2018-05-26T13:03:14Z | 2018-05-26T13:03:14Z | 2018-05-26T13:11:17Z |
CI: revert skip of geopandas downstream test | diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py
index c28e2052bd93e..9e46084898b57 100644
--- a/pandas/tests/test_downstream.py
+++ b/pandas/tests/test_downstream.py
@@ -96,7 +96,6 @@ def test_pandas_datareader():
'F', 'quandl', '2017-01-01', '2017-02-01')
-@pytest.mark.xfail... | xref https://github.com/pandas-dev/pandas/pull/21204 | https://api.github.com/repos/pandas-dev/pandas/pulls/21217 | 2018-05-26T09:47:46Z | 2018-06-04T09:53:07Z | 2018-06-04T09:53:07Z | 2018-06-12T16:30:34Z |
API/BUG: DatetimeIndex correctly localizes integer data | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 6d5e40d37c8df..c29197725a2b6 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -36,7 +36,7 @@ Datetimelike API Changes
Other API Changes
^^^^^^^^^^^^^^^^^
--
+- :class:`DatetimeIndex` now accepts... | closes #20997
closes #20964
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I did a little refactoring of `Datetime.__new__` that converts passed data but made it easier to fix this issue. I had to modify some methods (join, normalize, delete,... | https://api.github.com/repos/pandas-dev/pandas/pulls/21216 | 2018-05-26T05:39:36Z | 2018-06-14T10:05:29Z | 2018-06-14T10:05:28Z | 2018-06-14T17:28:21Z |
BUG: Categorical.fillna with iterables | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 4876678baaa6e..f33f03a3eb500 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -66,6 +66,7 @@ Categorical
^^^^^^^^^^^
- Bug in :func:`pandas.util.testing.assert_index_equal` which raised ``Assert... | Closes https://github.com/pandas-dev/pandas/issues/19788
Closes https://github.com/pandas-dev/pandas/issues/21097
Note that `Series.fillna` still doesn't allow iterables. I'm not sure that we should allow that, as it's potentially confusing what that would do. | https://api.github.com/repos/pandas-dev/pandas/pulls/21215 | 2018-05-26T03:06:27Z | 2018-05-28T21:57:57Z | 2018-05-28T21:57:57Z | 2018-06-12T14:27:45Z |
DOC: Add numeric_only to DataFrame.quantile | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d4ce8dc166b09..22677b19192e1 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -7089,6 +7089,9 @@ def quantile(self, q=0.5, axis=0, numeric_only=True,
0 <= q <= 1, the quantile(s) to compute
axis : {0, 1, 'index', 'column... | - [x] closes #18608
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
My confusion with #18608 was primarily due to the `numeric_only` not being specified in the docs. Additional we do have tests covering this case in `pandas/tests/frame/test_quantile.py` | https://api.github.com/repos/pandas-dev/pandas/pulls/21214 | 2018-05-26T02:36:46Z | 2018-05-29T01:07:45Z | 2018-05-29T01:07:45Z | 2018-06-08T17:17:41Z |
implement arith ops on pd.Categorical | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index abcb9ae3494b5..9b9f60ca14507 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -1,4 +1,5 @@
# pylint: disable=E1101,W0232
+import operator
import numpy as np
from warnings import warn
@@... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Then in core.ops we dispatch to pd.Categorical instead of special-casing. | https://api.github.com/repos/pandas-dev/pandas/pulls/21213 | 2018-05-25T22:13:32Z | 2018-05-29T00:56:42Z | null | 2020-04-05T17:41:43Z |
Stable Sorting Algorithm for Fillna Indexer | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 4876678baaa6e..f400de5f1ad02 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -52,6 +52,7 @@ Groupby/Resample/Rolling
^^^^^^^^^^^^^^^^^^^^^^^^
- Bug in :func:`DataFrame.agg` where applying multi... | - [X] closes #21207
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Haven't added a whatsnew yet if only because I need to think through the best way to phrase this / investigate where it doesn't work. I have a feeling the default `kind` argumen... | https://api.github.com/repos/pandas-dev/pandas/pulls/21212 | 2018-05-25T21:58:56Z | 2018-05-29T01:20:39Z | 2018-05-29T01:20:39Z | 2018-06-08T17:18:03Z |
DOC: minor documentation fix on frame.dropna | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 1d8f225bd4342..d4ce8dc166b09 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4177,8 +4177,9 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None,
* 0, or 'index' : Drop rows which contain missing values.
... | - [x] closes #21209
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
After this PR, it should look like this:
<img width="749" alt="pr" src="https://user-images.githubusercontent.com/14131823/40563992-e1536170-605e-11e8-8fd7-13bc1e0981d0.png">
| https://api.github.com/repos/pandas-dev/pandas/pulls/21210 | 2018-05-25T20:00:12Z | 2018-05-25T21:06:09Z | 2018-05-25T21:06:09Z | 2018-05-25T21:07:06Z |
CI: use latest deps for pandas-datareader, python-dateutil | diff --git a/ci/travis-36.yaml b/ci/travis-36.yaml
index fe057e714761e..006276ba1a65f 100644
--- a/ci/travis-36.yaml
+++ b/ci/travis-36.yaml
@@ -18,12 +18,10 @@ dependencies:
- numexpr
- numpy
- openpyxl
- - pandas-datareader
- psycopg2
- pyarrow
- pymysql
- pytables
- - python-dateutil
- pyth... | xfail geopandas
| https://api.github.com/repos/pandas-dev/pandas/pulls/21204 | 2018-05-25T10:42:00Z | 2018-05-25T11:32:05Z | 2018-05-25T11:32:05Z | 2018-06-12T16:30:34Z |
BUG: make dense ranks results scale to 100 percent | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 726ab73e8f933..f2bc81eea186b 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -51,6 +51,7 @@ Groupby/Resample/Rolling
- Bug in :func:`DataFrame.agg` where applying multiple aggregation functions ... | - [x] closes #20731
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21203 | 2018-05-25T08:12:23Z | 2018-05-31T20:44:53Z | 2018-05-31T20:44:53Z | 2018-06-08T17:20:38Z |
#21128 DOC: Add documentation for freq='infer' option of DatetimeIndex and TimedeltaIndex constructors | diff --git a/doc/source/timedeltas.rst b/doc/source/timedeltas.rst
index 745810704f665..691b89ccd8c14 100644
--- a/doc/source/timedeltas.rst
+++ b/doc/source/timedeltas.rst
@@ -363,6 +363,13 @@ or ``np.timedelta64`` objects. Passing ``np.nan/pd.NaT/nat`` will represent miss
pd.TimedeltaIndex(['1 days', '1 days, 00:... | - [X] closes #21128
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21201 | 2018-05-25T04:31:07Z | 2018-06-20T23:28:40Z | null | 2018-06-20T23:28:40Z |
ENH: 'to_sql()' add param 'method' to control insert statement (#21103) | Also revert default insert method to NOT use multi-value.
This is WIP. I would like to gather feedback on API change before going on.
- support callables as parameter?
- support to_sql() when used on SQLite3 (without SQLAlchemy)
Sample file for performance benchmarking
```
import time
import numpy as np
... | https://api.github.com/repos/pandas-dev/pandas/pulls/21199 | 2018-05-25T02:52:13Z | 2018-06-09T10:51:28Z | null | 2018-06-09T11:02:01Z | |
BUG: Fix inconsistency between the shape properties of SparseSeries and SparseArray (#21126) | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index 4876678baaa6e..f5df37cd42e4f 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -67,6 +67,11 @@ Categorical
- Bug in :func:`pandas.util.testing.assert_index_equal` which raised ``AssertionError`` i... | - [x] closes #21126
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21198 | 2018-05-25T02:48:29Z | 2018-05-31T10:27:33Z | 2018-05-31T10:27:32Z | 2018-06-12T16:30:34Z |
CLN: Remove duplicate Categorical subsection from 0.23.1 whatsnew | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index a7ba0dfbbd1c4..4876678baaa6e 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -97,8 +97,3 @@ Reshaping
- Bug in :func:`concat` where error was raised in concatenating :class:`Series` with numpy s... | Unless I'm misreading, it looks like there are two Categorical subsections under the Bug Fixes section, with the first subsection starting on line 65. | https://api.github.com/repos/pandas-dev/pandas/pulls/21197 | 2018-05-25T00:31:54Z | 2018-05-25T07:09:54Z | 2018-05-25T07:09:54Z | 2018-06-12T14:33:18Z |
BUG: Should not raise errors in .set_names for MultiIndex with nlevels == 1 (GH21149) | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index b0e08e8583cd1..fc6f3f3bfa614 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -80,6 +80,7 @@ Indexing
- Bug in :meth:`Series.reset_index` where appropriate error was not raised with an invalid le... | - [x] partially #21149
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Initial PR #21182 is closed - and now split in 2 different PRs | https://api.github.com/repos/pandas-dev/pandas/pulls/21196 | 2018-05-24T18:31:39Z | 2018-05-29T01:32:25Z | 2018-05-29T01:32:25Z | 2018-06-08T17:18:13Z |
CLN: Comparison methods for MultiIndex should have consistent behaviour for all nlevels (GH21149) | diff --git a/doc/source/whatsnew/v0.23.2.txt b/doc/source/whatsnew/v0.23.2.txt
index 3e4326dea2ecc..0d3f9cb8dd3b6 100644
--- a/doc/source/whatsnew/v0.23.2.txt
+++ b/doc/source/whatsnew/v0.23.2.txt
@@ -52,6 +52,7 @@ Bug Fixes
**Indexing**
- Bug in :meth:`Index.get_indexer_non_unique` with categorical key (:issue:`21... | - [x] closes #21149
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Initial PR #21182 is closed - and now split in 2 different PRs
`def cmp_method` raised ValueError for equality / inequality comparisons of MultiIndex with nlevels == 1, whic... | https://api.github.com/repos/pandas-dev/pandas/pulls/21195 | 2018-05-24T18:27:12Z | 2018-06-14T10:23:15Z | 2018-06-14T10:23:15Z | 2018-06-29T14:48:51Z |
ENH: extension ops | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 55e76512b2440..61f8ebe3618f1 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -29,12 +29,22 @@ Datetimelike API Changes
- For :class:`DatetimeIndex` and :class:`TimedeltaIndex` with non-``None`` ... | builds on #21185 for extension array ops
pre-cursor to #21160 | https://api.github.com/repos/pandas-dev/pandas/pulls/21191 | 2018-05-24T11:45:24Z | 2018-07-03T22:47:59Z | null | 2018-07-03T22:48:39Z |
BUG: DecimalArray and JSONArray that are empty return incorrect results for isna() | diff --git a/pandas/tests/extension/base/missing.py b/pandas/tests/extension/base/missing.py
index 32cf29818e069..af26d83df3fe2 100644
--- a/pandas/tests/extension/base/missing.py
+++ b/pandas/tests/extension/base/missing.py
@@ -18,6 +18,11 @@ def test_isna(self, data_missing):
expected = pd.Series(expected)
... |
- [x] closes #21189
- [x] tests added / passed
- Modified tests/extension/base/missing.py to test when arrays are empty
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
- Did not put anything here because it's internal code
Probably for @TomAugspurger to review.
| https://api.github.com/repos/pandas-dev/pandas/pulls/21190 | 2018-05-24T09:42:18Z | 2018-05-24T14:59:28Z | 2018-05-24T14:59:28Z | 2018-05-24T19:41:08Z |
fix hashing string-casting error | diff --git a/doc/source/whatsnew/v0.23.2.txt b/doc/source/whatsnew/v0.23.2.txt
index 5b3e607956f7a..c908d29716a7d 100644
--- a/doc/source/whatsnew/v0.23.2.txt
+++ b/doc/source/whatsnew/v0.23.2.txt
@@ -81,6 +81,7 @@ Bug Fixes
**Categorical**
+- Bug in rendering :class:`Series` with ``Categorical`` dtype in rare con... | - [x] closes #21002
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21187 | 2018-05-24T02:25:08Z | 2018-06-21T10:18:54Z | 2018-06-21T10:18:54Z | 2018-06-29T15:03:04Z |
ENH: add in extension dtype registry | diff --git a/doc/source/extending.rst b/doc/source/extending.rst
index 38b3b19031a0e..dcabfed2b6021 100644
--- a/doc/source/extending.rst
+++ b/doc/source/extending.rst
@@ -91,8 +91,16 @@ extension array for IP Address data, this might be ``ipaddress.IPv4Address``.
See the `extension dtype source`_ for interface def... | precursor to #21160 | https://api.github.com/repos/pandas-dev/pandas/pulls/21185 | 2018-05-24T00:35:49Z | 2018-07-03T14:25:11Z | 2018-07-03T14:25:11Z | 2018-07-03T14:25:35Z |
BUG: Series.combine() fails with ExtensionArray inside of Series | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index c69de149a0f35..8d26c51ae6527 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -178,9 +178,18 @@ Reshaping
-
-
+ExtensionArray
+^^^^^^^^^^^^^^
+
+- :meth:`Series.combine()` works correctly with :... | - [x] closes #20825
closes #21248
- [x] tests added / passed
- extension/category/test_categorical.py:test_combine
- extension/decimal/test_decimal.py:test_combine
- series/test_combine_concat.py:test_combine_scalar
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entr... | https://api.github.com/repos/pandas-dev/pandas/pulls/21183 | 2018-05-23T18:39:32Z | 2018-06-08T11:34:34Z | 2018-06-08T11:34:33Z | 2018-06-08T13:53:54Z |
BUG: Should not raises errors in .set_names and comparison methods for MultiIndex with nlevels == 1 (GH21149) | diff --git a/doc/source/whatsnew/v0.23.1.txt b/doc/source/whatsnew/v0.23.1.txt
index a071d7f3f5534..99e968d908182 100644
--- a/doc/source/whatsnew/v0.23.1.txt
+++ b/doc/source/whatsnew/v0.23.1.txt
@@ -78,6 +78,8 @@ Indexing
- Bug in :meth:`Series.reset_index` where appropriate error was not raised with an invalid le... | - [x] closes #21149
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/21182 | 2018-05-23T18:28:20Z | 2018-05-24T18:35:43Z | null | 2018-05-24T18:40:05Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.