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 |
|---|---|---|---|---|---|---|---|
DEPR: replace without passing value | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 15e85d0f90c5e..4debd41de213f 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -207,6 +207,7 @@ Removal of prior version deprecations/changes
- :meth:`SeriesGroupBy.agg` no longer pins the name of the g... | - [ ] 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/58040 | 2024-03-28T02:03:54Z | 2024-04-01T18:46:11Z | 2024-04-01T18:46:11Z | 2024-04-01T20:37:05Z |
DEPR: replace method/limit keywords | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 2286a75f5d0c5..26dd6f83ad44a 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -207,6 +207,7 @@ Removal of prior version deprecations/changes
- All arguments except ``name`` in :meth:`Index.rename` are ... | - [ ] 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/58039 | 2024-03-27T23:03:44Z | 2024-03-28T00:04:36Z | 2024-03-28T00:04:36Z | 2024-03-28T00:14:45Z |
CLN: remove axis keyword from Block.pad_or_backill | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index a7545fb8d98de..0a50ec2d4c5ce 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -6727,12 +6727,10 @@ def _pad_or_backfill(
axis = self._get_axis_number(axis)
method = clean_fill_method(method)
- if not self._m... | - [ ] 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/58038 | 2024-03-27T22:10:48Z | 2024-03-28T00:06:19Z | 2024-03-28T00:06:19Z | 2024-03-28T00:14:19Z |
Backport PR #57758 on branch 2.2.x (BUG: DataFrame Interchange Protocol errors on Boolean columns) | diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst
index 54084abab7817..2a48403d9a318 100644
--- a/doc/source/whatsnew/v2.2.2.rst
+++ b/doc/source/whatsnew/v2.2.2.rst
@@ -22,6 +22,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- :meth:`DataFrame.__dataframe__` was producing incorrect data buf... | Backport PR #57758: BUG: DataFrame Interchange Protocol errors on Boolean columns | https://api.github.com/repos/pandas-dev/pandas/pulls/58036 | 2024-03-27T17:48:23Z | 2024-03-27T19:02:51Z | 2024-03-27T19:02:51Z | 2024-03-27T19:02:52Z |
DOC: pd to_datetime changed exact parameter to match docs | diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py
index c416db4083f9a..5db222eb0ea7c 100644
--- a/pandas/core/tools/datetimes.py
+++ b/pandas/core/tools/datetimes.py
@@ -665,7 +665,7 @@ def to_datetime(
yearfirst: bool = False,
utc: bool = False,
format: str | None = None,
- ... | - [ ] closes #55239 (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/58035 | 2024-03-27T17:43:31Z | 2024-03-27T23:22:58Z | null | 2024-03-27T23:23:03Z |
Backport PR #57548 on branch 2.2.x (Fix accidental loss-of-precision for to_datetime(str, unit=...)) | diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst
index 54084abab7817..19539918b8c8f 100644
--- a/doc/source/whatsnew/v2.2.2.rst
+++ b/doc/source/whatsnew/v2.2.2.rst
@@ -15,7 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- :meth:`DataFrame.__dataframe__` was producing incorrect data buffers ... | Backport PR #57548: Fix accidental loss-of-precision for to_datetime(str, unit=...) | https://api.github.com/repos/pandas-dev/pandas/pulls/58034 | 2024-03-27T16:52:23Z | 2024-03-27T17:51:23Z | 2024-03-27T17:51:23Z | 2024-03-27T17:51:23Z |
DOC: DataFrame.reset_index names param can't be a tuple as docs state | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index b218dd899c8f8..50a93994dc76b 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -6011,8 +6011,8 @@ def reset_index(
names : int, str or 1-dimensional list, default None
Using the given string, rename the DataFrame column... | - [ ] closes #57994
- [ ] 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/58032 | 2024-03-27T16:12:00Z | 2024-03-29T18:34:34Z | 2024-03-29T18:34:34Z | 2024-03-29T18:34:42Z |
BUG: Fixed DataFrameGroupBy.transform with numba returning the wrong order with non increasing indexes #57069 | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index a398b93b60018..2f23a240bdcd1 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -303,6 +303,7 @@ Bug fixes
- Fixed bug in :class:`SparseDtype` for equal comparison with na fill value. (:issue:`54770`)
-... | - [X] closes #57069
- [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/58030 | 2024-03-27T13:50:55Z | 2024-03-28T22:42:30Z | 2024-03-28T22:42:30Z | 2024-03-28T22:42:39Z |
CLN: enforce `any/all` deprecation with `datetime64` | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 549d49aaa1853..011f72868ab5d 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -212,6 +212,7 @@ Removal of prior version deprecations/changes
- All arguments in :meth:`Series.to_dict` are now keyword on... | xref #50947, xref #58006
enforced deprecation of `any/all` with `datetime64` | https://api.github.com/repos/pandas-dev/pandas/pulls/58029 | 2024-03-27T12:41:40Z | 2024-03-28T17:54:36Z | 2024-03-28T17:54:36Z | 2024-03-28T17:54:44Z |
Fix DataFrame.cumsum failing when dtype is timedelta64[ns] | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 549d49aaa1853..e3fc3a24cfe00 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -318,6 +318,7 @@ Bug fixes
~~~~~~~~~
- Fixed bug in :class:`SparseDtype` for equal comparison with na fill value. (:issue:... | - [x] closes #57956
- [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/58028 | 2024-03-27T10:31:59Z | 2024-03-28T00:13:58Z | 2024-03-28T00:13:58Z | 2024-03-28T00:14:05Z |
REGR: Performance of DataFrame.stack where columns are not a MultiIndex | diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py
index afb0c489c9c94..0a2f7fe43b4b3 100644
--- a/pandas/core/reshape/reshape.py
+++ b/pandas/core/reshape/reshape.py
@@ -932,14 +932,18 @@ def stack_v3(frame: DataFrame, level: list[int]) -> Series | DataFrame:
if len(frame.columns) ==... | - [x] closes #57302 (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/58027 | 2024-03-27T03:43:05Z | 2024-03-27T17:29:16Z | 2024-03-27T17:29:16Z | 2024-03-27T17:41:30Z |
CLN: remove no-longer-needed warning filters | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index ebcb700e656f6..a7545fb8d98de 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -9660,13 +9660,7 @@ def _where(
# make sure we are boolean
fill_value = bool(inplace)
- with warnings.catch_warnings():
- ... | - [ ] 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/58025 | 2024-03-27T03:12:58Z | 2024-03-27T17:34:03Z | 2024-03-27T17:34:03Z | 2024-03-27T17:41:09Z |
DEPR: mismatched null-likes in tm.assert_foo_equal | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 4b7b075ceafaf..549d49aaa1853 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -211,6 +211,7 @@ Removal of prior version deprecations/changes
- All arguments in :meth:`Index.sort_values` are now keyword... | - [ ] 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/58023 | 2024-03-26T23:35:57Z | 2024-03-27T00:39:15Z | 2024-03-27T00:39:15Z | 2024-03-27T02:57:11Z |
DEPR: freq keyword in PeriodArray | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 4b7b075ceafaf..c9c5cdc6ec4df 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -206,6 +206,7 @@ Removal of prior version deprecations/changes
- :meth:`SeriesGroupBy.agg` no longer pins the name of the g... | - [ ] 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/58022 | 2024-03-26T23:24:10Z | 2024-03-27T17:35:02Z | 2024-03-27T17:35:02Z | 2024-03-27T17:40:55Z |
BUG: #57972 kurtosis small sample size low variance false positive cutoff | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 4b7b075ceafaf..93759feef4b3e 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -324,6 +324,7 @@ Bug fixes
- Fixed bug in :meth:`Series.diff` allowing non-integer values for the ``periods`` argument. (:i... | Not much activity in the issue #57972, but this seems to be a minor problem with the kurtosis implementation.
- [x] closes #57972 (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... | https://api.github.com/repos/pandas-dev/pandas/pulls/58020 | 2024-03-26T23:10:30Z | 2024-03-27T09:43:44Z | null | 2024-03-27T09:44:03Z |
CLN/PERF: Simplify argmin/argmax | diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py
index 7f4e6f6666382..930ee83aea00b 100644
--- a/pandas/core/arrays/_mixins.py
+++ b/pandas/core/arrays/_mixins.py
@@ -210,7 +210,7 @@ def argmin(self, axis: AxisInt = 0, skipna: bool = True): # type: ignore[overri
# override base class... | - [ ] 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/58019 | 2024-03-26T21:47:08Z | 2024-04-01T18:13:11Z | 2024-04-01T18:13:11Z | 2024-04-02T02:19:26Z |
PERF: Allow Index.to_frame to return RangeIndex columns | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 26dd6f83ad44a..be7c3277759f5 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -299,6 +299,7 @@ Performance improvements
- Performance improvement in :meth:`DataFrameGroupBy.ffill`, :meth:`DataFrameGrou... | Discovered in https://github.com/pandas-dev/pandas/pull/57441 | https://api.github.com/repos/pandas-dev/pandas/pulls/58018 | 2024-03-26T19:29:43Z | 2024-03-28T03:01:12Z | 2024-03-28T03:01:12Z | 2024-03-28T17:50:12Z |
Docs: Add note about exception for integer slices with float indices | diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst
index 24cdbad41fe60..fd843ca68a60b 100644
--- a/doc/source/user_guide/indexing.rst
+++ b/doc/source/user_guide/indexing.rst
@@ -262,6 +262,10 @@ The most robust and consistent way of slicing ranges along arbitrary axes is
described in... | - [x] closes #57277
- [N/A] [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/58017 | 2024-03-26T19:22:07Z | 2024-04-02T00:37:53Z | 2024-04-02T00:37:53Z | 2024-04-02T19:25:43Z |
PERF: Allow np.integer Series/Index to convert to RangeIndex | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 76dd19a9424f5..7c5b88258e6bb 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -7157,17 +7157,22 @@ def maybe_sequence_to_range(sequence) -> Any | range:
-------
Any : input or range
"""
- if isins... | Discovered in https://github.com/pandas-dev/pandas/pull/57441 | https://api.github.com/repos/pandas-dev/pandas/pulls/58016 | 2024-03-26T18:09:17Z | 2024-04-01T18:21:15Z | 2024-04-01T18:21:15Z | 2024-04-04T01:43:59Z |
DEPS: bump adbc-driver-sqlite min version to 0.10.0 | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 1b68fa4fc22e6..f87b0ba6976a9 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -23,6 +23,8 @@ dependencies:
- pytz
# optional dependencies
+ - adbc-driver-postgresql>=0.10.0
+ - adbc-driver-sqlite>=0.10.0
- beautif... | xref https://github.com/pandas-dev/pandas/pull/58010
These are on conda-forge now, so might as well install it there: https://anaconda.org/conda-forge/adbc-driver-postgresql | https://api.github.com/repos/pandas-dev/pandas/pulls/58014 | 2024-03-26T17:58:37Z | 2024-03-26T20:31:22Z | null | 2024-03-26T20:31:24Z |
Add tests for transform sum with series | diff --git a/pandas/tests/groupby/transform/test_transform.py b/pandas/tests/groupby/transform/test_transform.py
index 46f6367fbb3ed..ed7aa9d27e452 100644
--- a/pandas/tests/groupby/transform/test_transform.py
+++ b/pandas/tests/groupby/transform/test_transform.py
@@ -1490,3 +1490,47 @@ def test_idxmin_idxmax_transform... | - [x] closes #37093
- [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/58012 | 2024-03-26T09:56:19Z | 2024-03-28T17:58:52Z | 2024-03-28T17:58:52Z | 2024-03-28T17:59:04Z |
DEPR: enforce deprecation of non-standard argument to take | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 549d49aaa1853..547055082ced3 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -218,6 +218,7 @@ Removal of prior version deprecations/changes
- Enforced deprecation of :meth:`Series.interpolate` and :me... | - [ ] 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/58011 | 2024-03-26T02:37:10Z | 2024-03-28T17:57:15Z | 2024-03-28T17:57:15Z | 2024-03-28T20:08:57Z |
DEPS: bump adbc-driver-postgresql min version to 0.10.0 | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 85ee5230b31be..1b68fa4fc22e6 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -57,7 +57,7 @@ dependencies:
- zstandard>=0.19.0
- pip:
- - adbc-driver-postgresql>=0.8.0
+ - adbc-driver-postgresql>=0.10.0
- ad... | Broken off from #55901 | https://api.github.com/repos/pandas-dev/pandas/pulls/58010 | 2024-03-26T02:20:17Z | 2024-03-26T17:04:29Z | 2024-03-26T17:04:29Z | 2024-03-26T17:07:35Z |
DEPR: value_counts doing dtype inference on result.index | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index a398b93b60018..4fd2f46fc71fd 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -199,6 +199,7 @@ Removal of prior version deprecations/changes
- All arguments in :meth:`Series.to_dict` are now keyword on... | - [ ] 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/58009 | 2024-03-26T02:04:00Z | 2024-03-26T17:20:19Z | 2024-03-26T17:20:19Z | 2024-03-26T17:46:41Z |
Backport PR #57553 on branch 2.2.x (API: avoid passing Manager to subclass init) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5c510d98596df..afcd4d014316e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -656,26 +656,37 @@ class DataFrame(NDFrame, OpsMixin):
def _constructor(self) -> Callable[..., DataFrame]:
return DataFrame
- def _constructor_fr... | - [ ] 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/58008 | 2024-03-26T01:49:10Z | 2024-04-01T18:22:03Z | 2024-04-01T18:22:03Z | 2024-04-01T20:45:12Z |
CLN: remove unnecessary check `needs_i8_conversion` if Index subclass does not support `any` or `all` | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index 84b62563605ac..34ca81e36cbc5 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -1697,7 +1697,7 @@ def pyarrow_meth(data, skip_nulls, **kwargs):
except (AttributeError, NotImplemented... | xref #54566
removed unnecessary check needs_i8_conversion if Index subclass does not support any or all. | https://api.github.com/repos/pandas-dev/pandas/pulls/58006 | 2024-03-25T22:56:32Z | 2024-04-04T16:47:01Z | 2024-04-04T16:47:01Z | 2024-04-04T16:47:08Z |
DEPR: remove Tick.delta | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index a9967dcb8efe6..77778e8bbd859 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -1022,7 +1022,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.tseries.offsets.DateOffset.rule_code GL08" \
-i "pandas.tseries.offsets.D... | - [ ] 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/58005 | 2024-03-25T20:56:35Z | 2024-03-26T17:03:05Z | 2024-03-26T17:03:05Z | 2024-03-26T17:12:03Z |
DEPR: remove DTA.__init__, TDA.__init__ | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 1b68fa4fc22e6..ed7dfe1a3c17e 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -26,7 +26,7 @@ dependencies:
- beautifulsoup4>=4.11.2
- blosc>=1.21.3
- bottleneck>=1.3.6
- - fastparquet>=2023.04.0
+ - fastparquet>=202... | - [ ] 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/58004 | 2024-03-25T20:55:49Z | 2024-03-26T20:32:57Z | 2024-03-26T20:32:57Z | 2024-03-26T22:35:00Z |
DEPR: enforce deprecation of DTI/TDI unused keywords | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index a9967dcb8efe6..b3a694de20103 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -504,7 +504,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.Timedelta.to_timedelta64 SA01" \
-i "pandas.Timedelta.total_seconds SA01" \... | - [ ] 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/58003 | 2024-03-25T20:46:33Z | 2024-03-26T17:07:02Z | 2024-03-26T17:07:02Z | 2024-03-26T17:11:35Z |
DEPR: Enforce deprecation of parsing to tzlocal | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 4d2381ae1e5e4..bb856936cd96d 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -202,6 +202,7 @@ Removal of prior version deprecations/changes
- Enforced deprecation of :meth:`.DataFrameGroupBy.get_group... | - [ ] 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/58002 | 2024-03-25T20:45:34Z | 2024-03-25T22:33:52Z | 2024-03-25T22:33:52Z | 2024-03-26T01:28:50Z |
DEPR: remove Categorical.to_list | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 4d2381ae1e5e4..f3729fb697bea 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -211,6 +211,7 @@ Removal of prior version deprecations/changes
- Enforced deprecation of strings ``T``, ``L``, ``U``, and `... | - [ ] 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/58000 | 2024-03-25T20:37:56Z | 2024-03-25T22:17:41Z | 2024-03-25T22:17:40Z | 2024-03-26T01:29:02Z |
DEPR: Enforce datetimelike deprecations | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index 69697906e493e..7d5b250c7b157 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -24,7 +24,7 @@ def setup(self):
self.codes = np.tile(range(len(self.categories)), N)
... | - [ ] 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/57999 | 2024-03-25T20:30:17Z | 2024-04-05T17:06:14Z | 2024-04-05T17:06:14Z | 2024-04-05T17:06:22Z |
CI: Enable pytables and numba in 312 build | diff --git a/ci/deps/actions-312.yaml b/ci/deps/actions-312.yaml
index eb70816c241bb..cbff1875783d4 100644
--- a/ci/deps/actions-312.yaml
+++ b/ci/deps/actions-312.yaml
@@ -34,7 +34,7 @@ dependencies:
- jinja2>=3.1.2
- lxml>=4.9.2
- matplotlib>=3.6.3
- # - numba>=0.56.4
+ - numba>=0.56.4
- numexpr>=2.8.4
... | Looks like there's conda packages for this Python version now | https://api.github.com/repos/pandas-dev/pandas/pulls/57998 | 2024-03-25T18:50:39Z | 2024-03-26T21:34:28Z | 2024-03-26T21:34:28Z | 2024-03-26T21:34:31Z |
REF: Use numpy set methods in interpolate | diff --git a/pandas/core/missing.py b/pandas/core/missing.py
index b3e152e36a304..9fef78d9f8c3d 100644
--- a/pandas/core/missing.py
+++ b/pandas/core/missing.py
@@ -471,20 +471,20 @@ def _interpolate_1d(
if valid.all():
return
- # These are sets of index pointers to invalid values... i.e. {0, 1, etc.... | `_interpolate_1d` goes back an forth between Python objects and Numpy objects in order to use Python `set` methods. Refactoring to just use Numpy set routines instead | https://api.github.com/repos/pandas-dev/pandas/pulls/57997 | 2024-03-25T18:34:39Z | 2024-03-26T17:11:04Z | 2024-03-26T17:11:04Z | 2024-03-26T17:11:08Z |
CLN: `pandas.concat` internal checks | diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py
index 35a08e0167924..b1f662b6f231f 100644
--- a/pandas/core/reshape/concat.py
+++ b/pandas/core/reshape/concat.py
@@ -635,16 +635,13 @@ def _get_concat_axis(self) -> Index:
indexes, self.keys, self.levels, self.names
... | * Only validate unique `levels` when needed
* Inline single used `_maybe_check_integrity` check | https://api.github.com/repos/pandas-dev/pandas/pulls/57996 | 2024-03-25T18:27:31Z | 2024-03-26T21:34:19Z | 2024-03-26T21:34:19Z | 2024-03-26T21:34:37Z |
BUG: encoding is ignored for read_csv on FileLike objects - FIX - GH#57954 | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index b234a6b78e051..3bdfab8d2e669 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -11,6 +11,7 @@
defaultdict,
)
import csv
+from io import TextIOBase
import sys
from textwrap import fill
from typing impor... | - [x] closes #57954
- [x] [Tests added and passed
- [x] All [code checks passed]
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file i... | https://api.github.com/repos/pandas-dev/pandas/pulls/57992 | 2024-03-25T07:53:17Z | 2024-03-25T11:58:23Z | null | 2024-03-25T11:58:28Z |
DOC: Fix reference to rows in `read_csv(index_col)` error message | diff --git a/pandas/io/parsers/base_parser.py b/pandas/io/parsers/base_parser.py
index 3bbb7c83345e5..5a7d117b0543e 100644
--- a/pandas/io/parsers/base_parser.py
+++ b/pandas/io/parsers/base_parser.py
@@ -174,7 +174,7 @@ def __init__(self, kwds) -> None:
and all(map(is_integer, self.index_col))
... | **Description**
The user passes column numbers (not row numbers) as the `index_col` argument to specify an index when calling e.g. `read_csv()`.
**Checklist**
- [x] ~closes #xxxx (Replace xxxx with the GitHub issue number)~ (No Specific Issue)
- [x] ~[Tests added and passed](https://pandas.pydata.org/pandas-docs/... | https://api.github.com/repos/pandas-dev/pandas/pulls/57991 | 2024-03-25T04:18:00Z | 2024-03-26T17:07:56Z | 2024-03-26T17:07:56Z | 2024-03-26T17:19:46Z |
DOC: ecosystem.md: add pygwalker, add seaborn code example | diff --git a/web/pandas/community/ecosystem.md b/web/pandas/community/ecosystem.md
index 715a2fafbe87a..6cd67302b2a0e 100644
--- a/web/pandas/community/ecosystem.md
+++ b/web/pandas/community/ecosystem.md
@@ -82,6 +82,20 @@ pd.set_option("plotting.backend", "pandas_bokeh")
It is very similar to the matplotlib plotting... | - [ ] 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/57990 | 2024-03-25T02:12:12Z | 2024-03-27T19:00:51Z | 2024-03-27T19:00:51Z | 2024-03-27T21:13:59Z |
BUG: Fix error for `boxplot` when using a pre-grouped `DataFrame` with more than one grouping | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 74a19472ec835..15e85d0f90c5e 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -409,7 +409,7 @@ Period
Plotting
^^^^^^^^
--
+- Bug in :meth:`.DataFrameGroupBy.boxplot` failed when there were multipl... | - [x] closes #14701
- [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/57985 | 2024-03-24T18:26:01Z | 2024-03-31T15:00:23Z | 2024-03-31T15:00:23Z | 2024-03-31T16:08:06Z |
CLN: Enforce deprecations for EA.fillna | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index f225d384888e3..76cb3cb1f2e81 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -34,7 +34,6 @@ Other enhancements
- Allow dictionaries to be passed to :meth:`pandas.Series.str.replace` via ``pat`` parame... | - [ ] 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/57983 | 2024-03-24T14:03:06Z | 2024-03-25T17:38:07Z | 2024-03-25T17:38:07Z | 2024-03-25T20:35:50Z |
DOC Add documentation for how pandas rounds values in Series.round and Dataframe.round methods | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5d10a5541f556..2222164da90c7 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -10703,6 +10703,12 @@ def round(
numpy.around : Round a numpy array to the given number of decimals.
Series.round : Round a Series to the given nu... | - [ ] 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/57981 | 2024-03-24T11:59:13Z | 2024-03-24T22:13:41Z | 2024-03-24T22:13:41Z | 2024-03-25T08:05:26Z |
DOC: clarify three documentation strings in base.py | diff --git a/pandas/core/base.py b/pandas/core/base.py
index 987136ffdff7d..d43222f1acd11 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -1065,7 +1065,7 @@ def nunique(self, dropna: bool = True) -> int:
@property
def is_unique(self) -> bool:
"""
- Return boolean if values in the... | This change is consistent with other documentation strings in this file.
| https://api.github.com/repos/pandas-dev/pandas/pulls/57978 | 2024-03-23T20:42:18Z | 2024-03-25T17:43:31Z | 2024-03-25T17:43:31Z | 2024-03-25T17:43:44Z |
PDEP: Change status of CoW proposal to implemented | diff --git a/web/pandas/pdeps/0007-copy-on-write.md b/web/pandas/pdeps/0007-copy-on-write.md
index e45fbaf555bc1..f5adb6a571120 100644
--- a/web/pandas/pdeps/0007-copy-on-write.md
+++ b/web/pandas/pdeps/0007-copy-on-write.md
@@ -1,7 +1,7 @@
# PDEP-7: Consistent copy/view semantics in pandas with Copy-on-Write
- Cre... | We already enabled CoW by default and removed the legacy mode | https://api.github.com/repos/pandas-dev/pandas/pulls/57977 | 2024-03-23T16:58:11Z | 2024-03-25T17:41:01Z | 2024-03-25T17:41:01Z | 2024-03-25T21:32:57Z |
DOC: fix list indentation in pandas.DataFrame.stack | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5d10a5541f556..8fb400872378c 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -9288,10 +9288,9 @@ def stack(
DataFrame. The new inner-most levels are created by pivoting the
columns of the current dataframe:
- - i... | Fixed the grey-out box around the list of options for multiple levels of columns. | https://api.github.com/repos/pandas-dev/pandas/pulls/57975 | 2024-03-23T16:38:04Z | 2024-03-25T11:40:22Z | 2024-03-25T11:40:22Z | 2024-03-25T11:40:22Z |
BUG: Fixed ADBC to_sql creation of table when using public schema | diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst
index d0f8951ac07ad..9e1a883d47cf8 100644
--- a/doc/source/whatsnew/v2.2.2.rst
+++ b/doc/source/whatsnew/v2.2.2.rst
@@ -25,6 +25,7 @@ Bug fixes
- :meth:`DataFrame.__dataframe__` was producing incorrect data buffers when the column's type was ... | Problem: table on public schema being lost when tried to be created
Solution: used db_schema_name argument to specify schema name of adbc_ingest
- [x] closes #57539 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codeba... | https://api.github.com/repos/pandas-dev/pandas/pulls/57974 | 2024-03-23T16:19:24Z | 2024-03-28T17:55:54Z | 2024-03-28T17:55:54Z | 2024-03-28T17:56:04Z |
Changed the strings to make code simpler | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index 1716110b619d6..69697906e493e 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -88,7 +88,7 @@ def setup(self):
)
for col in ("int", "float", "timestamp"):
- ... | Changed the strings to make code simpler
- [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.h... | https://api.github.com/repos/pandas-dev/pandas/pulls/57973 | 2024-03-23T16:10:53Z | 2024-03-25T17:44:31Z | 2024-03-25T17:44:31Z | 2024-03-25T17:44:38Z |
CLN: Enforce deprecation of argmin/max and idxmin/max with NA values | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index f225d384888e3..c5d032f9dace5 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -259,6 +259,7 @@ Removal of prior version deprecations/changes
- Removed the :class:`Grouper` attributes ``ax``, ``groups``... | - [ ] 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/57971 | 2024-03-23T01:14:13Z | 2024-03-25T17:55:56Z | 2024-03-25T17:55:56Z | 2024-03-27T18:05:06Z |
Implement hash_join for merges | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index ce64304731116..a6c6990892d38 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -328,6 +328,23 @@ def time_i8merge(self, how):
merge(self.left, self.right, how=how)
+class Uni... | cc @mroeschke
Our abstraction in merges is bad, this makes it a little worse unfortunately. But it enables a potentially huge performance improvement for joins that could be hash joins. I am using "right" to make the decision, because left determines the result order, which means that we would have to sort after we... | https://api.github.com/repos/pandas-dev/pandas/pulls/57970 | 2024-03-22T22:27:29Z | 2024-03-24T00:41:11Z | 2024-03-24T00:41:11Z | 2024-03-24T00:41:14Z |
WEB: Updating active/inactive core devs | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index 05fdea13cab43..74e7fda2e7983 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -72,11 +72,9 @@ blog:
- https://phofl.github.io/feeds/pandas.atom.xml
maintainers:
active:
- - wesm
- jorisvandenbossche
- TomAugspurger
- jreb... | I've checked with the devs who weren't active in pandas recently to see if they wished to become inactive, and few were happy to become inactive.
Besides to manage expectations of other core devs and the community, this is relevant for the decision making proposed in [PDEP-1](https://github.com/pandas-dev/pandas/pul... | https://api.github.com/repos/pandas-dev/pandas/pulls/57969 | 2024-03-22T22:02:25Z | 2024-03-26T17:28:26Z | 2024-03-26T17:28:26Z | 2024-03-26T17:28:33Z |
BUG: #57954 encoding ignored for filelike | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index b234a6b78e051..7ecd8cd6d5012 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -1310,6 +1310,16 @@ def _check_file_or_buffer(self, f, engine: CSVEngine) -> None:
raise ValueError(
"... | - [x] closes #57954
- [x] [Tests added and passed if fixing a bug or adding a new feature
- [x] All [code checks passed] | https://api.github.com/repos/pandas-dev/pandas/pulls/57968 | 2024-03-22T20:58:01Z | 2024-03-28T18:10:56Z | 2024-03-28T18:10:56Z | 2024-03-28T23:30:31Z |
CLN: Enforce verbose parameter deprecation in read_csv/read_table | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index ef561d50066d1..741591be25bf9 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -256,6 +256,7 @@ Removal of prior version deprecations/changes
- Removed unused arguments ``*args`` and ``**kwargs`` in :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/57966 | 2024-03-22T17:47:06Z | 2024-03-22T19:07:49Z | 2024-03-22T19:07:49Z | 2024-04-07T21:49:27Z |
BUG: Fix na_values dict not working on index column (#57547) | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index ef561d50066d1..bce5c7927c72d 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -301,6 +301,7 @@ Bug fixes
- Fixed bug in :meth:`Series.diff` allowing non-integer values for the ``periods`` argument. (:i... | - [x] closes #57547
- [x] [Tests added and passed]
- [x] All [code checks passed]
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/v3.0.0.rst` file i... | https://api.github.com/repos/pandas-dev/pandas/pulls/57965 | 2024-03-22T14:51:57Z | 2024-04-09T17:08:34Z | 2024-04-09T17:08:34Z | 2024-04-09T22:44:43Z |
DOC: fix closing sq. bracket in pandas.read_fwf example (#57959) | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index 1ef2e65617c9b..9f2f208d8c350 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -1139,7 +1139,7 @@ def read_fwf(
``file://localhost/path/to/table.csv``.
colspecs : list of tuple (int, int) or 'infer... | - change closing square bracket in colspecs description to correct "]"
- [x] closes #57959
- [ ] [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/57961 | 2024-03-22T05:07:58Z | 2024-03-22T14:33:38Z | 2024-03-22T14:33:38Z | 2024-03-22T14:33:38Z |
BUG: Groupby median on timedelta column with NaT returns odd value (#… | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index f748f6e23e003..3964745e2e657 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -297,6 +297,7 @@ Performance improvements
Bug fixes
~~~~~~~~~
- Fixed bug in :class:`SparseDtype` for equal comparison wi... | …57926)
Handle NaT correctly in group_median_float64
- [x] closes #57926
- [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/57957 | 2024-03-21T23:36:07Z | 2024-03-26T20:57:52Z | 2024-03-26T20:57:52Z | 2024-04-10T12:09:36Z |
Study on refactoring the series constructor | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 3adc2d2a44e73..407f2d48a5cb6 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -9,6 +9,7 @@
Iterable,
Mapping,
Sequence,
+ Sized,
)
import operator
import sys
@@ -363,72 +364,114 @@ def __init__(
copy: bool | ... | - [ ] 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/57952 | 2024-03-21T16:52:20Z | 2024-04-10T13:42:15Z | null | 2024-04-11T17:18:34Z |
Backport PR #57764 on branch 2.2.x (BUG: PyArrow dtypes were not supported in the interchange protocol) | diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst
index 96f210ce6b7b9..54084abab7817 100644
--- a/doc/source/whatsnew/v2.2.2.rst
+++ b/doc/source/whatsnew/v2.2.2.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- :meth:`DataFrame.__dataframe__` ... | #57764 | https://api.github.com/repos/pandas-dev/pandas/pulls/57947 | 2024-03-21T08:55:32Z | 2024-03-21T16:37:58Z | 2024-03-21T16:37:58Z | 2024-03-21T16:37:58Z |
Clean up more Cython warning | diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx
index 82e9812094af2..01c7de0c6f2b3 100644
--- a/pandas/_libs/parsers.pyx
+++ b/pandas/_libs/parsers.pyx
@@ -1603,7 +1603,7 @@ cdef _categorical_convert(parser_t *parser, int64_t col,
# -> ndarray[f'|S{width}']
cdef _to_fw_string(parser_t *parser, int6... | Overlooked this in the recent PR. I think this is the last of Cython warnings.
`(warning: /home/pandas/pandas/_libs/parsers.pyx:1605:26: noexcept clause is ignored for function returning Python object)` | https://api.github.com/repos/pandas-dev/pandas/pulls/57946 | 2024-03-21T02:27:51Z | 2024-03-21T16:16:39Z | 2024-03-21T16:16:39Z | 2024-03-21T18:28:22Z |
PERF: DataFrame(dict) returns RangeIndex columns when possible | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index ef561d50066d1..731195f0b1268 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -264,6 +264,7 @@ Removal of prior version deprecations/changes
Performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- :attr:... | Discovered in https://github.com/pandas-dev/pandas/pull/57441
Also removed a seemingly unused `_sort_msg` | https://api.github.com/repos/pandas-dev/pandas/pulls/57943 | 2024-03-20T23:52:43Z | 2024-03-25T18:24:40Z | 2024-03-25T18:24:40Z | 2024-03-25T18:24:43Z |
Backport PR #57029 on branch 2.2.x (DOC: Add `DataFrame.to_numpy` method) | diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst
index fefb02dd916cd..1d9019ff22c23 100644
--- a/doc/source/reference/frame.rst
+++ b/doc/source/reference/frame.rst
@@ -49,6 +49,7 @@ Conversion
DataFrame.infer_objects
DataFrame.copy
DataFrame.bool
+ DataFrame.to_numpy
Indexi... | Backport PR #57029: DOC: Add `DataFrame.to_numpy` method | https://api.github.com/repos/pandas-dev/pandas/pulls/57940 | 2024-03-20T22:22:40Z | 2024-03-21T03:05:31Z | 2024-03-21T03:05:31Z | 2024-03-21T03:05:31Z |
DOC: #38067 add missing holiday observance rules | diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst
index ecdfb3c565d33..37413722de96f 100644
--- a/doc/source/user_guide/timeseries.rst
+++ b/doc/source/user_guide/timeseries.rst
@@ -1468,11 +1468,16 @@ or some other non-observed day. Defined observance rules are:
:header: "R... | - [x] closes #38067
Updated docs with missing functions.
`weekend_to_monday` and `next_monday` do indeed do the exact same thing, and I agree that `next_monday` should be deprecated. Any thoughts?
| https://api.github.com/repos/pandas-dev/pandas/pulls/57939 | 2024-03-20T22:04:10Z | 2024-03-21T16:22:47Z | 2024-03-21T16:22:47Z | 2024-03-22T00:05:40Z |
BUG: #29049 make holiday support offsets of offsets | diff --git a/pandas/tests/tseries/holiday/test_holiday.py b/pandas/tests/tseries/holiday/test_holiday.py
index b2eefd04ef93b..08f4a1250392e 100644
--- a/pandas/tests/tseries/holiday/test_holiday.py
+++ b/pandas/tests/tseries/holiday/test_holiday.py
@@ -271,6 +271,25 @@ def test_both_offset_observance_raises():
... | - [x] closes #29049 (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/57938 | 2024-03-20T21:39:57Z | 2024-03-28T00:08:54Z | 2024-03-28T00:08:54Z | 2024-03-28T00:51:29Z |
Fix tagging within Dockerfile | diff --git a/Dockerfile b/Dockerfile
index 03f76f39b8cc7..0fcbcee92295c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,4 +11,5 @@ RUN apt-get install -y libhdf5-dev libgles2-mesa-dev
RUN python -m pip install --upgrade pip
COPY requirements-dev.txt /tmp
RUN python -m pip install -r /tmp/requirements-dev.txt
+RUN gi... | When the user within a docker container does not match the user on the host machine (this is the case by default on Linux, not sure of all OSes) you cannot use git to inspect the worktree:
```sh
root@6de0debf3870:/home/pandas# git log
fatal: detected dubious ownership in repository at '/home/pandas'
To add an exc... | https://api.github.com/repos/pandas-dev/pandas/pulls/57935 | 2024-03-20T21:07:30Z | 2024-03-20T23:21:09Z | 2024-03-20T23:21:09Z | 2024-03-20T23:21:16Z |
REF: Clean up concat statefullness and validation | diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py
index 1f0fe0542a0c0..35a08e0167924 100644
--- a/pandas/core/reshape/concat.py
+++ b/pandas/core/reshape/concat.py
@@ -17,10 +17,7 @@
from pandas.util._decorators import cache_readonly
-from pandas.core.dtypes.common import (
- is_bool,
-... | * Removed an additional pass over `objs` during validation
* Removed methods off of `_Concatenator` that did not rely on `self` | https://api.github.com/repos/pandas-dev/pandas/pulls/57933 | 2024-03-20T17:59:59Z | 2024-03-20T21:00:44Z | 2024-03-20T21:00:44Z | 2024-03-20T21:00:47Z |
DOC: fix minor typos and grammar missing_data.rst | diff --git a/doc/source/user_guide/missing_data.rst b/doc/source/user_guide/missing_data.rst
index aea7688c062b8..2e104ac06f9f4 100644
--- a/doc/source/user_guide/missing_data.rst
+++ b/doc/source/user_guide/missing_data.rst
@@ -88,7 +88,7 @@ To detect these missing value, use the :func:`isna` or :func:`notna` methods.... | I did not make a corresponding issue for this minor improvement. | https://api.github.com/repos/pandas-dev/pandas/pulls/57929 | 2024-03-20T13:26:20Z | 2024-03-20T16:32:14Z | 2024-03-20T16:32:14Z | 2024-03-21T17:17:04Z |
BUG: Offsets of offsets in holiday raise type error during usage | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index 16be9e0a4fc34..84c5142619b37 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -280,6 +280,7 @@ Performance improvements
Bug fixes
~~~~~~~~~
+- Fixed bug in :class:`Series.Holiday` that leads to a ``... | - [x] closes #29049
- [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).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/57921 | 2024-03-19T22:50:10Z | 2024-03-20T11:15:16Z | null | 2024-03-20T11:15:16Z |
CLN: Remove unused code | diff --git a/pandas/conftest.py b/pandas/conftest.py
index 9302c581fd497..50a94b35c2edc 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -1231,10 +1231,6 @@ def tz_aware_fixture(request):
return request.param
-# Generate cartesian product of tz_aware_fixture:
-tz_aware_fixture2 = tz_aware_fixture
-
... | Some more unused code. Most of them are not detected by `vulture` but only visible on the editor through Pylance, so I'm not quite sure how to detect them systematically. | https://api.github.com/repos/pandas-dev/pandas/pulls/57920 | 2024-03-19T22:30:25Z | 2024-03-20T00:23:14Z | 2024-03-20T00:23:14Z | 2024-03-20T00:23:20Z |
Remove Cython warnings | diff --git a/pandas/_libs/tslibs/util.pxd b/pandas/_libs/tslibs/util.pxd
index e4ac3a9e167a3..a5822e57d3fa6 100644
--- a/pandas/_libs/tslibs/util.pxd
+++ b/pandas/_libs/tslibs/util.pxd
@@ -185,11 +185,11 @@ cdef inline const char* get_c_string(str py_string) except NULL:
return get_c_string_buf_and_size(py_string,... | warning: /Users/runner/work/pandas/pandas/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object
warning: /Users/runner/work/pandas/pandas/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object | https://api.github.com/repos/pandas-dev/pandas/pulls/57919 | 2024-03-19T22:19:43Z | 2024-03-20T00:22:29Z | 2024-03-20T00:22:29Z | 2024-03-20T00:22:35Z |
STYLE: Detect unnecessary pylint ignore | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 190ea32203807..41f1c4c6892a3 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -78,7 +78,7 @@ repos:
hooks:
- id: pylint
stages: [manual]
- args: [--load-plugins=pylint.extensions.redefined_loop_name]
+ ... | Enable `pylint`'s `I0021`/`useless-suppression` ([doc](https://pylint.pycqa.org/en/latest/user_guide/messages/information/useless-suppression.html))
This should make it easier to recognize how many `pylint` rules that `ruff` is still missing. | https://api.github.com/repos/pandas-dev/pandas/pulls/57918 | 2024-03-19T21:52:17Z | 2024-03-19T22:20:15Z | 2024-03-19T22:20:15Z | 2024-03-19T22:27:28Z |
DOC: Update docs with the use of meson instead of setup.py | diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst
index 5d833dca50732..f6ff95aa72c6c 100644
--- a/doc/source/development/maintaining.rst
+++ b/doc/source/development/maintaining.rst
@@ -151,7 +151,7 @@ and then run::
git bisect start
git bisect good v1.4.0
git b... | - [ ] 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
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/57917 | 2024-03-19T19:22:14Z | 2024-03-22T14:57:06Z | 2024-03-22T14:57:06Z | 2024-03-22T15:11:13Z |
DOC: Getting started tutorials css adjustments | diff --git a/doc/source/_static/css/getting_started.css b/doc/source/_static/css/getting_started.css
index 0d53bbde94ae3..b02311eb66080 100644
--- a/doc/source/_static/css/getting_started.css
+++ b/doc/source/_static/css/getting_started.css
@@ -248,6 +248,7 @@ ul.task-bullet > li > p:first-child {
}
.tutorial-card ... | - [x] closes #57912
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
I implemented what I suggested in the issue.
| https://api.github.com/repos/pandas-dev/pandas/pulls/57916 | 2024-03-19T18:54:56Z | 2024-03-20T16:39:36Z | 2024-03-20T16:39:36Z | 2024-03-21T08:09:40Z |
BUG: pretty print all Mappings, not just dicts | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index cb211b0b72dce..f3fcdcdb79ed6 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -357,6 +357,7 @@ MultiIndex
I/O
^^^
- Bug in :meth:`DataFrame.to_excel` when writing empty :class:`DataFrame` with :class... | This was discovered in https://github.com/ibis-project/ibis/issues/8687
Due to a strict `isinstance(x, dict)` check, custom mapping types would instead get treated as mere iterables, so only the keys would get printed as a tuple:
```python
import pandas as pd
from ibis.common.collections import frozendict
pd.S... | https://api.github.com/repos/pandas-dev/pandas/pulls/57915 | 2024-03-19T18:53:53Z | 2024-03-20T00:23:31Z | 2024-03-20T00:23:31Z | 2024-03-20T00:23:37Z |
REF/PERF: Use concat(..., ignore_index=True) when index doesn't matter | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index 60529c1c2251b..429dc9236cf45 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -2622,7 +2622,7 @@ def describe(self) -> DataFrame:
from pandas import Index
from pandas.core.... | For internal `concat` usages where the result index is set later, setting `ignore_index=True` to avoid More Work calculating the result concat index | https://api.github.com/repos/pandas-dev/pandas/pulls/57913 | 2024-03-19T17:38:04Z | 2024-03-22T20:48:52Z | 2024-03-22T20:48:52Z | 2024-03-22T20:52:43Z |
Backport PR #57886 on branch 2.2.x (CI: Remove ASAN job) | diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml
index b4778b74df335..fd7c3587f2254 100644
--- a/.github/actions/run-tests/action.yml
+++ b/.github/actions/run-tests/action.yml
@@ -1,16 +1,9 @@
name: Run tests and report results
-inputs:
- preload:
- description: Preload arg... | Backport PR #57886: CI: Remove ASAN job | https://api.github.com/repos/pandas-dev/pandas/pulls/57910 | 2024-03-19T05:32:07Z | 2024-03-19T16:29:17Z | 2024-03-19T16:29:17Z | 2024-03-19T16:29:17Z |
CI: Improve API of --ignore_errors in validate_docstrings.py | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 3c46cb39eeb7e..a9967dcb8efe6 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -68,1212 +68,1212 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
MSG='Validate Docstrings' ; echo $MSG
$BASE_DIR/scripts/validate_docstrings.py \
... | Follow up of #57879, to use `--ignore_errors PR02,SA01` instead of `--ignore_errors * PR02,SA01`.
I also make the script ignore the specified errors when running for a single document (i.e. `validate_docstrings.py pandas.Series -i SA01` was reporting the SA01 error before this PR, and it won't with the changes here)... | https://api.github.com/repos/pandas-dev/pandas/pulls/57908 | 2024-03-19T01:56:50Z | 2024-03-19T16:57:33Z | 2024-03-19T16:57:33Z | 2024-03-29T06:47:58Z |
Backport PR #57905 on branch 2.2.x (Revert "Fix issue with Tempita recompilation (#57796)") | diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build
index 7621915ebcfdb..c27386743c6e9 100644
--- a/pandas/_libs/meson.build
+++ b/pandas/_libs/meson.build
@@ -54,37 +54,25 @@ _intervaltree_helper = custom_target('intervaltree_helper_pxi',
py, tempita, '@INPUT@', '-o', '@OUTDIR@'
]
)
-
-_alg... | Backport PR #57905: Revert "Fix issue with Tempita recompilation (#57796)" | https://api.github.com/repos/pandas-dev/pandas/pulls/57907 | 2024-03-19T00:14:29Z | 2024-03-19T00:55:34Z | 2024-03-19T00:55:34Z | 2024-03-19T00:55:34Z |
Revert "Fix issue with Tempita recompilation (#57796)" | diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build
index 7621915ebcfdb..c27386743c6e9 100644
--- a/pandas/_libs/meson.build
+++ b/pandas/_libs/meson.build
@@ -54,37 +54,25 @@ _intervaltree_helper = custom_target('intervaltree_helper_pxi',
py, tempita, '@INPUT@', '-o', '@OUTDIR@'
]
)
-
-_alg... | I don't think this had the intended effect - it did prevent unwanted recompilation but also ignored when the tempita files were updated and a recompilation _should_ occur | https://api.github.com/repos/pandas-dev/pandas/pulls/57905 | 2024-03-18T23:20:27Z | 2024-03-19T00:14:21Z | 2024-03-19T00:14:21Z | 2024-03-19T00:14:28Z |
Allow Dockerfile to use local requirements.txt | diff --git a/Dockerfile b/Dockerfile
index c697f0c1c66c7..03f76f39b8cc7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,6 @@ RUN apt-get install -y build-essential
RUN apt-get install -y libhdf5-dev libgles2-mesa-dev
RUN python -m pip install --upgrade pip
-RUN python -m pip install \
- -r https://raw.github... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/57904 | 2024-03-18T23:18:47Z | 2024-03-19T00:15:20Z | 2024-03-19T00:15:20Z | 2024-03-19T00:54:26Z |
DOC: update link in benchmarks.md | diff --git a/web/pandas/community/benchmarks.md b/web/pandas/community/benchmarks.md
index ffce00be96bca..1e63832a5a2ba 100644
--- a/web/pandas/community/benchmarks.md
+++ b/web/pandas/community/benchmarks.md
@@ -75,5 +75,5 @@ There is a quick summary here:
The main benchmarks comparing dataframe tools that include ... | - [x] closes #57850
- [ ] [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/57903 | 2024-03-18T22:50:37Z | 2024-03-18T23:54:46Z | 2024-03-18T23:54:46Z | 2024-03-18T23:57:50Z |
REF: Avoid new object creation when reverse slicing when possible | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index ba2c936b75d9e..745774b34a3ad 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -2371,11 +2371,12 @@ def factorize(
):
if self.freq is not None:
# We must be uni... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/57902 | 2024-03-18T21:39:52Z | 2024-03-20T16:41:53Z | 2024-03-20T16:41:53Z | 2024-03-20T16:41:56Z |
DOC: Remove doc of deprecated week and weekofyear | diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst
index 0f38d90e18616..ecdfb3c565d33 100644
--- a/doc/source/user_guide/timeseries.rst
+++ b/doc/source/user_guide/timeseries.rst
@@ -797,8 +797,6 @@ There are several time/date properties that one can access from ``Timestamp`` or
... | - [x] closes #57887 (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/57901 | 2024-03-18T21:22:24Z | 2024-03-18T23:54:22Z | 2024-03-18T23:54:22Z | 2024-03-20T03:51:23Z |
Backport PR #57889 on branch 2.2.x (BUG: Handle Series construction with Dask, dict-like, Series) | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 236085c2a62e1..c1782206d4b67 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -533,7 +533,7 @@ def __init__(
data = data.reindex(index, copy=copy)
copy = False
data = data._mgr
- e... | Backport PR #57889: BUG: Handle Series construction with Dask, dict-like, Series | https://api.github.com/repos/pandas-dev/pandas/pulls/57899 | 2024-03-18T20:38:30Z | 2024-03-18T22:01:56Z | 2024-03-18T22:01:56Z | 2024-03-18T22:01:56Z |
Backport PR #57892 on branch 2.2.x (CI: xfail Pyarrow slicing test) | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index 738442fab8c70..eb890c8b8c0ab 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -30,6 +30,7 @@
pa_version_under13p0,
pa_version_under14p0,
pa_version_under14p1,
+ pa_version_under16p0,
)
if TYPE_CHECKIN... | Backport PR #57892: CI: xfail Pyarrow slicing test | https://api.github.com/repos/pandas-dev/pandas/pulls/57898 | 2024-03-18T18:46:36Z | 2024-03-18T20:36:47Z | 2024-03-18T20:36:47Z | 2024-03-18T20:36:47Z |
TST: Reduce some test data sizes | diff --git a/pandas/tests/frame/methods/test_cov_corr.py b/pandas/tests/frame/methods/test_cov_corr.py
index 8e73fbf152e79..4d2d83d25e8da 100644
--- a/pandas/tests/frame/methods/test_cov_corr.py
+++ b/pandas/tests/frame/methods/test_cov_corr.py
@@ -355,8 +355,8 @@ def test_corrwith_series(self, datetime_frame):
... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/57897 | 2024-03-18T18:41:17Z | 2024-03-18T20:38:56Z | 2024-03-18T20:38:55Z | 2024-03-18T21:00:05Z |
Testing a Tool | diff --git a/scripts/run_vulture.py b/scripts/run_vulture.py
index edf0a1588305c..dfd4d28da7997 100644
--- a/scripts/run_vulture.py
+++ b/scripts/run_vulture.py
@@ -3,6 +3,7 @@
import argparse
import sys
+# vulture is unable to import some Dependency issue
from vulture import Vulture
if __name__ == "__main__... | - [ ] 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/57894 | 2024-03-18T18:34:02Z | 2024-03-18T18:43:12Z | null | 2024-03-18T18:43:12Z |
TST: add pytest-localserver to dev deps | diff --git a/environment.yml b/environment.yml
index 3528f12c66a8b..e7bf2556d27f8 100644
--- a/environment.yml
+++ b/environment.yml
@@ -17,6 +17,7 @@ dependencies:
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-qt>=4.2.0
+ - pytest-localserver
- pyqt>=5.15.9
- coverage
diff --git a/requirements-dev.txt ... | Needed for the httpserver fixture that we use. | https://api.github.com/repos/pandas-dev/pandas/pulls/57893 | 2024-03-18T18:09:35Z | 2024-03-18T18:54:44Z | 2024-03-18T18:54:44Z | 2024-03-18T18:56:05Z |
CI: xfail Pyarrow slicing test | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index 1c08df80df477..caa00b205a29c 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -31,6 +31,7 @@
pa_version_under13p0,
pa_version_under14p0,
pa_version_under14p1,
+ pa_version_under16p0,
)
if TYPE_CHECKIN... | https://github.com/apache/arrow/issues/40642 | https://api.github.com/repos/pandas-dev/pandas/pulls/57892 | 2024-03-18T17:36:30Z | 2024-03-18T18:46:27Z | 2024-03-18T18:46:27Z | 2024-03-18T18:46:34Z |
BUG: Handle Series construction with Dask, dict-like, Series | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 699ff413efb91..8a7c1531205e0 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -452,7 +452,7 @@ def __init__(
data = data.reindex(index)
copy = False
data = data._mgr
- elif is_dict... | Should hopefully fix `test_construct_dask_float_array_int_dtype_match_ndarray` which is failing because dask `Series` now raises on `__bool__`? | https://api.github.com/repos/pandas-dev/pandas/pulls/57889 | 2024-03-18T17:03:38Z | 2024-03-18T20:38:20Z | 2024-03-18T20:38:20Z | 2024-03-18T20:59:25Z |
Backport PR #57883 on branch 2.2.x (Bump pypa/cibuildwheel from 2.16.5 to 2.17.0) | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index f79b2c51b5f92..470c044d2e99e 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -141,7 +141,7 @@ jobs:
- name: Build normal wheels
if: ${{ (env.IS_SCHEDULE_DISPATCH != 'true' || env.IS_PUSH ==... | Backport PR #57883: Bump pypa/cibuildwheel from 2.16.5 to 2.17.0 | https://api.github.com/repos/pandas-dev/pandas/pulls/57888 | 2024-03-18T16:50:25Z | 2024-03-18T17:43:02Z | 2024-03-18T17:43:02Z | 2024-03-18T17:43:02Z |
CI: Remove ASAN job | diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml
index 4a9fe04a8f5f9..66e4142dc0cbb 100644
--- a/.github/actions/run-tests/action.yml
+++ b/.github/actions/run-tests/action.yml
@@ -1,16 +1,9 @@
name: Run tests and report results
-inputs:
- preload:
- description: Preload arg... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/57886 | 2024-03-18T14:37:27Z | 2024-03-19T05:31:59Z | 2024-03-19T05:31:59Z | 2024-03-19T05:32:09Z |
Bump pypa/cibuildwheel from 2.16.5 to 2.17.0 | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index f79b2c51b5f92..470c044d2e99e 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -141,7 +141,7 @@ jobs:
- name: Build normal wheels
if: ${{ (env.IS_SCHEDULE_DISPATCH != 'true' || env.IS_PUSH ==... | Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.16.5 to 2.17.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pypa/cibuildwheel/releases">pypa/cibuildwheel's releases</a>.</em></p>
<blockquote>
<h2>v2.17.0</h2>
<ul>
<li>🌟 Adds the ability to inherit c... | https://api.github.com/repos/pandas-dev/pandas/pulls/57883 | 2024-03-18T08:15:40Z | 2024-03-18T16:49:53Z | 2024-03-18T16:49:53Z | 2024-03-18T16:49:57Z |
DOC: Fix a bug in the docstring of stack method | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d00c659392ef3..8fd0cd8c66e3c 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -9305,7 +9305,7 @@ def stack(
section.
sort : bool, default True
Whether to sort the levels of the resulting MultiIndex.
- ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/57881 | 2024-03-18T07:07:30Z | 2024-03-18T16:29:40Z | 2024-03-18T16:29:40Z | 2024-03-18T16:29:46Z |
EHN: add ability to format index and col names to Styler | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index a9967dcb8efe6..63e5d20160dd2 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -797,8 +797,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.io.formats.style.Styler.clear SA01" \
-i "pandas.io.formats.style.Styler.co... | - [ ] closes #48936 and closes #47489
- [ ] [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#... | https://api.github.com/repos/pandas-dev/pandas/pulls/57880 | 2024-03-18T05:58:17Z | 2024-03-26T17:26:08Z | 2024-03-26T17:26:08Z | 2024-04-12T00:11:48Z |
CI: Better error control in the validation of docstrings | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 4b8e632f3246c..3c46cb39eeb7e 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -65,1236 +65,1217 @@ fi
### DOCSTRINGS ###
if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
- PARAMETERS=(\
- --format=actions\
- --errors=EX01,EX03,... | Making the validation of docstrings more robust, main changes:
- If we ignore an error that doesn't fail, the CI will report it and break (there were 30 errors being ignored that are already fixed and removed from the list of ignores here)
- Instead of specifying all the errors to validate (that are all but one now... | https://api.github.com/repos/pandas-dev/pandas/pulls/57879 | 2024-03-18T01:30:35Z | 2024-03-19T01:05:39Z | 2024-03-19T01:05:39Z | 2024-03-29T06:48:04Z |
CI: make docstring checks "instantaneous" | diff --git a/scripts/tests/test_validate_docstrings.py b/scripts/tests/test_validate_docstrings.py
index 73bfb12316dc5..ed9b52557b28f 100644
--- a/scripts/tests/test_validate_docstrings.py
+++ b/scripts/tests/test_validate_docstrings.py
@@ -90,6 +90,69 @@ def leftover_files(self) -> None:
"""
+def _print_v... |
- [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 annotat... | https://api.github.com/repos/pandas-dev/pandas/pulls/57878 | 2024-03-18T00:23:30Z | 2024-03-19T18:27:43Z | null | 2024-03-19T18:27:43Z |
CLN: replace deprecated freqs `H`/`M` with `h`/`ME` in tests for plotting | diff --git a/pandas/tests/plotting/frame/test_frame_subplots.py b/pandas/tests/plotting/frame/test_frame_subplots.py
index 16853114d93cd..511266d5786c5 100644
--- a/pandas/tests/plotting/frame/test_frame_subplots.py
+++ b/pandas/tests/plotting/frame/test_frame_subplots.py
@@ -187,9 +187,9 @@ def test_subplots_timeserie... | xref #52064, #54939
replaced deprecated frequencies `H` and `M` with correct `h` and `ME` in tests for plotting, marked as `@pytest.mark.xfail` | https://api.github.com/repos/pandas-dev/pandas/pulls/57877 | 2024-03-17T22:26:25Z | 2024-03-21T10:06:31Z | 2024-03-21T10:06:31Z | 2024-03-21T10:06:31Z |
ENH: add warning when export to tar, zip in append mode | diff --git a/pandas/io/common.py b/pandas/io/common.py
index 35c3a24d8e8f6..4507a7d08c8ba 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -361,6 +361,16 @@ def _get_filepath_or_buffer(
stacklevel=find_stack_level(),
)
+ if "a" in mode and compression_method in ["zip", "tar"]:
+ ... | - [ ] closes #56778 (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/57875 | 2024-03-17T13:55:14Z | 2024-04-01T18:24:34Z | 2024-04-01T18:24:34Z | 2024-04-01T18:24:41Z |
DOC: add note to how pandas deduplicate header when read from file | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index 1ef2e65617c9b..5e9e7d0cf5ba8 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -195,6 +195,12 @@ class _read_shared(TypedDict, Generic[HashableT], total=False):
parameter ignores commented lines and empty l... | - [ ] closes #57792 (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/57874 | 2024-03-17T09:48:29Z | 2024-04-01T18:42:54Z | 2024-04-01T18:42:54Z | 2024-04-01T18:43:01Z |
DOC: Fix rendering of whatsnew entries | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index aceef7a5d6923..6dac64449179b 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -91,16 +91,16 @@ Now using multiple groupings will also pass the unobserved groups to the provide
Similarly:
- - In pr... | - [ ] 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/57871 | 2024-03-16T23:01:40Z | 2024-03-17T00:32:48Z | 2024-03-17T00:32:48Z | 2024-03-19T20:08:53Z |
DEPR: Deprecate remaining copy usages | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index fb33601263c5d..3b9b91945624f 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -173,6 +173,13 @@ will be removed in a future version:
- :meth:`DataFrame.astype` / :meth:`Series.astype`
- :meth:`DataFra... | - [ ] 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/57870 | 2024-03-16T22:56:33Z | 2024-03-26T20:25:50Z | 2024-03-26T20:25:50Z | 2024-03-26T20:25:58Z |
CLN: enforce deprecation of `NDFrame.interpolate` with `ffill/bfill/pad/backfill` methods | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index ef561d50066d1..f60aa6e4f26b1 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -211,6 +211,7 @@ Removal of prior version deprecations/changes
- Enforced deprecation of strings ``T``, ``L``, ``U``, and `... | xref #53607
enforced deprecation of `NDFrame.interpolate` with `"ffill” / "bfill” / “pad” / “backfill"` methods | https://api.github.com/repos/pandas-dev/pandas/pulls/57869 | 2024-03-16T22:41:14Z | 2024-03-22T20:30:20Z | 2024-03-22T20:30:20Z | 2024-03-22T22:00:26Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.