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 |
|---|---|---|---|---|---|---|---|
Replaced void pointers with Types in JSON Datetime Conversions | diff --git a/pandas/_libs/src/ujson/python/objToJSON.c b/pandas/_libs/src/ujson/python/objToJSON.c
index 5d17d3a2d7bcb..9abcb8333b435 100644
--- a/pandas/_libs/src/ujson/python/objToJSON.c
+++ b/pandas/_libs/src/ujson/python/objToJSON.c
@@ -59,8 +59,8 @@ PyObject *cls_timedelta;
npy_int64 get_nat(void) { return NPY_... | This also incorporates the clean up from #30271
Benchmarks show the following benefit, though most likely just noise:
```sh
. before after ratio
[04fce81f] [f8ed75d0]
<stash~6^2> <json-dates>
- 336±9ms 302±4ms 0.90 io.json.ToJSON.time_to_jso... | https://api.github.com/repos/pandas-dev/pandas/pulls/30283 | 2019-12-15T23:45:07Z | 2019-12-24T17:27:47Z | 2019-12-24T17:27:47Z | 2019-12-24T17:28:50Z |
STY: Replace .format() to fstrings | diff --git a/pandas/core/missing.py b/pandas/core/missing.py
index 5b9e37bd54bad..b30a7a24f3495 100644
--- a/pandas/core/missing.py
+++ b/pandas/core/missing.py
@@ -88,10 +88,7 @@ def clean_fill_method(method, allow_nearest=False):
valid_methods.append("nearest")
expecting = "pad (ffill), backfill (bf... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
#29547 | https://api.github.com/repos/pandas-dev/pandas/pulls/30278 | 2019-12-14T21:32:29Z | 2019-12-18T09:57:19Z | 2019-12-18T09:57:19Z | 2019-12-18T09:57:32Z |
[bug] don't remove timezone-awareness when using the method from Dat… | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 1253788d7ff27..faca744a8f92c 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -714,6 +714,7 @@ Datetimelike
- Bug in :func:`pandas.to_datetime` failing for `deques` when using ``cache=True`` (the defau... | …aFrame
- [x] closes #30238
- [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/30277 | 2019-12-14T18:38:20Z | 2019-12-24T14:58:53Z | 2019-12-24T14:58:53Z | 2019-12-24T16:08:38Z |
CLN: changed .format to f-string in pandas/core/indexes | diff --git a/pandas/core/indexes/accessors.py b/pandas/core/indexes/accessors.py
index e8d2ba85e08a6..ae27aad3dda08 100644
--- a/pandas/core/indexes/accessors.py
+++ b/pandas/core/indexes/accessors.py
@@ -26,8 +26,8 @@ class Properties(PandasDelegate, PandasObject, NoNewAttributesMixin):
def __init__(self, data, o... | towards #29547
- [ ] closes
- [x] tests 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/30273 | 2019-12-14T07:43:41Z | 2019-12-15T12:35:23Z | 2019-12-15T12:35:23Z | 2019-12-15T12:39:43Z |
ENH: pass through schema keyword in to_parquet for pyarrow | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 6fd758abb1f33..17818118e587d 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -205,6 +205,8 @@ Other enhancements
(:meth:`~DataFrame.to_parquet` / :func:`read_parquet`) using the `'pyarrow'` engine
... | - [X] closes #30189
- [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/30270 | 2019-12-13T23:47:53Z | 2019-12-18T10:39:32Z | 2019-12-18T10:39:32Z | 2019-12-18T10:39:46Z |
Remove skiplist.pxd | diff --git a/pandas/_libs/skiplist.pxd b/pandas/_libs/skiplist.pxd
deleted file mode 100644
index e827223bbe0a7..0000000000000
--- a/pandas/_libs/skiplist.pxd
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-# See GH#27465 for reference on related-but-unused cython code
-
-cdef extern from "src/skiplist.h":
- ... | Just placed header definitions where they are actually used follow up to #27465 | https://api.github.com/repos/pandas-dev/pandas/pulls/30269 | 2019-12-13T22:55:08Z | 2019-12-14T03:57:40Z | 2019-12-14T03:57:40Z | 2019-12-14T03:58:00Z |
Made date time sources usage more explicit in setup.py | diff --git a/setup.py b/setup.py
index 01d41ea5241f2..9a1a3a5848b66 100755
--- a/setup.py
+++ b/setup.py
@@ -549,17 +549,10 @@ def srcpath(name=None, suffix=".pyx", subdir="src"):
klib_include = ["pandas/_libs/src/klib"]
-np_datetime_headers = [
+tseries_depends = [
"pandas/_libs/tslibs/src/datetime/np_dateti... | Not sure this fully solves #30236 but doesn't hurt and makes things more explicit | https://api.github.com/repos/pandas-dev/pandas/pulls/30266 | 2019-12-13T22:08:24Z | 2019-12-18T18:34:02Z | 2019-12-18T18:34:02Z | 2019-12-18T18:34:06Z |
CLN: Assorted cleanups | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 0de7a2e745531..b398a197a4bc0 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -244,13 +244,13 @@ def maybe_upcast_putmask(result: np.ndarray, mask: np.ndarray, other):
necessary.
mask : boolean ndarray
... | Many of these are broken off from #30035. | https://api.github.com/repos/pandas-dev/pandas/pulls/30260 | 2019-12-13T17:45:36Z | 2019-12-15T21:43:42Z | 2019-12-15T21:43:42Z | 2019-12-16T01:04:30Z |
CLN: more lgtm.com cleanups | diff --git a/pandas/core/arrays/_ranges.py b/pandas/core/arrays/_ranges.py
index 2cae2c9250ea5..20e4cf70eddcf 100644
--- a/pandas/core/arrays/_ranges.py
+++ b/pandas/core/arrays/_ranges.py
@@ -179,7 +179,6 @@ def _generate_range_overflow_safe_signed(
# watch out for very special case in which we just sligh... | https://api.github.com/repos/pandas-dev/pandas/pulls/30259 | 2019-12-13T17:03:49Z | 2019-12-15T21:39:26Z | 2019-12-15T21:39:26Z | 2019-12-16T00:34:04Z | |
CLN: various lgtm.com cleanups | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index ef3d8cd53596b..14a3c3c008e92 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -320,7 +320,6 @@ def apply_series_generator(self) -> Tuple[ResType, "Index"]:
series_gen = self.series_generator
res_index = self.result_index
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/30258 | 2019-12-13T16:11:36Z | 2019-12-15T21:46:17Z | 2019-12-15T21:46:17Z | 2019-12-16T00:33:55Z | |
DOC: .get_slice_bound in MultiIndex needs documentation. | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index 05a4da28eb0a1..0908bc6209369 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -1,7 +1,7 @@
from collections import OrderedDict
import datetime
from sys import getsizeof
-from typing import List, Optional
+fr... | - [x] closes #29967
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
I'm not good at English. So if there are wrong sentences or awkward sentences, please let me know.
| https://api.github.com/repos/pandas-dev/pandas/pulls/30257 | 2019-12-13T13:56:19Z | 2020-01-01T17:27:21Z | 2020-01-01T17:27:21Z | 2020-06-17T11:31:50Z |
CI: wrap ExcelFile.__del__ in try/except | diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py
index 7cb1309ae8d41..81d3d46f78bdb 100644
--- a/pandas/io/excel/_base.py
+++ b/pandas/io/excel/_base.py
@@ -903,5 +903,9 @@ def __exit__(self, exc_type, exc_value, traceback):
self.close()
def __del__(self):
- # Ensure we don't leak... | Closes https://github.com/pandas-dev/pandas/issues/30217 | https://api.github.com/repos/pandas-dev/pandas/pulls/30255 | 2019-12-13T10:08:40Z | 2019-12-13T17:31:05Z | 2019-12-13T17:31:05Z | 2019-12-14T07:45:52Z |
DEPR: change DataFrame.append default sort kwarg | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index fa85c54eb42fa..66226d4ef0fe7 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -6664,7 +6664,7 @@ def infer(x):
# ----------------------------------------------------------------------
# Merging / joining methods
- def append(se... | xref #20613
AFAICT this doesn't break any tests, was this supposed to have been changed along with the default in `concat` #29786 ? | https://api.github.com/repos/pandas-dev/pandas/pulls/30251 | 2019-12-13T01:15:27Z | 2019-12-15T21:46:58Z | 2019-12-15T21:46:58Z | 2019-12-16T01:06:10Z |
CLN : f-string instead of str.format() in pandas/utils and pandas/io/formats | diff --git a/pandas/io/formats/css.py b/pandas/io/formats/css.py
index 6bc5f56bb5f7f..583dd49d4c66a 100644
--- a/pandas/io/formats/css.py
+++ b/pandas/io/formats/css.py
@@ -18,8 +18,7 @@ def expand(self, prop, value):
mapping = self.SIDE_SHORTHANDS[len(tokens)]
except KeyError:
warnin... | - [x] ref #29547 and ref #30020
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
I accidentally deleted the branch for #30230 which closed it, but I applied all the requested changes in this PR. | https://api.github.com/repos/pandas-dev/pandas/pulls/30250 | 2019-12-13T01:05:53Z | 2019-12-13T13:17:24Z | 2019-12-13T13:17:24Z | 2019-12-14T16:02:35Z |
TST: Fix apparent typo skip_if_no lxml->bs4 | diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py
index c34f2ebace683..39cbe843d1f2b 100644
--- a/pandas/tests/io/test_html.py
+++ b/pandas/tests/io/test_html.py
@@ -87,7 +87,7 @@ def test_same_ordering(datapath):
@pytest.mark.parametrize(
"flavor",
[
- pytest.param("bs4", marks... | https://api.github.com/repos/pandas-dev/pandas/pulls/30249 | 2019-12-13T01:03:46Z | 2019-12-13T13:31:34Z | 2019-12-13T13:31:34Z | 2019-12-13T15:28:11Z | |
CLN changed .format to f-string for test_converter.py, test_datetimel… | diff --git a/pandas/tests/plotting/test_converter.py b/pandas/tests/plotting/test_converter.py
index fb9ad57626600..5cea4fb5acca0 100644
--- a/pandas/tests/plotting/test_converter.py
+++ b/pandas/tests/plotting/test_converter.py
@@ -268,7 +268,7 @@ def _assert_less(ts1, ts2):
val1 = self.dtc.convert(ts1, N... | …ike.py, test_series.py #29547
https://github.com/pandas-dev/pandas/issues/29547
- [x] 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/30248 | 2019-12-12T23:11:53Z | 2019-12-13T13:33:34Z | 2019-12-13T13:33:33Z | 2019-12-27T23:45:17Z |
CLN: more consistent error message for ExtensionDtype.construct_from_string | diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py
index bc7de0e2c4e1e..13748e03e856d 100644
--- a/pandas/core/arrays/numpy_.py
+++ b/pandas/core/arrays/numpy_.py
@@ -72,7 +72,12 @@ def _is_boolean(self):
@classmethod
def construct_from_string(cls, string):
- return cls(np.dtype... | message check added to `test_construct_from_string` in `pandas/tests/extension/base/dtype.py` and error messages changed to be consistent with error message on class method in `pandas/core/dtypes/base.py` xref Provide ExtensionDtype.construct_from_string by default #26562 | https://api.github.com/repos/pandas-dev/pandas/pulls/30247 | 2019-12-12T22:48:40Z | 2019-12-13T13:32:35Z | 2019-12-13T13:32:35Z | 2019-12-13T14:28:49Z |
ERR: stringify error message from parsers.pyx, closes #29233 | diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx
index adc7a650b745f..bb1493280dfd2 100644
--- a/pandas/_libs/parsers.pyx
+++ b/pandas/_libs/parsers.pyx
@@ -657,7 +657,7 @@ cdef class TextReader:
if isinstance(source, str):
encoding = sys.getfilesystemencoding() or "utf-8"
-
+ ... | - [x] closes #29233
- [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/30246 | 2019-12-12T21:51:36Z | 2019-12-13T14:21:39Z | 2019-12-13T14:21:39Z | 2019-12-13T15:29:08Z |
Implement NA.__array_ufunc__ | diff --git a/doc/source/getting_started/dsintro.rst b/doc/source/getting_started/dsintro.rst
index 82d4b5e34e4f8..8bd271815549d 100644
--- a/doc/source/getting_started/dsintro.rst
+++ b/doc/source/getting_started/dsintro.rst
@@ -676,11 +676,11 @@ similar to an ndarray:
# only show the first 5 rows
df[:5].T
+.... | This gives us consistent comparisons with NumPy scalars.
I have a few implementation questions:
1. I wanted to reuse `maybe_dispatch_ufunc_to_dunder_op`. That was in `core/ops/dispatch.py`, but NA is defend in `_libs/missing.pyx`. For now I just moved it to `_libs/missing.pyx`, is there a better home for it? I do... | https://api.github.com/repos/pandas-dev/pandas/pulls/30245 | 2019-12-12T21:48:00Z | 2020-01-05T20:43:08Z | 2020-01-05T20:43:08Z | 2020-01-05T20:43:25Z |
TST: Add message checks to tests/arrays/sparse/ | diff --git a/pandas/tests/arrays/sparse/test_array.py b/pandas/tests/arrays/sparse/test_array.py
index 75a4f683e92d2..0aaf294378bf7 100644
--- a/pandas/tests/arrays/sparse/test_array.py
+++ b/pandas/tests/arrays/sparse/test_array.py
@@ -307,11 +307,12 @@ def test_take_filling(self):
with pytest.raises(ValueErr... | - [ ] xref #23922
- [ ] 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/30244 | 2019-12-12T21:44:36Z | 2019-12-12T23:09:16Z | 2019-12-12T23:09:16Z | 2019-12-12T23:16:21Z |
Remove yapf references | diff --git a/pandas/core/ops/methods.py b/pandas/core/ops/methods.py
index 477c847fb01e6..8c66eea270c76 100644
--- a/pandas/core/ops/methods.py
+++ b/pandas/core/ops/methods.py
@@ -162,7 +162,6 @@ def _create_methods(cls, arith_method, comp_method, bool_method, special):
have_divmod = issubclass(cls, ABCSeries)
... | I'm not aware that we actually use this | https://api.github.com/repos/pandas-dev/pandas/pulls/30243 | 2019-12-12T21:19:44Z | 2019-12-13T13:29:30Z | 2019-12-13T13:29:30Z | 2020-01-16T00:33:18Z |
TST: Add message checks to tests/arrays/categorical/ | diff --git a/pandas/tests/arrays/categorical/test_algos.py b/pandas/tests/arrays/categorical/test_algos.py
index da142fa0bd63c..870a0a5db175e 100644
--- a/pandas/tests/arrays/categorical/test_algos.py
+++ b/pandas/tests/arrays/categorical/test_algos.py
@@ -60,17 +60,21 @@ def test_isin_cats():
@pytest.mark.paramet... | - [ ] xref #23922
- [ ] 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/30242 | 2019-12-12T21:00:04Z | 2019-12-15T21:35:54Z | 2019-12-15T21:35:54Z | 2019-12-16T00:35:03Z |
BUG: to_datetime with unit with Int64 | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 3810ab37822cc..3f944b8862417 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -796,6 +796,7 @@ Datetimelike
- Bug in :meth:`DataFrame.append` would remove the timezone-awareness of new data (:issue:`30... | - [X] closes #30050
- [X] tests added 1 / passed 1
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Test output:
```
$ py.test pandas/tests/tools/test_datetime.py
============================= test session starts ============================... | https://api.github.com/repos/pandas-dev/pandas/pulls/30241 | 2019-12-12T20:01:05Z | 2020-01-02T20:38:41Z | 2020-01-02T20:38:41Z | 2020-01-03T06:14:23Z |
REF: dont set self.data in pytables take_data | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index fe34f009165ac..18c2a761277f1 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1994,9 +1994,8 @@ def convert(self, values: np.ndarray, nan_rep, encoding: str, errors: str):
self.values = new_pd_index
def take_data(self):
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/30240 | 2019-12-12T19:24:41Z | 2019-12-12T20:42:33Z | 2019-12-12T20:42:33Z | 2019-12-12T20:56:36Z | |
API: Return BoolArray for string ops when backed by StringArray | diff --git a/doc/source/user_guide/text.rst b/doc/source/user_guide/text.rst
index 072871f89bdae..032d51c5a388f 100644
--- a/doc/source/user_guide/text.rst
+++ b/doc/source/user_guide/text.rst
@@ -74,6 +74,7 @@ These are places where the behavior of ``StringDtype`` objects differ from
l. For ``StringDtype``, :ref:`str... | ref https://github.com/pandas-dev/pandas/issues/29556 | https://api.github.com/repos/pandas-dev/pandas/pulls/30239 | 2019-12-12T17:04:50Z | 2019-12-19T17:09:21Z | 2019-12-19T17:09:21Z | 2019-12-19T17:28:38Z |
Removed parallel CI | diff --git a/ci/setup_env.sh b/ci/setup_env.sh
index a58dbe09dec01..3d79c0cfd7000 100755
--- a/ci/setup_env.sh
+++ b/ci/setup_env.sh
@@ -121,7 +121,7 @@ conda list pandas
# Make sure any error below is reported as such
echo "[Build extensions]"
-python setup.py build_ext -q -i -j4
+python setup.py build_ext -q -i
... | I think this was responsible for some of the Py36 failures showing up in CI this morning, so reverting this piece for now (can still locally use parallel build_ext) until investigated further | https://api.github.com/repos/pandas-dev/pandas/pulls/30237 | 2019-12-12T16:24:41Z | 2019-12-12T17:07:48Z | 2019-12-12T17:07:48Z | 2019-12-12T17:07:51Z |
DOC: Add MultiIndex.get_locs to generated reference | diff --git a/doc/source/reference/indexing.rst b/doc/source/reference/indexing.rst
index ec485675771c4..ab6ea5aea6c61 100644
--- a/doc/source/reference/indexing.rst
+++ b/doc/source/reference/indexing.rst
@@ -313,6 +313,7 @@ MultiIndex selecting
:toctree: api/
MultiIndex.get_loc
+ MultiIndex.get_locs
Mu... | This should fix the failing CI, see https://github.com/pandas-dev/pandas/pull/30226
CLoses #30235 | https://api.github.com/repos/pandas-dev/pandas/pulls/30234 | 2019-12-12T15:57:44Z | 2019-12-12T17:39:53Z | 2019-12-12T17:39:52Z | 2019-12-12T19:26:35Z |
CI: restore npdev build | diff --git a/ci/azure/posix.yml b/ci/azure/posix.yml
index b5ebb79b0f1ab..55f80bf644ecc 100644
--- a/ci/azure/posix.yml
+++ b/ci/azure/posix.yml
@@ -44,15 +44,13 @@ jobs:
PATTERN: "not slow and not network"
LOCALE_OVERRIDE: "zh_CN.UTF-8"
- # Disabled for NumPy object-dtype warning.
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/30233 | 2019-12-12T15:45:25Z | 2019-12-12T21:10:53Z | 2019-12-12T21:10:53Z | 2019-12-12T21:13:13Z | |
StringArray comparisions return BooleanArray | diff --git a/doc/source/user_guide/text.rst b/doc/source/user_guide/text.rst
index 072871f89bdae..ff0474dbecbb4 100644
--- a/doc/source/user_guide/text.rst
+++ b/doc/source/user_guide/text.rst
@@ -94,7 +94,11 @@ l. For ``StringDtype``, :ref:`string accessor methods<api.series.str>`
2. Some string methods, like :meth:`... | xref https://github.com/pandas-dev/pandas/issues/29556
cc @jorisvandenbossche | https://api.github.com/repos/pandas-dev/pandas/pulls/30231 | 2019-12-12T15:14:37Z | 2019-12-18T08:30:27Z | 2019-12-18T08:30:27Z | 2019-12-18T08:30:33Z |
Groupby crash on a single level | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
old mode 100644
new mode 100755
index d0dc3f58379a0..0f0d86e271061
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -824,7 +824,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrameGroupBy.rolling().quantile()` i... | - [/] closes #30208
- [/] tests added / passed
- [/] passes `black pandas`
- [/] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/30229 | 2019-12-12T14:24:54Z | 2019-12-13T17:06:38Z | 2019-12-13T17:06:37Z | 2019-12-13T17:06:45Z |
BUG: min/max on empty categorical fails | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 29060a93923eb..d4f58ec3086b0 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -667,6 +667,7 @@ Categorical
same type as if one used the :meth:`.str.` / :meth:`.dt.` on a :class:`Series` of that type.... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Currently on master, the following fails:
```python
import pandas as pd
# Empty Dataframe
df = pd.DataFrame({
"cat": pd.Categorical([], categories=list("ABC")... | https://api.github.com/repos/pandas-dev/pandas/pulls/30227 | 2019-12-12T11:35:26Z | 2019-12-17T15:52:19Z | 2019-12-17T15:52:19Z | 2019-12-18T07:15:23Z |
DOC: Documentation for MultiIndex.get_locs() is missing in v0.25 docs | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index cffd1e99b37f3..57c7cd2df81c1 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -191,6 +191,7 @@ class MultiIndex(Index):
swaplevel
reorder_levels
remove_unused_levels
+ get_locs
See Also... | Like a comment in #30056. I add "get_locs" to method
- [ ] closes #30056
- [ ] 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/30226 | 2019-12-12T11:29:20Z | 2019-12-12T11:55:03Z | 2019-12-12T11:55:02Z | 2019-12-12T15:57:30Z |
BUG: loc-indexing with a slice on a CategoricalIndex | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 29060a93923eb..8539bca231511 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -743,7 +743,7 @@ Indexing
- Fix assignment of column via `.loc` with numpy non-ns datetime type (:issue:`27395`)
- Bug in ... | - [x] followup to #29922
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
#29922 didn't handle loc-indexing using a slice on non-string CategoricalIndexes. This fixes that. E.g. we had:
```python
>>> cat_idx = pd.... | https://api.github.com/repos/pandas-dev/pandas/pulls/30225 | 2019-12-12T10:12:01Z | 2019-12-12T13:39:54Z | 2019-12-12T13:39:53Z | 2019-12-12T15:04:22Z |
CLN: changed .format to f string in construction.py, dtypes/base.py, and dtypes/cast.py | diff --git a/pandas/core/construction.py b/pandas/core/construction.py
index c7dec9e1234d2..a6c489b95952f 100644
--- a/pandas/core/construction.py
+++ b/pandas/core/construction.py
@@ -265,8 +265,8 @@ def array(
)
if lib.is_scalar(data):
- msg = "Cannot pass scalar '{}' to 'pandas.array'."
- r... | - [X] ref [#29547](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`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/30223 | 2019-12-12T08:10:25Z | 2019-12-12T13:14:12Z | 2019-12-12T13:14:11Z | 2019-12-12T13:14:15Z |
TST: tests for needs-test issues | diff --git a/pandas/tests/frame/test_axis_select_reindex.py b/pandas/tests/frame/test_axis_select_reindex.py
index 16dfae847e0eb..d6ef3a7600abb 100644
--- a/pandas/tests/frame/test_axis_select_reindex.py
+++ b/pandas/tests/frame/test_axis_select_reindex.py
@@ -929,6 +929,14 @@ def test_filter_corner(self):
res... | - [x] closes #5798
- [x] closes #6795
- [x] closes #9752
- [x] closes #11220
- [x] closes #13000
- [x] closes #15286
- [x] closes #17198
- [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/30222 | 2019-12-12T01:06:29Z | 2019-12-12T21:05:10Z | 2019-12-12T21:05:08Z | 2019-12-12T23:01:17Z |
CLN: remove keep_null_freq in ops | diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py
index f3c01efed6d43..ffa38cbc3d658 100644
--- a/pandas/core/ops/__init__.py
+++ b/pandas/core/ops/__init__.py
@@ -462,7 +462,8 @@ def wrapper(left, right):
res_name = get_op_result_name(left, right)
lvalues = extract_array(left, ... | This cleanup is viable now that integer-addition has been disallowed for dt64/td64. | https://api.github.com/repos/pandas-dev/pandas/pulls/30221 | 2019-12-12T00:11:20Z | 2019-12-12T23:08:45Z | 2019-12-12T23:08:45Z | 2019-12-12T23:36:59Z |
CLN: no need for mixin, move non-index timedelta arithmetic test | diff --git a/pandas/tests/indexes/test_frozen.py b/pandas/tests/indexes/test_frozen.py
index 40f69ee868a90..2e53e29c3fab1 100644
--- a/pandas/tests/indexes/test_frozen.py
+++ b/pandas/tests/indexes/test_frozen.py
@@ -5,14 +5,20 @@
from pandas.core.indexes.frozen import FrozenList
-class CheckImmutableMixin:
- m... | https://api.github.com/repos/pandas-dev/pandas/pulls/30220 | 2019-12-11T23:29:13Z | 2019-12-13T14:09:10Z | 2019-12-13T14:09:10Z | 2019-12-13T15:30:43Z | |
DEPR: deprecate label kwarg to lreshape, closes #29742 | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 29060a93923eb..eb642a178bb4e 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -490,6 +490,7 @@ Deprecations
- :func:`eval` keyword argument "truediv" is deprecated and will be removed in a future versi... | - [x] closes #29742
- [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/30219 | 2019-12-11T22:17:45Z | 2019-12-12T13:10:42Z | 2019-12-12T13:10:42Z | 2019-12-12T15:31:49Z |
Parallelized Build / CI | diff --git a/ci/setup_env.sh b/ci/setup_env.sh
index 3d79c0cfd7000..a58dbe09dec01 100755
--- a/ci/setup_env.sh
+++ b/ci/setup_env.sh
@@ -121,7 +121,7 @@ conda list pandas
# Make sure any error below is reported as such
echo "[Build extensions]"
-python setup.py build_ext -q -i
+python setup.py build_ext -q -i -j4
... | Modeled after https://github.com/cython/cython/pull/3187 which in 0.29.14 added parallel support
A very slight boost to timing from a clean directory (bottleneck is in the Cythonize calls in both cases)
```sh
# Master
$ time python setup.py build_ext --inplace -j 4 :
62.93s user 3.18s system 97% cpu 1:07.77 t... | https://api.github.com/repos/pandas-dev/pandas/pulls/30214 | 2019-12-11T17:39:00Z | 2019-12-12T13:42:32Z | 2019-12-12T13:42:32Z | 2019-12-19T20:06:48Z |
ENH: Support string arguments for partition_cols in pandas.to_parquet | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 29060a93923eb..4f4ace502d443 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -204,6 +204,7 @@ Other enhancements
- Roundtripping DataFrames with nullable integer or string data types to parquet
(:m... | - [x] closes #27117
- [x] tests added
- [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/30213 | 2019-12-11T17:25:45Z | 2019-12-14T07:59:16Z | 2019-12-14T07:59:15Z | 2019-12-14T07:59:26Z |
Fix IntegerArray pow for special cases | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index d0dc3f58379a0..9814f92e0739b 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -869,7 +869,8 @@ Other
- Bug in :meth:`DataFrame.append` that raised ``IndexError`` when appending with empty list (:issue:... | Split from #29964
Only https://github.com/pandas-dev/pandas/commit/9e5a69c3a32aad746ef3df29e43df352f4551f4d is relevant. The rest is https://github.com/pandas-dev/pandas/pull/30183, but pushing this up now. | https://api.github.com/repos/pandas-dev/pandas/pulls/30210 | 2019-12-11T16:11:20Z | 2019-12-14T07:55:29Z | 2019-12-14T07:55:28Z | 2019-12-14T07:55:29Z |
ENH: show percentiles in timestamp describe (#30164) | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 8133e54c934ad..905348fd6db42 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -21,6 +21,17 @@ Other enhancements
-
-
+.. ---------------------------------------------------------------------------
+... | closes https://github.com/pandas-dev/pandas/issues/30164
When creating a pandas Series of timestamps and calling `describe` on it, it will not show the percentiles of the data, even if these are specified as arguments (`s.describe(percentiles = [0.25, 0.5, 0.75])`).
This PR solves the issue by introducing a new d... | https://api.github.com/repos/pandas-dev/pandas/pulls/30209 | 2019-12-11T13:27:36Z | 2020-01-20T23:37:56Z | 2020-01-20T23:37:56Z | 2020-01-20T23:38:33Z |
PERF: Fix performance regression in infer_dtype | diff --git a/asv_bench/benchmarks/dtypes.py b/asv_bench/benchmarks/dtypes.py
index 24cc1c6f9fa70..bd17b710b108d 100644
--- a/asv_bench/benchmarks/dtypes.py
+++ b/asv_bench/benchmarks/dtypes.py
@@ -5,6 +5,7 @@
from .pandas_vb_common import (
datetime_dtypes,
extension_dtypes,
+ lib,
numeric_dtypes,
... | Fixes major performance regression in `infer_dtype` introduced in
aaaac86ee019675119cb0ae9c3fb7a2b7eef9959
- [x] closes #28814
- [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/30202 | 2019-12-11T06:34:54Z | 2019-12-23T17:02:23Z | 2019-12-23T17:02:23Z | 2019-12-23T17:02:37Z |
Cleaned Up setup.py includes | diff --git a/setup.py b/setup.py
index 618cad331c25a..01d41ea5241f2 100755
--- a/setup.py
+++ b/setup.py
@@ -545,12 +545,10 @@ def srcpath(name=None, suffix=".pyx", subdir="src"):
return pjoin("pandas", subdir, name + suffix)
-common_include = ["pandas/_libs/src/klib", "pandas/_libs/src"]
-ts_include = ["panda... | Looking to make these more explicit and remove where not required | https://api.github.com/repos/pandas-dev/pandas/pulls/30201 | 2019-12-11T04:57:52Z | 2019-12-12T21:07:17Z | 2019-12-12T21:07:17Z | 2019-12-12T21:07:21Z |
Fixed broken link | diff --git a/doc/source/user_guide/missing_data.rst b/doc/source/user_guide/missing_data.rst
index 3052ee3001681..aefb5f0d3d2df 100644
--- a/doc/source/user_guide/missing_data.rst
+++ b/doc/source/user_guide/missing_data.rst
@@ -472,7 +472,7 @@ at the new values.
.. _scipy: https://scipy.org/
.. _documentation: htt... |
- [x] Added the correct link in the missing data documentation for the interpolation guide | https://api.github.com/repos/pandas-dev/pandas/pulls/49351 | 2022-10-27T08:44:24Z | 2022-10-27T15:14:00Z | 2022-10-27T15:14:00Z | 2022-11-08T17:17:41Z |
DOC: Removed line about %S parses all the way up to nanosecond even if no | diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py
index 7791ea804a52a..22406d2871482 100644
--- a/pandas/core/tools/datetimes.py
+++ b/pandas/core/tools/datetimes.py
@@ -782,15 +782,7 @@ def to_datetime(
`strftime documentation
<https://docs.python.org/3/library/datetime.htm... | …decimal place present from docstring
- [ ] closes #49231
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
| https://api.github.com/repos/pandas-dev/pandas/pulls/49349 | 2022-10-27T04:19:36Z | 2022-10-28T13:19:13Z | 2022-10-28T13:19:13Z | 2022-10-31T05:43:47Z |
API: allow mixed-datetimes-and-ints in to_datetime, DatetimeIndex | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 2daba0752a987..b568275e7e14e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -245,6 +245,7 @@ Other API changes
- The ``other`` argument in :meth:`DataFrame.mask` and :meth:`Series.mask` now defaults ... | - [x] closes #49037 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49348 | 2022-10-26T23:35:25Z | 2022-11-17T00:53:59Z | 2022-11-17T00:53:59Z | 2022-11-17T01:39:33Z |
REF: simplify sanitize_array | diff --git a/pandas/core/construction.py b/pandas/core/construction.py
index c7db58fe8c6a3..c381496164630 100644
--- a/pandas/core/construction.py
+++ b/pandas/core/construction.py
@@ -545,8 +545,25 @@ def sanitize_array(
data = construct_1d_arraylike_from_scalar(data, len(index), dtype)
return data
... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49347 | 2022-10-26T23:12:22Z | 2022-10-27T16:23:52Z | 2022-10-27T16:23:52Z | 2022-11-01T23:06:30Z |
DEPR: to_datetime('now') match Timestamp('now') | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 78ea78ec97a3a..8ebd611468f7d 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -252,6 +252,7 @@ Removal of prior version deprecations/changes
- Removed the ``display.column_space`` option in favor of ``... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49346 | 2022-10-26T23:08:19Z | 2022-10-28T03:36:41Z | 2022-10-28T03:36:40Z | 2022-10-28T14:38:57Z |
DEPR: Enforce disallowing loc with positionals | diff --git a/asv_bench/benchmarks/io/sql.py b/asv_bench/benchmarks/io/sql.py
index fb8b7dafa0ade..c1f378e8075e9 100644
--- a/asv_bench/benchmarks/io/sql.py
+++ b/asv_bench/benchmarks/io/sql.py
@@ -38,7 +38,7 @@ def setup(self, connection):
},
index=tm.makeStringIndex(N),
)
- se... | Introduced in https://github.com/pandas-dev/pandas/pull/31840 | https://api.github.com/repos/pandas-dev/pandas/pulls/49345 | 2022-10-26T22:37:08Z | 2022-10-28T23:16:55Z | 2022-10-28T23:16:55Z | 2022-10-28T23:17:28Z |
REF: simplify maybe_infer_to_datetimelike | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index 8395d54224f1d..1768bb7507dd9 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -1985,14 +1985,13 @@ def std(
# Constructor Helpers
-def sequence_to_datetimes(data, require_iso8601: bool = False)... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49344 | 2022-10-26T22:01:52Z | 2022-10-27T16:25:58Z | 2022-10-27T16:25:58Z | 2022-10-27T18:07:29Z |
DEPR: Enforce diallowing indexing with single item slice | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 78ea78ec97a3a..252c444b2e60c 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -248,6 +248,7 @@ Removal of prior version deprecations/changes
- Removed setting Categorical._codes directly (:issue:`41429... | Introduced in #31333 | https://api.github.com/repos/pandas-dev/pandas/pulls/49343 | 2022-10-26T21:35:44Z | 2022-10-27T00:09:08Z | 2022-10-27T00:09:08Z | 2022-10-27T02:00:40Z |
DEPR: Enforce empty Series returning object dtype | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5aa753dffcf7f..021d7b095b7dc 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -264,6 +264,7 @@ Removal of prior version deprecations/changes
- Removed the ``display.column_space`` option in favor of ``... | Introduced in #29405
| https://api.github.com/repos/pandas-dev/pandas/pulls/49342 | 2022-10-26T21:19:10Z | 2022-10-31T21:46:53Z | 2022-10-31T21:46:53Z | 2022-10-31T21:46:57Z |
STYLE: fix pylint simplifiable-if-expression warnings | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index b3650173e41ef..980e8b4936c4e 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -133,7 +133,7 @@
def _cat_compare_op(op):
opname = f"__{op.__name__}__"
- fill_value = True if op is ... | Related to https://github.com/pandas-dev/pandas/issues/48855
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contr... | https://api.github.com/repos/pandas-dev/pandas/pulls/49339 | 2022-10-26T18:02:38Z | 2022-10-26T22:38:58Z | 2022-10-26T22:38:58Z | 2022-10-27T13:32:39Z |
STYLE fix: pylint "consider-using-from" | diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx
index b30e0ff8b099e..4af2caf0cdb93 100644
--- a/pandas/_libs/parsers.pyx
+++ b/pandas/_libs/parsers.pyx
@@ -74,7 +74,7 @@ from pandas._libs.util cimport (
UINT64_MAX,
)
-import pandas._libs.lib as lib
+from pandas._libs import lib
from pandas._... | Refers to one of the issues in https://github.com/pandas-dev/pandas/issues/48855
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Fixed imports triggering pylints "consider using from" message
| https://api.github.com/repos/pandas-dev/pandas/pulls/49335 | 2022-10-26T15:35:15Z | 2022-10-28T18:52:43Z | 2022-10-28T18:52:43Z | 2022-10-28T18:52:52Z |
STYLE: fix pylint consider-using-get warnings | diff --git a/pandas/io/excel/_openpyxl.py b/pandas/io/excel/_openpyxl.py
index 5572116ca29fe..85f1e7fda8daa 100644
--- a/pandas/io/excel/_openpyxl.py
+++ b/pandas/io/excel/_openpyxl.py
@@ -139,8 +139,7 @@ def _convert_to_style_kwargs(cls, style_dict: dict) -> dict[str, Serialisable]:
style_kwargs: dict[str, ... | - Related to https://github.com/pandas-dev/pandas/issues/48855
- [x] Resolves pylint: consider-using-get
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
| https://api.github.com/repos/pandas-dev/pandas/pulls/49334 | 2022-10-26T14:42:32Z | 2022-10-27T09:27:59Z | 2022-10-27T09:27:59Z | 2022-10-27T09:27:59Z |
BUG: pandas.to_datetime() does not respect exact format string with ISO8601 | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index d114d72633012..4577d20a509ce 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -644,6 +644,7 @@ Conversion
- Bug in :meth:`Series.convert_dtypes` not converting dtype to nullable dtype when :class:`Seri... | - [ ] closes #12649 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49333 | 2022-10-26T13:59:57Z | 2022-11-17T13:17:33Z | 2022-11-17T13:17:33Z | 2022-11-17T15:40:44Z |
update from_dict docstring | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d741ca21d8ca7..133a96be5457b 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1644,7 +1644,7 @@ def from_dict(
'tight' as an allowed value for the ``orient`` argument
dtype : dtype, default None
- Data t... | - [x] closes #49251 | https://api.github.com/repos/pandas-dev/pandas/pulls/49332 | 2022-10-26T11:03:22Z | 2022-10-26T15:56:21Z | 2022-10-26T15:56:21Z | 2022-10-26T15:56:28Z |
Backport PR #49322 on branch 1.5.x (DOC: Fix typo in DataFrame.rolling) | diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py
index c92c448304de2..1a71b41b0e317 100644
--- a/pandas/core/window/rolling.py
+++ b/pandas/core/window/rolling.py
@@ -994,7 +994,7 @@ class Window(BaseWindow):
step : int, default None
- ..versionadded:: 1.5.0
+ .. version... | Backport PR #49322: DOC: Fix typo in DataFrame.rolling | https://api.github.com/repos/pandas-dev/pandas/pulls/49326 | 2022-10-26T07:25:40Z | 2022-10-26T11:42:10Z | 2022-10-26T11:42:10Z | 2022-10-26T11:42:10Z |
DEPR: SparseArray.astype | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index eab8df5ccff73..73a63f77f3d83 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -271,6 +271,7 @@ Removal of prior version deprecations/changes
- Removed the deprecated method ``mad`` from pandas classes ... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49324 | 2022-10-26T03:03:25Z | 2022-11-01T18:45:10Z | 2022-11-01T18:45:10Z | 2022-11-01T19:00:52Z |
STYLE: fix pylint simplifiable-if-statement warnings | diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py
index cd1753bc8fec1..85b1a2a61012a 100644
--- a/pandas/core/dtypes/dtypes.py
+++ b/pandas/core/dtypes/dtypes.py
@@ -986,10 +986,7 @@ def is_dtype(cls, dtype: object) -> bool:
# but doesn't regard freq str like "U" as dtype.
... | Related to https://github.com/pandas-dev/pandas/issues/48855
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contr... | https://api.github.com/repos/pandas-dev/pandas/pulls/49323 | 2022-10-26T02:08:02Z | 2022-10-26T13:00:37Z | 2022-10-26T13:00:37Z | 2022-10-26T14:35:23Z |
DOC: Fix typo in DataFrame.rolling | diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py
index cde39daaacab9..4ac09a7149857 100644
--- a/pandas/core/window/rolling.py
+++ b/pandas/core/window/rolling.py
@@ -964,7 +964,7 @@ class Window(BaseWindow):
step : int, default None
- ..versionadded:: 1.5.0
+ .. version... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/49322 | 2022-10-26T01:51:33Z | 2022-10-26T07:25:14Z | 2022-10-26T07:25:14Z | 2022-10-26T07:25:26Z |
DEPR: remove inplace arg in Categorical methods | diff --git a/doc/source/user_guide/categorical.rst b/doc/source/user_guide/categorical.rst
index b5cb1d83a9f52..f3d68f4c471c1 100644
--- a/doc/source/user_guide/categorical.rst
+++ b/doc/source/user_guide/categorical.rst
@@ -353,11 +353,6 @@ Renaming categories is done by using the
In contrast to R's ``factor``,... | - [x] closes #37643
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/49321 | 2022-10-26T00:21:07Z | 2022-10-29T01:42:21Z | 2022-10-29T01:42:21Z | 2022-11-03T01:38:37Z |
(📚) update docs to mention 3.11 support | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 218d95229e93a..f41d6eebef302 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -52,7 +52,7 @@ jobs:
- [windows-2019, win_amd64]
- [windows-2019, win32]
# TODO: support PyPy?
- ... | - [x] closes #49301 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49320 | 2022-10-25T23:34:59Z | 2022-10-31T18:50:49Z | 2022-10-31T18:50:49Z | 2023-01-12T11:54:06Z |
DEPR: stop inferring dt64/td64 from strings in Series construtor | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4c85b3d5dc745..b8a7775e6066e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -232,6 +232,7 @@ Removal of prior version deprecations/changes
- Removed the ``display.column_space`` option in favor of ``... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49319 | 2022-10-25T21:54:52Z | 2022-10-26T17:00:02Z | 2022-10-26T17:00:02Z | 2022-10-26T17:01:04Z |
DEPR: Disallow groupby __getitem__ with tuple | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 8a628dbce3ca7..a10e99c13e548 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -227,6 +227,7 @@ Removal of prior version deprecations/changes
- Removed ``pandas.SparseArray`` in favor of :class:`arrays.... | Introduced in https://github.com/pandas-dev/pandas/pull/30546
| https://api.github.com/repos/pandas-dev/pandas/pulls/49317 | 2022-10-25T21:48:23Z | 2022-10-26T09:34:00Z | 2022-10-26T09:34:00Z | 2022-10-26T15:38:00Z |
DEPR: Remove SparseDataFrame/Series pickle compat | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 8a628dbce3ca7..5d830afc9f74a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -225,7 +225,7 @@ Removal of prior version deprecations/changes
- Removed ``pandas.util.testing`` in favor of ``pandas.testi... | Follow up to https://github.com/pandas-dev/pandas/pull/49218
Also some pickles generated with 0.20.3 contained these objects, so thought to remove since the pandas version is very old
| https://api.github.com/repos/pandas-dev/pandas/pulls/49316 | 2022-10-25T21:32:48Z | 2022-10-26T17:29:29Z | 2022-10-26T17:29:28Z | 2023-10-28T18:56:31Z |
DEPR: Remove sort_columns in plotting | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 8a628dbce3ca7..6725a3f466b62 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -189,6 +189,7 @@ Removal of prior version deprecations/changes
- Removed argument ``how`` from :meth:`PeriodIndex.astype`, ... | Introduced in https://github.com/pandas-dev/pandas/pull/48073
| https://api.github.com/repos/pandas-dev/pandas/pulls/49315 | 2022-10-25T21:20:31Z | 2022-10-26T09:33:09Z | 2022-10-26T09:33:09Z | 2022-10-26T15:37:32Z |
DEPR: Remove get_offset, infer_freq warn param | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4c85b3d5dc745..0bf61e7fa9b78 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -217,6 +217,8 @@ Removal of prior version deprecations/changes
- Remove :meth:`DataFrameGroupBy.pad` and :meth:`DataFrameGr... | Introduced in https://github.com/pandas-dev/pandas/pull/30340, https://github.com/pandas-dev/pandas/pull/45947 | https://api.github.com/repos/pandas-dev/pandas/pulls/49314 | 2022-10-25T21:03:25Z | 2022-10-26T09:35:07Z | 2022-10-26T09:35:07Z | 2022-10-26T15:38:31Z |
DEPR: DataFrame dtype keyword match Series behavior | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index cad0eb1012bb4..78ea78ec97a3a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -252,6 +252,8 @@ Removal of prior version deprecations/changes
- Removed the ``display.column_space`` option in favor of ``... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49313 | 2022-10-25T19:51:27Z | 2022-10-26T20:34:00Z | 2022-10-26T20:34:00Z | 2022-10-26T20:35:18Z |
DEPR: disallow subclass-specific keywords in Index.__new__ | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4c85b3d5dc745..be31a78776970 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -191,6 +191,7 @@ Removal of prior version deprecations/changes
- Removed argument ``tz`` from :meth:`Period.to_timestamp`, ... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49311 | 2022-10-25T18:05:46Z | 2022-10-26T17:42:34Z | 2022-10-26T17:42:34Z | 2022-10-26T17:53:11Z |
Backport PR #48890 on branch 1.5.x (ERR: Improve error message when assigning a complete row using 'at' m…) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index b525bf6f57e88..d3116f83d58cb 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -86,6 +86,7 @@
function as nv,
np_percentile_argname,
)
+from pandas.errors import InvalidIndexError
from pandas.util._decorators import (
Appender... | Backport PR #48890: ERR: Improve error message when assigning a complete row using 'at' m… | https://api.github.com/repos/pandas-dev/pandas/pulls/49310 | 2022-10-25T17:48:53Z | 2022-10-26T14:26:25Z | 2022-10-26T14:26:25Z | 2022-10-26T14:26:25Z |
DOC: Added pre-commit link inside the guideline for developers. | diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst
index 4a70057cf18e3..afa0d0306f1af 100644
--- a/doc/source/development/contributing_environment.rst
+++ b/doc/source/development/contributing_environment.rst
@@ -10,7 +10,7 @@ To test out code changes,... | - [x] closes #48941
Updated the contributor guidelines doc to include the redirection url for pre-commit.
Help developers to setup the environment.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49308 | 2022-10-25T16:50:47Z | 2022-10-28T13:18:20Z | 2022-10-28T13:18:19Z | 2022-10-28T13:18:20Z |
DEPR: store SparseArray directly in Index | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index a3b6d1dc90fee..89472b8defa3c 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -229,6 +229,7 @@ Removal of prior version deprecations/changes
- Removed the ``display.column_space`` option in favor of ``... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49307 | 2022-10-25T16:21:01Z | 2022-10-25T18:29:05Z | 2022-10-25T18:29:05Z | 2022-10-25T18:31:30Z |
STYLE: fix pylint consider-iterating-dictionary warnings | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index 16732f5421df7..109227633cfdd 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -332,7 +332,7 @@ def _aggregate_multiple_funcs(self, arg) -> DataFrame:
from pandas import concat
... | Related to https://github.com/pandas-dev/pandas/issues/48855
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contr... | https://api.github.com/repos/pandas-dev/pandas/pulls/49305 | 2022-10-25T15:49:50Z | 2022-10-25T20:00:12Z | 2022-10-25T20:00:12Z | 2022-10-25T21:20:50Z |
Backport PR #49286 on branch 1.5.x (TST: update exception messages for lxml tests) | diff --git a/pandas/tests/io/xml/test_to_xml.py b/pandas/tests/io/xml/test_to_xml.py
index d3247eb9dd47e..0f42c7e070c4a 100644
--- a/pandas/tests/io/xml/test_to_xml.py
+++ b/pandas/tests/io/xml/test_to_xml.py
@@ -1037,9 +1037,16 @@ def test_stylesheet_wrong_path():
def test_empty_string_stylesheet(val):
from lxml... | Backport PR #49286: TST: update exception messages for lxml tests | https://api.github.com/repos/pandas-dev/pandas/pulls/49303 | 2022-10-25T15:00:09Z | 2022-10-26T13:04:16Z | 2022-10-26T13:04:16Z | 2022-10-26T13:04:16Z |
DEPR: non-keyword arguments | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index a3b6d1dc90fee..d3eabe8fd7eb7 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -193,6 +193,19 @@ Removal of prior version deprecations/changes
- Disallow passing non-round floats to :class:`Timestamp` w... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49302 | 2022-10-25T14:40:12Z | 2022-10-26T17:46:29Z | 2022-10-26T17:46:29Z | 2022-10-26T17:49:06Z |
DEPR: inplace arg in Categorical.remove_unused_categories | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 87c19ab164c82..67b7213801ce8 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -190,6 +190,7 @@ Removal of prior version deprecations/changes
- Removed argument ``tz`` from :meth:`Period.to_timestamp`, ... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotati... | https://api.github.com/repos/pandas-dev/pandas/pulls/49300 | 2022-10-25T11:31:01Z | 2022-10-25T18:33:20Z | 2022-10-25T18:33:20Z | 2022-10-26T10:17:55Z |
CLN: Index._hidden_attrs | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 1d3efe8bedd94..4c7274c8e5cb2 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -325,13 +325,6 @@ class Index(IndexOpsMixin, PandasObject):
Index(['a', 'b', 'c'], dtype='object')
"""
- # tolist is not ... | Small cleanup. Both deprecated methods have now been removed. | https://api.github.com/repos/pandas-dev/pandas/pulls/49299 | 2022-10-25T11:29:09Z | 2022-10-27T16:37:18Z | 2022-10-27T16:37:18Z | 2022-10-30T08:18:21Z |
DEPR: Remove xlwt | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index b1ea2682b7ea7..4a0c882640eb6 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -54,7 +54,6 @@
"openpyxl": [],
"xlsxwriter": [],
"xlrd": [],
- "xlwt": [],
"odfpy": [],
"jinja2": []... | Introduced in https://github.com/pandas-dev/pandas/pull/38317
| https://api.github.com/repos/pandas-dev/pandas/pulls/49296 | 2022-10-25T00:41:59Z | 2022-10-27T16:10:05Z | 2022-10-27T16:10:05Z | 2022-10-27T16:10:09Z |
DEPR: Configuration options | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 1050eed40fbb4..e54f08dd44361 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -224,6 +224,8 @@ Removal of prior version deprecations/changes
- Enforced disallowing a string column label into ``times`` ... | Introduced in https://github.com/pandas-dev/pandas/pull/31569, https://github.com/pandas-dev/pandas/pull/47280
| https://api.github.com/repos/pandas-dev/pandas/pulls/49295 | 2022-10-24T23:56:25Z | 2022-10-25T14:04:40Z | 2022-10-25T14:04:39Z | 2022-10-25T17:45:39Z |
DEPR: Remove pandas.util.testing | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 1050eed40fbb4..e45ad840a9804 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -218,6 +218,7 @@ Removal of prior version deprecations/changes
- Removed the ``truediv`` keyword from :func:`eval` (:issue:... | https://github.com/pandas-dev/pandas/pull/30745
| https://api.github.com/repos/pandas-dev/pandas/pulls/49293 | 2022-10-24T23:42:44Z | 2022-10-25T14:08:19Z | 2022-10-25T14:08:19Z | 2022-10-25T16:58:58Z |
API: Series.astype(td64_unsupported) raise | diff --git a/doc/source/user_guide/timedeltas.rst b/doc/source/user_guide/timedeltas.rst
index 180de1df53f9e..318ca045847f4 100644
--- a/doc/source/user_guide/timedeltas.rst
+++ b/doc/source/user_guide/timedeltas.rst
@@ -236,9 +236,7 @@ Numeric reduction operation for ``timedelta64[ns]`` will return ``Timedelta`` ob
F... | - [x] closes #48979 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49290 | 2022-10-24T22:59:37Z | 2022-11-03T17:47:46Z | 2022-11-03T17:47:46Z | 2022-11-03T18:21:35Z |
DEP: Disallow abbreviations for orient in to_dict | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 060de8ff8ef09..845812572d872 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -214,6 +214,7 @@ Removal of prior version deprecations/changes
- Removed :meth:`Series.slice_shift` and :meth:`DataFrame.sl... | #32516 | https://api.github.com/repos/pandas-dev/pandas/pulls/49289 | 2022-10-24T22:06:24Z | 2022-10-25T18:35:03Z | 2022-10-25T18:35:03Z | 2022-10-31T09:47:30Z |
DEP: Enforce fname to path renaming | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 8a628dbce3ca7..0f8afe14a2369 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -229,6 +229,7 @@ Removal of prior version deprecations/changes
- Enforced disallowing a string column label into ``times`` ... | #30338
| https://api.github.com/repos/pandas-dev/pandas/pulls/49288 | 2022-10-24T22:00:21Z | 2022-10-25T21:07:43Z | 2022-10-25T21:07:43Z | 2022-10-25T21:57:55Z |
CI: Catch FutureWarnings | diff --git a/pandas/tests/frame/test_reductions.py b/pandas/tests/frame/test_reductions.py
index 744d06d6cf339..963ed24cb434b 100644
--- a/pandas/tests/frame/test_reductions.py
+++ b/pandas/tests/frame/test_reductions.py
@@ -168,7 +168,15 @@ class TestDataFrameAnalytics:
],
)
def test_stat_op_api_flo... | The warnings show up since a couple of days ago | https://api.github.com/repos/pandas-dev/pandas/pulls/49287 | 2022-10-24T21:53:50Z | 2022-10-26T09:40:18Z | 2022-10-26T09:40:18Z | 2022-10-31T09:47:51Z |
TST: update exception messages for lxml tests | diff --git a/pandas/tests/io/xml/test_to_xml.py b/pandas/tests/io/xml/test_to_xml.py
index d3247eb9dd47e..0f42c7e070c4a 100644
--- a/pandas/tests/io/xml/test_to_xml.py
+++ b/pandas/tests/io/xml/test_to_xml.py
@@ -1037,9 +1037,16 @@ def test_stylesheet_wrong_path():
def test_empty_string_stylesheet(val):
from lxml... | These have been failing locally since I upgraded lxml. | https://api.github.com/repos/pandas-dev/pandas/pulls/49286 | 2022-10-24T21:52:04Z | 2022-10-25T14:06:38Z | 2022-10-25T14:06:38Z | 2022-10-25T15:01:49Z |
API: raise on unsupported dtype instead of silently swapping | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 1c170f3d6caee..1b7b917625c0f 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -113,6 +113,48 @@ notable_bug_fix2
Backwards incompatible API changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.. _whatsnew_2... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49285 | 2022-10-24T21:07:05Z | 2022-11-08T20:04:23Z | 2022-11-08T20:04:23Z | 2022-11-08T20:35:16Z |
REGR: MultiIndex.join does not work for ea dtypes | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index e65be3bcecd76..572d6c74e767f 100644
--- a/doc/source/whatsnew/v1.5.2.rst
+++ b/doc/source/whatsnew/v1.5.2.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :meth:`Mul... | - [x] closes #49277 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49284 | 2022-10-24T20:27:06Z | 2022-11-10T20:33:22Z | 2022-11-10T20:33:22Z | 2022-11-10T20:39:52Z |
DOC: Fix doc timeout | diff --git a/doc/source/whatsnew/v0.12.0.rst b/doc/source/whatsnew/v0.12.0.rst
index 6a8008b1e7c82..091efe1b421c7 100644
--- a/doc/source/whatsnew/v0.12.0.rst
+++ b/doc/source/whatsnew/v0.12.0.rst
@@ -433,17 +433,46 @@ Bug fixes
a ``Series`` with either a single character at each index of the original
``Serie... | cc @mroeschke
The iter deprecation caused a doc timeout, sorry for not commenting earlier
| https://api.github.com/repos/pandas-dev/pandas/pulls/49283 | 2022-10-24T20:02:20Z | 2022-10-24T21:29:56Z | 2022-10-24T21:29:56Z | 2022-10-24T21:37:01Z |
DEPR: tz arg in Period.to_timestamp | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9d654439273a6..e9ce0c64c2370 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -181,6 +181,7 @@ Removal of prior version deprecations/changes
- Removed :meth:`MultiIndex.is_lexsorted` and :meth:`MultiIn... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49280 | 2022-10-24T16:37:44Z | 2022-10-24T20:29:04Z | 2022-10-24T20:29:04Z | 2022-10-24T20:32:05Z |
DOC: Updates to documentation | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index cc2bca1bcece6..eef86ce7294a7 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -490,7 +490,9 @@ class DataFrame(NDFrame, OpsMixin):
data : ndarray (structured or homogeneous), Iterable, dict, or DataFrame
Dict can contain Series,... | - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `pandas/core/frame.py` file.
- [ ] closes #48674
index constructor updates to the frame.py file to indicate index alignment.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49278 | 2022-10-24T14:45:19Z | 2022-10-26T15:49:07Z | 2022-10-26T15:49:07Z | 2022-10-26T15:49:14Z |
PERF: GH28635 Add ASV benchmark for resample after groupby | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 97f48a3a6f69f..2225cbd74d718 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -14,6 +14,7 @@
Timestamp,
date_range,
period_range,
+ to_timedelta,
)
from .pandas_vb_common impor... | - [x] closes #28635 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49274 | 2022-10-24T09:12:12Z | 2022-10-24T15:41:07Z | 2022-10-24T15:41:07Z | 2022-10-25T08:19:18Z |
DEPR: enforce deprecation of slice_shift | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 8a55c48996e84..d730356bd88cc 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -484,7 +484,6 @@ generated/pandas.DataFrame.shape,../reference/api/pandas.DataFrame.shape
generated/pandas.DataFrame.shift,../reference/api/pandas.DataFrame.shift
generated/p... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotati... | https://api.github.com/repos/pandas-dev/pandas/pulls/49271 | 2022-10-24T02:02:22Z | 2022-10-24T05:48:23Z | 2022-10-24T05:48:23Z | 2022-10-26T10:17:55Z |
TST: un-xfail clipboard test on mac | diff --git a/pandas/tests/io/test_clipboard.py b/pandas/tests/io/test_clipboard.py
index d76b731ba43f9..c47a963e0fa3c 100644
--- a/pandas/tests/io/test_clipboard.py
+++ b/pandas/tests/io/test_clipboard.py
@@ -4,6 +4,7 @@
import numpy as np
import pytest
+from pandas.compat import is_platform_mac
from pandas.errors... | - [x] closes #48721 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49270 | 2022-10-24T00:21:20Z | 2022-10-24T05:46:07Z | 2022-10-24T05:46:07Z | 2022-10-24T14:32:13Z |
DEP: Remove Series.str.__iter__ | diff --git a/doc/source/whatsnew/v0.12.0.rst b/doc/source/whatsnew/v0.12.0.rst
index c12adb2f1334f..6a8008b1e7c82 100644
--- a/doc/source/whatsnew/v0.12.0.rst
+++ b/doc/source/whatsnew/v0.12.0.rst
@@ -434,7 +434,7 @@ Bug fixes
``Series`` or ``NaN``. For example,
.. ipython:: python
- :okwarning:
+ ... | #28277
| https://api.github.com/repos/pandas-dev/pandas/pulls/49268 | 2022-10-23T22:35:41Z | 2022-10-24T18:20:38Z | 2022-10-24T18:20:37Z | 2022-10-24T21:38:09Z |
DEP: Remove truediv from eval | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 6239ddf9442e7..736beffe0418e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -194,6 +194,7 @@ Removal of prior version deprecations/changes
- Remove :meth:`DataFrameGroupBy.pad` and :meth:`DataFrameGr... | #29812 | https://api.github.com/repos/pandas-dev/pandas/pulls/49267 | 2022-10-23T22:28:30Z | 2022-10-24T16:22:10Z | 2022-10-24T16:22:09Z | 2022-10-24T21:37:58Z |
DEP: Remove index.set_value | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 6239ddf9442e7..94fccb95d9a11 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -190,7 +190,7 @@ Removal of prior version deprecations/changes
- Removed deprecated :meth:`Categorical.replace`, use :meth:... | #28621
| https://api.github.com/repos/pandas-dev/pandas/pulls/49266 | 2022-10-23T22:22:35Z | 2022-10-24T00:23:32Z | 2022-10-24T00:23:32Z | 2022-10-24T21:38:03Z |
DEPR: kind kwarg in Index.get_slice_bound, Index.slice_indexer, Index.slice_locs | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 6239ddf9442e7..3f26d09a54a76 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -180,6 +180,7 @@ Removal of prior version deprecations/changes
- Removed argument ``how`` from :meth:`PeriodIndex.astype`, ... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotati... | https://api.github.com/repos/pandas-dev/pandas/pulls/49265 | 2022-10-23T21:19:46Z | 2022-10-24T18:23:24Z | 2022-10-24T18:23:24Z | 2022-10-26T10:17:55Z |
Improve error message about duplicate columns in df.explode | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d741ca21d8ca7..52e85b86342b6 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8939,7 +8939,11 @@ def explode(
3 4 1 e
"""
if not self.columns.is_unique:
- raise ValueError("columns must be unique"... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49264 | 2022-10-23T19:30:54Z | 2022-10-26T19:06:58Z | 2022-10-26T19:06:58Z | 2022-10-26T19:23:29Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.