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 |
|---|---|---|---|---|---|---|---|
API: Series.astype(dt64_unsupported) raise | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 47b7de04d7f95..15cdd10a8271d 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -146,6 +146,7 @@ Other API changes
- :meth:`Series.unique` with dtype "timedelta64[ns]" or "datetime64[ns]" now returns :cl... | - [ ] 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/49482 | 2022-11-02T20:35:24Z | 2022-11-03T18:24:13Z | null | 2022-11-03T18:24:22Z |
DEPR: lookup, append | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index a28e20a636ce2..5bb87b8bb2663 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -28,26 +28,6 @@ def time_frame_get_numeric_data(self):
self.df._get_numeric_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/49481 | 2022-11-02T20:20:15Z | 2022-11-04T20:30:43Z | 2022-11-04T20:30:43Z | 2022-11-04T20:49:34Z |
enable pylint: consider-using-sys-exit | diff --git a/pandas/tests/io/generate_legacy_storage_files.py b/pandas/tests/io/generate_legacy_storage_files.py
index b66631a7d943e..ba1c1cbea26f9 100644
--- a/pandas/tests/io/generate_legacy_storage_files.py
+++ b/pandas/tests/io/generate_legacy_storage_files.py
@@ -327,7 +327,7 @@ def write_legacy_file():
sys.p... | Issue #48855. This PR enables pylint type "R" warning: `consider-using-sys-exit`.
- [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/49480 | 2022-11-02T19:42:06Z | 2022-11-03T16:30:45Z | 2022-11-03T16:30:45Z | 2022-11-03T16:31:02Z |
DEPR Series[td64].fillna(incompatible) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index b7995dca0a825..7a4db76a3e046 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -408,6 +408,7 @@ Removal of prior version deprecations/changes
- Changed behavior of setitem-like operations (``__setitem__... | - [ ] 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/49479 | 2022-11-02T18:47:40Z | 2022-11-04T17:20:39Z | 2022-11-04T17:20:39Z | 2022-11-04T17:24:29Z |
CLN use default_index more | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index c6b5816d12061..5d9732deeae4a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -447,6 +447,7 @@ Performance improvements
- Performance improvements to :func:`read_sas` (:issue:`47403`, :issue:`47405`, :... | - [ ] 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/49478 | 2022-11-02T16:13:52Z | 2022-11-04T20:52:03Z | 2022-11-04T20:52:03Z | 2022-11-04T20:52:09Z |
wheel CI: Always use latest minor version of cibuildwheel | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index f41d6eebef302..72079bf2c438c 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -68,7 +68,7 @@ jobs:
fetch-depth: 0
- name: Build wheels
- uses: pypa/cibuildwheel@v2.9.0
+ us... | By removing the exact minor and patch version of the cibuildwheel action, it will always use the latest minor/patch version.
This ensures the latest Python versions are always used to build wheels.
Major version updates will be handled by #49475 for GitHub Actions. | https://api.github.com/repos/pandas-dev/pandas/pulls/49477 | 2022-11-02T15:34:17Z | 2022-11-02T18:16:31Z | null | 2022-11-02T18:16:32Z |
CI maybe fix arm test | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index d2c2811759e7c..1265bb469d7eb 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -2231,8 +2231,10 @@ def maybe_convert_dtype(data, copy: bool, tz: tzinfo | None = None):
if is_float_dtype(data.d... | - [ ] closes #49468 (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/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/49476 | 2022-11-02T15:30:05Z | 2022-11-02T21:00:15Z | 2022-11-02T21:00:15Z | 2022-11-02T21:00:24Z |
Add Dependabot configuration for GitHub Actions updates | diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000000..ac27a84869a2c
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,8 @@
+version: 2
+updates:
+ # Maintain dependencies for GitHub Actions
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
... | Add a Dependabot configuration that checks once a week if the GitHub Actions are still using the latest version. If not, it opens a PR to update them.
It will actually open very few PRs, since we only have major versions specified (like v3), so only on a major v4 release it will update and open a PR.
See [Keeping... | https://api.github.com/repos/pandas-dev/pandas/pulls/49475 | 2022-11-02T15:29:06Z | 2022-11-17T00:40:42Z | null | 2022-11-17T00:40:59Z |
TST: avoid chained assignment in tests outside of specific tests on chaining | diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py
index 510d4ab702fdd..83b9098f01452 100644
--- a/pandas/tests/apply/test_frame_apply.py
+++ b/pandas/tests/apply/test_frame_apply.py
@@ -347,7 +347,7 @@ def test_apply_yield_list(float_frame):
def test_apply_reduce_Series(f... | Similarly as https://github.com/pandas-dev/pandas/pull/46980, now splitting off a part of the test changes in https://github.com/pandas-dev/pandas/pull/49467 that can be done separately
We have specific tests about chained indexing (in `pandas/tests/indexing`, eg `test_chaining_and_caching.py`), so outside those spe... | https://api.github.com/repos/pandas-dev/pandas/pulls/49474 | 2022-11-02T14:06:57Z | 2022-11-03T16:36:30Z | 2022-11-03T16:36:30Z | 2022-11-03T16:58:55Z |
DEPR: enforce passing non boolean sort in concat | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 14b4df286d989..d0a07e58a925d 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
- Enforced deprecation disallowing unit-less "datetime64" dt... | - [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/49472 | 2022-11-02T11:45:42Z | 2022-11-02T17:23:31Z | 2022-11-02T17:23:31Z | 2022-11-03T01:37:57Z |
Backport PR #49460 on branch 1.5.x ((🎁) add python 3.11 to sdist.yml) | diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml
index 14cede7bc1a39..7c20545105009 100644
--- a/.github/workflows/sdist.yml
+++ b/.github/workflows/sdist.yml
@@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.8", "3.9", "3.10"]
+ pyth... | Backport PR #49460: (🎁) add python 3.11 to sdist.yml | https://api.github.com/repos/pandas-dev/pandas/pulls/49471 | 2022-11-02T10:41:59Z | 2022-11-02T14:06:44Z | 2022-11-02T14:06:44Z | 2022-11-02T14:06:45Z |
STYLE Suppressing two instances of pylint W0703 broad-except. | diff --git a/pandas/_testing/_io.py b/pandas/_testing/_io.py
index 9ad0d13e7317e..bef2730ec630b 100644
--- a/pandas/_testing/_io.py
+++ b/pandas/_testing/_io.py
@@ -225,7 +225,7 @@ def wrapper(*args, **kwargs):
)
try:
return t(*args, **kwargs)
- except Exception as err:
+ ... | - [x] partially addresses ability to re-enable pylint checks for `broad-except` from #48855
34 instances of W0703 were found, this should address 2.
- Suppressed one warning where there is existing logic to parse returned errors
- Suppressed another warning because downstream constructors could raise any erro... | https://api.github.com/repos/pandas-dev/pandas/pulls/49470 | 2022-11-02T10:33:09Z | 2022-11-02T17:26:55Z | 2022-11-02T17:26:55Z | 2022-11-02T17:27:09Z |
BUG / CoW: also return new object in case of null slice for both rows and columsn (.(i)loc[:, :]) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 57558491e0e57..6779d47792dbc 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -405,6 +405,10 @@ Other API changes
- Files are now closed when encountering an exception in :func:`read_json` (:issue:`499... | Related to https://github.com/pandas-dev/pandas/pull/49450 (also ensuring we always return new objects from indexing operations, but for a different case).
Currently, there is the specific corner case of `df.(i)loc[:, :]` that just returns `df` (this doesn't happen for `df.(i)loc[:]` or `df[:]`, where only a single... | https://api.github.com/repos/pandas-dev/pandas/pulls/49469 | 2022-11-02T09:50:24Z | 2022-12-09T12:11:36Z | 2022-12-09T12:11:36Z | 2022-12-09T12:11:40Z |
API / CoW: detect and raise error for chained assignment under Copy-on-Write | diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index d3ad2710a0efa..6726139ed5fa4 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -73,7 +73,6 @@ jobs:
env_file: actions-pypy-38.yaml
pattern: "not slow and not network and not single_cpu"... | xref https://github.com/pandas-dev/pandas/issues/48998
One of the consequences of the copy / view rules with the Copy-on-Write proposal is that direct chained assignement (i.e. `df[..][..] = ..`, without using any intermediate variable like `sub = df[..]; sub[..] = ..`) consistently _never_ works (so not depending ... | https://api.github.com/repos/pandas-dev/pandas/pulls/49467 | 2022-11-02T09:10:10Z | 2023-01-24T15:10:26Z | 2023-01-24T15:10:26Z | 2023-01-24T15:28:53Z |
Fix memory leak with ujson module | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index b97d0f5232f1e..703d6ede42583 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -565,7 +565,7 @@ I/O
- Improved error message in :func:`read_excel` by including the offending sheet name when an exception... | - [X] closes #49222 (Replace xxxx with the GitHub issue number)
This is mostly vendored from ujson upstream
https://github.com/ultrajson/ultrajson/blob/main/python/ujson.c
Using a static PyObject the way we did before is strongly discouraged. This is more verbose but should be more correct, although interestin... | https://api.github.com/repos/pandas-dev/pandas/pulls/49466 | 2022-11-02T04:05:12Z | 2022-11-07T20:53:05Z | 2022-11-07T20:53:05Z | 2022-12-24T20:43:59Z |
STYLE: fix pylint no-else-continue warnings | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 39acc28451f54..af93a979789c1 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -105,7 +105,7 @@
if fname == "index.rst" and os.path.abspath(dirname) == source_path:
continue
- elif pattern == "-ap... | 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/49464 | 2022-11-02T02:39:47Z | 2022-11-02T18:06:34Z | 2022-11-02T18:06:34Z | 2022-11-02T18:13:28Z |
DEPR: Disallow kwargs in ExcelWriter | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 72f08ec90f5e8..c9ad86f44b0c4 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -275,6 +275,7 @@ Removal of prior version deprecations/changes
- Removed ``pandas.SparseSeries`` and ``pandas.SparseDataFra... | Introduced in https://github.com/pandas-dev/pandas/pull/40430 | https://api.github.com/repos/pandas-dev/pandas/pulls/49463 | 2022-11-02T00:41:31Z | 2022-11-02T18:07:10Z | 2022-11-02T18:07:10Z | 2022-11-02T18:07:13Z |
DEPR: Enforce melt(value_name) behavior | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 72f08ec90f5e8..e645d7ec91f68 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -280,6 +280,7 @@ Removal of prior version deprecations/changes
- Enforced disallowing ``dict`` or ``set`` objects in ``suff... | Introduced in https://github.com/pandas-dev/pandas/pull/35003 | https://api.github.com/repos/pandas-dev/pandas/pulls/49462 | 2022-11-02T00:18:15Z | 2022-11-04T16:54:54Z | 2022-11-04T16:54:54Z | 2022-11-04T16:54:57Z |
DEPR: Remove check_less_precise in asserters | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 14b4df286d989..47b7de04d7f95 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -185,6 +185,7 @@ Removal of prior version deprecations/changes
- Removed deprecated :meth:`.Styler.where` (:issue:`49397`)
... | Introduced in https://github.com/pandas-dev/pandas/pull/30562 | https://api.github.com/repos/pandas-dev/pandas/pulls/49461 | 2022-11-02T00:02:58Z | 2022-11-02T14:18:09Z | 2022-11-02T14:18:09Z | 2022-11-02T16:17:52Z |
(🎁) add python 3.11 to sdist.yml | diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml
index 14cede7bc1a39..7c20545105009 100644
--- a/.github/workflows/sdist.yml
+++ b/.github/workflows/sdist.yml
@@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.8", "3.9", "3.10"]
+ pyth... | - [ ] 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/49460 | 2022-11-01T23:32:50Z | 2022-11-02T10:41:50Z | 2022-11-02T10:41:50Z | 2022-11-02T10:42:00Z |
DEPR: inplace argument in set_axis | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 14b4df286d989..30142aa4a7f64 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -199,6 +199,7 @@ Removal of prior version deprecations/changes
- Removed ``keep_tz`` argument in :meth:`DatetimeIndex.to_se... | - [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/49459 | 2022-11-01T23:29:50Z | 2022-11-02T18:51:55Z | 2022-11-02T18:51:55Z | 2022-11-03T01:38:16Z |
DEPR: Index(ndarray[object]) inferring numeric dtype | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 92cc7b04496bc..3db616e9b8cea 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -293,6 +293,7 @@ Removal of prior version deprecations/changes
- Changed the behavior of :func:`to_datetime` with argument ... | - [ ] 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/49458 | 2022-11-01T23:12:59Z | 2022-11-02T18:15:32Z | 2022-11-02T18:15:32Z | 2022-11-02T18:53:48Z |
DEPR: Index methods, to_time, Categorical constructor | diff --git a/asv_bench/benchmarks/index_cached_properties.py b/asv_bench/benchmarks/index_cached_properties.py
index 1a88bb7eef37a..349841f695416 100644
--- a/asv_bench/benchmarks/index_cached_properties.py
+++ b/asv_bench/benchmarks/index_cached_properties.py
@@ -70,6 +70,3 @@ def time_engine(self, index_type):
... | - [ ] 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/49457 | 2022-11-01T22:15:03Z | 2022-11-03T16:14:59Z | 2022-11-03T16:14:59Z | 2022-11-03T16:30:26Z |
API: avoid silent consolidation | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 20e99d007c798..8aeb577747354 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -348,6 +348,7 @@ Other API changes
- Changed behavior of :class:`Index` constructor with sequence containing at least one `... | - [ ] 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/49456 | 2022-11-01T21:59:34Z | 2022-11-22T21:22:44Z | 2022-11-22T21:22:44Z | 2022-11-22T21:28:27Z |
DEPR: DatetimeIndex setops with mismatched tzs | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 6d1f2afab3c6d..c5fb8444680db 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -284,6 +284,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/49455 | 2022-11-01T21:41:21Z | 2022-11-02T18:25:39Z | 2022-11-02T18:25:39Z | 2022-11-02T18:25:45Z |
DEPR: __setitem__ on dt64tz with mixed timezones | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5575ae8db2776..97556a06c0ecb 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -305,12 +305,14 @@ Removal of prior version deprecations/changes
- Changed the behavior of :class:`Series` constructor, it ... | - [ ] 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/49454 | 2022-11-01T21:00:53Z | 2022-11-03T16:49:54Z | 2022-11-03T16:49:54Z | 2022-11-03T17:03:54Z |
Backport PR #49377 on branch 1.5.x (BUG: Fix passing Colormap instance to plot methods with mpl >= 3.6) | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index ff617e8bc5eef..e65be3bcecd76 100644
--- a/doc/source/whatsnew/v1.5.2.rst
+++ b/doc/source/whatsnew/v1.5.2.rst
@@ -14,6 +14,8 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`Serie... | Backport of #49377 to 1.5.x
- [x] closes #49374
- [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_co... | https://api.github.com/repos/pandas-dev/pandas/pulls/49453 | 2022-11-01T20:59:07Z | 2022-11-02T08:46:03Z | 2022-11-02T08:46:03Z | 2022-11-02T14:49:39Z |
Backport PR #48996 on branch 1.5.x (BUG: CoW - correctly track references for chained operations) | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index 4f6274b9084da..ff617e8bc5eef 100644
--- a/doc/source/whatsnew/v1.5.2.rst
+++ b/doc/source/whatsnew/v1.5.2.rst
@@ -21,7 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in the Copy-on-Write implementation losing track of views... | Backport PR #48996: BUG: CoW - correctly track references for chained operations | https://api.github.com/repos/pandas-dev/pandas/pulls/49451 | 2022-11-01T19:47:27Z | 2022-11-01T23:37:10Z | 2022-11-01T23:37:10Z | 2022-11-01T23:37:10Z |
API / CoW: always return new objects for column access (don't use item_cache) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 45e4fd9f0aabb..86afebda353a8 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -83,34 +83,40 @@ be set to ``"pyarrow"`` to return pyarrow-backed, nullable :class:`ArrowDtype` (
df_pyarrow = pd.r... | Currently, we use an item cache for DataFrame columns -> Series. Whenever we access a certain column, we cache the resulting Series in `df._item_cache`, and the next time we access a column, we first check if that column already exists in the cache and if so return that directly.
I suppose this was done for making re... | https://api.github.com/repos/pandas-dev/pandas/pulls/49450 | 2022-11-01T19:44:28Z | 2023-01-13T12:56:05Z | 2023-01-13T12:56:04Z | 2023-01-13T13:17:06Z |
enable pylint: invalid-sequence-index | diff --git a/pyproject.toml b/pyproject.toml
index e1a28bec4c14b..5bdb457ca34c6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -113,7 +113,6 @@ disable = [
"cyclic-import",
"duplicate-code",
"inconsistent-return-statements",
- "invalid-sequence-index",
"literal-comparison",
"no-else-continue",
"... | Issue #48855. This PR enables pylint type "R" warning: `invalid-sequence-index`.
- [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/49449 | 2022-11-01T16:17:00Z | 2022-11-01T19:27:17Z | null | 2022-11-01T19:27:22Z |
enable pylint: no-self-use | diff --git a/pyproject.toml b/pyproject.toml
index e1a28bec4c14b..2a4a76308c1eb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -118,7 +118,6 @@ disable = [
"no-else-continue",
"no-else-raise",
"no-else-return",
- "no-self-use",
"redefined-argument-from-local",
"too-few-public-methods",
"too-many... | Issue #48855. This PR enables pylint type "R" warning: `no-self-use`.
- [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/49448 | 2022-11-01T16:12:38Z | 2022-11-01T19:26:10Z | null | 2022-11-01T19:26:45Z |
enable pylint: literal-comparison | diff --git a/pyproject.toml b/pyproject.toml
index e1a28bec4c14b..e936ee6b55b1c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -113,12 +113,9 @@ disable = [
"cyclic-import",
"duplicate-code",
"inconsistent-return-statements",
- "invalid-sequence-index",
- "literal-comparison",
"no-else-continue",
... | Issue #48855. This PR enables pylint type "R" warning: `literal-comparison`.
- [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/49447 | 2022-11-01T16:07:14Z | 2022-11-02T09:04:50Z | 2022-11-02T09:04:50Z | 2022-11-02T09:04:50Z |
API: Series([pydate, pydatetime]) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0ab75355291f6..96c15d4626142 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -142,6 +142,7 @@ Other API changes
- The ``other`` argument in :meth:`DataFrame.mask` and :meth:`Series.mask` now defaults ... | - [x] closes #49341 (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/49446 | 2022-11-01T16:04:47Z | 2022-11-01T23:20:35Z | 2022-11-01T23:20:35Z | 2022-11-01T23:24:18Z |
STYLE: enable pylint warnings for `cell-var-from-loop` | diff --git a/pandas/core/strings/object_array.py b/pandas/core/strings/object_array.py
index d45cfa8de6f3e..21e7ede3ed386 100644
--- a/pandas/core/strings/object_array.py
+++ b/pandas/core/strings/object_array.py
@@ -1,6 +1,7 @@
from __future__ import annotations
from collections.abc import Callable # noqa: PDF001... | - [x] addresses pylint issues with `cell-var-from-loop` as part of general pylint efforts in #48855
- Found one instance of the error that was an easy lift of function outside a loop
- Refactored two other locations for error based on tips from @mroeschke
TIL `functools.partial` is a thing.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49445 | 2022-11-01T15:36:29Z | 2022-11-03T16:32:05Z | 2022-11-03T16:32:05Z | 2022-11-03T16:32:05Z |
Backport PR #49437 on branch 1.5.x (CI: maybe fix docs build) | diff --git a/doc/source/whatsnew/v0.13.0.rst b/doc/source/whatsnew/v0.13.0.rst
index 8265ad58f7ea3..44223bc694360 100644
--- a/doc/source/whatsnew/v0.13.0.rst
+++ b/doc/source/whatsnew/v0.13.0.rst
@@ -733,7 +733,7 @@ Enhancements
.. _scipy: http://www.scipy.org
.. _documentation: http://docs.scipy.org/doc/scipy/ref... | Backport PR #49437: CI: maybe fix docs build | https://api.github.com/repos/pandas-dev/pandas/pulls/49444 | 2022-11-01T14:06:57Z | 2022-11-01T15:31:22Z | 2022-11-01T15:31:22Z | 2022-11-01T15:31:22Z |
BUG: MultiIndex.get_indexer not matching nan values | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index df190a4df393c..2ddc8f478f41d 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -534,6 +534,7 @@ Missing
MultiIndex
^^^^^^^^^^
+- Bug in :meth:`MultiIndex.get_indexer` not matching ``NaN`` values (:is... | - [x] closes #37222 (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/49442 | 2022-11-01T13:36:59Z | 2022-11-07T18:09:44Z | 2022-11-07T18:09:44Z | 2022-11-10T20:42:55Z |
Backport PR #49320 on branch 1.5.x ((📚) update docs to mention 3.11 support) | diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst
index 00251854e3ffa..31eaa2367b683 100644
--- a/doc/source/getting_started/install.rst
+++ b/doc/source/getting_started/install.rst
@@ -20,7 +20,7 @@ Instructions for installing from source,
Python version support
-----------... | #49320 | https://api.github.com/repos/pandas-dev/pandas/pulls/49440 | 2022-11-01T12:59:54Z | 2022-11-01T15:11:38Z | 2022-11-01T15:11:38Z | 2022-11-01T23:33:42Z |
BUG: pivot_table with margins=T raises when results in empty df | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 6d1f2afab3c6d..6c15c056fc7ce 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -441,7 +441,7 @@ Reshaping
- Bug in :meth:`DataFrame.unstack` and :meth:`Series.unstack` unstacking wrong level of :class:`... | - [x] closes #49240
- [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/49438 | 2022-11-01T12:49:44Z | 2022-11-02T18:43:52Z | 2022-11-02T18:43:52Z | 2022-11-02T18:46:27Z |
CI: maybe fix docs build | diff --git a/doc/source/whatsnew/v0.13.0.rst b/doc/source/whatsnew/v0.13.0.rst
index 8265ad58f7ea3..44223bc694360 100644
--- a/doc/source/whatsnew/v0.13.0.rst
+++ b/doc/source/whatsnew/v0.13.0.rst
@@ -733,7 +733,7 @@ Enhancements
.. _scipy: http://www.scipy.org
.. _documentation: http://docs.scipy.org/doc/scipy/ref... | - [ ] 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/49437 | 2022-11-01T12:45:14Z | 2022-11-01T14:06:25Z | 2022-11-01T14:06:25Z | 2022-11-01T14:06:34Z |
⬆️ UPGRADE: Autoupdate pre-commit config | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8ff7526b87521..1893f57fc09c1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,16 +18,16 @@ repos:
pass_filenames: true
require_serial: false
- repo: https://github.com/python/black
- rev: 22.8.0
+ re... | <!-- START pr-commits -->
<!-- END pr-commits -->
## Base PullRequest
default branch (https://github.com/pandas-dev/pandas/tree/main)
## Command results
<details>
<summary>Details: </summary>
<details>
<summary><em>add path</em></summary>
```Shell
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_... | https://api.github.com/repos/pandas-dev/pandas/pulls/49436 | 2022-11-01T07:23:22Z | 2022-11-01T09:57:16Z | null | 2022-11-01T18:59:15Z |
BUG: Series(mixed_tz_datetime_objs, dtype=dt64tz) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0ab75355291f6..fbb59134f8f50 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -350,7 +350,7 @@ Timedelta
Timezones
^^^^^^^^^
--
+- Bug in :meth:`Series.astype` and :meth:`DataFrame.astype` with obje... | - [x] closes #32581 (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/49432 | 2022-10-31T23:23:56Z | 2022-11-03T17:04:38Z | null | 2022-11-03T17:04:49Z |
DEPR: Disallow indexing an Index with a float | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0ab75355291f6..c773a25502961 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -275,6 +275,7 @@ Removal of prior version deprecations/changes
- Enforced :meth:`Rolling.count` with ``min_periods=None`` t... | Introduced in https://github.com/pandas-dev/pandas/pull/34193 | https://api.github.com/repos/pandas-dev/pandas/pulls/49431 | 2022-10-31T23:00:29Z | 2022-11-01T01:43:41Z | null | 2022-11-01T01:43:46Z |
DEPR: Remove df.info(null_counts=) | diff --git a/doc/source/user_guide/options.rst b/doc/source/user_guide/options.rst
index c7f5d3ddf66d3..ce805f98ca528 100644
--- a/doc/source/user_guide/options.rst
+++ b/doc/source/user_guide/options.rst
@@ -249,7 +249,7 @@ displayed when calling :meth:`~pandas.DataFrame.info`.
``display.max_info_rows``: :meth:`~pand... | Introduced in https://github.com/pandas-dev/pandas/pull/37999
| https://api.github.com/repos/pandas-dev/pandas/pulls/49430 | 2022-10-31T22:42:37Z | 2022-11-01T14:49:24Z | 2022-11-01T14:49:24Z | 2022-11-01T16:46:00Z |
DEPR: Enforce disallowed merging scenarios | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 04e5154ca1a0b..d2bcf8d19651e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -273,6 +273,9 @@ Removal of prior version deprecations/changes
- Enforced disallowing a string column label into ``times`` ... | Introduced in https://github.com/pandas-dev/pandas/pull/34810, https://github.com/pandas-dev/pandas/pull/40993, https://github.com/pandas-dev/pandas/pull/40991
| https://api.github.com/repos/pandas-dev/pandas/pulls/49429 | 2022-10-31T22:16:36Z | 2022-11-01T22:39:38Z | 2022-11-01T22:39:38Z | 2022-11-01T22:39:41Z |
UPGRADE: Autoupdate pre-commit config | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8ff7526b87521..1893f57fc09c1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,16 +18,16 @@ repos:
pass_filenames: true
require_serial: false
- repo: https://github.com/python/black
- rev: 22.8.0
+ re... | closes #49406 | https://api.github.com/repos/pandas-dev/pandas/pulls/49428 | 2022-10-31T21:50:42Z | 2022-11-04T10:17:35Z | 2022-11-04T10:17:35Z | 2022-11-04T10:17:36Z |
enable pylint wildcard-import | diff --git a/pyproject.toml b/pyproject.toml
index ddecebaec7c72..4c86fa4b0589a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -185,8 +185,7 @@ disable = [
"unused-wildcard-import",
"using-constant-test",
"useless-else-on-loop",
- "useless-parent-delegation",
- "wildcard-import"
+ "useless-parent-deleg... | Issue #48855. This PR enables pylint type "W" warning: `wildcard-import`.
- [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/49427 | 2022-10-31T20:21:49Z | 2022-11-01T12:09:13Z | 2022-11-01T12:09:13Z | 2022-11-01T12:09:13Z |
CLN: assorted; silence test warnings | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 37b87f92971cc..bbb17d8a2bbcf 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -1058,12 +1058,6 @@ cdef class Tick(SingleConstructorOffset):
if util.is_timedelta64_object(other) or PyDelta... | - [ ] 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/49426 | 2022-10-31T19:59:15Z | 2022-11-02T16:36:50Z | 2022-11-02T16:36:50Z | 2022-11-02T18:56:22Z |
enable pylint unused-wildcard-import | diff --git a/pyproject.toml b/pyproject.toml
index ddecebaec7c72..d04ccaa7b9dad 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -182,7 +182,6 @@ disable = [
"unused-argument",
"unused-import",
"unused-variable",
- "unused-wildcard-import",
"using-constant-test",
"useless-else-on-loop",
"useless-p... | Issue #48855. This PR enables pylint type "W" warning: `unused-wildcard-import`.
- [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/49425 | 2022-10-31T19:58:34Z | 2022-11-01T12:10:17Z | 2022-11-01T12:10:17Z | 2022-11-01T12:10:17Z |
TST: Remove unnecessary pytest fixture scopes | diff --git a/pandas/tests/arithmetic/conftest.py b/pandas/tests/arithmetic/conftest.py
index e847f31cd3f9c..b734344d25174 100644
--- a/pandas/tests/arithmetic/conftest.py
+++ b/pandas/tests/arithmetic/conftest.py
@@ -12,9 +12,7 @@
from pandas.core.computation import expressions as expr
-@pytest.fixture(
- autou... | - [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).
I've noticed teardown of... | https://api.github.com/repos/pandas-dev/pandas/pulls/49424 | 2022-10-31T19:33:43Z | 2022-11-01T14:48:07Z | 2022-11-01T14:48:07Z | 2022-11-01T16:47:12Z |
CLN: test_nanops.py | diff --git a/pandas/tests/test_nanops.py b/pandas/tests/test_nanops.py
index 0e64181bd46a7..ae8791a774ed5 100644
--- a/pandas/tests/test_nanops.py
+++ b/pandas/tests/test_nanops.py
@@ -29,6 +29,175 @@ def skipna(request):
return request.param
+@pytest.fixture
+def disable_bottleneck(monkeypatch):
+ with mon... | - [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).
Avoid `setup_method` bei... | https://api.github.com/repos/pandas-dev/pandas/pulls/49423 | 2022-10-31T19:30:32Z | 2022-11-10T19:39:19Z | 2022-11-10T19:39:19Z | 2022-11-10T20:30:54Z |
CLN: test_expressions.py | diff --git a/pandas/tests/test_expressions.py b/pandas/tests/test_expressions.py
index e03194227f576..3980ec023960c 100644
--- a/pandas/tests/test_expressions.py
+++ b/pandas/tests/test_expressions.py
@@ -14,44 +14,88 @@
)
from pandas.core.computation import expressions as expr
-_frame = DataFrame(np.random.randn(1... | - [x] closes #40497 (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
| https://api.github.com/repos/pandas-dev/pandas/pulls/49422 | 2022-10-31T19:28:14Z | 2022-11-01T14:47:07Z | 2022-11-01T14:47:07Z | 2022-11-01T16:47:06Z |
ENH: Add masked engine | diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py
index a5bba8e5592c7..19ef536a636ea 100644
--- a/asv_bench/benchmarks/indexing.py
+++ b/asv_bench/benchmarks/indexing.py
@@ -8,6 +8,7 @@
import numpy as np
from pandas import (
+ NA,
CategoricalIndex,
DataFrame,
Index,... | - [ ] 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/49420 | 2022-10-31T18:25:55Z | 2023-01-26T19:36:19Z | 2023-01-26T19:36:19Z | 2023-01-27T00:38:20Z |
BUG: Unclear error message when merging tables and passing invalid option to validate | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index ac3a1ca95fbb4..4aa26d406015f 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -464,6 +464,7 @@ Reshaping
- Bug in :meth:`DataFrame.pivot` not respecting ``None`` as column name (:issue:`48293`)
- Bug ... | - [ ] closes #49417
- [ ] [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/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/49419 | 2022-10-31T18:22:31Z | 2022-11-03T17:33:18Z | 2022-11-03T17:33:18Z | 2022-11-03T17:33:29Z |
issue 48855 enable pylint unnecessary-pass | diff --git a/pandas/core/computation/engines.py b/pandas/core/computation/engines.py
index 833bc3143b968..a3a05a9d75c6e 100644
--- a/pandas/core/computation/engines.py
+++ b/pandas/core/computation/engines.py
@@ -102,7 +102,6 @@ def _evaluate(self):
-----
Must be implemented by subclasses.
""... | Issue #48855. This PR enables pylint type "W" warning: `unnecessary-pass`.
- [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/49418 | 2022-10-31T18:20:56Z | 2022-11-01T14:54:19Z | 2022-11-01T14:54:19Z | 2022-11-01T14:54:20Z |
API: make some Timestamp args keyword-only | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 7335dbc28a8f9..0cf47cb1ddbfe 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -131,6 +131,7 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor
Other API changes
^^^^... | - [x] closes #45307 (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/49416 | 2022-10-31T17:38:48Z | 2022-11-02T18:53:35Z | 2022-11-02T18:53:35Z | 2022-11-02T18:55:03Z |
DEPR: non-keyword args, errors arg | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index eab8df5ccff73..b97cdd5d1e298 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -198,7 +198,9 @@ Removal of prior version deprecations/changes
- Removed argument ``inplace`` from :meth:`Categorical.remov... | - [ ] 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/49415 | 2022-10-31T17:18:16Z | 2022-11-01T17:40:29Z | 2022-11-01T17:40:29Z | 2022-11-01T18:02:28Z |
Backport PR #48234 on branch 1.5.x (REGR: Fix regression RecursionError when replacing numeric scalar with None) | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index aaf00804262bb..4f6274b9084da 100644
--- a/doc/source/whatsnew/v1.5.2.rst
+++ b/doc/source/whatsnew/v1.5.2.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed regression in :meth:`... | Backport PR #48234: REGR: Fix regression RecursionError when replacing numeric scalar with None | https://api.github.com/repos/pandas-dev/pandas/pulls/49414 | 2022-10-31T17:14:00Z | 2022-10-31T19:58:04Z | 2022-10-31T19:58:04Z | 2022-10-31T19:58:05Z |
DEPR: indexing | diff --git a/ci/deps/actions-38-minimum_versions.yaml b/ci/deps/actions-38-minimum_versions.yaml
index c2f40dfbfb250..7d6f841106198 100644
--- a/ci/deps/actions-38-minimum_versions.yaml
+++ b/ci/deps/actions-38-minimum_versions.yaml
@@ -32,7 +32,7 @@ dependencies:
- gcsfs=2021.07.0
- jinja2=3.0.0
- lxml=4.6.3
... | - [ ] 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/49412 | 2022-10-31T16:40:58Z | 2022-11-02T18:56:50Z | 2022-11-02T18:56:50Z | 2022-11-03T11:54:46Z |
Fix Scorecards GitHub Action | diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml
index 73cab7ff909fc..1eedfe5b8ab51 100644
--- a/.github/workflows/scorecards.yml
+++ b/.github/workflows/scorecards.yml
@@ -29,7 +29,7 @@ jobs:
persist-credentials: false
- name: "Run analysis"
- uses: ossf/score... | Fixes sudden failure reported in https://github.com/pandas-dev/pandas/issues/48566#issuecomment-1296174657.
Bumps ossf/scorecard-action to v2.0.6, fixing an unexpected breaking change in upstream API.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49410 | 2022-10-31T13:39:17Z | 2022-10-31T17:34:19Z | 2022-10-31T17:34:19Z | 2022-11-03T17:28:51Z |
enable pylint nan-comparison | diff --git a/pandas/tests/series/test_constructors.py b/pandas/tests/series/test_constructors.py
index 11f8544b78e94..752dc4d4ad1a2 100644
--- a/pandas/tests/series/test_constructors.py
+++ b/pandas/tests/series/test_constructors.py
@@ -134,7 +134,7 @@ def test_constructor(self, datetime_series):
# Mixed type ... | Issue #48855. This PR enables pylint type "W" warning: "nan-comparison".
- [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/49407 | 2022-10-31T12:00:07Z | 2022-10-31T17:05:57Z | 2022-10-31T17:05:57Z | 2022-10-31T17:05:58Z |
BUG: dataframe construction with dict of recarrays should raise | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index aaf00804262bb..4cf5fcd85884a 100644
--- a/doc/source/whatsnew/v1.5.2.rst
+++ b/doc/source/whatsnew/v1.5.2.rst
@@ -21,7 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in :meth:`DataFrame` construction when constructing from ... | - [x] closes #49388
- [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).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/49405 | 2022-10-31T05:47:31Z | 2022-10-31T05:56:49Z | null | 2022-10-31T05:56:49Z |
BUG/PERF: Series.replace with dtype="category" | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0ab75355291f6..151889e1b6a81 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -310,6 +310,7 @@ Performance improvements
- Performance improvement for :class:`DatetimeIndex` constructor passing a list (... | - [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/49404 | 2022-10-31T01:24:01Z | 2023-01-18T20:29:40Z | 2023-01-18T20:29:40Z | 2023-01-18T22:37:08Z |
DEPR: core.index file | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 819f4e28e4b83..e059fda693bf6 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -156,6 +156,7 @@ Deprecations
Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | - [ ] 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/49403 | 2022-10-30T20:02:49Z | 2022-10-31T17:35:24Z | 2022-10-31T17:35:24Z | 2022-10-31T17:40:47Z |
DEPR: Enforce deprecation of na_sentinel | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index c76555f9ef417..b97d0f5232f1e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -441,6 +441,7 @@ Removal of prior version deprecations/changes
- Changed behavior of comparison of a :class:`Timestamp` wit... | - [ ] 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/49402 | 2022-10-30T18:12:17Z | 2022-11-07T17:34:41Z | 2022-11-07T17:34:41Z | 2022-11-08T02:33:43Z |
DEPR: Enforce deprecation of silent dropping of nuisance columns in agg_list_like | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 2225cbd74d718..0f0382eaf1584 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -310,7 +310,7 @@ def time_different_python_functions_multicol(self, df):
df.groupby(["key1", "key2"]).agg([sum,... | - [ ] 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/49401 | 2022-10-30T17:13:16Z | 2022-11-02T00:46:30Z | 2022-11-02T00:46:30Z | 2022-11-03T00:11:54Z |
enable pylint:useless-return | diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py
index fefc220403b9d..35f1ace7ec351 100644
--- a/pandas/core/arrays/_mixins.py
+++ b/pandas/core/arrays/_mixins.py
@@ -304,7 +304,6 @@ def _fill_mask_inplace(
# (for now) when self.ndim == 2, we assume axis=0
func = missing.get_... | Issue #48855. This PR enables pylint type "R" warning: "useless-return".
In one place (https://github.com/natmokval/pandas/blob/da3025ae6dec3fed73df0cf1d1bbc5ef0d816695/pandas/tests/groupby/test_apply.py#L151) the warning is disabled to match the style of surrounding functions.
- [x] All [code checks passed](htt... | https://api.github.com/repos/pandas-dev/pandas/pulls/49400 | 2022-10-30T17:03:43Z | 2022-10-31T17:44:24Z | 2022-10-31T17:44:24Z | 2022-10-31T17:50:38Z |
DEPR: remove 1.0 deprecations in 2.0 (`Styler`) | diff --git a/asv_bench/benchmarks/io/style.py b/asv_bench/benchmarks/io/style.py
index f0902c9c2c328..1ebdb08e8c727 100644
--- a/asv_bench/benchmarks/io/style.py
+++ b/asv_bench/benchmarks/io/style.py
@@ -83,11 +83,11 @@ def _style_format(self):
def _style_apply_format_hide(self):
self.st = self.df.style.... | Removed deprecations from Styler:
- `where()`
- `hide_index`
- `hide_columns`
- `render`
- `set_na_rep`
- `set_precision`
- `null_color` kwarg in `highlight_null`
| https://api.github.com/repos/pandas-dev/pandas/pulls/49397 | 2022-10-30T06:43:49Z | 2022-10-31T17:49:35Z | 2022-10-31T17:49:35Z | 2022-11-01T06:33:33Z |
BUG: Fixing DataFrame.Update crashes when NaT present | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 032bcf09244e5..1ca513e8f5e6a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -662,6 +662,7 @@ Missing
- Bug in :meth:`Index.equals` raising ``TypeError`` when :class:`Index` consists of tuples that co... | - [x] closes #16713 (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/49395 | 2022-10-30T05:48:29Z | 2022-11-15T14:19:48Z | 2022-11-15T14:19:48Z | 2022-11-15T14:19:48Z |
DEPR: Timestamp comparison with pydate | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index b1ff0ec305dc3..c875eb8c94119 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -283,6 +283,7 @@ Removal of prior version deprecations/changes
- Changed behavior of :class:`Index` constructor when passed... | - [ ] 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/49394 | 2022-10-30T03:35:52Z | 2022-10-31T21:48:19Z | 2022-10-31T21:48:19Z | 2022-10-31T22:06:37Z |
Make the conversion from dtype to subclass just a little faster | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index d8300bb29c274..590fb187e9a1f 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -106,7 +106,6 @@
is_scalar,
is_signed_integer_dtype,
is_string_dtype,
- is_unsigned_integer_dtype,
needs_i8_conve... | Calling `is_float_dtype` is a really "safe" way to take an array or a dtype and know if it is a subclass.
But I don't think you need to do that. Checking the `kind` should be enough. I get about 5-10% faster on the benchmarks shown. Mostly reducing 12us to 11.5 us. I think it is real.
- [ ] closes #xxxx (Replace ... | https://api.github.com/repos/pandas-dev/pandas/pulls/49393 | 2022-10-29T22:07:55Z | 2022-11-02T01:02:18Z | 2022-11-02T01:02:18Z | 2022-11-02T01:02:47Z |
DEPR: internals | diff --git a/ci/deps/actions-38-minimum_versions.yaml b/ci/deps/actions-38-minimum_versions.yaml
index 5540ba01a8f36..c2f40dfbfb250 100644
--- a/ci/deps/actions-38-minimum_versions.yaml
+++ b/ci/deps/actions-38-minimum_versions.yaml
@@ -25,7 +25,7 @@ dependencies:
- blosc=1.21.0
- bottleneck=1.3.2
- brotlipy=0... | - [ ] 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/49392 | 2022-10-29T19:45:02Z | 2022-11-01T22:51:56Z | 2022-11-01T22:51:56Z | 2022-11-01T23:01:46Z |
DEPR: disallow unit-less dt64 dtype in astype | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 1f245b585df48..2cad922a71a3c 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -175,6 +175,7 @@ Removal of prior version deprecations/changes
- Removed deprecated :meth:`DatetimeIndex.to_perioddelta`, U... | - [ ] 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/49391 | 2022-10-29T19:44:39Z | 2022-10-31T18:13:35Z | 2022-10-31T18:13:35Z | 2022-10-31T18:17:16Z |
enable pylint for wrong-import-order (#48855) | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 39acc28451f54..746293dfc912b 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -19,6 +19,13 @@
import jinja2
from numpydoc.docscrape import NumpyDocString
+import sphinx # isort:skip
+from sphinx.ext.autodoc import ( # isort:skip
+ AttributeD... | This PR enables pylint C-Type message "wrong-import-order". The warnings from pylint are fixed.
Issue #48855 | https://api.github.com/repos/pandas-dev/pandas/pulls/49390 | 2022-10-29T13:53:18Z | 2022-10-30T08:37:35Z | null | 2022-10-30T08:37:35Z |
ENH Guess %Y-%m format | diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx
index 469e0721f1207..1312124cfb77b 100644
--- a/pandas/_libs/tslibs/parsing.pyx
+++ b/pandas/_libs/tslibs/parsing.pyx
@@ -1011,10 +1011,11 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None:
break
... | Broken off from https://github.com/pandas-dev/pandas/pull/49024, opening it separately as it's small and self-contained | https://api.github.com/repos/pandas-dev/pandas/pulls/49389 | 2022-10-29T13:47:34Z | 2022-10-29T17:50:54Z | 2022-10-29T17:50:54Z | 2022-10-29T17:50:57Z |
DOC: add name parameter to the IntervalIndex for #48911 | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0004bc92b349e..288504c4f2b99 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -49,6 +49,7 @@ Other enhancements
- Fix ``test`` optional_extra by adding missing test package ``pytest-asyncio`` (:issue:`... | - [x] closes #48911
- [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49386 | 2022-10-29T11:03:14Z | 2022-10-31T14:35:02Z | 2022-10-31T14:35:02Z | 2023-01-12T12:30:33Z |
asv groupby.string smaller_faster | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 2225cbd74d718..f369c095e59b1 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -683,7 +683,7 @@ class String:
def setup(self, dtype, method):
cols = list("abcdefghjkl")
self.df... | xref #44450
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Decreased the size, should take significantly less time | https://api.github.com/repos/pandas-dev/pandas/pulls/49385 | 2022-10-29T07:21:39Z | 2022-10-31T18:17:11Z | 2022-10-31T18:17:11Z | 2022-11-01T05:32:22Z |
DEPR: Enforce dropping of datetime in DataFrame.mean/median with numeric_only=None | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0004bc92b349e..51ca5e32d3467 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -271,7 +271,7 @@ Removal of prior version deprecations/changes
- Changed the behavior of :class:`Series` constructor, it wi... | - [ ] 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/49384 | 2022-10-29T02:22:05Z | 2022-10-29T09:15:46Z | null | 2023-04-02T14:21:40Z |
DOC: add missing whatsnew for #49321 | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0004bc92b349e..04cbda4e762ea 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -258,6 +258,8 @@ Removal of prior version deprecations/changes
- Enforced disallowing a tuple of column labels into :meth:`... | - [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature.
Follow up to #49321 to add missing whatsnew.
cc @jbrockmendel | https://api.github.com/repos/pandas-dev/pandas/pulls/49383 | 2022-10-29T02:10:47Z | 2022-10-29T17:11:13Z | 2022-10-29T17:11:13Z | 2022-11-03T01:38:12Z |
STYLE: fix pylint unneeded-not warnings | diff --git a/pandas/core/arrays/arrow/extension_types.py b/pandas/core/arrays/arrow/extension_types.py
index c9badb2bd305b..25f597af5e3cf 100644
--- a/pandas/core/arrays/arrow/extension_types.py
+++ b/pandas/core/arrays/arrow/extension_types.py
@@ -35,6 +35,9 @@ def __eq__(self, other):
else:
retu... | 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/49382 | 2022-10-29T01:58:42Z | 2022-11-17T00:51:56Z | 2022-11-17T00:51:56Z | 2022-11-17T20:36:06Z |
DEPR: Timestamp(dt64obj, tz=tz) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 780318769f04e..d937f452b4023 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -281,6 +281,7 @@ Removal of prior version deprecations/changes
- Changed behavior of :class:`DataFrame` constructor given f... | - [ ] 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/49381 | 2022-10-28T23:18:06Z | 2022-11-01T22:53:42Z | 2022-11-01T22:53:42Z | 2022-11-01T23:00:13Z |
DEPR: Remove week & weekofyear for datetimes | diff --git a/doc/source/getting_started/intro_tutorials/09_timeseries.rst b/doc/source/getting_started/intro_tutorials/09_timeseries.rst
index 3c256081d7955..373470913c293 100644
--- a/doc/source/getting_started/intro_tutorials/09_timeseries.rst
+++ b/doc/source/getting_started/intro_tutorials/09_timeseries.rst
@@ -144... | Introduced in https://github.com/pandas-dev/pandas/pull/33595 | https://api.github.com/repos/pandas-dev/pandas/pulls/49380 | 2022-10-28T23:14:21Z | 2022-10-29T16:51:50Z | 2022-10-29T16:51:50Z | 2022-10-29T17:49:12Z |
issue 48855 enable pylint C-type "disallowed-name " warning | diff --git a/asv_bench/benchmarks/attrs_caching.py b/asv_bench/benchmarks/attrs_caching.py
index d4366c42f96aa..d515743ea4431 100644
--- a/asv_bench/benchmarks/attrs_caching.py
+++ b/asv_bench/benchmarks/attrs_caching.py
@@ -15,7 +15,7 @@ def setup(self):
self.cur_index = self.df.index
def time_get_inde... | [x] Refers to one of the issues in STYLE fix pylint issues [#48855](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).
I have enabled the C-type "disallowed-name " warning in pylint and renamed ... | https://api.github.com/repos/pandas-dev/pandas/pulls/49379 | 2022-10-28T22:48:38Z | 2022-11-02T21:07:03Z | 2022-11-02T21:07:02Z | 2022-11-02T21:19:49Z |
API/BUG: Fix is_string_dtype and make more strict | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index d71160cdbc369..b38e95c86d8cd 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -147,6 +147,7 @@ Other API changes
- The ``other`` argument in :meth:`DataFrame.mask` and :meth:`Series.mask` now defaults ... | - [x] closes #15585 (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/49378 | 2022-10-28T22:14:13Z | 2022-11-03T16:09:18Z | 2022-11-03T16:09:18Z | 2023-01-12T04:48:57Z |
BUG: Fix passing `Colormap` instance to plot methods with mpl >= 3.6 | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index 4f6274b9084da..c95f563a77708 100644
--- a/doc/source/whatsnew/v1.5.2.rst
+++ b/doc/source/whatsnew/v1.5.2.rst
@@ -14,6 +14,8 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`Serie... | - [x] closes #49374
- [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/49377 | 2022-10-28T21:57:56Z | 2022-11-01T18:38:00Z | 2022-11-01T18:38:00Z | 2023-01-12T12:40:43Z |
CLN: Remove xlrd < 2.0 code | diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py
index 0b284fd4e9750..5e0ef4d6193f2 100644
--- a/pandas/io/excel/_base.py
+++ b/pandas/io/excel/_base.py
@@ -1592,9 +1592,9 @@ def __init__(
xlrd_version = Version(get_version(xlrd))
- ext = None
if engine is None:
... | - [ ] 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
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49376 | 2022-10-28T19:56:03Z | 2022-11-02T00:42:59Z | 2022-11-02T00:42:59Z | 2022-11-03T00:27:53Z |
DEPR: Enforce deprecation of partial failure in transform for lists/dicts | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5cf5c9aaccb52..0fe77d928be65 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -259,6 +259,7 @@ Removal of prior version deprecations/changes
- Changed the behavior of :class:`Series` constructor, it wi... | From #43740
- [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/49375 | 2022-10-28T19:02:32Z | 2022-10-30T16:18:21Z | 2022-10-30T16:18:21Z | 2022-10-30T17:15:52Z |
BUG: groupby with CategoricalIndex doesn't include unobserved categories | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index c76555f9ef417..a24aae0855887 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -582,7 +582,8 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrameGroupBy.sample` raises ``ValueError`` when the object is... | - [x] closes #49354 (Replace xxxx with the GitHub issue number)
- [x] closes #49223
- [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-do... | https://api.github.com/repos/pandas-dev/pandas/pulls/49373 | 2022-10-28T17:58:43Z | 2022-11-07T18:28:24Z | 2022-11-07T18:28:24Z | 2022-11-08T02:32:02Z |
DEPR: object-dtype bool_only | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 252c444b2e60c..29436b5095776 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -257,6 +257,8 @@ Removal of prior version deprecations/changes
- Changed behavior of :class:`DataFrame` constructor when pa... | - [ ] 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/49371 | 2022-10-28T14:47:51Z | 2022-10-28T16:47:51Z | 2022-10-28T16:47:51Z | 2022-10-28T17:41:04Z |
Backport PR #49308 on branch 1.5.x (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,... | Backport PR #49308: DOC: Added pre-commit link inside the guideline for developers. | https://api.github.com/repos/pandas-dev/pandas/pulls/49370 | 2022-10-28T13:18:58Z | 2022-10-28T15:30:23Z | 2022-10-28T15:30:23Z | 2022-10-28T15:30:23Z |
STYLE: fix pylint use-maxsplit-arg warning | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 252670565ebff..39acc28451f54 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -236,7 +236,7 @@
if ".dev" in version:
switcher_version = "dev"
elif "rc" in version:
- switcher_version = version.split("rc")[0] + " (rc)"
+ switcher_version ... | 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/49369 | 2022-10-28T13:01:50Z | 2022-10-28T14:21:23Z | 2022-10-28T14:21:23Z | 2022-10-28T14:31:52Z |
DEPR: Remove datetime_is_numeric in describe | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index eab8df5ccff73..9c6faa03edf6a 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
- Removed argument ``sort_columns`` in :meth:`DataFrame.plot... | Introduced in https://github.com/pandas-dev/pandas/pull/34798 | https://api.github.com/repos/pandas-dev/pandas/pulls/49368 | 2022-10-28T05:37:42Z | 2022-10-31T19:17:59Z | 2022-10-31T19:17:59Z | 2022-10-31T19:18:03Z |
ENH: Implement io.nullable_backend config for read_csv(engine="pyarrow") | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4df2886454c0a..70018e985af19 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -28,10 +28,24 @@ Available optional dependencies (listed in order of appearance at `install guide
``[all, performance, comp... | - [x] xref #48957 (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/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/49366 | 2022-10-28T04:49:49Z | 2022-11-05T20:52:28Z | 2022-11-05T20:52:28Z | 2022-11-07T17:33:45Z |
DEPR: Remove deprecated Timestamp.freq | diff --git a/asv_bench/benchmarks/tslibs/timestamp.py b/asv_bench/benchmarks/tslibs/timestamp.py
index eda9bce89188c..d7706a39dfae5 100644
--- a/asv_bench/benchmarks/tslibs/timestamp.py
+++ b/asv_bench/benchmarks/tslibs/timestamp.py
@@ -50,62 +50,58 @@ def time_from_pd_timestamp(self):
class TimestampProperties:
-... | - [ ] 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/49365 | 2022-10-28T01:08:45Z | 2022-11-04T18:09:41Z | 2022-11-04T18:09:41Z | 2022-11-04T18:15:53Z |
DOC: Moved the sort_values doc from generic.py to frame.py | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index cdd641834d019..a9ed86140f86e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -6700,7 +6700,6 @@ def sort_values(
) -> None:
...
- # TODO: Just move the sort_values doc here.
# error: Signature of "sort_values" incompa... | Hello,
this is my first pull request to pandas and on GitHub in general.
While looking into an issue in sort_values in frame.py I saw the
TODO about moving the sort_values doc and did it.
Cheers, Felix
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pand... | https://api.github.com/repos/pandas-dev/pandas/pulls/49364 | 2022-10-28T00:48:56Z | 2022-12-15T13:37:08Z | null | 2022-12-15T13:37:08Z |
BUG: array_equivalent_object with mismatched shapes | diff --git a/pandas/_libs/lib.pyi b/pandas/_libs/lib.pyi
index 188494c7c60db..3cbc04fb2f5cd 100644
--- a/pandas/_libs/lib.pyi
+++ b/pandas/_libs/lib.pyi
@@ -230,8 +230,8 @@ def generate_bins_dt64(
hasnans: bool = ...,
) -> np.ndarray: ... # np.ndarray[np.int64, ndim=1]
def array_equivalent_object(
- left: np... | - [ ] 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/49363 | 2022-10-27T22:33:38Z | 2022-11-23T22:23:56Z | 2022-11-23T22:23:56Z | 2022-11-23T22:29:26Z |
DEPR: disallow int fill_value in shift with dt64/td64 | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 252c444b2e60c..68f38ae12c9c6 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -243,6 +243,7 @@ Removal of prior version deprecations/changes
- Removed :meth:`Series.str.__iter__` (:issue:`28277`)
- Re... | - [ ] 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/49362 | 2022-10-27T21:07:34Z | 2022-10-28T18:27:42Z | 2022-10-28T18:27:42Z | 2022-10-28T20:50:11Z |
DEPR: DTA(float_data, dtype=dt64tz) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 780318769f04e..ad2faa396035a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -282,6 +282,7 @@ Removal of prior version deprecations/changes
- Changed behavior of :class:`DataFrame` constructor when pa... | - [ ] 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/49361 | 2022-10-27T20:59:32Z | 2022-11-02T00:53:42Z | 2022-11-02T00:53:42Z | 2022-11-02T15:09:44Z |
BUG: join on column with index | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9d5c9c67224a7..c0cdd9bc9dec2 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -898,6 +898,7 @@ Reshaping
- Bug in :meth:`DataFrame.unstack` and :meth:`Series.unstack` unstacking wrong level of :class:`... | - [x] closes #28243
- [x] closes #15692
- [x] closes #17257
(below can be closed if agree on expected result)
xref #28220
xref #33232
- [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] A... | https://api.github.com/repos/pandas-dev/pandas/pulls/49360 | 2022-10-27T20:44:09Z | 2023-01-16T19:41:14Z | null | 2023-01-16T19:41:15Z |
DEPR: non-keyword arguments | diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py
index 05e12630d7540..171e4feb290cf 100644
--- a/asv_bench/benchmarks/reshape.py
+++ b/asv_bench/benchmarks/reshape.py
@@ -36,7 +36,7 @@ def setup(self):
self.df = DataFrame(data)
def time_reshape_pivot_time_series(self):
- ... | - [ ] 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/49359 | 2022-10-27T20:34:37Z | 2022-10-28T18:35:57Z | 2022-10-28T18:35:57Z | 2022-10-28T20:47:52Z |
API: stop silently ignoring parsing failures with dtype=dt64 | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 252c444b2e60c..25fe1d3d541c0 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -141,6 +141,7 @@ Other API changes
- The ``other`` argument in :meth:`DataFrame.mask` and :meth:`Series.mask` now defaults ... | - [ ] 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/49358 | 2022-10-27T19:39:08Z | 2022-10-31T18:47:34Z | 2022-10-31T18:47:34Z | 2022-10-31T18:56:24Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.