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 |
|---|---|---|---|---|---|---|---|
REGR: Fixed handling of Categorical in cython ops | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index f9c756b2518af..ac366337a3c59 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -19,6 +19,7 @@ Fixed regressions
- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by ``DatetimeIndex`... | Fixed by falling back to the wrapped Python version when the cython
version raises NotImplementedError.
Closes https://github.com/pandas-dev/pandas/issues/31450 | https://api.github.com/repos/pandas-dev/pandas/pulls/31668 | 2020-02-04T22:19:19Z | 2020-02-05T00:31:26Z | 2020-02-05T00:31:25Z | 2020-02-05T13:23:23Z |
BUG: fixes bug when using sep=None and comment keyword for read_csv | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 40abb8f83de2f..5962469f24843 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -185,8 +185,10 @@ I/O
- Bug in :meth:`DataFrame.to_parquet` overwriting pyarrow's default for
``coerce_timestamps``; fol... | - [x] closes #31396
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry - added
| https://api.github.com/repos/pandas-dev/pandas/pulls/31667 | 2020-02-04T22:07:59Z | 2020-03-03T03:02:24Z | 2020-03-03T03:02:23Z | 2020-03-03T03:02:28Z |
BUG: Block.iget not wrapping timedelta64/datetime64 | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 20cfcfbde389c..5ce9b01c266f8 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -24,6 +24,7 @@ Fixed regressions
- Fixed regression in :meth:`to_datetime` when parsing non-nanosecond resolution datetimes... | - [x] closes #31649
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31666 | 2020-02-04T20:26:39Z | 2020-02-05T00:22:03Z | 2020-02-05T00:22:03Z | 2020-02-05T08:44:26Z |
whatsnew for MultiIndex levels caching | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 92cd2038aabe6..f9c756b2518af 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -27,6 +27,7 @@ Fixed regressions
- Fixed regression in objTOJSON.c fix return-type warning (:issue:`31463`)
- Fixed regres... | (cherry picked from commit 103840e974a4c8548fccab86cabc6a3161bd94e8)
Included in https://github.com/pandas-dev/pandas/pull/31664. So this won't need to be backported. | https://api.github.com/repos/pandas-dev/pandas/pulls/31665 | 2020-02-04T20:08:16Z | 2020-02-04T21:24:57Z | 2020-02-04T21:24:57Z | 2020-02-04T21:25:04Z |
Backport PR #31651: PERF: Cache MultiIndex.levels | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 92cd2038aabe6..f9c756b2518af 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -27,6 +27,7 @@ Fixed regressions
- Fixed regression in objTOJSON.c fix return-type warning (:issue:`31463`)
- Fixed regres... | Manual backport for https://github.com/pandas-dev/pandas/pull/31651. | https://api.github.com/repos/pandas-dev/pandas/pulls/31664 | 2020-02-04T20:04:26Z | 2020-02-04T21:24:44Z | 2020-02-04T21:24:44Z | 2020-02-04T21:25:00Z |
CLN: MultiIndex.get_value is a hive of scum and villainy | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index ea29e458fe10e..79b4cbbea7815 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -1,4 +1,3 @@
-import datetime
from sys import getsizeof
from typing import Any, Hashable, Iterable, List, Optional, Sequence, Tupl... | This will in turn allow for simplification for other code that has built up kludges around MultiIndex.get_value's behavior | https://api.github.com/repos/pandas-dev/pandas/pulls/31662 | 2020-02-04T19:02:45Z | 2020-02-05T00:59:33Z | 2020-02-05T00:59:33Z | 2020-02-05T01:07:52Z |
Replaced .format with f- strings | diff --git a/pandas/tests/tseries/frequencies/test_to_offset.py b/pandas/tests/tseries/frequencies/test_to_offset.py
index b6069c446160d..beaefe9109e91 100644
--- a/pandas/tests/tseries/frequencies/test_to_offset.py
+++ b/pandas/tests/tseries/frequencies/test_to_offset.py
@@ -86,7 +86,7 @@ def test_to_offset_invalid(fr... | xref #29547
for
- [ ] pandas/util/_print_versions.py
- [ ] pandas/tests/tseries/frequencies/test_to_offset.py
| https://api.github.com/repos/pandas-dev/pandas/pulls/31660 | 2020-02-04T18:39:33Z | 2020-02-05T01:00:29Z | 2020-02-05T01:00:29Z | 2020-02-05T20:22:31Z |
check first and last points' labels are correct | diff --git a/pandas/tests/plotting/test_datetimelike.py b/pandas/tests/plotting/test_datetimelike.py
index dbe728f5238c7..979b89a87d843 100644
--- a/pandas/tests/plotting/test_datetimelike.py
+++ b/pandas/tests/plotting/test_datetimelike.py
@@ -45,12 +45,17 @@ def teardown_method(self, method):
@pytest.mark.slow... | - [ ] closes #31580
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31659 | 2020-02-04T18:11:52Z | 2020-02-05T01:02:58Z | 2020-02-05T01:02:58Z | 2020-02-25T17:12:16Z |
API: allow step!=1 slice with IntervalIndex | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 44deab25db695..28d94243bea4b 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -67,6 +67,7 @@ Other enhancements
- When writing directly to a sqlite connection :func:`to_sql` now supports the ``multi`` ... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
See discussion https://github.com/pandas-dev/pandas/pull/16386#discussion_r374807689
cc @jorisvandenbossche @jschendel | https://api.github.com/repos/pandas-dev/pandas/pulls/31658 | 2020-02-04T18:08:44Z | 2020-03-08T16:11:22Z | 2020-03-08T16:11:22Z | 2020-03-09T18:05:33Z |
Backport PR #31502 on branch 1.0.x (BUG: Fixed IntervalArray[int].shift) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index e0182e4e3c1f2..f41eca9d6b846 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -56,6 +56,9 @@ Bug fixes
- Plotting tz-aware timeseries no longer gives UserWarning (:issue:`31205`)
+**Interval**
+
+-... | Backport PR #31502: BUG: Fixed IntervalArray[int].shift | https://api.github.com/repos/pandas-dev/pandas/pulls/31656 | 2020-02-04T16:56:19Z | 2020-02-04T19:25:30Z | 2020-02-04T19:25:30Z | 2020-02-04T19:25:31Z |
REF: call _convert_scalar_indexer upfront in Series.__getitem__ | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 2ffb22d2d272f..5e29df3560761 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -852,6 +852,8 @@ def __getitem__(self, key):
return self
key_is_scalar = is_scalar(key)
+ if key_is_scalar:
+ key = se... | This simplifies a try/except block and moves us towards being able to tighten what we accept in _convert_scalar_indexer among others. I think we'll soon be able to get rid of the kludge on L866/868. | https://api.github.com/repos/pandas-dev/pandas/pulls/31655 | 2020-02-04T16:30:51Z | 2020-02-05T02:44:44Z | 2020-02-05T02:44:44Z | 2020-02-05T02:47:04Z |
Backport PR #31528 on branch 1.0.x (REGR: Categorical with np.str_ categories) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index e0182e4e3c1f2..561d7a1d25cca 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -22,6 +22,7 @@ Fixed regressions
- Fixed regression in :meth:`GroupBy.apply` if called with a function which returned a non... | Backport PR #31528: REGR: Categorical with np.str_ categories | https://api.github.com/repos/pandas-dev/pandas/pulls/31654 | 2020-02-04T16:24:38Z | 2020-02-04T19:25:21Z | 2020-02-04T19:25:21Z | 2020-02-04T19:25:21Z |
ENH: Timestamp constructor now raises more explanatory error message | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 705c335acfb48..cbc7159f55b8f 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -114,6 +114,7 @@ Datetimelike
- :meth:`DatetimeArray.searchsorted`, :meth:`TimedeltaArray.searchsorted`, :meth:`PeriodArray... | Timestamp constructor now raises explanatory error message when year, month or day is missing
- [x] closes #31200
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31653 | 2020-02-04T15:33:34Z | 2020-02-26T02:19:00Z | 2020-02-26T02:19:00Z | 2020-05-29T10:48:00Z |
BUG: avoid specifying default coerce_timestamps in to_parquet | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index dc7edd8db662e..31e641e4a08bf 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -180,7 +180,9 @@ I/O
- Bug in :meth:`read_json` where integer overflow was occuring when json contains big number strings. ... | Looking into the usage question of https://github.com/pandas-dev/pandas/issues/31572, I noticed that specifying the version to allow writing nanoseconds to parquet worked in plain pyarrow code, but not with pandas' `to_parquet`.
This is because we hardcode `coerce_timestamps="ms"` while the default is `None`, which h... | https://api.github.com/repos/pandas-dev/pandas/pulls/31652 | 2020-02-04T15:09:16Z | 2020-02-05T01:09:00Z | 2020-02-05T01:09:00Z | 2020-10-03T05:07:49Z |
PERF: Cache MultiIndex.levels | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index c560d81ba95f6..ea29e458fe10e 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -677,8 +677,11 @@ def __len__(self) -> int:
# --------------------------------------------------------------------
# Level... | Closes https://github.com/pandas-dev/pandas/issues/31648.
This should have been caught by the benchmark MultiIdnex.time_index_slice. Confirming that now.. | https://api.github.com/repos/pandas-dev/pandas/pulls/31651 | 2020-02-04T15:00:02Z | 2020-02-04T19:26:00Z | 2020-02-04T19:25:59Z | 2020-02-04T20:08:40Z |
DOC: Fix typo in Getting Started docs | diff --git a/doc/source/getting_started/basics.rst b/doc/source/getting_started/basics.rst
index 4fef5efbd1551..277080006cb3c 100644
--- a/doc/source/getting_started/basics.rst
+++ b/doc/source/getting_started/basics.rst
@@ -1973,7 +1973,7 @@ Pandas has two ways to store strings.
1. ``object`` dtype, which can hold an... | https://api.github.com/repos/pandas-dev/pandas/pulls/31642 | 2020-02-04T04:55:42Z | 2020-02-04T11:20:00Z | 2020-02-04T11:20:00Z | 2020-02-04T11:20:10Z | |
DOC: Removed numeric_only parameter from pd.DataFrame.mad docs | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 3bb584d4d34e8..b809bc1a1c496 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -9960,7 +9960,7 @@ def _add_numeric_operations(cls):
see_also="",
examples="",
)
- @Appender(_num_doc)
+ @A... | - closes #29079
| https://api.github.com/repos/pandas-dev/pandas/pulls/31641 | 2020-02-04T02:45:15Z | 2020-02-09T17:19:45Z | 2020-02-09T17:19:45Z | 2020-05-15T08:47:48Z |
CLN: prelims for MultiIndex.get_value | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index 79b4cbbea7815..68062c413cdb3 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -1,5 +1,15 @@
from sys import getsizeof
-from typing import Any, Hashable, Iterable, List, Optional, Sequence, Tuple, Union
+from t... | Unravelling MultiIndex.get_value and get_loc is shaping up to be a PITA. This separates out the easiest parts of the get_value cleanup.
@TomAugspurger can you confirm that the change made here to the `__finalize__` call is correct? If so, suggest a test?
| https://api.github.com/repos/pandas-dev/pandas/pulls/31640 | 2020-02-04T02:08:12Z | 2020-02-06T17:22:52Z | null | 2020-02-06T17:22:57Z |
CLN: Replace format with f-strings in test_repr_info | diff --git a/pandas/tests/frame/test_repr_info.py b/pandas/tests/frame/test_repr_info.py
index 49e6fe4940e18..a7e01d8f1fd6d 100644
--- a/pandas/tests/frame/test_repr_info.py
+++ b/pandas/tests/frame/test_repr_info.py
@@ -223,8 +223,7 @@ def test_info_verbose(self):
for i, line in enumerate(lines):
... | Updated `pandas/tests/frame/test_repr_info.py` to use f-strings
ref: https://github.com/pandas-dev/pandas/issues/29547
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/31639 | 2020-02-04T02:02:09Z | 2020-02-05T01:12:09Z | 2020-02-05T01:12:09Z | 2020-02-05T01:12:15Z |
REF: call _maybe_cast_indexer upfront, better exception messages | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 6a7551391f2a8..4f8136c073587 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -2888,10 +2888,11 @@ def get_loc(self, key, method=None, tolerance=None):
"tolerance argument only valid if using p... | This will actually allow us to remove e.g. CategoricalIndex.get_loc by moving the 2 relevant lines into CategoricalIndex._maybe_cast_indexer. Large parts of DTI/TDI/PI.get_loc will also be simplifiable.
We've got both Index._maybe_cast_indexer and Index._convert_scalar_indexer which hopefully we'll only need one of... | https://api.github.com/repos/pandas-dev/pandas/pulls/31638 | 2020-02-04T01:58:07Z | 2020-02-05T01:13:11Z | 2020-02-05T01:13:11Z | 2020-02-05T01:18:18Z |
Backport PR #31631 on branch 1.0.x (REGR: Fixed setitem with MultiIndex) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 180411afb117d..e0182e4e3c1f2 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :class:`DataFrame` setting values with a slice (e.g. ``df[-4:] = 1... | Backport PR #31631: REGR: Fixed setitem with MultiIndex | https://api.github.com/repos/pandas-dev/pandas/pulls/31637 | 2020-02-03T23:20:38Z | 2020-02-04T07:28:01Z | 2020-02-04T07:28:01Z | 2020-02-04T07:28:01Z |
CLN: Unreachable branch in Loc._getitem_iterable | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index e0b11522c7be4..91e86112f5efd 100755
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -1477,14 +1477,12 @@ def _get_listlike_indexer(self, key, axis: int, raise_missing: bool = False):
def _getitem_iterable(self, key, axis: int):
... | https://api.github.com/repos/pandas-dev/pandas/pulls/31636 | 2020-02-03T23:07:09Z | 2020-02-04T07:37:37Z | 2020-02-04T07:37:37Z | 2020-02-04T16:58:18Z | |
REF: implement ExtensionIndex._concat_same_dtype, use for IntervalIndex | diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py
index b143ff0aa9c02..2f2fc453f02b8 100644
--- a/pandas/core/indexes/datetimelike.py
+++ b/pandas/core/indexes/datetimelike.py
@@ -80,16 +80,7 @@ def wrapper(left, right):
cache=True,
)
@inherit_names(
- [
- "__iter__... | https://api.github.com/repos/pandas-dev/pandas/pulls/31635 | 2020-02-03T23:00:25Z | 2020-02-10T12:52:42Z | 2020-02-10T12:52:42Z | 2020-02-10T16:40:26Z | |
REGR: Fixed setitem with MultiIndex | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 180411afb117d..e0182e4e3c1f2 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :class:`DataFrame` setting values with a slice (e.g. ``df[-4:] = 1... | Closes https://github.com/pandas-dev/pandas/issues/31449
| https://api.github.com/repos/pandas-dev/pandas/pulls/31631 | 2020-02-03T20:37:44Z | 2020-02-03T23:20:27Z | 2020-02-03T23:20:27Z | 2020-02-03T23:26:28Z |
BUG: Series.xs boxing datetime64 incorrectly | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 27b28c1c08e23..ee9eed69195ac 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -155,6 +155,7 @@ Indexing
- Bug in :meth:`Series.at` and :meth:`DataFrame.at` not matching ``.loc`` behavior when looking u... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31630 | 2020-02-03T20:30:21Z | 2020-02-05T01:18:29Z | 2020-02-05T01:18:29Z | 2020-02-05T01:19:16Z |
Backport PR #31622 on branch 1.0.x (DOC: add redirect for moved json_normalize docstring) | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 0a71f037d23c3..3a990b09e7f7d 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -46,7 +46,10 @@ developer,development/developer
extending,development/extending
internals,development/internals
-# api
+# api moved function
+reference/api/pandas.io.json.j... | Backport PR #31622: DOC: add redirect for moved json_normalize docstring | https://api.github.com/repos/pandas-dev/pandas/pulls/31629 | 2020-02-03T19:39:53Z | 2020-02-04T07:27:29Z | 2020-02-04T07:27:29Z | 2020-02-04T07:27:29Z |
replacing .format with f-strings | diff --git a/pandas/tests/io/test_pickle.py b/pandas/tests/io/test_pickle.py
index 04fd4835469a9..78b630bb5ada1 100644
--- a/pandas/tests/io/test_pickle.py
+++ b/pandas/tests/io/test_pickle.py
@@ -60,9 +60,7 @@ def compare_element(result, expected, typ, version=None):
assert result == expected
... | fixing some styling (using f-strings instead of .format)
| https://api.github.com/repos/pandas-dev/pandas/pulls/31628 | 2020-02-03T17:56:20Z | 2020-02-03T23:46:29Z | 2020-02-03T23:46:29Z | 2020-02-03T23:46:37Z |
Replace .format with f-strings | diff --git a/pandas/tests/tslibs/test_parsing.py b/pandas/tests/tslibs/test_parsing.py
index c452d5b12ce01..660b1a6e295ed 100644
--- a/pandas/tests/tslibs/test_parsing.py
+++ b/pandas/tests/tslibs/test_parsing.py
@@ -42,9 +42,9 @@ def test_parse_time_quarter_with_dash(dashed, normal):
@pytest.mark.parametrize("dashe... | - [ ] solves few cases of #29547
| https://api.github.com/repos/pandas-dev/pandas/pulls/31627 | 2020-02-03T17:47:03Z | 2020-02-04T18:33:15Z | null | 2020-02-04T18:33:15Z |
BUG: qcut can fail for highly discontinuous data distributions | diff --git a/pandas/core/reshape/tile.py b/pandas/core/reshape/tile.py
index 00a7645d0c7a5..324c28e212e9b 100644
--- a/pandas/core/reshape/tile.py
+++ b/pandas/core/reshape/tile.py
@@ -345,6 +345,7 @@ def qcut(
else:
quantiles = q
bins = algos.quantile(x, quantiles)
+
fac, bins = _bins_to_cuts(
... | Fixes #15069. Needs refactoring
- [x] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31626 | 2020-02-03T17:23:26Z | 2020-06-14T15:44:48Z | null | 2020-06-14T15:44:48Z |
CLN: inline indexing 1-liners | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 62a4878f1f12e..313d40b575629 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3498,7 +3498,9 @@ def _iget_item_cache(self, item):
def _box_item_values(self, key, values):
raise AbstractMethodError(self)
- def _slic... | The only 2-liners here are _convert_scalar_indexer and _convert_slice_indexer, which are effectively `axis = min(axis, self.ndim-1)`, but that is unnecessary since all places where these are called have axis < self.ndim. | https://api.github.com/repos/pandas-dev/pandas/pulls/31625 | 2020-02-03T17:07:27Z | 2020-02-06T23:43:04Z | 2020-02-06T23:43:04Z | 2020-02-06T23:45:59Z |
DOC: link on nullables in indexing | diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst
index a8cdf4a61073d..146f88c53e690 100644
--- a/doc/source/user_guide/indexing.rst
+++ b/doc/source/user_guide/indexing.rst
@@ -920,6 +920,10 @@ and :ref:`Advanced Indexing <advanced>` you may select along more than one axis
df2.... | DOC: Mention that boolean indexing is impossible for new nullable integer/boolean and string data types when they contain missing values
closes #31537 | https://api.github.com/repos/pandas-dev/pandas/pulls/31624 | 2020-02-03T16:40:44Z | 2020-02-26T20:23:10Z | null | 2020-02-26T20:23:11Z |
DOC: add redirect for moved json_normalize docstring | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 0a71f037d23c3..3a990b09e7f7d 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -46,7 +46,10 @@ developer,development/developer
extending,development/extending
internals,development/internals
-# api
+# api moved function
+reference/api/pandas.io.json.j... | Closes https://github.com/pandas-dev/pandas/issues/31514 | https://api.github.com/repos/pandas-dev/pandas/pulls/31622 | 2020-02-03T15:07:27Z | 2020-02-03T19:39:23Z | 2020-02-03T19:39:23Z | 2020-02-03T19:39:29Z |
TST: add regression test for apply case from GH-31605 | diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py
index 9c2b045079622..41ec70468aaeb 100644
--- a/pandas/tests/groupby/test_apply.py
+++ b/pandas/tests/groupby/test_apply.py
@@ -851,3 +851,17 @@ def test_apply_function_returns_non_pandas_non_scalar(function, expected_values)
resu... | @jorisvandenbossche you wanted to put more tests in for this issue. I put the user reported code example into a test. Did you have anything else in mind? I didn't merge it with the above one since the above acted on an empty Dataframe.
- [x] closes #31605
- [ ] tests added / passed
- [ ] passes `black pandas`
- [... | https://api.github.com/repos/pandas-dev/pandas/pulls/31621 | 2020-02-03T15:03:58Z | 2020-02-05T01:26:33Z | 2020-02-05T01:26:33Z | 2020-02-05T06:28:31Z |
Backport PR #31521: REGR: Fixed slicing DatetimeIndex with date | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 2d209b375840e..0dc659dc93fa1 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -77,6 +77,9 @@ Interval
Indexing
^^^^^^^^
+
+- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by `... | backport https://github.com/pandas-dev/pandas/pull/31521 | https://api.github.com/repos/pandas-dev/pandas/pulls/31619 | 2020-02-03T14:41:32Z | 2020-02-03T15:25:54Z | 2020-02-03T15:25:54Z | 2020-02-03T15:39:45Z |
Backport PR #31515 on branch 1.0.x (REGR: DataFrame.__setitem__(slice, val) is positional ) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 0dc659dc93fa1..6d5a2a777be9e 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -77,7 +77,6 @@ Interval
Indexing
^^^^^^^^
-
- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by `... | Backport PR #31515: REGR: DataFrame.__setitem__(slice, val) is positional | https://api.github.com/repos/pandas-dev/pandas/pulls/31618 | 2020-02-03T14:38:48Z | 2020-02-03T15:39:57Z | 2020-02-03T15:39:57Z | 2020-02-03T15:39:57Z |
Backport PR #31607: DOC: combine regressions in section in v1.0.1 whatsnew | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 6d5a2a777be9e..180411afb117d 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -10,6 +10,24 @@ including other versions of pandas.
.. ------------------------------------------------------------------... | Backport https://github.com/pandas-dev/pandas/pull/31607 | https://api.github.com/repos/pandas-dev/pandas/pulls/31617 | 2020-02-03T14:31:50Z | 2020-02-03T17:31:54Z | 2020-02-03T17:31:54Z | 2020-02-03T19:39:37Z |
REGR: Fixed AssertionError in groupby | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index c82a58e5d3c45..041158e682bf9 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -19,6 +19,7 @@ Fixed regressions
- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by ``DatetimeIndex`... | Closes https://github.com/pandas-dev/pandas/issues/31522
cc @jbrockmendel. Just raising a `TypeError` when that assert failed didn't work. The `finally` still runs, which raised an assertion error.
It seemed easier to try to just support this case. IIUC, it only occurs when an `(P, n_rows)` input block gets spl... | https://api.github.com/repos/pandas-dev/pandas/pulls/31616 | 2020-02-03T14:13:46Z | 2020-02-05T14:55:26Z | 2020-02-05T14:55:26Z | 2020-02-05T14:56:00Z |
REGR: fix non-reduction apply with tz-aware objects | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 9aa9ece9a5267..0e36fd149d9cc 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -20,11 +20,9 @@ Fixed regressions
- Fixed regression in ``DataFrame.__setitem__`` raising an ``AttributeError`` with a :cla... | Closes https://github.com/pandas-dev/pandas/issues/31505
| https://api.github.com/repos/pandas-dev/pandas/pulls/31614 | 2020-02-03T13:21:47Z | 2020-02-05T08:15:33Z | 2020-02-05T08:15:33Z | 2020-02-05T12:34:41Z |
BUG: Ensure same index is returned for slow and fast path in groupby.apply | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 00553edca3259..17a830788be3f 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -902,6 +902,10 @@ Groupby/resample/rolling
- Bug in :meth:`Series.groupby` would raise ``ValueError`` when grouping by :cla... | This _fixes_ the internal check to be consistent with the slow apply path
- [x] closes #31612
- [x] closes #14927
closes #13056
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31613 | 2020-02-03T13:15:28Z | 2020-05-27T14:06:52Z | 2020-05-27T14:06:51Z | 2020-06-02T09:31:04Z |
Backport PR #31606 on branch 1.0.x (DOC: add back google analytics with the new doc theme) | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 78b317456f720..f126ad99cc463 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -208,6 +208,7 @@
"external_links": [],
"github_url": "https://github.com/pandas-dev/pandas",
"twitter_url": "https://twitter.com/pandas_dev",
+ "google_an... | Backport PR #31606: DOC: add back google analytics with the new doc theme | https://api.github.com/repos/pandas-dev/pandas/pulls/31611 | 2020-02-03T12:07:39Z | 2020-02-03T12:35:58Z | 2020-02-03T12:35:58Z | 2020-02-03T12:35:58Z |
Backport PR #31594: TST: troubleshoot npdev build | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 6a2a30a3efa17..023819518dc00 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1138,7 +1138,6 @@ def _set_value(self, label, value, takeable: bool = False):
else:
self.index._engine.set_value(self._values, la... | Backport of https://github.com/pandas-dev/pandas/pull/31594 | https://api.github.com/repos/pandas-dev/pandas/pulls/31610 | 2020-02-03T10:46:34Z | 2020-02-03T12:22:38Z | 2020-02-03T12:22:38Z | 2020-02-03T12:53:41Z |
Backport PR #31571 on branch 1.0.x (DOC fix *_option() docstring) | diff --git a/pandas/_config/config.py b/pandas/_config/config.py
index 0a3009f74492f..1978f5066733f 100644
--- a/pandas/_config/config.py
+++ b/pandas/_config/config.py
@@ -144,9 +144,7 @@ def _describe_option(pat="", _print_desc=True):
if len(keys) == 0:
raise OptionError("No such keys(s)")
- s = ""... | Backport PR #31571: DOC fix *_option() docstring | https://api.github.com/repos/pandas-dev/pandas/pulls/31608 | 2020-02-03T10:39:43Z | 2020-02-03T11:27:01Z | 2020-02-03T11:27:01Z | 2020-02-03T11:27:01Z |
DOC: combine regressions in section in v1.0.1 whatsnew | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 6d5a2a777be9e..180411afb117d 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -10,6 +10,24 @@ including other versions of pandas.
.. ------------------------------------------------------------------... | Similarly how we did it for 0.24.x, gathering all regressions in the first section of the whatsnew (as those are the most important part of 1.0.1)
cc @TomAugspurger | https://api.github.com/repos/pandas-dev/pandas/pulls/31607 | 2020-02-03T10:30:05Z | 2020-02-03T14:05:38Z | 2020-02-03T14:05:38Z | 2020-02-03T14:32:14Z |
DOC: add back google analytics with the new doc theme | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 28df08a8607b9..c12c148d0f10d 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -209,6 +209,7 @@
"external_links": [],
"github_url": "https://github.com/pandas-dev/pandas",
"twitter_url": "https://twitter.com/pandas_dev",
+ "google_an... | WIth the new theme, we didn't have google analytics anymore (how we had it before https://github.com/pandas-dev/pandas/pull/27662), so did a quick PR to add that to the theme with an option: https://github.com/pandas-dev/pydata-bootstrap-sphinx-theme/pull/84 | https://api.github.com/repos/pandas-dev/pandas/pulls/31606 | 2020-02-03T10:07:33Z | 2020-02-03T12:07:11Z | 2020-02-03T12:07:11Z | 2020-02-03T12:35:38Z |
Backport PR #31569 on branch 1.0.x | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 71a67e10ca38c..a01125d6f43c3 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -10,6 +10,14 @@ including other versions of pandas.
.. ------------------------------------------------------------------... | backport of #31569 in 1.0.x | https://api.github.com/repos/pandas-dev/pandas/pulls/31603 | 2020-02-03T09:32:56Z | 2020-02-03T10:38:41Z | 2020-02-03T10:38:41Z | 2020-02-03T10:38:41Z |
Manual backport 31594 | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 6a2a30a3efa17..466efbf9ae6d1 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -11,7 +11,9 @@
from pandas._config import get_option
-from pandas._libs import index as libindex, lib, reshape, tslibs
+from pandas._libs import lib, prope... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31602 | 2020-02-03T08:47:10Z | 2020-02-03T08:57:07Z | null | 2020-02-03T08:57:18Z |
Backport PR #31207 on branch 1.0.x (BUG: no longer raise user warning when plotting tz aware time series) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 71a67e10ca38c..684dcb1cbf002 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -95,7 +95,7 @@ I/O
Plotting
^^^^^^^^
--
+- Plotting tz-aware timeseries no longer gives UserWarning (:issue:`31205`)
-
... | Backport PR #31207: BUG: no longer raise user warning when plotting tz aware time series | https://api.github.com/repos/pandas-dev/pandas/pulls/31601 | 2020-02-03T07:37:08Z | 2020-02-03T10:57:46Z | 2020-02-03T10:57:46Z | 2020-02-03T10:57:46Z |
CLN: _convert_list_indexer only called by Loc | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 6a7551391f2a8..1d8c08c323cd4 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -68,7 +68,7 @@
from pandas.core.arrays import ExtensionArray
from pandas.core.base import IndexOpsMixin, PandasObject
import pandas.c... | https://api.github.com/repos/pandas-dev/pandas/pulls/31599 | 2020-02-03T06:35:00Z | 2020-02-05T01:27:38Z | 2020-02-05T01:27:38Z | 2020-02-05T01:32:53Z | |
REF: simplify PeriodIndex.get_loc | diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx
index 4185cc2084469..6141e2b78e9f4 100644
--- a/pandas/_libs/index.pyx
+++ b/pandas/_libs/index.pyx
@@ -12,6 +12,7 @@ cnp.import_array()
cimport pandas._libs.util as util
+from pandas._libs.tslibs import Period
from pandas._libs.tslibs.nattype cimport c... | This makes PeriodEngine follow patterns in DatetimeEngine, so soon we can have it subclass DatetimeEngine instead of Int64Engine, which will lead to more simplifications.
This also puts us within striking distance of sharing get_loc code | https://api.github.com/repos/pandas-dev/pandas/pulls/31598 | 2020-02-03T06:29:49Z | 2020-02-09T20:41:34Z | 2020-02-09T20:41:34Z | 2020-02-10T23:32:30Z |
REF: implement tests/indexes/objects/ | diff --git a/pandas/tests/indexes/base_class/__init__.py b/pandas/tests/indexes/base_class/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/indexes/base_class/test_constructors.py b/pandas/tests/indexes/base_class/test_constructors.py
new file mode 100644
index 0000000000000... | Many of the tests in test_base are about `Index.__new__` cases that return a subclass. This is intended specifically for Index-only tests. | https://api.github.com/repos/pandas-dev/pandas/pulls/31597 | 2020-02-03T06:20:01Z | 2020-02-05T01:31:09Z | 2020-02-05T01:31:09Z | 2020-02-05T01:33:37Z |
BUG: read_csv used in file like object RawIOBase is not recognize encoding option | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 9aa9ece9a5267..2488f8325e53e 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -31,6 +31,7 @@ Fixed regressions
- Fixed regression in :meth:`qcut` when passed a nullable integer. (:issue:`31389`)
- Fix... | - [x] closes #31575
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31596 | 2020-02-03T05:40:21Z | 2020-02-05T13:27:05Z | 2020-02-05T13:27:05Z | 2020-02-05T20:56:20Z |
TST: troubleshoot npdev build | diff --git a/pandas/core/series.py b/pandas/core/series.py
index bfe9969daaa8e..040fcf392733b 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -23,6 +23,7 @@
from pandas._config import get_option
from pandas._libs import lib, properties, reshape, tslibs
+from pandas._libs.index import validate_nume... | https://api.github.com/repos/pandas-dev/pandas/pulls/31594 | 2020-02-03T01:18:14Z | 2020-02-03T03:03:25Z | 2020-02-03T03:03:25Z | 2020-02-03T14:33:00Z | |
Import libindex in series.py | diff --git a/pandas/core/series.py b/pandas/core/series.py
index bfe9969daaa8e..c3f94baa0590d 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -22,7 +22,7 @@
from pandas._config import get_option
-from pandas._libs import lib, properties, reshape, tslibs
+from pandas._libs import index as libindex... | I think we may be missing an import in `series.py`. cc @jbrockmendel | https://api.github.com/repos/pandas-dev/pandas/pulls/31593 | 2020-02-03T00:56:28Z | 2020-02-03T00:59:55Z | null | 2020-02-03T00:59:59Z |
REF: parametrize indexing tests | diff --git a/pandas/tests/indexing/test_floats.py b/pandas/tests/indexing/test_floats.py
index 5530896a90941..dd248196e87e1 100644
--- a/pandas/tests/indexing/test_floats.py
+++ b/pandas/tests/indexing/test_floats.py
@@ -22,16 +22,9 @@ def check(self, result, original, indexer, getitem):
tm.assert_almost_equ... | https://api.github.com/repos/pandas-dev/pandas/pulls/31592 | 2020-02-03T00:43:37Z | 2020-02-05T01:36:40Z | 2020-02-05T01:36:40Z | 2020-02-05T01:41:18Z | |
ENH: Enable indexing with nullable Boolean | diff --git a/doc/source/user_guide/boolean.rst b/doc/source/user_guide/boolean.rst
index 4f0ad0e8ceaeb..6370a523b9a0d 100644
--- a/doc/source/user_guide/boolean.rst
+++ b/doc/source/user_guide/boolean.rst
@@ -20,8 +20,9 @@ Nullable Boolean data type
Indexing with NA values
-----------------------
-pandas does not a... | closes #31503
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I think from the discussion in https://github.com/pandas-dev/pandas/issues/31503 that this is something people want to allow. | https://api.github.com/repos/pandas-dev/pandas/pulls/31591 | 2020-02-03T00:28:12Z | 2020-02-22T15:37:38Z | 2020-02-22T15:37:38Z | 2020-02-23T14:55:01Z |
REF: Move Loc-only methods to Loc | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index bf42cf0330ef0..5c0f893554957 100755
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -696,40 +696,6 @@ def _convert_tuple(self, key, is_setter: bool = False):
keyidx.append(idx)
return tuple(keyidx)
- def _... | https://api.github.com/repos/pandas-dev/pandas/pulls/31589 | 2020-02-02T23:15:21Z | 2020-02-08T01:41:39Z | 2020-02-08T01:41:39Z | 2020-02-08T01:41:43Z | |
BUG: Handle object arrays with NaN in cut | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 180411afb117d..0a2b184c8161e 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -55,6 +55,9 @@ Bug fixes
- Plotting tz-aware timeseries no longer gives UserWarning (:issue:`31205`)
+**Reshaping**
+
+... | - [x] closes #31586
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31588 | 2020-02-02T22:41:04Z | 2020-02-13T22:56:59Z | null | 2020-02-13T22:57:03Z |
Backport PR #31440 on branch 1.0.x (BUG: Fix qcut for nullable integers) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 31bc1cefcb292..71a67e10ca38c 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -121,6 +121,7 @@ ExtensionArray
^^^^^^^^^^^^^^
- Bug in dtype being lost in ``__invert__`` (``~`` operator) for extensi... | Backport PR #31440: BUG: Fix qcut for nullable integers | https://api.github.com/repos/pandas-dev/pandas/pulls/31587 | 2020-02-02T22:19:37Z | 2020-02-02T22:57:17Z | 2020-02-02T22:57:17Z | 2020-02-02T22:57:17Z |
REF: define _convert_to_indexer in Loc | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 3d9069a5516f1..77003719360d9 100755
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -566,7 +566,7 @@ def iat(self) -> "_iAtIndexer":
return _iAtIndexer("iat", self)
-class _NDFrameIndexer(_NDFrameIndexerBase):
+class _Locat... | _convert_to_indexer is overriden by iloc, so the version currently defined in LocationIndexer is only used in Loc. This moves it directly to Loc.
Also, since ix has been removed, we have an unnecessary level of the class hierarchy, so this merges NDFrameIndexer and LocationIndexer.
Follow-ups will move base clas... | https://api.github.com/repos/pandas-dev/pandas/pulls/31585 | 2020-02-02T20:18:45Z | 2020-02-02T22:22:17Z | 2020-02-02T22:22:17Z | 2020-02-02T22:39:38Z |
Backport PR #31545: BUG&TST: df.replace fail after converting to new … | diff --git a/pandas/tests/frame/methods/test_replace.py b/pandas/tests/frame/methods/test_replace.py
index aa91e7a489356..92b74c4409d7d 100644
--- a/pandas/tests/frame/methods/test_replace.py
+++ b/pandas/tests/frame/methods/test_replace.py
@@ -1356,3 +1356,10 @@ def test_replace_replacer_dtype(self, replacer):
... | xref #31555
xref #31545 | https://api.github.com/repos/pandas-dev/pandas/pulls/31584 | 2020-02-02T19:07:30Z | 2020-02-02T19:42:56Z | 2020-02-02T19:42:56Z | 2020-02-02T19:42:56Z |
REF: Timestamp constructor tests | diff --git a/pandas/tests/indexes/datetimes/test_constructors.py b/pandas/tests/indexes/datetimes/test_constructors.py
index 68285d41bda70..95d14ad4c86f7 100644
--- a/pandas/tests/indexes/datetimes/test_constructors.py
+++ b/pandas/tests/indexes/datetimes/test_constructors.py
@@ -950,17 +950,3 @@ def test_datetimeindex... | https://api.github.com/repos/pandas-dev/pandas/pulls/31583 | 2020-02-02T18:57:56Z | 2020-02-02T21:52:37Z | 2020-02-02T21:52:37Z | 2020-02-02T21:52:42Z | |
Dispatch IntervalIndex.argsort to IntervalArray | diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py
index 398ed75c060ca..6a9111574ade3 100644
--- a/pandas/core/arrays/interval.py
+++ b/pandas/core/arrays/interval.py
@@ -701,6 +701,15 @@ def astype(self, dtype, copy=True):
msg = f"Cannot cast {type(self).__name__} to dtype {dtype... | cc @jschendel thoughts on if we can do better in the non-ascending/"quicksort" case? | https://api.github.com/repos/pandas-dev/pandas/pulls/31582 | 2020-02-02T18:47:50Z | 2020-02-19T19:47:55Z | null | 2021-01-20T00:13:22Z |
CLN: Fix ReadMe Badges | diff --git a/README.md b/README.md
index 1130eb30954dc..5342eda4390eb 100644
--- a/README.md
+++ b/README.md
@@ -5,82 +5,16 @@
-----------------
# pandas: powerful Python data analysis toolkit
-
-<table>
-<tr>
- <td>Latest Release</td>
- <td>
- <a href="https://pypi.org/project/pandas/">
- <img src="https:/... | Noticed when discussing https://github.com/pandas-dev/pandas/issues/31560 our badges are written in HTML + take up a lot of vertical space on our Readme.
My branch (a lot more compact vs master):
https://github.com/alimcmaster1/pandas/tree/mcmali-readme#pandas-powerful-python-data-analysis-toolkit
I've also adde... | https://api.github.com/repos/pandas-dev/pandas/pulls/31579 | 2020-02-02T17:11:58Z | 2020-02-02T18:31:37Z | 2020-02-02T18:31:37Z | 2020-02-02T18:31:43Z |
Backport PR #31482 on branch 1.0.x (BUG: objToJson.c - fix return value) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 9e78ff03f5f67..31bc1cefcb292 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -126,7 +126,7 @@ ExtensionArray
Other
^^^^^
--
+- Regression fixed in objTOJSON.c fix return-type warning (:issue:`31463... | Backport PR #31482: BUG: objToJson.c - fix return value | https://api.github.com/repos/pandas-dev/pandas/pulls/31578 | 2020-02-02T17:09:29Z | 2020-02-02T18:32:03Z | 2020-02-02T18:32:03Z | 2020-02-02T18:32:03Z |
REF: de-duplicate Period freq conversion code | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index 7fca624099b38..f3ae28578240f 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -272,6 +272,8 @@ cdef int64_t DtoB_weekday(int64_t unix_date) nogil:
cdef int64_t DtoB(npy_datetimestruct *dts, int roll_... | https://api.github.com/repos/pandas-dev/pandas/pulls/31577 | 2020-02-02T16:42:54Z | 2020-02-02T17:34:38Z | 2020-02-02T17:34:38Z | 2020-02-02T17:39:20Z | |
Backport PR #31573 on branch 1.0.x (CI: Remove warning raising after new matplotlib release) | diff --git a/pandas/tests/plotting/test_converter.py b/pandas/tests/plotting/test_converter.py
index 9cd3ccbf9214e..e54f4784e9c4f 100644
--- a/pandas/tests/plotting/test_converter.py
+++ b/pandas/tests/plotting/test_converter.py
@@ -8,6 +8,7 @@
import pandas._config.config as cf
from pandas.compat.numpy import np_d... | Backport PR #31573: CI: Remove warning raising after new matplotlib release | https://api.github.com/repos/pandas-dev/pandas/pulls/31576 | 2020-02-02T16:42:49Z | 2020-02-02T17:10:03Z | 2020-02-02T17:10:03Z | 2020-02-02T17:10:03Z |
TYP: Arraylike | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index 7447d593a7ff0..4435d8b7c88ee 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -439,7 +439,7 @@ def isna(self) -> ArrayLike:
Returns
-------
- na_values : Union[np.ndarray, ExtensionArray]
+ ... | reopening #31518
cc @jbrockmendel @WillAyd | https://api.github.com/repos/pandas-dev/pandas/pulls/31574 | 2020-02-02T16:06:04Z | 2020-05-01T14:57:54Z | null | 2020-05-01T14:57:54Z |
CI: Remove warning raising after new matplotlib release | diff --git a/pandas/tests/plotting/test_converter.py b/pandas/tests/plotting/test_converter.py
index 9cd3ccbf9214e..e54f4784e9c4f 100644
--- a/pandas/tests/plotting/test_converter.py
+++ b/pandas/tests/plotting/test_converter.py
@@ -8,6 +8,7 @@
import pandas._config.config as cf
from pandas.compat.numpy import np_d... | - [ ] xref #31562
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
seems CI is broken after the new release of matplotlib | https://api.github.com/repos/pandas-dev/pandas/pulls/31573 | 2020-02-02T13:45:49Z | 2020-02-02T16:42:20Z | 2020-02-02T16:42:20Z | 2020-02-02T16:42:32Z |
DOC fix *_option() docstring | diff --git a/pandas/_config/config.py b/pandas/_config/config.py
index cacd6f5454de7..8b6116d3abd60 100644
--- a/pandas/_config/config.py
+++ b/pandas/_config/config.py
@@ -155,9 +155,7 @@ def _describe_option(pat: str = "", _print_desc: bool = True):
if len(keys) == 0:
raise OptionError("No such keys(s)"... | - [x] closes #28780
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31571 | 2020-02-02T12:12:30Z | 2020-02-03T10:39:33Z | 2020-02-03T10:39:33Z | 2020-02-03T10:39:34Z |
BUG accept and deprecate negative integer for max_colwidth | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 16d9d341f785d..305de5bbd57eb 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -10,6 +10,14 @@ including other versions of pandas.
.. ------------------------------------------------------------------... | - [x] closes #31532
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31569 | 2020-02-02T11:44:06Z | 2020-02-02T18:30:39Z | 2020-02-02T18:30:38Z | 2020-02-03T10:38:51Z |
Description of Plotting Backends added in the end. | diff --git a/doc/source/user_guide/pip b/doc/source/user_guide/pip
new file mode 160000
index 0000000000000..37c75b671faca
--- /dev/null
+++ b/doc/source/user_guide/pip
@@ -0,0 +1 @@
+Subproject commit 37c75b671faca56337faea42dabfed65ac5bf567
diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31568 | 2020-02-02T10:57:17Z | 2020-03-08T05:20:20Z | null | 2020-03-08T05:20:20Z |
WEB: Changed whatsnew href from v0.25.0 to v1.0.0 | diff --git a/web/pandas/index.html b/web/pandas/index.html
index fedb0b0c5f712..83d0f48197033 100644
--- a/web/pandas/index.html
+++ b/web/pandas/index.html
@@ -63,7 +63,7 @@ <h5>With the support of:</h5>
{% if releases %}
<h4>Latest version: {{ releases[0].name }}</h4>
... | - [ ] closes #31539
| https://api.github.com/repos/pandas-dev/pandas/pulls/31567 | 2020-02-02T10:15:29Z | 2020-02-02T15:22:33Z | 2020-02-02T15:22:33Z | 2021-08-26T10:55:44Z |
TST: DataFrame.interpolate(axis='columns') throws exception while DataFrame.interpolate(axis=1) not (#25190) | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 40abb8f83de2f..c062cdee92145 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -158,6 +158,7 @@ Indexing
- Bug in :meth:`PeriodIndex.is_monotonic` incorrectly returning ``True`` when containing leading ... | Make sure that DataFrame.interpolate allows setting having "columns" or "index" as the `axis` argument.
I included the `whatsnew` entry as well. However, since the bug was already fixed in v1.0.0, it might be reasonable to just drop it. I leave it to the reviewer's discretion, that's why I've put it in a separate co... | https://api.github.com/repos/pandas-dev/pandas/pulls/31566 | 2020-02-02T09:53:06Z | 2020-05-12T12:18:35Z | null | 2020-05-12T12:20:46Z |
Fix docstring for to_markdown buf parameter | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 3b1d7e4c50be5..3bb584d4d34e8 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1922,10 +1922,8 @@ def _repr_data_resource_(self):
Parameters
----------
- buf : writable buffer, defaults to sys.stdout
- Where to s... | - [ ] ~~closes #xxxx~~ (N/A)
- [ ] ~~tests added / passed~~ (N/A)
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] ~~whatsnew entry~~ (N/A)
| https://api.github.com/repos/pandas-dev/pandas/pulls/31565 | 2020-02-02T09:15:51Z | 2020-02-02T17:12:31Z | 2020-02-02T17:12:31Z | 2020-02-02T17:35:56Z |
ENH: add fold support to Timestamp constructor | diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst
index 3fdab0fd26643..f208c8d576131 100644
--- a/doc/source/user_guide/timeseries.rst
+++ b/doc/source/user_guide/timeseries.rst
@@ -2297,6 +2297,35 @@ To remove time zone information, use ``tz_localize(None)`` or ``tz_convert(None)... | **PERF Note:** Current implementation slows down the `Timestamp` constructor. I've tested this thoroughly and tracked it down to ba7fcd5 where I changed the function signatures at the very beginning of working on the PR. The performance overhead appeared before any of the logic was implemented.
- [X] closes #25057, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/31563 | 2020-02-02T08:10:40Z | 2020-02-26T12:35:04Z | 2020-02-26T12:35:03Z | 2020-03-06T08:24:04Z |
Backport PR: BUG: Array.__setitem__ failing with nullable boolean mask (#31484) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index cb916cecd4f1b..9e78ff03f5f67 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -71,6 +71,7 @@ Indexing
-
-
+- Bug where assigning to a :class:`Series` using a IntegerArray / BooleanArray as a mask wo... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31562 | 2020-02-02T07:49:56Z | 2020-02-02T16:04:35Z | 2020-02-02T16:04:35Z | 2020-02-02T16:04:40Z |
Try manual backport | diff --git a/doc/source/development/code_style.rst b/doc/source/development/code_style.rst
index 2fc2f1fb6ee8d..a295038b5a0bd 100644
--- a/doc/source/development/code_style.rst
+++ b/doc/source/development/code_style.rst
@@ -127,3 +127,29 @@ For example:
value = str
f"Unknown recived type, got: '{type(value... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31561 | 2020-02-02T07:26:29Z | 2020-02-02T07:36:33Z | null | 2020-02-02T07:36:33Z |
REF: CategoricalIndex indexing tests | diff --git a/pandas/tests/indexes/categorical/test_category.py b/pandas/tests/indexes/categorical/test_category.py
index d870259c2539b..c18cd1f252c83 100644
--- a/pandas/tests/indexes/categorical/test_category.py
+++ b/pandas/tests/indexes/categorical/test_category.py
@@ -146,76 +146,6 @@ def test_contains_list(self):
... | https://api.github.com/repos/pandas-dev/pandas/pulls/31559 | 2020-02-02T02:56:45Z | 2020-02-02T18:35:58Z | 2020-02-02T18:35:58Z | 2020-02-02T18:41:49Z | |
REF: organize DataFrame tests for indexing, by-method | diff --git a/pandas/tests/frame/indexing/test_datetime.py b/pandas/tests/frame/indexing/test_datetime.py
index a1c12be2b0180..6bfcac3793584 100644
--- a/pandas/tests/frame/indexing/test_datetime.py
+++ b/pandas/tests/frame/indexing/test_datetime.py
@@ -45,13 +45,6 @@ def test_set_reset(self):
df = result.set_i... | The only change that isnt just rearrangement is implementing where_frame fixture in test_where and using it to get rid of for-loops inside a bunch of tests in that file | https://api.github.com/repos/pandas-dev/pandas/pulls/31558 | 2020-02-02T02:32:19Z | 2020-02-02T18:33:51Z | 2020-02-02T18:33:51Z | 2020-02-02T18:44:05Z |
REF: organize Series indexing tests | diff --git a/pandas/tests/series/indexing/test_boolean.py b/pandas/tests/series/indexing/test_boolean.py
index 16a29d10eb414..28f3c0f7429f8 100644
--- a/pandas/tests/series/indexing/test_boolean.py
+++ b/pandas/tests/series/indexing/test_boolean.py
@@ -1,10 +1,7 @@
import numpy as np
import pytest
-from pandas.core... | We've got indexing tests pretty scattered; this is organizing the ones in tests.series.indexing by method | https://api.github.com/repos/pandas-dev/pandas/pulls/31557 | 2020-02-02T02:15:51Z | 2020-02-02T17:34:59Z | 2020-02-02T17:34:58Z | 2020-02-02T17:38:48Z |
[MRG] f-string updates for issue #29547 | diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py
index 8829c242b1129..d9f21f0b274ac 100644
--- a/pandas/core/reshape/concat.py
+++ b/pandas/core/reshape/concat.py
@@ -352,8 +352,8 @@ def __init__(
for obj in objs:
if not isinstance(obj, (Series, DataFrame)):
... | Addresses, in part, https://github.com/pandas-dev/pandas/issues/29547
…ape/pivot, reshape/reshape
- [ x] xref #29547
- [n/a ] tests added / passed
- [x ] passes `black pandas`
- [ x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [n/a ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31556 | 2020-02-02T01:22:48Z | 2020-02-04T00:41:19Z | 2020-02-04T00:41:19Z | 2020-02-04T00:41:26Z |
Backport PR #31545 on branch 1.0.x (BUG&TST: df.replace fail after converting to new dtype) | diff --git a/pandas/tests/frame/methods/test_replace.py b/pandas/tests/frame/methods/test_replace.py
index aa91e7a489356..92b74c4409d7d 100644
--- a/pandas/tests/frame/methods/test_replace.py
+++ b/pandas/tests/frame/methods/test_replace.py
@@ -1356,3 +1356,10 @@ def test_replace_replacer_dtype(self, replacer):
... | Backport PR #31545: BUG&TST: df.replace fail after converting to new dtype | https://api.github.com/repos/pandas-dev/pandas/pulls/31555 | 2020-02-01T23:10:51Z | 2020-02-02T19:08:28Z | null | 2020-02-02T19:16:54Z |
REF: move _convert_to_indexer to Loc | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 7e56148b7569e..3d9069a5516f1 100755
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -1577,6 +1577,43 @@ def _validate_read_indexer(
"https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-lo... | It is overriden in iLoc, so by putting it directly in Loc we can simplify bits of it that check `self.name` and keep only the `self.name == "loc"` branches. This lets us get rid of a bit of dead code (L1638-L1642).
Most of the diff is misleading; it is only the one method that is moved, with a placeholder kept in N... | https://api.github.com/repos/pandas-dev/pandas/pulls/31554 | 2020-02-01T21:47:35Z | 2020-02-01T22:36:50Z | 2020-02-01T22:36:50Z | 2020-02-01T22:40:26Z |
REF: collect MultiIndex indexing, set methods | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index 889622f44bbb7..4af9901d79a46 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -234,6 +234,8 @@ class MultiIndex(Index):
_comparables = ["names"]
rename = Index.set_names
+ _tuples = None
+
#... | https://api.github.com/repos/pandas-dev/pandas/pulls/31553 | 2020-02-01T20:53:42Z | 2020-02-01T22:23:20Z | 2020-02-01T22:23:20Z | 2020-02-01T22:43:36Z | |
BUG: to_json not allowing uploads to S3 (#28375) | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index e07a8fa0469f4..3304658a37a1a 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -167,7 +167,7 @@ MultiIndex
I/O
^^^
- Bug in :meth:`read_json` where integer overflow was occuring when json contains big... | - [x] closes #28375
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31552 | 2020-02-01T20:48:08Z | 2020-02-02T22:29:04Z | 2020-02-02T22:29:04Z | 2020-06-26T12:55:47Z |
ADMIN: Create separate issue templates for different use cases | diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug_report.md
similarity index 58%
rename from .github/ISSUE_TEMPLATE.md
rename to .github/ISSUE_TEMPLATE/bug_report.md
index e33835c462511..fafb251bbaa5c 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,29 +1,34 @@
-... | I recall this being mentioned on one of the core dev calls a few months back, and took inspiration from [rapidsai/cudf](https://github.com/rapidsai/cudf) for the various templates.
Added templates for the following use cases:
- Bug Report
- This is largely the same as the current issue template
- Documentation ... | https://api.github.com/repos/pandas-dev/pandas/pulls/31551 | 2020-02-01T20:47:13Z | 2020-03-11T02:28:01Z | null | 2020-03-31T17:41:49Z |
BUG: parase_dates column is in dataframe (#31251) | diff --git a/README.md b/README.md
index 1130eb30954dc..5342eda4390eb 100644
--- a/README.md
+++ b/README.md
@@ -5,82 +5,16 @@
-----------------
# pandas: powerful Python data analysis toolkit
-
-<table>
-<tr>
- <td>Latest Release</td>
- <td>
- <a href="https://pypi.org/project/pandas/">
- <img src="https:/... | - [ ] closes #31251
- [ ] add test_missing_column in pandas/tests/io/parser/test_parse_dates.py
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31550 | 2020-02-01T19:59:54Z | 2020-02-08T15:20:47Z | null | 2020-02-28T09:38:57Z |
replace NotImplementedError with AttributeError | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 0dea8235e9d3f..1bcd1c5fcf4eb 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -132,6 +132,12 @@
from pandas.io.formats.printing import pprint_thing
import pandas.plotting
+
+# Customized "cover all bases" local Exception
+class DataFrameE... | Fixes Python inspection of members - bug reported in https://github.com/pandas-dev/pandas/issues/31474
- [ ] closes #31474
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31549 | 2020-02-01T19:50:25Z | 2020-04-21T12:53:13Z | null | 2020-04-22T22:52:33Z |
BUG: GH31142 Fix for combine.Series | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 17a830788be3f..42dda5854396e 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -918,6 +918,7 @@ Reshaping
- Bug in :func:`crosstab` when inputs are two Series and have tuple names, the output will keep ... | - [ ] closes #31142
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31547 | 2020-02-01T18:41:35Z | 2020-06-26T15:43:06Z | null | 2020-06-26T15:43:06Z |
Manual backport 31446 | diff --git a/.devcontainer.json b/.devcontainer.json
new file mode 100644
index 0000000000000..315a1ff647012
--- /dev/null
+++ b/.devcontainer.json
@@ -0,0 +1,28 @@
+// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
+// https://github.com/microsoft/vscode-dev-containe... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31546 | 2020-02-01T16:33:45Z | 2020-02-01T16:51:18Z | null | 2020-02-01T16:54:02Z |
BUG&TST: df.replace fail after converting to new dtype | diff --git a/pandas/tests/frame/methods/test_replace.py b/pandas/tests/frame/methods/test_replace.py
index aa91e7a489356..92b74c4409d7d 100644
--- a/pandas/tests/frame/methods/test_replace.py
+++ b/pandas/tests/frame/methods/test_replace.py
@@ -1356,3 +1356,10 @@ def test_replace_replacer_dtype(self, replacer):
... | - [x] closes #31517
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31545 | 2020-02-01T16:21:18Z | 2020-02-01T23:10:40Z | 2020-02-01T23:10:40Z | 2020-02-01T23:10:57Z |
Backport PR #31529 on branch 1.0.x (BUG: Series multiplication with timedelta scalar numexpr path) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 95fab6a18ffe1..df001bc18b0a0 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -44,6 +44,7 @@ Timezones
Numeric
^^^^^^^
- Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mix... | Backport PR #31529: BUG: Series multiplication with timedelta scalar numexpr path | https://api.github.com/repos/pandas-dev/pandas/pulls/31543 | 2020-02-01T15:24:54Z | 2020-02-01T19:38:45Z | 2020-02-01T19:38:45Z | 2020-02-01T19:38:45Z |
Backport PR #31513 on branch 1.0.x (REGR: Fixed truncation with na_rep) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 95fab6a18ffe1..16e463e3a5944 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -86,6 +86,7 @@ MultiIndex
I/O
^^^
+- Fixed regression in :meth:`~DataFrame.to_csv` where specifying an ``na_rep`` might ... | Backport PR #31513: REGR: Fixed truncation with na_rep | https://api.github.com/repos/pandas-dev/pandas/pulls/31542 | 2020-02-01T15:21:22Z | 2020-02-01T19:39:15Z | 2020-02-01T19:39:14Z | 2020-02-01T19:39:15Z |
Backport PR #31456 on branch 1.0.x (BUG: Groupby.apply wasn't allowing for functions which return lists) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 95fab6a18ffe1..478e986a26231 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -15,7 +15,7 @@ including other versions of pandas.
Bug fixes
~~~~~~~~~
-
+- Bug in :meth:`GroupBy.apply` was raising ``T... | Backport PR #31456: BUG: Groupby.apply wasn't allowing for functions which return lists | https://api.github.com/repos/pandas-dev/pandas/pulls/31541 | 2020-02-01T15:15:25Z | 2020-02-01T19:37:49Z | 2020-02-01T19:37:49Z | 2020-02-01T19:37:49Z |
Backport PR #31520 on branch 1.0.x (REGR: to_datetime, unique with OOB values) | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index ff8433c7cafd9..95fab6a18ffe1 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -25,8 +25,8 @@ Categorical
Datetimelike
^^^^^^^^^^^^
--
--
+- Fixed regression in :meth:`to_datetime` when parsing non-n... | Backport PR #31520: REGR: to_datetime, unique with OOB values | https://api.github.com/repos/pandas-dev/pandas/pulls/31540 | 2020-02-01T14:30:13Z | 2020-02-01T15:07:26Z | 2020-02-01T15:07:26Z | 2020-02-01T15:07:26Z |
TST: Added regression test | diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py
index f7211ab5f9fd4..9a6ae76658949 100644
--- a/pandas/tests/arithmetic/test_datetime64.py
+++ b/pandas/tests/arithmetic/test_datetime64.py
@@ -1,7 +1,7 @@
# Arithmetic tests for DataFrame/Series/Index/Array classes th... | - [x] closes #10329
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31538 | 2020-02-01T13:36:47Z | 2020-04-03T20:20:04Z | 2020-04-03T20:20:04Z | 2020-04-06T08:46:06Z |
TST: Added regression test case | diff --git a/pandas/tests/arithmetic/test_numeric.py b/pandas/tests/arithmetic/test_numeric.py
index 202e30287881f..792b8bb4f25ab 100644
--- a/pandas/tests/arithmetic/test_numeric.py
+++ b/pandas/tests/arithmetic/test_numeric.py
@@ -1305,3 +1305,35 @@ def test_dataframe_div_silenced():
)
with tm.assert_produc... | Resurrection of #28966
- [x] closes #18549
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31536 | 2020-02-01T13:11:59Z | 2020-04-06T09:48:29Z | null | 2020-04-06T09:49:03Z |
CLN: Replace isinstace(foo, Class) with isinstance(foo, ABCClass) | diff --git a/pandas/core/arrays/period.py b/pandas/core/arrays/period.py
index d9b53aa4a867c..8383b783d90e7 100644
--- a/pandas/core/arrays/period.py
+++ b/pandas/core/arrays/period.py
@@ -33,6 +33,7 @@
from pandas.core.dtypes.dtypes import PeriodDtype
from pandas.core.dtypes.generic import (
ABCIndexClass,
+ ... | - [x] ref #27353
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31535 | 2020-02-01T11:37:51Z | 2020-02-01T15:08:17Z | 2020-02-01T15:08:17Z | 2020-02-01T15:24:23Z |
CI: Reverted changes related to 'jedi' warnings | diff --git a/pandas/tests/arrays/categorical/test_warnings.py b/pandas/tests/arrays/categorical/test_warnings.py
index 9e164a250cdb1..f66c327e9967d 100644
--- a/pandas/tests/arrays/categorical/test_warnings.py
+++ b/pandas/tests/arrays/categorical/test_warnings.py
@@ -14,16 +14,6 @@ async def test_tab_complete_warning(... | - [x] closes #31407
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31534 | 2020-02-01T11:04:09Z | 2020-02-20T03:17:09Z | null | 2020-02-20T03:17:09Z |
BUG: Series multiplication with timedelta scalar numexpr path | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index ff8433c7cafd9..fd09f5dc13557 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -44,6 +44,7 @@ Timezones
Numeric
^^^^^^^
- Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mix... | - [x] closes #31457
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31529 | 2020-02-01T03:58:14Z | 2020-02-01T15:24:45Z | 2020-02-01T15:24:45Z | 2020-02-01T16:10:25Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.