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 Series.struct accessor for ArrowDtype[struct] | diff --git a/doc/source/reference/series.rst b/doc/source/reference/series.rst
index 58351bab07b22..9acbab7a42800 100644
--- a/doc/source/reference/series.rst
+++ b/doc/source/reference/series.rst
@@ -525,6 +525,29 @@ Sparse-dtype specific methods and attributes are provided under the
Series.sparse.from_coo
Ser... | Features:
* Series.struct.dtypes -- see dtypes and field names
* Series.struct.field(name_or_index) -- extract a field as a Series
* Series.struct.to_frame() -- convert all fields into a DataFrame
- [x] closes #54938 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pyda... | https://api.github.com/repos/pandas-dev/pandas/pulls/54977 | 2023-09-03T02:39:36Z | 2023-09-18T16:15:09Z | 2023-09-18T16:15:09Z | 2023-09-18T16:50:51Z |
TYP: fix a few types | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 4bfa8a4415785..a731cdbf99b0e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1926,11 +1926,17 @@ def to_dict(
self,
orient: Literal["dict", "list", "series", "split", "tight", "index"] = ...,
into: type[dict] = ..... | I fixed a few type issues discovered by using the pandas-stubs type tests with the pandas annotations (there are many errors).
I'm surprised that the two Excel-classes being marked as abstract wasn't detected by the CI, they are clearly meant to be instantiated, so they cannot be abstract. | https://api.github.com/repos/pandas-dev/pandas/pulls/54976 | 2023-09-03T00:53:55Z | 2023-09-06T17:16:27Z | 2023-09-06T17:16:27Z | 2023-09-06T17:16:34Z |
Include pyarrow_numpy string in efficient merge implementation | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 8ef3943ab0d8d..5b07a0010acdd 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -2421,7 +2421,8 @@ def _factorize_keys(
elif isinstance(lk, ExtensionArray) and lk.dtype == rk.dtype:
if (isinstance... | - [ ] 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/54974 | 2023-09-02T23:31:08Z | 2023-09-05T22:32:36Z | 2023-09-05T22:32:36Z | 2023-09-05T22:39:11Z |
Enable Arrow implementation for removeprefix | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index 4d887ecd1510f..83ed54c42a23c 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -2192,11 +2192,11 @@ def _str_rstrip(self, to_strip=None):
return type(self)(result)
def _str_re... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/54972 | 2023-09-02T22:01:15Z | 2023-09-06T09:00:59Z | 2023-09-06T09:00:59Z | 2023-09-06T09:01:02Z |
Backport PR #54962 on branch 2.1.x (BUG: DataFrame.stack with future_stack=True failing when columns are tuples) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 3848353187cde..a6848dad6e3cd 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -28,7 +28,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Fixed bug in :meth:`DataFrame.stack` with ``future_stack=True... | Backport PR #54962: BUG: DataFrame.stack with future_stack=True failing when columns are tuples | https://api.github.com/repos/pandas-dev/pandas/pulls/54971 | 2023-09-02T21:32:28Z | 2023-09-02T23:43:06Z | 2023-09-02T23:43:06Z | 2023-09-02T23:43:06Z |
Backport PR #54826 on branch 2.1.x (Infer large_string type as pyarrow_numpy strings) | diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py
index 87dd48b3569d8..cae975c96d61f 100644
--- a/pandas/core/arrays/string_arrow.py
+++ b/pandas/core/arrays/string_arrow.py
@@ -448,6 +448,15 @@ def _str_rstrip(self, to_strip=None):
class ArrowStringArrayNumpySemantics(ArrowStringArr... | Backport PR #54826: Infer large_string type as pyarrow_numpy strings | https://api.github.com/repos/pandas-dev/pandas/pulls/54969 | 2023-09-02T18:15:59Z | 2023-09-02T21:30:50Z | 2023-09-02T21:30:50Z | 2023-09-02T21:30:50Z |
Backport PR #54945 on branch 2.1.x (REGR: MultiIndex.append raising for overlapping IntervalIndex levels) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index e7bfda82494a3..d0c9b33b719b4 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` when ``usecols`` is given and ``dtypes`` is a dict ... | Backport PR #54945: REGR: MultiIndex.append raising for overlapping IntervalIndex levels | https://api.github.com/repos/pandas-dev/pandas/pulls/54968 | 2023-09-02T18:14:48Z | 2023-09-02T21:31:01Z | 2023-09-02T21:31:01Z | 2023-09-02T21:31:02Z |
Backport PR #54954 on branch 2.1.x (REGR: read_csv splitting on comma with delim_whitespace) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index e7bfda82494a3..d0882bdf094ad 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`merge` when merging over a PyArrow string ... | Backport PR #54954: REGR: read_csv splitting on comma with delim_whitespace | https://api.github.com/repos/pandas-dev/pandas/pulls/54967 | 2023-09-02T18:14:12Z | 2023-09-02T21:30:42Z | 2023-09-02T21:30:42Z | 2023-09-02T21:30:43Z |
TST: add test case of ngroup with NaN value | diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py
index 1e6d220199e22..999a03d18644d 100644
--- a/pandas/tests/groupby/test_groupby.py
+++ b/pandas/tests/groupby/test_groupby.py
@@ -3189,6 +3189,14 @@ def test_depr_get_group_len_1_list_likes(test_series, kwarg, value, name, warn):... | - [x] closes #50100
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests).
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added new tests to `GroupBy.ngroup` me... | https://api.github.com/repos/pandas-dev/pandas/pulls/54966 | 2023-09-02T18:12:30Z | 2023-09-06T17:17:33Z | 2023-09-06T17:17:33Z | 2023-09-06T17:17:40Z |
Backport PR #54958 on branch 2.1.x (BLD: Fix race condition) | diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build
index f302c649bc7bd..c0a9d1ad8ee4a 100644
--- a/pandas/_libs/meson.build
+++ b/pandas/_libs/meson.build
@@ -69,7 +69,8 @@ libs_sources = {
'index': {'sources': ['index.pyx', _index_class_helper]},
'indexing': {'sources': ['indexing.pyx']},
... | Backport PR #54958: BLD: Fix race condition | https://api.github.com/repos/pandas-dev/pandas/pulls/54965 | 2023-09-02T17:01:43Z | 2023-09-02T21:31:14Z | 2023-09-02T21:31:14Z | 2023-09-02T21:31:14Z |
BUG: IntervalIndex.get_indexer incorrectly matching ints to datetimes | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 0fc4afc95a2ce..0e1a4d671ba2f 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -261,6 +261,8 @@ Strings
Interval
^^^^^^^^
- Bug in :class:`Interval` ``__repr__`` not displaying UTC offsets for :class:... | - [x] closes #47772 (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/54964 | 2023-09-02T16:55:31Z | 2023-09-20T17:04:24Z | 2023-09-20T17:04:24Z | 2023-10-20T20:28:37Z |
BUG: DataFrame.stack with future_stack=True failing when columns are tuples | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 8b4833f6ce043..16bf7f413fcf7 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -25,7 +25,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Fixed bug in :meth:`DataFrame.stack` with ``future_stack=True... | - [x] closes #54948 (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/54962 | 2023-09-02T15:44:41Z | 2023-09-02T21:32:20Z | 2023-09-02T21:32:20Z | 2023-09-03T13:34:20Z |
ENH: Implement more string accessors through PyArrow | diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py
index f438f75707265..0fd0979103c44 100644
--- a/pandas/core/arrays/string_arrow.py
+++ b/pandas/core/arrays/string_arrow.py
@@ -47,6 +47,8 @@
if TYPE_CHECKING:
+ from collections.abc import Sequence
+
from pandas._typing 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/54960 | 2023-09-02T12:59:28Z | 2023-09-06T22:42:37Z | 2023-09-06T22:42:37Z | 2023-09-06T22:42:40Z |
BLD: Fix race condition | diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build
index f302c649bc7bd..c0a9d1ad8ee4a 100644
--- a/pandas/_libs/meson.build
+++ b/pandas/_libs/meson.build
@@ -69,7 +69,8 @@ libs_sources = {
'index': {'sources': ['index.pyx', _index_class_helper]},
'indexing': {'sources': ['indexing.pyx']},
... | - [ ] closes #54889 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/54958 | 2023-09-02T12:41:30Z | 2023-09-02T17:01:34Z | 2023-09-02T17:01:34Z | 2023-09-02T17:01:35Z |
ENH: Use more arrow compute functions for string[pyarrow] dtype | diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py
index f438f75707265..43331639b3744 100644
--- a/pandas/core/arrays/string_arrow.py
+++ b/pandas/core/arrays/string_arrow.py
@@ -417,7 +417,7 @@ def _str_isupper(self):
def _str_len(self):
result = pc.utf8_length(self._p... | - [ ] 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/54957 | 2023-09-02T12:26:25Z | 2023-09-05T18:29:51Z | 2023-09-05T18:29:51Z | 2023-09-05T20:04:54Z |
Backport PR #54882 on branch 2.1.x (REGR: get_group raising with axis=1) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index fa83c8ee400c2..8b4833f6ce043 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`merge` when merging over a PyArrow string ... | #54882
| https://api.github.com/repos/pandas-dev/pandas/pulls/54956 | 2023-09-02T12:10:00Z | 2023-09-02T17:42:49Z | 2023-09-02T17:42:49Z | 2023-09-30T21:24:37Z |
Backport PR #54913 on branch 2.1.x (REGR: drop_duplicates raising for arrow strings) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index fa83c8ee400c2..8570a4eacfcc9 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -16,6 +16,7 @@ Fixed regressions
- Fixed regression in :func:`merge` when merging over a PyArrow string index (:issue:`5489... | Backport PR #54913: REGR: drop_duplicates raising for arrow strings | https://api.github.com/repos/pandas-dev/pandas/pulls/54955 | 2023-09-02T12:08:23Z | 2023-09-02T17:41:23Z | 2023-09-02T17:41:23Z | 2023-09-02T17:41:23Z |
REGR: read_csv splitting on comma with delim_whitespace | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 8b4833f6ce043..9968eb0fcc623 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`merge` when merging over a PyArrow string ... | - [ ] closes #54931 (Replace xxxx with the GitHub issue number)
- [ ] closes #54918 (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... | https://api.github.com/repos/pandas-dev/pandas/pulls/54954 | 2023-09-02T12:06:50Z | 2023-09-02T18:14:05Z | 2023-09-02T18:14:05Z | 2023-09-02T18:14:07Z |
REGR: Arrow backed objects not propagating exceptions | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 6d5da7cdff3b3..13de1d5e2ea52 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -26,6 +26,7 @@ Fixed regressions
- Fixed regression in :meth:`Series.drop_duplicates` for PyArrow strings (:issue:`54904`)
... | - [ ] closes #54944 (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/54952 | 2023-09-02T11:30:33Z | 2023-09-20T01:50:03Z | 2023-09-20T01:50:03Z | 2023-09-20T01:50:11Z |
BUG: Categorical.isin raising for overlapping intervals | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 17abb3debe3e7..89b4d102fcf04 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -171,7 +171,7 @@ Bug fixes
Categorical
^^^^^^^^^^^
--
+- :meth:`Categorical.isin` raising ``InvalidIndexError`` for cate... | - [x] closes #34974
- [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/54951 | 2023-09-02T10:56:59Z | 2023-09-02T21:33:09Z | 2023-09-02T21:33:09Z | 2023-09-06T00:53:45Z |
DEPR: DataFrameGroupBy.apply operating on the group keys | diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst
index c0d2a14507383..002e88533ab93 100644
--- a/doc/source/user_guide/cookbook.rst
+++ b/doc/source/user_guide/cookbook.rst
@@ -459,7 +459,7 @@ Unlike agg, apply's callable is passed a sub-DataFrame which gives you access to
df
... | - [x] closes #7155 (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/54950 | 2023-09-02T10:24:40Z | 2023-09-07T15:59:58Z | 2023-09-07T15:59:58Z | 2024-01-19T21:19:33Z |
BLD: improvements to meson.build files | diff --git a/generate_version.py b/generate_version.py
index 46e9f52bfc5de..06e38ce0fd978 100644
--- a/generate_version.py
+++ b/generate_version.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
# Note: This file has to live next to setup.py or versioneer will not work
import argparse
import os
diff --git a/meson.build ... | - [ ] 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/54949 | 2023-09-02T09:59:16Z | 2023-09-08T14:31:07Z | 2023-09-08T14:31:07Z | 2023-09-08T14:47:54Z |
TST: Use (unused) window parameter of test_freq_window_not_implemented | diff --git a/pandas/tests/window/test_rolling.py b/pandas/tests/window/test_rolling.py
index f4d903dc19fb7..01a202dd1d4b6 100644
--- a/pandas/tests/window/test_rolling.py
+++ b/pandas/tests/window/test_rolling.py
@@ -100,9 +100,9 @@ def test_freq_window_not_implemented(window):
index=date_range("2015-12-24", p... | Realized that `window` parameter is unused so this is fixing it. Calling `sum` function as the exception is only raised when a function is called with `VariableOffsetWindowIndexer`. Not sure if I need to add an entry to whatsnew for this
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/develo... | https://api.github.com/repos/pandas-dev/pandas/pulls/54947 | 2023-09-02T03:07:18Z | 2023-09-06T17:19:30Z | 2023-09-06T17:19:30Z | 2023-09-06T17:19:36Z |
REGR: MultiIndex.append raising for overlapping IntervalIndex levels | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index e7bfda82494a3..d0c9b33b719b4 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` when ``usecols`` is given and ``dtypes`` is a dict ... | - [x] closes #54934
- [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/54945 | 2023-09-02T01:48:46Z | 2023-09-02T18:14:39Z | 2023-09-02T18:14:39Z | 2023-09-06T00:53:47Z |
BUG fix for str.startswith and str.endswith with tuple arg for `"string[pyarrow]"` dtype (GH#54942) | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 9eb5bbc8f07d5..73139287f61bb 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -332,7 +332,7 @@ Conversion
Strings
^^^^^^^
- Bug in :func:`pandas.api.types.is_string_dtype` while checking object array... |
- [x] closes #54942
- [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/54943 | 2023-09-01T21:48:39Z | 2023-10-23T17:32:02Z | 2023-10-23T17:32:02Z | 2023-10-24T08:45:22Z |
BUG df.plot.box handles matplotlib Axes with sharey=True | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 17abb3debe3e7..f05f1fc4cf5ad 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -235,7 +235,7 @@ Period
Plotting
^^^^^^^^
--
+- Bug in :meth:`DataFrame.plot.box` with ``vert=False`` and a matplotlib `... | - [x] closes #54941
- [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/54940 | 2023-09-01T20:54:12Z | 2023-09-18T16:56:11Z | 2023-09-18T16:56:11Z | 2023-09-18T16:56:18Z |
DEPR: deprecate string H, BH, CBH in offsets frequencies, resolution abbreviations, _attrname_to_abbrevs | diff --git a/doc/source/user_guide/advanced.rst b/doc/source/user_guide/advanced.rst
index 682fa4c9b4fcc..453536098cfbb 100644
--- a/doc/source/user_guide/advanced.rst
+++ b/doc/source/user_guide/advanced.rst
@@ -976,7 +976,7 @@ of :ref:`frequency aliases <timeseries.offset_aliases>` with datetime-like inter
pd.i... | xref #54061
- deprecated for Timedelta units 'H' in favour of 'h'
- deprecated for time series frequencies aliases 'H', 'BH', 'CBH' in favour of 'h', 'bh', 'cbh'
- deprecated resolution 'H' for Timedelta.resolution_string in favour of 'h' | https://api.github.com/repos/pandas-dev/pandas/pulls/54939 | 2023-09-01T20:49:39Z | 2023-10-08T13:57:46Z | 2023-10-08T13:57:46Z | 2023-10-08T13:57:46Z |
ENH: use shutil.which() instead of external which(1) | diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py
index 806d42381afc6..6491849925e86 100644
--- a/pandas/io/clipboard/__init__.py
+++ b/pandas/io/clipboard/__init__.py
@@ -17,9 +17,12 @@
On Windows, no additional modules are needed.
On Mac, the pyobjc module is used, falling back to the p... | Use the `shutil.which()` function to determine whether executables exist rather than calling the external `which(1)` or `where` program. This program is not a part of POSIX base system, and modern Linux distributions are working towards making it completely optional. The builtin `shutil.which()` is available since Pyth... | https://api.github.com/repos/pandas-dev/pandas/pulls/54937 | 2023-09-01T18:25:47Z | 2023-09-08T17:12:33Z | 2023-09-08T17:12:32Z | 2023-09-08T17:14:37Z |
Convert test_sql to pytest idiom | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 2b139f8ca527c..0788d9da06eb9 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -138,7 +138,7 @@ def _parse_date_columns(data_frame, parse_dates):
if isinstance(df_col.dtype, DatetimeTZDtype) or col_name in parse_dates:
try:
... | Should make onboarding the new ADBC drivers a little easier.
This can be done in a few phases/PRs
@jorisvandenbossche | https://api.github.com/repos/pandas-dev/pandas/pulls/54936 | 2023-09-01T18:20:31Z | 2023-09-07T16:30:50Z | 2023-09-07T16:30:50Z | 2023-09-07T18:19:57Z |
DOC: fixes Sphinx parallel build error on `doc/source/whatsnew/v0.24.0.rst` | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 4ad5f4e7b5c3d..b013d03b2d68c 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -286,6 +286,7 @@ value. (:issue:`17054`)
.. ipython:: python
+ from io import StringIO
result = pd.read_htm... | - Solves #54782
- Adding `from io import StringIO` in line 289 in `doc/source/whatsnew/v0.24.0.rst` solves Sphinx parallel build error when running `python make.py html` (or just `python make.py --single whatsnew/v0.24.0.rst`)
I'm new here and would like to contribute. Any advice would be very much appreciated! Thi... | https://api.github.com/repos/pandas-dev/pandas/pulls/54935 | 2023-09-01T16:46:45Z | 2023-09-01T17:49:58Z | 2023-09-01T17:49:58Z | 2023-09-01T18:16:34Z |
Backport PR #54895 on branch 2.1.x (REGR: Merge raising when left merging on arrow string index) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index b7e45d043d869..4c548d94a0d59 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :func:`mer... | Backport PR #54895: REGR: Merge raising when left merging on arrow string index | https://api.github.com/repos/pandas-dev/pandas/pulls/54933 | 2023-09-01T16:19:15Z | 2023-09-01T17:49:10Z | 2023-09-01T17:49:10Z | 2023-09-01T17:49:10Z |
Backport PR #54884 on branch 2.1.x (REGR: value_counts raises with bins) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index b7e45d043d869..a624b888cd789 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`read_csv` when ``usecols`` is given and ``... | Backport PR #54884: REGR: value_counts raises with bins | https://api.github.com/repos/pandas-dev/pandas/pulls/54932 | 2023-09-01T16:19:06Z | 2023-09-01T17:48:58Z | 2023-09-01T17:48:58Z | 2023-09-01T17:48:59Z |
Revert "REF: remove unnecessary na_value fixture" | diff --git a/pandas/tests/extension/base/constructors.py b/pandas/tests/extension/base/constructors.py
index 7215e910365cf..8828f33b7c62c 100644
--- a/pandas/tests/extension/base/constructors.py
+++ b/pandas/tests/extension/base/constructors.py
@@ -35,8 +35,7 @@ def test_series_constructor(self, data):
if hasa... | This reverts one of the four commits of https://github.com/pandas-dev/pandas/pull/54719.
While this was certainly a logical change to make (it's superfluous for our tests), it can give problems for downstream EAs (we got several failures in the geopandas' CI with pandas nightly), if they use `None` as their missing... | https://api.github.com/repos/pandas-dev/pandas/pulls/54930 | 2023-09-01T12:56:44Z | 2023-11-20T21:17:35Z | 2023-11-20T21:17:35Z | 2023-11-20T21:17:40Z |
new pandas cheat sheet fomats | diff --git a/doc/cheatsheet/README.md b/doc/cheatsheet/README.md
new file mode 100644
index 0000000000000..6c33de104ed90
--- /dev/null
+++ b/doc/cheatsheet/README.md
@@ -0,0 +1,22 @@
+# Pandas Cheat Sheet
+
+The Pandas Cheat Sheet was created using Microsoft Powerpoint 2013.
+To create the PDF version, within Powerpoin... | - [x] closes #54910
- [x] Added an entry in the latest `doc/cheatsheet/` file if fixing a bug or adding a new feature.
| https://api.github.com/repos/pandas-dev/pandas/pulls/54928 | 2023-09-01T11:57:31Z | 2023-09-03T20:42:14Z | 2023-09-03T20:42:14Z | 2023-09-03T20:42:15Z |
REGR: interpolate raising if fill_value is given | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index a6848dad6e3cd..9418baabeeb05 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -20,6 +20,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.__setitem__` raising ``AssertionError`` when settin... | - [ ] closes #54920 (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/54927 | 2023-09-01T11:39:46Z | 2023-09-05T18:43:26Z | 2023-09-05T18:43:26Z | 2023-09-05T20:05:07Z |
Backport PR #54881 on branch 2.1.x (REGR: read_csv raising when dtypes is specified with usecols) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index f5aa0968ae362..1ef60960a51c3 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :func:`rea... | #54881 | https://api.github.com/repos/pandas-dev/pandas/pulls/54926 | 2023-09-01T11:17:44Z | 2023-09-01T16:17:24Z | 2023-09-01T16:17:24Z | 2023-09-01T16:17:27Z |
Backport PR #54880 on branch 2.1.x (REGR: comparing datetime vs None raises) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index f5aa0968ae362..f5e4446c927f9 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | Backport PR #54880: REGR: comparing datetime vs None raises | https://api.github.com/repos/pandas-dev/pandas/pulls/54925 | 2023-09-01T11:15:16Z | 2023-09-01T16:17:12Z | 2023-09-01T16:17:12Z | 2023-09-01T16:17:13Z |
DOC: add missing periods in JSON section | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index cfacc0280e97f..ecd547c5ff4d6 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -1811,8 +1811,8 @@ Writing JSON
A ``Series`` or ``DataFrame`` can be converted to a valid JSON string. Use ``to_json``
with option... | Hello, I am new here and this is my first contribution (following the advice on how to start contributing from [here](https://blog.afeld.me/contributing-to-pandas-1a68692c4d47)). I just added 2 periods that were missing in the JSON section of the user guide. | https://api.github.com/repos/pandas-dev/pandas/pulls/54924 | 2023-09-01T10:55:41Z | 2023-09-01T17:02:24Z | 2023-09-01T17:02:24Z | 2023-09-01T18:15:56Z |
REGR: Restore _constructor_from_mgr to pass manager object to constructor | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 1d2d89e7eadd1..a59cadde422b9 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -29,6 +29,7 @@ Fixed regressions
- Fixed performance regression with wide DataFrames, typically involving methods where all... | See https://github.com/pandas-dev/pandas/pull/53871#discussion_r1251901671 for context. This reverts the refactoring changes of the `_constructor_.._from_mgr` methods of https://github.com/pandas-dev/pandas/pull/53871 to the state of the original PR https://github.com/pandas-dev/pandas/pull/52132 that added those new m... | https://api.github.com/repos/pandas-dev/pandas/pulls/54922 | 2023-09-01T08:52:29Z | 2023-10-26T12:50:24Z | 2023-10-26T12:50:24Z | 2023-10-26T13:05:34Z |
REF: cast x and bins to Index early in cut, qcut | diff --git a/pandas/core/reshape/tile.py b/pandas/core/reshape/tile.py
index 43eea7c669ce7..126f589f5df71 100644
--- a/pandas/core/reshape/tile.py
+++ b/pandas/core/reshape/tile.py
@@ -43,7 +43,6 @@
to_datetime,
to_timedelta,
)
-from pandas.core import nanops
import pandas.core.algorithms as algos
if TYP... | Preliminary to a PR that avoids a bunch of dt64/td64 casting which is needed in order to fix #47772 | https://api.github.com/repos/pandas-dev/pandas/pulls/54919 | 2023-09-01T02:53:22Z | 2023-09-01T17:05:18Z | 2023-09-01T17:05:18Z | 2023-09-01T17:19:47Z |
BUG: Fix Rolling where duplicate datetimelike indexes are treated as consecutive rather than equal with closed='left' and closed='neither' | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 17abb3debe3e7..5fc4c5e0b04aa 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -168,6 +168,7 @@ Performance improvements
Bug fixes
~~~~~~~~~
- Bug in :class:`AbstractHolidayCalendar` where timezone da... | - [x] closes #20712
- [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/54917 | 2023-09-01T00:04:06Z | 2023-09-05T18:44:58Z | 2023-09-05T18:44:58Z | 2023-09-05T18:45:05Z |
REGR: concat raising for 2 different ea dtypes | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 8b4833f6ce043..068f8026e8c43 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :func:`con... | - [ ] closes #54848 (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/54914 | 2023-08-31T21:41:45Z | 2023-09-05T18:45:43Z | 2023-09-05T18:45:43Z | 2023-09-05T20:04:47Z |
REGR: drop_duplicates raising for arrow strings | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 8b4833f6ce043..e7bfda82494a3 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` when ``usecols`` is given and ``dtypes`` is a dict ... | - [ ] closes #54904 (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/54913 | 2023-08-31T21:27:37Z | 2023-09-02T12:07:16Z | 2023-09-02T12:07:16Z | 2023-09-02T12:07:18Z |
Backport PR #54896 on branch 2.1.x (DOC: updated docstring for deprecation of axis=1 in groupby) | diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py
index 7579f816d0ace..ba793b9c11c27 100644
--- a/pandas/core/shared_docs.py
+++ b/pandas/core/shared_docs.py
@@ -113,6 +113,12 @@
axis : {0 or 'index', 1 or 'columns'}, default 0
Split along rows (0) or columns (1). For `Series` this parameter
... | Backport PR #54896: DOC: updated docstring for deprecation of axis=1 in groupby | https://api.github.com/repos/pandas-dev/pandas/pulls/54912 | 2023-08-31T20:17:36Z | 2023-08-31T23:58:14Z | 2023-08-31T23:58:13Z | 2023-08-31T23:58:14Z |
Backport PR #54894 on branch 2.1.x (MAINT: Reflect changes from `numpy` namespace refactor Part 5) | diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py
index de99f828d604f..7117e34b23ca4 100644
--- a/pandas/core/dtypes/missing.py
+++ b/pandas/core/dtypes/missing.py
@@ -285,7 +285,7 @@ def _isna_array(values: ArrayLike, inf_as_na: bool = False):
# "Union[ndarray[Any, Any], Extension... | Backport PR #54894: MAINT: Reflect changes from `numpy` namespace refactor Part 5 | https://api.github.com/repos/pandas-dev/pandas/pulls/54905 | 2023-08-31T16:21:15Z | 2023-08-31T18:59:03Z | 2023-08-31T18:59:03Z | 2023-08-31T18:59:03Z |
Backport PR #54885 on branch 2.1.x (REGR: setitem with part of a MultiIndex raises) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 66f6d59d08cb2..f5aa0968ae362 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed regression in :meth:`... | Backport PR #54885: REGR: setitem with part of a MultiIndex raises | https://api.github.com/repos/pandas-dev/pandas/pulls/54899 | 2023-08-31T13:54:15Z | 2023-08-31T15:58:32Z | 2023-08-31T15:58:32Z | 2023-08-31T15:58:33Z |
DOC: updated docstring for deprecation of axis=1 in groupby | diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py
index 1fc63dd503467..9da103e13f691 100644
--- a/pandas/core/shared_docs.py
+++ b/pandas/core/shared_docs.py
@@ -113,6 +113,12 @@
axis : {0 or 'index', 1 or 'columns'}, default 0
Split along rows (0) or columns (1). For `Series` this parameter
... | - [x] closes #54873
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
| https://api.github.com/repos/pandas-dev/pandas/pulls/54896 | 2023-08-31T11:21:21Z | 2023-08-31T20:17:28Z | 2023-08-31T20:17:28Z | 2023-08-31T20:26:33Z |
REGR: Merge raising when left merging on arrow string index | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index b7e45d043d869..4c548d94a0d59 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :func:`mer... | - [ ] 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/54895 | 2023-08-31T09:34:51Z | 2023-09-01T16:18:15Z | 2023-09-01T16:18:15Z | 2023-09-01T16:18:18Z |
MAINT: Reflect changes from `numpy` namespace refactor Part 5 | diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py
index de99f828d604f..7117e34b23ca4 100644
--- a/pandas/core/dtypes/missing.py
+++ b/pandas/core/dtypes/missing.py
@@ -285,7 +285,7 @@ def _isna_array(values: ArrayLike, inf_as_na: bool = False):
# "Union[ndarray[Any, Any], Extension... | Hi!
Here's a PR that reflects changes introduced in https://github.com/numpy/numpy/pull/24587. (The only item that needs to be modified in pandas is `np.recarray` access) | https://api.github.com/repos/pandas-dev/pandas/pulls/54894 | 2023-08-31T09:32:19Z | 2023-08-31T16:21:05Z | 2023-08-31T16:21:05Z | 2023-08-31T18:45:44Z |
Update warning message for consistency | diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py
index 3db36fc50e343..b00c470ca173f 100644
--- a/pandas/core/dtypes/common.py
+++ b/pandas/core/dtypes/common.py
@@ -498,7 +498,7 @@ def is_categorical_dtype(arr_or_dtype) -> bool:
# GH#52527
warnings.warn(
"is_categorical_dtype ... | - [ ] closes #54892 (Replace #54892 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/54893 | 2023-08-31T08:48:43Z | 2023-08-31T16:23:08Z | 2023-08-31T16:23:07Z | 2023-08-31T16:23:15Z |
Backport PR #54879 on branch 2.1.x (DOC: Add release notes for 2.1.1) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index fc225d0f44497..c21fbc28ae68f 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -16,6 +16,7 @@ Version 2.1
.. toctree::
:maxdepth: 2
+ v2.1.1
v2.1.0
Version 2.0
diff --git a/doc/source/whatsne... | Backport PR #54879: DOC: Add release notes for 2.1.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/54891 | 2023-08-31T08:24:21Z | 2023-08-31T10:46:28Z | 2023-08-31T10:46:28Z | 2023-08-31T10:46:29Z |
WEB: fix 2.1 url in versions.json | diff --git a/web/pandas/versions.json b/web/pandas/versions.json
index 3b302dde5baea..43efaf8ebe259 100644
--- a/web/pandas/versions.json
+++ b/web/pandas/versions.json
@@ -12,7 +12,7 @@
{
"name": "2.0",
"version": "2.0",
- "url": "https://pandas.pydata.org/pandas-docs/version/2.0"
+ ... | Small follow-up on https://github.com/pandas-dev/pandas/pull/54874 | https://api.github.com/repos/pandas-dev/pandas/pulls/54890 | 2023-08-31T08:16:07Z | 2023-08-31T08:16:43Z | 2023-08-31T08:16:43Z | 2023-08-31T08:16:46Z |
DOC: fix a typo in development doc | diff --git a/doc/source/development/debugging_extensions.rst b/doc/source/development/debugging_extensions.rst
index dffc9deadd347..27f812b65e261 100644
--- a/doc/source/development/debugging_extensions.rst
+++ b/doc/source/development/debugging_extensions.rst
@@ -30,7 +30,7 @@ By specifying ``builddir="debug"`` all of... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/54886 | 2023-08-31T00:31:40Z | 2023-08-31T01:47:43Z | 2023-08-31T01:47:43Z | 2023-08-31T01:48:17Z |
REGR: setitem with part of a MultiIndex raises | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 66f6d59d08cb2..f5aa0968ae362 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed regression in :meth:`... | - [x] closes #54875
- [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/54885 | 2023-08-30T23:32:25Z | 2023-08-31T13:54:06Z | 2023-08-31T13:54:06Z | 2023-09-06T00:53:48Z |
REGR: value_counts raises with bins | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index b7e45d043d869..a624b888cd789 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`read_csv` when ``usecols`` is given and ``... | - [ ] closes #54857 (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/54884 | 2023-08-30T23:06:09Z | 2023-09-01T16:17:55Z | 2023-09-01T16:17:55Z | 2023-09-01T16:17:58Z |
PERF: sort_index with an already monotonic MultiIndex | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 8e0bffd7b8ece..e56fbf1d8c32f 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -694,22 +694,28 @@ def time_frame_sort_values(self, ascending):
class SortMultiKey:
- de... | - [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/54883 | 2023-08-30T23:01:46Z | 2023-08-31T16:26:29Z | 2023-08-31T16:26:29Z | 2023-09-06T00:53:49Z |
REGR: get_group raising with axis=1 | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index b7e45d043d869..e31d161993824 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`read_... | - [ ] closes #54858 (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/54882 | 2023-08-30T22:48:24Z | 2023-09-01T16:17:40Z | 2023-09-01T16:17:40Z | 2023-09-02T12:09:28Z |
REGR: read_csv raising when dtypes is specified with usecols | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index f5aa0968ae362..1ef60960a51c3 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :func:`rea... | - [ ] closes #54868 (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/54881 | 2023-08-30T22:39:11Z | 2023-09-01T00:12:54Z | 2023-09-01T00:12:54Z | 2023-09-01T11:16:44Z |
REGR: comparing datetime vs None raises | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index f5aa0968ae362..f5e4446c927f9 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | - [ ] closes #54870 (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/54880 | 2023-08-30T22:30:32Z | 2023-09-01T11:14:11Z | 2023-09-01T11:14:11Z | 2023-09-01T11:14:14Z |
DOC: Add release notes for 2.1.1 | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index e933b3e84c481..1f12859e4081e 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -24,6 +24,7 @@ Version 2.1
.. toctree::
:maxdepth: 2
+ v2.1.1
v2.1.0
Version 2.0
diff --git a/doc/source/whatsne... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/54879 | 2023-08-30T22:15:59Z | 2023-08-31T08:24:12Z | 2023-08-31T08:24:12Z | 2023-09-06T00:53:57Z |
WEB: Add 2.1 to the switcher | diff --git a/web/pandas/versions.json b/web/pandas/versions.json
index 4be8f10a88334..3b302dde5baea 100644
--- a/web/pandas/versions.json
+++ b/web/pandas/versions.json
@@ -5,10 +5,15 @@
"url": "https://pandas.pydata.org/docs/dev/"
},
{
- "name": "2.0 (stable)",
- "version": "2.0",
+ ... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/54874 | 2023-08-30T19:39:40Z | 2023-08-31T02:13:23Z | 2023-08-31T02:13:23Z | 2023-08-31T08:16:16Z |
RLS: 2.1.0 | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/54866 | 2023-08-30T11:23:44Z | 2023-08-30T11:24:00Z | 2023-08-30T11:24:00Z | 2023-08-30T11:24:01Z | |
Backport PR #54850 on branch 2.1.x (DOC: Add date for v2.1.0) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 0928569641b5b..1f627af02dc75 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -1,6 +1,6 @@
.. _whatsnew_210:
-What's new in 2.1.0 (Aug 11, 2023)
+What's new in 2.1.0 (Aug 30, 2023)
-----------------... | Backport PR #54850: DOC: Add date for v2.1.0 | https://api.github.com/repos/pandas-dev/pandas/pulls/54864 | 2023-08-29T20:30:17Z | 2023-08-29T22:06:15Z | 2023-08-29T22:06:15Z | 2023-08-29T22:06:15Z |
Backport PR #54856 on branch 2.1.x (BUG: ArrowExtensionArray.factorize with chunked dictionary array) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 0928569641b5b..e153cb30caef3 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -847,6 +847,7 @@ ExtensionArray
- Bug in :meth:`Series.rank` returning wrong order for small values with ``Float64`` dtype ... | Backport PR #54856: BUG: ArrowExtensionArray.factorize with chunked dictionary array | https://api.github.com/repos/pandas-dev/pandas/pulls/54863 | 2023-08-29T20:30:06Z | 2023-08-29T22:25:48Z | 2023-08-29T22:25:48Z | 2023-08-29T22:25:48Z |
DOC: Add note about using conda to generate debug builds | diff --git a/doc/source/development/debugging_extensions.rst b/doc/source/development/debugging_extensions.rst
index 9ac4cf4083475..dffc9deadd347 100644
--- a/doc/source/development/debugging_extensions.rst
+++ b/doc/source/development/debugging_extensions.rst
@@ -21,6 +21,10 @@ By default building pandas from source w... | Noted from discussion in https://github.com/mesonbuild/meson-python/issues/459#issuecomment-1692971600 | https://api.github.com/repos/pandas-dev/pandas/pulls/54860 | 2023-08-29T18:47:15Z | 2023-08-30T16:57:20Z | 2023-08-30T16:57:20Z | 2023-08-30T16:57:26Z |
DOC issue 54822: per @DavidToneian recommendation, I used a specific … | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index fb3e1ba32228c..cfacc0280e97f 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -2619,7 +2619,7 @@ columns to strings.
.. code-block:: python
- url_mcc = "https://en.wikipedia.org/wiki/Mobile_country_code"... | …version of the wikipedia source page for the example of reading HTML content.
- [ ] closes #54822
- [ ] [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.pyd... | https://api.github.com/repos/pandas-dev/pandas/pulls/54859 | 2023-08-29T18:23:44Z | 2023-08-29T19:58:04Z | 2023-08-29T19:58:04Z | 2023-08-29T20:00:50Z |
BUG: ArrowExtensionArray.factorize with chunked dictionary array | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 0928569641b5b..e153cb30caef3 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -847,6 +847,7 @@ ExtensionArray
- Bug in :meth:`Series.rank` returning wrong order for small values with ``Float64`` dtype ... | - [x] closes #54844 (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/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/54856 | 2023-08-29T17:23:52Z | 2023-08-29T20:29:57Z | 2023-08-29T20:29:57Z | 2023-08-29T20:38:39Z |
CI: add empty line in `no-bool-in-generic` to avoid `black` complaining | diff --git a/scripts/no_bool_in_generic.py b/scripts/no_bool_in_generic.py
index c483d221a4266..15bc2247469c7 100644
--- a/scripts/no_bool_in_generic.py
+++ b/scripts/no_bool_in_generic.py
@@ -65,7 +65,7 @@ def replace_bool_with_bool_t(to_replace, content: str) -> str:
+ replaced_line[col_offset + ... | *No reference issues (I ran into this during another contribution).*
| https://api.github.com/repos/pandas-dev/pandas/pulls/54855 | 2023-08-29T16:55:23Z | 2023-08-31T16:03:54Z | 2023-08-31T16:03:54Z | 2023-09-23T13:47:10Z |
Fix GH #54853: BUG: DeprecationWarning for frontend.OptionParser when building docs | diff --git a/doc/make.py b/doc/make.py
index 937b2638fb098..9db4ea406bc1f 100755
--- a/doc/make.py
+++ b/doc/make.py
@@ -159,10 +159,10 @@ def _get_page_title(self, page):
Open the rst file `page` and extract its title.
"""
fname = os.path.join(SOURCE_PATH, f"{page}.rst")
- option_pars... | - [x] closes #54853 (Replace xxxx with the GitHub issue number)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
See https://... | https://api.github.com/repos/pandas-dev/pandas/pulls/54854 | 2023-08-29T16:47:41Z | 2023-08-30T19:23:45Z | 2023-08-30T19:23:45Z | 2023-08-31T08:39:39Z |
Backport PR #54815 on branch 2.1.x (DOC: added docstring for `storage_options` in `read_html`) | diff --git a/pandas/io/html.py b/pandas/io/html.py
index 8a73c786825e3..10701be4f7e0b 100644
--- a/pandas/io/html.py
+++ b/pandas/io/html.py
@@ -23,6 +23,7 @@
AbstractMethodError,
EmptyDataError,
)
+from pandas.util._decorators import doc
from pandas.util._exceptions import find_stack_level
from pandas.uti... | Backport PR #54815: DOC: added docstring for `storage_options` in `read_html` | https://api.github.com/repos/pandas-dev/pandas/pulls/54852 | 2023-08-29T16:07:24Z | 2023-08-29T17:54:40Z | 2023-08-29T17:54:40Z | 2023-08-29T17:54:41Z |
BUG: Tackle GH47203; Ensure body is non-empty when accessing row_body_cells | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 61848cb127029..5cfa89a39a78f 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -890,6 +890,7 @@ Styler
- Bug when attempting to apply styling functions to an empty DataFrame subset (:issue:`45313`)
- B... | - [x] closes #47203
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests).
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added an entry in the latest `doc/sour... | https://api.github.com/repos/pandas-dev/pandas/pulls/47204 | 2022-06-02T20:43:37Z | 2022-06-05T22:48:08Z | 2022-06-05T22:48:08Z | 2022-06-06T08:06:53Z |
REF: avoid ravel in DTA._add_offset | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 5a21b1a3abb1d..d37c287be4cfd 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -2370,59 +2370,67 @@ cdef class SemiMonthOffset(SingleConstructorOffset):
@cython.boundscheck(False)
def _appl... | - [ ] 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/47200 | 2022-06-02T15:15:52Z | 2022-06-02T23:19:20Z | 2022-06-02T23:19:19Z | 2022-06-02T23:33:03Z |
BUG: StataWriter value_label encoding | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 61848cb127029..cb99f15775ab4 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -820,7 +820,7 @@ I/O
- Bug in :func:`read_parquet` when ``engine="fastparquet"`` where the file was not closed on error (:i... | - [x] closes #46750
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added an entry in `doc/source/whatsne... | https://api.github.com/repos/pandas-dev/pandas/pulls/47199 | 2022-06-02T08:46:50Z | 2022-06-05T22:48:50Z | 2022-06-05T22:48:50Z | 2022-06-05T22:48:54Z |
ENH: Move SettingWithCopyWarning to error/__init__.py per GH27656 | diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst
index e80aa0ace6bc2..0e10b8792eaba 100644
--- a/doc/source/reference/testing.rst
+++ b/doc/source/reference/testing.rst
@@ -42,6 +42,7 @@ Exceptions and warnings
errors.ParserWarning
errors.PerformanceWarning
errors.SettingWith... | - [x] xref #27656. this GitHub issue is being done in multiple parts
- [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/developme... | https://api.github.com/repos/pandas-dev/pandas/pulls/47198 | 2022-06-02T04:05:23Z | 2022-06-03T20:29:11Z | 2022-06-03T20:29:11Z | 2022-06-03T20:29:25Z |
TYP: NDFrame.min/max mypy workaround | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d5b55a89f28df..08e6e2fdab2d9 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -11287,8 +11287,7 @@ def median(
setattr(cls, "median", median)
- # error: Untyped decorator makes function "max" untyped
- @doc(... | mypy infers `_max_examples` as string when I use `reveal_type` but without an explicit type annotation, mypy weirdly thinks that the decorated is untyped. | https://api.github.com/repos/pandas-dev/pandas/pulls/47197 | 2022-06-02T03:36:16Z | 2022-06-02T16:53:16Z | 2022-06-02T16:53:16Z | 2022-06-08T19:26:17Z |
BUG: Period + np.timedelta64(nat) | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 61848cb127029..45c32d689bd5b 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -828,6 +828,7 @@ Period
- Bug in :meth:`Period.strftime` and :meth:`PeriodIndex.strftime`, directives ``%l`` and ``%u`` wer... | - [ ] 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/47196 | 2022-06-02T03:19:20Z | 2022-06-03T15:49:09Z | 2022-06-03T15:49:09Z | 2022-06-03T15:51:58Z |
Add absolute value to head() and tail() docstrings for negative values of n | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d5b55a89f28df..ebb853c00872b 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5182,7 +5182,7 @@ def head(self: NDFrameT, n: int = 5) -> NDFrameT:
has the right type of data in it.
For negative values of `n`, this ... | - [x] closes #42204
- [ ] 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/47195 | 2022-06-02T02:17:22Z | 2022-06-02T18:10:16Z | 2022-06-02T18:10:16Z | 2022-06-13T23:51:43Z |
updated period.daysinmonth definition to match period.days_in_month | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index de44f0da8275e..73b88b4b147f8 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -2253,7 +2253,7 @@ cdef class _Period(PeriodMixin):
@property
def daysinmonth(self) -> int:
"""
- ... | - [DOC] The definition for period.daysinmonth in the .pyx file was worded slightly differently than period.days_in_month, despite both methods being exactly the same. This change updates the definition of daysinmonth to match that of days_in_month.
| https://api.github.com/repos/pandas-dev/pandas/pulls/47193 | 2022-06-01T21:52:10Z | 2022-06-02T18:15:30Z | 2022-06-02T18:15:30Z | 2022-06-02T18:15:37Z |
Unit Test: Construction of DataFrame works with empty list but not empty array | diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py
index 78db4f7ea5c75..0a67061016566 100644
--- a/pandas/tests/frame/test_constructors.py
+++ b/pandas/tests/frame/test_constructors.py
@@ -3085,3 +3085,9 @@ def test_tzaware_data_tznaive_dtype(self, constructor):
as... | - [ ] closes #46822
- [ ] [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/47192 | 2022-06-01T15:38:15Z | 2022-06-11T18:05:50Z | 2022-06-11T18:05:50Z | 2022-06-11T18:05:55Z |
REF: delta_to_nanoseconds handle non-nano | diff --git a/pandas/_libs/tslibs/offsets.pyi b/pandas/_libs/tslibs/offsets.pyi
index 9410379b16ba2..058bbcdd346e0 100644
--- a/pandas/_libs/tslibs/offsets.pyi
+++ b/pandas/_libs/tslibs/offsets.pyi
@@ -108,6 +108,7 @@ def to_offset(freq: None) -> None: ...
def to_offset(freq: timedelta | BaseOffset | str) -> BaseOffset... | - [ ] 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/47191 | 2022-06-01T15:01:50Z | 2022-06-01T21:28:10Z | 2022-06-01T21:28:10Z | 2022-06-01T22:07:52Z |
Backport PR #47179 on branch 1.4.x (CI: Versioneer not picking up version in 32-bit build) | diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml
index 500e800a082d9..be894e6a5a63e 100644
--- a/.github/workflows/32-bit-linux.yml
+++ b/.github/workflows/32-bit-linux.yml
@@ -23,9 +23,15 @@ jobs:
- name: Run 32-bit manylinux2014 Docker Build / Tests
run: |
+ ... | Backport PR #47179: CI: Versioneer not picking up version in 32-bit build | https://api.github.com/repos/pandas-dev/pandas/pulls/47190 | 2022-06-01T12:19:47Z | 2022-06-01T15:13:46Z | 2022-06-01T15:13:46Z | 2022-06-01T15:13:46Z |
⬆️ UPGRADE: Autoupdate pre-commit config | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 81c76e02c73f8..266e5a015e408 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -11,7 +11,7 @@ repos:
- id: absolufy-imports
files: ^pandas/
- repo: https://github.com/jendrikseipp/vulture
- rev: 'v2.3'
+ re... | <!-- START pr-commits -->
<!-- END pr-commits -->
## Base PullRequest
default branch (https://github.com/pandas-dev/pandas/tree/main)
## Command results
<details>
<summary>Details: </summary>
<details>
<summary><em>add path</em></summary>
```Shell
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_... | https://api.github.com/repos/pandas-dev/pandas/pulls/47187 | 2022-06-01T07:09:45Z | 2022-06-01T08:59:54Z | 2022-06-01T08:59:54Z | 2022-06-01T08:59:59Z |
BUG: groupby does not respect dropna=False when input has MultiIndex | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index eb08034bb92eb..10f612f8b63e2 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -857,6 +857,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.rolling` gives ValueError when center=True, axis=1 and ... | - [x] closes #46783 (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/47186 | 2022-06-01T03:33:26Z | 2022-06-05T22:52:35Z | 2022-06-05T22:52:34Z | 2022-06-06T03:14:48Z |
DOC: Add to docs on group_keys in groupby.apply | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index ffbee0bf21a66..af2a5579bf1cd 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -188,21 +188,33 @@ class providing the base-class of operations.
>>> df = pd.DataFrame({'A': 'a a b'.split(),
... ... | - [ ] 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/47185 | 2022-06-01T02:02:15Z | 2022-06-02T16:10:29Z | 2022-06-02T16:10:28Z | 2022-06-02T16:11:24Z |
TYP: annotate two decorators | diff --git a/pandas/core/computation/align.py b/pandas/core/computation/align.py
index f14882227ddd9..2e7a0f842ee6d 100644
--- a/pandas/core/computation/align.py
+++ b/pandas/core/computation/align.py
@@ -9,6 +9,7 @@
)
from typing import (
TYPE_CHECKING,
+ Callable,
Sequence,
)
import warnings
@@ -28,6... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/47184 | 2022-06-01T01:20:48Z | 2022-06-01T18:18:47Z | 2022-06-01T18:18:47Z | 2022-06-08T19:26:18Z |
[CLN] call __finalize__ in quantile | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 52857fed5b95f..c695c04052f9d 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -10936,10 +10936,8 @@ def quantile(
if needs_i8_conversion(cdtype):
dtype = cdtype
- if is_list_like(q):
- ... | - [x] [Tests added and passed]
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
In reference to #28283, this PR intends to ensure that `__finalize__` is always called before returning the result of `DataFrame.quantile`.
This was already ... | https://api.github.com/repos/pandas-dev/pandas/pulls/47183 | 2022-05-31T16:16:16Z | 2022-05-31T19:07:49Z | 2022-05-31T19:07:49Z | 2022-05-31T19:07:59Z |
CI: Versioneer not picking up version in 32-bit build | diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml
index 500e800a082d9..be894e6a5a63e 100644
--- a/.github/workflows/32-bit-linux.yml
+++ b/.github/workflows/32-bit-linux.yml
@@ -23,9 +23,15 @@ jobs:
- name: Run 32-bit manylinux2014 Docker Build / Tests
run: |
+ ... | - [ ] xref #46856 (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/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/47179 | 2022-05-30T21:48:07Z | 2022-06-01T12:19:21Z | 2022-06-01T12:19:21Z | 2022-06-01T13:47:26Z |
Backport PR #47165 on branch 1.4.x (BUG: do not suppress errors when closing file handles) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index b78188409d350..54cad82366e43 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -30,7 +30,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Most I/O methods do no longer suppress ``OSError`` and ``Valu... | Backport PR #47165: BUG: do not suppress errors when closing file handles | https://api.github.com/repos/pandas-dev/pandas/pulls/47178 | 2022-05-30T20:50:11Z | 2022-06-01T00:51:00Z | 2022-06-01T00:51:00Z | 2022-06-01T00:51:00Z |
DEPR: numeric_only default in resampler ops | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 6bf6fd65f5633..40276c6a21e77 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -605,7 +605,7 @@ In the case where ``df.columns`` is not unique, use :meth:`DataFrame.isetitem`:
``numeric_only`` default v... | Part of #46560
- [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] Ad... | https://api.github.com/repos/pandas-dev/pandas/pulls/47177 | 2022-05-30T20:31:50Z | 2022-06-05T22:12:42Z | 2022-06-05T22:12:42Z | 2022-06-06T20:57:03Z |
CLN: Simplify mmap code | diff --git a/pandas/io/common.py b/pandas/io/common.py
index 33f83d7c66433..5eca7eea7eec6 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -7,7 +7,6 @@
)
import bz2
import codecs
-from collections import abc
import dataclasses
import functools
import gzip
@@ -103,7 +102,6 @@ class IOHandles(Generic[A... | The mmap wrapper in pandas/io/common.py had CSV c-engine specific behavior: if mmap is used and encoding="utf-8", then the c-engine can cope with bytes (no need to decode the bytes to str). When pushing this edge case into the c-engine, we can simplify the mmap wrapper a lot! | https://api.github.com/repos/pandas-dev/pandas/pulls/47175 | 2022-05-30T18:36:51Z | 2022-05-30T20:45:01Z | 2022-05-30T20:45:01Z | 2022-06-08T19:26:28Z |
Test Case: pd.DataFrame.prob with min_count changes dtype if result contains NaNs | diff --git a/pandas/tests/frame/test_reductions.py b/pandas/tests/frame/test_reductions.py
index 702faf2f480e8..b4d3d1ae548b5 100644
--- a/pandas/tests/frame/test_reductions.py
+++ b/pandas/tests/frame/test_reductions.py
@@ -789,12 +789,29 @@ def test_sum_nanops_min_count(self):
)
def test_sum_nanops_dtype_mi... | - [ ] closes #47091
- [ ] [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/47170 | 2022-05-30T12:13:51Z | 2022-05-30T20:50:48Z | 2022-05-30T20:50:48Z | 2022-05-30T20:50:55Z |
BUG: do not suppress errors when closing file handles | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index b78188409d350..54cad82366e43 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -30,7 +30,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Most I/O methods do no longer suppress ``OSError`` and ``Valu... | Wait for #47153 to be merged (fails on main otherwise). Closes #47136 and should be backported https://github.com/pandas-dev/pandas/pull/47153#discussion_r884156873 | https://api.github.com/repos/pandas-dev/pandas/pulls/47165 | 2022-05-29T20:31:41Z | 2022-05-30T20:49:42Z | 2022-05-30T20:49:41Z | 2022-06-08T19:26:29Z |
ENH: implement Timedelta._as_unit | diff --git a/pandas/_libs/tslibs/dtypes.pxd b/pandas/_libs/tslibs/dtypes.pxd
index 84a3af0490c0a..9c0eb0f9b0945 100644
--- a/pandas/_libs/tslibs/dtypes.pxd
+++ b/pandas/_libs/tslibs/dtypes.pxd
@@ -7,6 +7,7 @@ cdef str npy_unit_to_abbrev(NPY_DATETIMEUNIT unit)
cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq)... | - [ ] 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/47162 | 2022-05-29T01:51:53Z | 2022-05-31T18:46:18Z | 2022-05-31T18:46:17Z | 2022-05-31T20:39:18Z |
Backport PR #47159 on branch 1.4.x (TST: Re-enable test after Cython upgrade) | diff --git a/pandas/tests/io/parser/common/test_common_basic.py b/pandas/tests/io/parser/common/test_common_basic.py
index bde69e365cfd1..69b087eff8a20 100644
--- a/pandas/tests/io/parser/common/test_common_basic.py
+++ b/pandas/tests/io/parser/common/test_common_basic.py
@@ -12,7 +12,6 @@
import numpy as np
import p... | Backport PR #47159: TST: Re-enable test after Cython upgrade | https://api.github.com/repos/pandas-dev/pandas/pulls/47161 | 2022-05-28T22:31:53Z | 2022-05-29T00:19:31Z | 2022-05-29T00:19:31Z | 2022-05-29T00:19:31Z |
TST: Re-enable test after Cython upgrade | diff --git a/pandas/tests/io/parser/common/test_common_basic.py b/pandas/tests/io/parser/common/test_common_basic.py
index 0ac0fe23bbbb7..115a2976ce618 100644
--- a/pandas/tests/io/parser/common/test_common_basic.py
+++ b/pandas/tests/io/parser/common/test_common_basic.py
@@ -12,7 +12,6 @@
import numpy as np
import p... | - [ ] 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/47159 | 2022-05-28T17:03:38Z | 2022-05-28T22:31:24Z | 2022-05-28T22:31:24Z | 2022-05-29T17:42:55Z |
Backport PR #47051 on branch 1.4.x (BUG: `DataFrame.shift` shows different behavior for `axis=1` when `freq` is specified) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 85e5983f877e8..b78188409d350 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -22,6 +22,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` with ``index_col=False`` identifying first row as i... | Backport PR #47051: BUG: `DataFrame.shift` shows different behavior for `axis=1` when `freq` is specified | https://api.github.com/repos/pandas-dev/pandas/pulls/47158 | 2022-05-28T10:11:12Z | 2022-05-28T11:46:22Z | 2022-05-28T11:46:22Z | 2022-05-28T11:46:22Z |
DEPR: na_sentinel in factorize | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 7e943bb5832e6..8a2be528d8168 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -721,8 +721,9 @@ Other Deprecations
- Deprecated the ``closed`` argument in :class:`ArrowInterval` in favor of ``inclusive`... | - [x] closes #46910 (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/47157 | 2022-05-28T05:08:07Z | 2022-06-24T21:31:30Z | 2022-06-24T21:31:30Z | 2022-06-24T21:48:55Z |
Allow reading SAS files from archives | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 681139fb51272..1f91953e2448e 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -176,6 +176,7 @@ Other enhancements
- ``times`` argument in :class:`.ExponentialMovingWindow` now accepts ``np.timedelta64`... | - [ ] 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/47154 | 2022-05-27T23:16:29Z | 2022-06-15T19:57:51Z | 2022-06-15T19:57:51Z | 2022-06-15T19:57:59Z |
CLN: Share code between _BytesTarFile and _BytesZipFile | diff --git a/pandas/io/common.py b/pandas/io/common.py
index fdee1600c2a32..33f83d7c66433 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -1,6 +1,10 @@
"""Common IO api utilities"""
from __future__ import annotations
+from abc import (
+ ABC,
+ abstractmethod,
+)
import bz2
import codecs
from... | - [x] xref #47136
- [x] [Tests added and passed]
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
Needs some more work (test... | https://api.github.com/repos/pandas-dev/pandas/pulls/47153 | 2022-05-27T22:24:59Z | 2022-05-30T12:17:56Z | 2022-05-30T12:17:56Z | 2022-06-08T19:26:31Z |
Backport PR #47150 on branch 1.4.x (DEPS: Bump Cython) | diff --git a/ci/deps/actions-310-numpydev.yaml b/ci/deps/actions-310-numpydev.yaml
index 401be14aaca02..2ac97cc479196 100644
--- a/ci/deps/actions-310-numpydev.yaml
+++ b/ci/deps/actions-310-numpydev.yaml
@@ -16,7 +16,7 @@ dependencies:
- pytz
- pip
- pip:
- - cython==0.29.24 # GH#34014
+ - cython==0.29.... | Backport PR #47150: DEPS: Bump Cython | https://api.github.com/repos/pandas-dev/pandas/pulls/47152 | 2022-05-27T21:06:31Z | 2022-05-28T09:53:44Z | 2022-05-28T09:53:44Z | 2022-05-28T09:53:44Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.