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 |
|---|---|---|---|---|---|---|---|
ENH: add new feature of yyyyww for .isocalendar() to resolve issue #49353 | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index f797222753183..fbe6c8ed94093 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -1337,7 +1337,7 @@ def isocalendar(self) -> DataFrame:
Returns
-------
DataFrame
- ... | - [x] closes #49353 (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/... | https://api.github.com/repos/pandas-dev/pandas/pulls/49355 | 2022-10-27T13:50:16Z | 2022-10-31T17:03:42Z | null | 2022-10-31T21:42:16Z |
Enh period with yyyy uu (week of the year) #48947 | diff --git a/pandas/_libs/tslibs/ccalendar.pyi b/pandas/_libs/tslibs/ccalendar.pyi
index 993f18a61d74a..cba75c3826c08 100644
--- a/pandas/_libs/tslibs/ccalendar.pyi
+++ b/pandas/_libs/tslibs/ccalendar.pyi
@@ -10,3 +10,9 @@ def get_day_of_year(year: int, month: int, day: int) -> int: ...
def get_iso_calendar(year: int,... | test file for isocalendar() yearandweek attribute.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49353 | 2022-10-27T11:37:23Z | 2022-10-27T12:18:11Z | null | 2022-10-27T12:31:37Z |
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 |
ENH: Format `datetime.datetime` and `pd.Timestamp` objects in `pd.to_datetime` | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4c85b3d5dc745..337d1df20488a 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 #49298
- [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/49338 | 2022-10-26T16:27:00Z | 2022-11-30T17:42:22Z | null | 2022-11-30T17:42:36Z |
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 |
Force new mamba | diff --git a/.github/actions/setup-conda/action.yml b/.github/actions/setup-conda/action.yml
index 002d0020c2df1..fce0cf4054ba2 100644
--- a/.github/actions/setup-conda/action.yml
+++ b/.github/actions/setup-conda/action.yml
@@ -32,5 +32,5 @@ runs:
channels: conda-forge
channel-priority: ${{ runner.os... | - [ ] 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/49331 | 2022-10-26T09:52:43Z | 2022-10-26T11:41:34Z | null | 2022-10-31T09:47:46Z |
Check ci | diff --git a/.github/actions/setup-conda/action.yml b/.github/actions/setup-conda/action.yml
index 002d0020c2df1..fce0cf4054ba2 100644
--- a/.github/actions/setup-conda/action.yml
+++ b/.github/actions/setup-conda/action.yml
@@ -32,5 +32,5 @@ runs:
channels: conda-forge
channel-priority: ${{ runner.os... | - [ ] 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/49330 | 2022-10-26T09:32:29Z | 2022-10-26T11:44:56Z | null | 2022-10-31T09:47:56Z |
BUG: excel read from file | diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py
index 92a0326eac4e9..cb8b125fd3bf5 100644
--- a/pandas/io/excel/_base.py
+++ b/pandas/io/excel/_base.py
@@ -1,4 +1,4 @@
-from __future__ import annotations
+-from __future__ import annotations
import abc
import datetime
@@ -93,6 +93,10 @@
By file... | - [x] closes #48946 (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/49329 | 2022-10-26T08:32:54Z | 2022-10-26T16:00:54Z | null | 2022-10-26T16:00:54Z |
ENH: anti joins | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index fdbf325dcf997..85c837e6b6f31 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -272,6 +272,9 @@ def time_merge_dataframe_empty_left(self, sort):
def time_merge_dataframes_cross(self,... | - [x] closes #42916 (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/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/49328 | 2022-10-26T08:22:17Z | 2023-02-22T13:41:50Z | null | 2023-02-22T13:41:50Z |
DOC: Updates to documentation for Series functions | diff --git a/pandas/core/base.py b/pandas/core/base.py
index 4b147dc619692..be9e65d40cd8b 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -317,6 +317,21 @@ def transpose(self: _T, *args, **kwargs) -> _T:
def shape(self) -> Shape:
"""
Return a tuple of the shape of the underlying dat... | - [ ] closes #15580
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
I wanted to update some functions that are missing documentation in Series, and ended up updating `Series.shape`, `Series.size`, `Series.dtype`, `Series.dtypes`, and `Seri... | https://api.github.com/repos/pandas-dev/pandas/pulls/49327 | 2022-10-26T08:19:59Z | 2022-12-06T17:46:38Z | null | 2022-12-06T17:46:39Z |
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 |
BUG: Consistent result ordering for groupbys with categorical groupings | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0f8afe14a2369..a711e31c204ca 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -277,6 +277,7 @@ Categorical
^^^^^^^^^^^
- Bug in :meth:`Categorical.set_categories` losing dtype information (:issue:`488... | - [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
- [ ] 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/49318 | 2022-10-25T21:52:20Z | 2022-10-29T10:24:16Z | null | 2022-10-29T10:24:16Z |
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 |
Removed unnecessary depends arguments in setup.py | diff --git a/setup.py b/setup.py
index 05d4407c7e959..49b2f013e3348 100755
--- a/setup.py
+++ b/setup.py
@@ -53,25 +53,16 @@ def is_platform_mac():
_CYTHON_INSTALLED = False
cythonize = lambda x, *args, **kwargs: x # dummy func
-
-_pxi_dep_template = {
- "algos": ["_libs/algos_common_helper.pxi.in", "_l... | The point of a dependency in build systems is to declare that target X needs to be built before target Y. We use the depends keyword a lot, but list source files as the dependency. This is best case a no-op as we don't build source files, in the worst case these add complexity to the current and future build systems
| https://api.github.com/repos/pandas-dev/pandas/pulls/49312 | 2022-10-25T19:46:49Z | 2022-12-06T21:56:42Z | null | 2023-04-12T20:16:57Z |
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 |
BUG: Fix .loc/.iloc/.at/iat cast unexpectedly with object dtype | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 46428dcf462ea..121e07957b72a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -1062,8 +1062,8 @@ Indexing
- Bug in :meth:`Series.rename` with :class:`MultiIndex` losing extension array dtypes (:issue:`... | - [ ] closes #48933 (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/49306 | 2022-10-25T16:11:20Z | 2023-04-07T17:54:20Z | null | 2023-04-07T17:54:20Z |
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 |
DOC: Removed parenthesis from .loc,.iloc,.at,.iat | diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst
index 6fc53fe09d791..e84762571e3cb 100644
--- a/doc/source/user_guide/10min.rst
+++ b/doc/source/user_guide/10min.rst
@@ -167,8 +167,8 @@ Selection
While standard Python / NumPy expressions for selecting and setting are
intuitive a... | - [ ] closes #49254
- Removed parenthesis from **.loc**, **.iloc**, **.at**, **.iat** under `Selection`, `Selection by Label` and `Selection by Position`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49272 | 2022-10-24T05:15:46Z | 2022-11-22T19:13:55Z | null | 2022-11-26T15:08:52Z |
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 |
TST: repr of Arrow-backed object (GH #48238) | diff --git a/pandas/tests/extension/test_arrow.py b/pandas/tests/extension/test_arrow.py
index 8979c145a223c..3706d90a0636a 100644
--- a/pandas/tests/extension/test_arrow.py
+++ b/pandas/tests/extension/test_arrow.py
@@ -1364,3 +1364,10 @@ def test_pickle_roundtrip(data):
result_sliced = pickle.loads(sliced_pick... | - [x] closes #48238
- [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).
- [N... | https://api.github.com/repos/pandas-dev/pandas/pulls/49269 | 2022-10-23T23:25:29Z | 2022-10-24T20:18:29Z | null | 2022-10-24T20:18:30Z |
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 |
DOC: Done the changes as specified in issue#49254 | diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst
index 6fc53fe09d791..e84762571e3cb 100644
--- a/doc/source/user_guide/10min.rst
+++ b/doc/source/user_guide/10min.rst
@@ -167,8 +167,8 @@ Selection
While standard Python / NumPy expressions for selecting and setting are
intuitive a... | - [ ] closes #49254
| https://api.github.com/repos/pandas-dev/pandas/pulls/49263 | 2022-10-23T13:58:13Z | 2022-10-24T04:49:28Z | null | 2022-11-26T15:09:06Z |
BUG: groupby.nth should be a filter | diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst
index dae42dd4f1118..d8a36b1711b6e 100644
--- a/doc/source/user_guide/groupby.rst
+++ b/doc/source/user_guide/groupby.rst
@@ -1354,9 +1354,14 @@ This shows the first or last n rows from each group.
Taking the nth row of each group
~~~~... | - [x] closes #13666 (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/49262 | 2022-10-23T12:54:15Z | 2022-11-11T01:39:41Z | 2022-11-11T01:39:41Z | 2022-11-11T13:00:00Z |
ENH: Add pre-commit check for setup.cfg options.extras_require | diff --git a/ci/deps/actions-38-minimum_versions.yaml b/ci/deps/actions-38-minimum_versions.yaml
index 7cf6d777ae607..8e0ccd77b19a6 100644
--- a/ci/deps/actions-38-minimum_versions.yaml
+++ b/ci/deps/actions-38-minimum_versions.yaml
@@ -36,6 +36,7 @@ dependencies:
- numba=0.53.1
- numexpr=2.7.3
- odfpy=1.4.1
+... | Augmented `scripts/validate_min_versions_in_sync.py` to ensure that minimum versions are aligned in other areas where minimum versions are specified (`setup.cfg`).
- [x] closes #48949(Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/49261 | 2022-10-23T12:17:43Z | 2022-11-07T19:38:43Z | 2022-11-07T19:38:43Z | 2022-11-07T19:54:18Z |
DEPR: enforce deprecation MultiIndex.is_lexsorted and MultiIndex.lexsort_depth | diff --git a/doc/source/whatsnew/v0.15.2.rst b/doc/source/whatsnew/v0.15.2.rst
index 2dae76dd6b461..fd4946c9765e1 100644
--- a/doc/source/whatsnew/v0.15.2.rst
+++ b/doc/source/whatsnew/v0.15.2.rst
@@ -25,6 +25,7 @@ API changes
a lexically sorted index will have a better performance. (:issue:`2646`)
.. ipython::... | - [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature.
Deprecation introduced in #38701 | https://api.github.com/repos/pandas-dev/pandas/pulls/49260 | 2022-10-23T12:01:40Z | 2022-10-23T22:15:40Z | 2022-10-23T22:15:40Z | 2022-10-26T10:17:55Z |
DEPR: disallow non-keyword arguments | diff --git a/asv_bench/benchmarks/io/stata.py b/asv_bench/benchmarks/io/stata.py
index 4ae2745af8bff..1ff929d6dbdea 100644
--- a/asv_bench/benchmarks/io/stata.py
+++ b/asv_bench/benchmarks/io/stata.py
@@ -38,13 +38,13 @@ def setup(self, convert_dates):
)
self.df["float32_"] = np.array(np.random.randn(... | - [ ] 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/49259 | 2022-10-23T03:22:02Z | 2022-10-24T20:14:26Z | 2022-10-24T20:14:26Z | 2022-10-24T20:22:27Z |
DEPR: drop setting categorical codes | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0880b8e2cac12..0d6660b4a27f1 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -198,6 +198,7 @@ Removal of prior version deprecations/changes
- Removed ``pandas.SparseArray`` in favor of :class:`arrays.... | - [ ] 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/49258 | 2022-10-23T02:08:55Z | 2022-10-24T20:30:14Z | 2022-10-24T20:30:14Z | 2022-10-25T05:03:54Z |
DEPR: remove pickle support for pickles created with python2.7 | diff --git a/pandas/compat/pickle_compat.py b/pandas/compat/pickle_compat.py
index c233e3d8a4892..6e85419e9bd2d 100644
--- a/pandas/compat/pickle_compat.py
+++ b/pandas/compat/pickle_compat.py
@@ -117,7 +117,6 @@ def __new__(cls) -> DataFrame: # type: ignore[misc]
# 15477
("pandas.core.base", "FrozenNDArray"... | - [ ] 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/49257 | 2022-10-23T01:23:59Z | 2022-10-23T01:37:09Z | null | 2022-10-23T01:37:09Z |
DEPR: enforce deprecation of Categorical.replace | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0880b8e2cac12..46fbb41a86d2f 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -187,6 +187,7 @@ Removal of prior version deprecations/changes
- Removed :attr:`Rolling.win_type` returning ``"freq"`` (:is... | - [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature.
Deprecation added in #44929 | https://api.github.com/repos/pandas-dev/pandas/pulls/49255 | 2022-10-22T22:55:14Z | 2022-10-23T17:27:42Z | 2022-10-23T17:27:42Z | 2022-10-26T10:17:55Z |
DEPR: is_categorical | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 8a55c48996e84..35bf56b9b824c 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -101,7 +101,6 @@ generated/pandas.api.types.infer_dtype,../reference/api/pandas.api.types.infer_d
generated/pandas.api.types.is_bool_dtype,../reference/api/pandas.api.types.is... | - [ ] 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/49253 | 2022-10-22T22:46:33Z | 2022-10-24T05:49:05Z | 2022-10-24T05:49:05Z | 2022-10-24T14:31:51Z |
DEPR: Enforce deprecation of mad and tshift | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 3007d2d1e126c..97f48a3a6f69f 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -35,7 +35,6 @@
"pct_change",
"min",
"var",
- "mad",
"describe",
"std... | - [ ] 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/49252 | 2022-10-22T21:52:25Z | 2022-10-23T17:31:33Z | 2022-10-23T17:31:33Z | 2022-10-23T18:11:58Z |
DEPR: DataFrame.median/mean with numeric_only=None and dt64 columns | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index e281e250d608e..87b1e371ab4d8 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 :attr:`Rolling.is_datetimelike` (:issue:`38963`)
... | - [ ] 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/49250 | 2022-10-22T18:42:16Z | 2022-10-30T12:21:10Z | 2022-10-30T12:21:10Z | 2022-10-30T16:19:50Z |
read_json engine keyword and pyarrow integration | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 1c3cdd9f4cffd..d0cd5c300248b 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -2069,6 +2069,8 @@ is ``None``. To explicitly force ``Series`` parsing, pass ``typ=series``
* ``lines`` : reads file as one json ob... | - [ ] closes #48893
- [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/49249 | 2022-10-22T18:21:12Z | 2023-02-10T12:26:44Z | 2023-02-10T12:26:44Z | 2023-02-10T14:50:15Z |
BUG: UndefinedVariableError in DataFrame.query with classname | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index 6397016d827f2..23f8fc593c700 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:`Dat... | - [x] closes #48694
- [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/49248 | 2022-10-22T08:01:39Z | 2023-01-16T19:38:10Z | null | 2023-01-16T19:42:06Z |
DEPR: to_native_types, set_value, iteritems, union_many, to_perioddelta | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 8a55c48996e84..5cf310e062dc3 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -399,10 +399,8 @@ generated/pandas.DataFrame.isna,../reference/api/pandas.DataFrame.isna
generated/pandas.DataFrame.isnull,../reference/api/pandas.DataFrame.isnull
generated/... | - [ ] 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/49244 | 2022-10-22T01:26:23Z | 2022-10-24T20:42:07Z | 2022-10-24T20:42:07Z | 2022-10-24T20:47:39Z |
STYLE: fix pylint consider-using-dict-items warnings | diff --git a/pandas/conftest.py b/pandas/conftest.py
index 074b6068a4518..0282278183dd3 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -653,7 +653,7 @@ def index(request):
@pytest.fixture(
params=[
- key for key in indices_dict if not isinstance(indices_dict[key], MultiIndex)
+ key fo... | 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/49243 | 2022-10-22T00:22:36Z | 2022-10-24T20:44:38Z | 2022-10-24T20:44:38Z | 2022-10-25T11:28:03Z |
DEPR: Series(dt64_naive, dtype=dt64tz) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 1050eed40fbb4..be4a7f6390e37 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -165,6 +165,7 @@ Removal of prior version deprecations/changes
- Removed deprecated :meth:`Index.is_mixed`, check ``index.i... | - [ ] 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/49242 | 2022-10-21T23:42:51Z | 2022-10-25T18:37:32Z | 2022-10-25T18:37:31Z | 2022-10-25T19:28:49Z |
CI/TST: pip extras install | diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml
new file mode 100644
index 0000000000000..762cb509be136
--- /dev/null
+++ b/.github/workflows/package-checks.yml
@@ -0,0 +1,56 @@
+name: Package Checks
+
+on:
+ push:
+ branches:
+ - main
+ - 1.5.x
+ pull_request:
+ ... | - [x] closes #48942 (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
`(c-)blosc` is only available on conda, so removing it from the pip extras
https:/... | https://api.github.com/repos/pandas-dev/pandas/pulls/49241 | 2022-10-21T22:51:16Z | 2022-11-16T22:19:13Z | 2022-11-16T22:19:13Z | 2022-11-18T20:23:19Z |
DEPR: categorical.mode | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index 164dc74836508..48371b7f14b28 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -2353,29 +2353,6 @@ def max(self, *, skipna: bool = True, **kwargs):
pointer = self._codes.max()
... | - [ ] 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/49238 | 2022-10-21T20:28:15Z | 2022-10-22T11:42:11Z | 2022-10-22T11:42:11Z | 2022-10-22T21:45:22Z |
STYLE: fix pylint no-else-break warnings | diff --git a/pandas/io/parsers/python_parser.py b/pandas/io/parsers/python_parser.py
index daf89319a4520..ddd73375f8871 100644
--- a/pandas/io/parsers/python_parser.py
+++ b/pandas/io/parsers/python_parser.py
@@ -704,7 +704,7 @@ def _next_line(self) -> list[Scalar]:
self._is_line_empty(self.dat... | 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/49237 | 2022-10-21T19:00:45Z | 2022-10-21T23:31:29Z | 2022-10-21T23:31:29Z | 2022-10-21T23:31:53Z |
DEPR: enforce DatetimeArray.astype deprecations | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4ac737bb6b29a..6f3602b1d0202 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -148,6 +148,8 @@ Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Enforced de... | - [ ] 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/49235 | 2022-10-21T16:10:18Z | 2022-10-21T20:13:34Z | 2022-10-21T20:13:34Z | 2022-10-21T20:17:24Z |
DEPR: PeriodIndex.astype how keyword | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4ac737bb6b29a..74a50f435de5d 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -156,6 +156,7 @@ Removal of prior version deprecations/changes
- Remove arguments ``names`` and ``dtype`` from :meth:`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/49234 | 2022-10-21T15:01:21Z | 2022-10-21T20:09:58Z | 2022-10-21T20:09:58Z | 2022-10-21T20:16:57Z |
BUG: pandas.to_datetime() does not respect exact format string with ISO8601 | diff --git a/pandas/_libs/tslib.pyi b/pandas/_libs/tslib.pyi
index 8fec9ecf27f30..c40cb380058c9 100644
--- a/pandas/_libs/tslib.pyi
+++ b/pandas/_libs/tslib.pyi
@@ -25,6 +25,8 @@ def array_to_datetime(
utc: bool = ...,
require_iso8601: bool = ...,
allow_mixed: bool = ...,
+ format: str | None = ...,
+... | - [ ] 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/49232 | 2022-10-21T14:36:10Z | 2022-10-26T14:01:49Z | null | 2022-10-26T14:01:49Z |
CLN: use f-strings where possible | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index ff0b3b2fb651d..774503af4639c 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -89,7 +89,7 @@ def setup(self):
)
for col in ("int", "float", "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
- No new tests, behavior hasn't changed (except possibly become a bit faster)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/de... | https://api.github.com/repos/pandas-dev/pandas/pulls/49229 | 2022-10-21T13:28:04Z | 2022-11-02T08:47:15Z | null | 2022-11-02T13:57:42Z |
CLN/FIX/PERF: Don't buffer entire Stata file into memory | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 91cd3335d9db6..3c3a655626bb6 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -6033,6 +6033,14 @@ values will have ``object`` data type.
``int64`` for all integer types and ``float64`` for floating point da... | Fixes #48700
Closes #48922 (supersedes it)
Refs pandas-dev/pandas#9245
Refs pandas-dev/pandas#37639
Regressed in 6d1541e1782a7b94797d5432922e64a97934cfa4
- [x] closes #48700
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a... | https://api.github.com/repos/pandas-dev/pandas/pulls/49228 | 2022-10-21T12:50:16Z | 2023-02-23T22:09:28Z | 2023-02-23T22:09:28Z | 2023-02-24T19:25:49Z |
Added a New Page in Cheatsheet with some extra functions. | diff --git a/Pandas_CheatSheet.1.pdf b/Pandas_CheatSheet.1.pdf
new file mode 100644
index 0000000000000..9333215f4f0c6
Binary files /dev/null and b/Pandas_CheatSheet.1.pdf differ
diff --git a/Pandas_CheatSheet.pdf b/Pandas_CheatSheet.pdf
new file mode 100644
index 0000000000000..84d78d90d400b
Binary files /dev/null and... | -Added a new page that includes:
- IO Tools
- Visualization
- Data transform functions
- Apply functions.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49227 | 2022-10-21T07:16:54Z | 2022-11-29T03:01:59Z | null | 2022-11-29T03:01:59Z |
Improve the register_index_accessor Documentation | diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py
index 87d9c39b0407c..d391f7ed6d5cc 100644
--- a/pandas/core/accessor.py
+++ b/pandas/core/accessor.py
@@ -291,8 +291,65 @@ def register_series_accessor(name):
return _register_accessor(name, Series)
-@doc(_register_accessor, klass="Index")
def reg... | - [x] closes #49202
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added... | https://api.github.com/repos/pandas-dev/pandas/pulls/49226 | 2022-10-21T05:35:42Z | 2023-01-12T23:55:37Z | null | 2023-01-12T23:55:38Z |
DOC: Fixing typos in our community page | diff --git a/doc/source/development/community.rst b/doc/source/development/community.rst
index 59689a2cf51d1..c321c9b0cccf6 100644
--- a/doc/source/development/community.rst
+++ b/doc/source/development/community.rst
@@ -77,10 +77,10 @@ Any community member can open issues to:
- Ask questions, e.g. "I noticed the beha... | @Dr-Irv do you mind having a look please?
| https://api.github.com/repos/pandas-dev/pandas/pulls/49225 | 2022-10-21T04:41:31Z | 2022-10-21T13:42:05Z | 2022-10-21T13:42:05Z | 2022-10-21T13:42:06Z |
ADM/WEB: Update CoC committee members | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index 16e1357d405a0..7f581a6754642 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -102,11 +102,10 @@ maintainers:
- charlesdong1991
- dsaxton
coc:
- - Safia Abdalla
+ - Bijay Regmi
+ - Wuraola Oyewusi
+ - Мария Чакчурина
- Tom... | Updating members of the CoC committee.
CC: @regmibijay @WuraolaOyewusi @chakchurina
The list will appear in our [Team](https://pandas.pydata.org/about/team.html) page. We can also add to the config file the github usernames, and instead of just listing the names, we can list the names with links like the inactive... | https://api.github.com/repos/pandas-dev/pandas/pulls/49224 | 2022-10-21T04:08:55Z | 2022-11-15T04:55:37Z | 2022-11-15T04:55:37Z | 2022-11-15T04:55:37Z |
DEPR: is_copy arg from take | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4ac737bb6b29a..01745ab0736d6 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -157,6 +157,7 @@ Removal of prior version deprecations/changes
- Remove argument ``inplace`` from :meth:`MultiIndex.set_lev... | - [x] Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst` file if fixing a bug or adding a new feature.
Deprecation introduced in #30615. | https://api.github.com/repos/pandas-dev/pandas/pulls/49221 | 2022-10-21T00:01:51Z | 2022-10-21T20:16:51Z | 2022-10-21T20:16:51Z | 2022-10-26T10:18:05Z |
DEPR: Categorical, Index | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 6a79ed5958089..42f91a8b9884f 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -637,7 +637,6 @@ generated/pandas.Index.argmax,../reference/api/pandas.Index.argmax
generated/pandas.Index.argmin,../reference/api/pandas.Index.argmin
generated/pandas.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/49220 | 2022-10-20T23:34:49Z | 2022-10-21T20:19:42Z | 2022-10-21T20:19:42Z | 2022-10-21T20:27:00Z |
Fix code triggering superfluous-parens pylint messages | diff --git a/pandas/core/computation/pytables.py b/pandas/core/computation/pytables.py
index f0f3e7f19db50..bea3da589d86e 100644
--- a/pandas/core/computation/pytables.py
+++ b/pandas/core/computation/pytables.py
@@ -470,7 +470,7 @@ def visit_Attribute(self, node, **kwargs):
# try to get the value to see i... | - [ ] Contributes to #48855
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
There were several locations where superfluous parentheses were being used to clarify the operator precedence in potentially ambiguous situations. Parentheses were... | https://api.github.com/repos/pandas-dev/pandas/pulls/49219 | 2022-10-20T22:42:11Z | 2022-10-24T20:51:20Z | 2022-10-24T20:51:20Z | 2022-10-24T20:51:27Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.