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 |
|---|---|---|---|---|---|---|---|
CI: Pin matplotlib < 3.8 | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 682708d811878..2522605cf5c38 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -34,7 +34,7 @@ dependencies:
- gcsfs>=2022.05.0
- jinja2>=3.1.2
- lxml>=4.8.0
- - matplotlib>=3.6.1
+ - matplotlib>=3.6.1, <3.8
- numb... | - [ ] 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/55210 | 2023-09-20T01:55:39Z | 2023-09-20T10:53:16Z | 2023-09-20T10:53:16Z | 2023-11-17T23:12:03Z |
Backport PR #54952 on branch 2.1.x (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`)
... | Backport PR #54952: REGR: Arrow backed objects not propagating exceptions | https://api.github.com/repos/pandas-dev/pandas/pulls/55209 | 2023-09-20T01:50:12Z | 2023-09-20T13:38:23Z | 2023-09-20T13:38:23Z | 2023-09-20T13:38:23Z |
aca va tu mensaje de commit | diff --git a/prueba.py b/prueba.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
| - [ ] 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/55208 | 2023-09-20T01:40:24Z | 2023-09-20T13:06:14Z | null | 2023-09-20T13:06:14Z |
DOC: Add whatsnew for 2.1.2 | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 1f12859e4081e..dbc7800196007 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.2
v2.1.1
v2.1.0
diff --git a/doc/source/whatsnew/... | - [ ] 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/55207 | 2023-09-19T23:57:31Z | 2023-09-20T13:52:35Z | 2023-09-20T13:52:35Z | 2023-09-20T13:52:36Z |
BUILD: Fix duplicate files warning | diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build
index 1cf2c4343d844..fd632790546f6 100644
--- a/pandas/_libs/meson.build
+++ b/pandas/_libs/meson.build
@@ -114,9 +114,40 @@ foreach ext_name, ext_dict : libs_sources
)
endforeach
-py.install_sources(
+# Basically just __init__.py and the .pyi fil... | - [ ] closes #54888 (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/55206 | 2023-09-19T23:12:27Z | 2023-09-20T16:59:56Z | 2023-09-20T16:59:56Z | 2023-09-20T17:35:16Z |
Backport PR #55189 on branch 2.1.x (Revert "DEPR: Deprecate returning a DataFrame in SeriesApply.apply_standard) | diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst
index 66ee571d6b5a5..b7a59516ae671 100644
--- a/doc/source/user_guide/cookbook.rst
+++ b/doc/source/user_guide/cookbook.rst
@@ -794,12 +794,12 @@ Apply
index=["I", "II", "III"],
)
- def make_df(ser):
- new_vals = ... | Backport PR #55189: Revert "DEPR: Deprecate returning a DataFrame in SeriesApply.apply_standard | https://api.github.com/repos/pandas-dev/pandas/pulls/55205 | 2023-09-19T22:26:42Z | 2023-09-20T15:53:48Z | 2023-09-20T15:53:48Z | 2023-09-20T15:53:49Z |
Backport PR #55175 on branch 2.1.x (DEPS: Bump to 1.26 proper for Python 3.12) | diff --git a/pyproject.toml b/pyproject.toml
index cfa767f808827..477c9be6274b3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,8 +10,7 @@ requires = [
# we don't want to force users to compile with 1.25 though
# (Ideally, in the future, though, oldest-supported-numpy can be dropped when our min numpy... | Backport PR #55175: DEPS: Bump to 1.26 proper for Python 3.12 | https://api.github.com/repos/pandas-dev/pandas/pulls/55203 | 2023-09-19T15:34:54Z | 2023-09-19T22:16:39Z | 2023-09-19T22:16:39Z | 2023-09-19T22:16:39Z |
BUG: RecursionError in loc.setitem | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 0fc4afc95a2ce..24bed22b3a3fe 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -266,6 +266,7 @@ Interval
Indexing
^^^^^^^^
- Bug in :meth:`Index.difference` not returning a unique set of values when `... | - [x] closes #52927 (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/55201 | 2023-09-19T14:52:51Z | 2023-09-19T17:21:30Z | 2023-09-19T17:21:30Z | 2023-09-20T21:52:19Z |
Fix NameError in 'Evaluation order matters' | diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst
index 52bc43f52b1d3..7541cf3c8af3c 100644
--- a/doc/source/user_guide/indexing.rst
+++ b/doc/source/user_guide/indexing.rst
@@ -1837,7 +1837,7 @@ This however is operating on a copy and will not work.
:okwarning:
:okexcept:
-... | This code in 'Indexing and selecting data' of doc wouldn't execute
- [ ] 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... | https://api.github.com/repos/pandas-dev/pandas/pulls/55198 | 2023-09-19T10:35:25Z | 2023-09-19T20:04:56Z | 2023-09-19T20:04:56Z | 2023-09-19T21:45:39Z |
TST: Test GroupBy.__getitem__ with a column from grouper | diff --git a/pandas/tests/groupby/test_grouping.py b/pandas/tests/groupby/test_grouping.py
index d05b60fd56b5f..9e899bf453548 100644
--- a/pandas/tests/groupby/test_grouping.py
+++ b/pandas/tests/groupby/test_grouping.py
@@ -131,6 +131,20 @@ def test_getitem_single_column(self):
tm.assert_series_equal(result... | - [x] closes #50383
| https://api.github.com/repos/pandas-dev/pandas/pulls/55193 | 2023-09-19T00:39:07Z | 2023-09-19T10:40:15Z | 2023-09-19T10:40:15Z | 2023-09-19T10:40:23Z |
CLN: do not import Axes/Artist/Figure from matplotlib.pyplot | diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py
index 0591394f5d9ed..d4e7e196dc2d4 100644
--- a/pandas/_testing/asserters.py
+++ b/pandas/_testing/asserters.py
@@ -416,7 +416,8 @@ def assert_attr_equal(attr: str, left, right, obj: str = "Attributes") -> None:
def assert_is_valid_plot_retur... | See https://github.com/matplotlib/matplotlib/issues/26812
These were the only cases that I found. | https://api.github.com/repos/pandas-dev/pandas/pulls/55192 | 2023-09-18T22:30:30Z | 2023-09-19T15:46:13Z | 2023-09-19T15:46:13Z | 2023-12-10T04:33:57Z |
Backport PR #55185 on branch 2.1.x (CI: Fix no BLAS error in 32 bit build) | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 1445e5e822017..c1a0352b5f5c0 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -230,11 +230,13 @@ jobs:
git -c user.email="you@example.com" merge --no-commit my_ref_name
... | Backport PR #55185: CI: Fix no BLAS error in 32 bit build | https://api.github.com/repos/pandas-dev/pandas/pulls/55191 | 2023-09-18T22:03:03Z | 2023-09-18T23:32:21Z | 2023-09-18T23:32:21Z | 2023-09-18T23:32:21Z |
TYP: Allow None in Period.strftime | diff --git a/pandas/_libs/tslibs/period.pyi b/pandas/_libs/tslibs/period.pyi
index c85865fea8fd0..a4aecd2ce0a09 100644
--- a/pandas/_libs/tslibs/period.pyi
+++ b/pandas/_libs/tslibs/period.pyi
@@ -90,7 +90,7 @@ class Period(PeriodMixin):
def _from_ordinal(cls, ordinal: int, freq) -> Period: ...
@classmethod
... | - [ ] 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/55190 | 2023-09-18T21:50:56Z | 2023-09-19T15:47:07Z | 2023-09-19T15:47:07Z | 2023-09-19T20:33:44Z |
Revert "DEPR: Deprecate returning a DataFrame in SeriesApply.apply_standard | diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst
index 002e88533ab93..2d2c0a4db4df6 100644
--- a/doc/source/user_guide/cookbook.rst
+++ b/doc/source/user_guide/cookbook.rst
@@ -794,12 +794,12 @@ Apply
index=["I", "II", "III"],
)
- def make_df(ser):
- new_vals = ... | Reasons for reverting:
- This was done for performance reasons, but this kills the use case to unpack nested data (lists for example)
- The deprecation is poorly done (axis 1 does not emit a warning)
- There is no documentation what users should do, this is necessary if we deprecate something for performance reaso... | https://api.github.com/repos/pandas-dev/pandas/pulls/55189 | 2023-09-18T21:09:26Z | 2023-09-19T22:25:37Z | 2023-09-19T22:25:37Z | 2023-09-19T22:41:55Z |
STY: Fix precommit failure | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index 2178e972b4d08..2f6fa35cae070 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -1942,7 +1942,7 @@ class Timedelta(_Timedelta):
----------
freq : str
Frequen... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55186 | 2023-09-18T18:18:35Z | 2023-09-18T19:00:45Z | 2023-09-18T19:00:45Z | 2023-09-18T19:00:48Z |
CI: Fix no BLAS error in 32 bit build | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 98c6226b14075..139cfcde95b2c 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -230,11 +230,13 @@ jobs:
git -c user.email="you@example.com" merge --no-commit my_ref_name
... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55185 | 2023-09-18T18:16:39Z | 2023-09-18T22:02:54Z | 2023-09-18T22:02:54Z | 2023-09-18T22:02:58Z |
Backport PR #55180 on branch 2.1.x (MAINT: Cleanup expired ndarray methods) | diff --git a/doc/source/user_guide/gotchas.rst b/doc/source/user_guide/gotchas.rst
index c00a236ff4e9d..99c85ac66623d 100644
--- a/doc/source/user_guide/gotchas.rst
+++ b/doc/source/user_guide/gotchas.rst
@@ -379,7 +379,7 @@ constructors using something similar to the following:
.. ipython:: python
x = np.array(... | Backport PR #55180: MAINT: Cleanup expired ndarray methods | https://api.github.com/repos/pandas-dev/pandas/pulls/55184 | 2023-09-18T16:18:37Z | 2023-09-18T18:20:06Z | 2023-09-18T18:20:06Z | 2023-09-18T18:20:06Z |
Faster ensure_string_array | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index 0c0610f72044e..23c8066b973f8 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -776,6 +776,7 @@ cpdef ndarray[object] ensure_string_array(
cdef:
Py_ssize_t i = 0, n = len(arr)
bint already_copied = True
+ ndarray[... | Benchmarks are still using 0.29.x, but I think this also prevents a regression from upgrading to 3.X as noted in #55179
```sh
| Change | Before [f4f598fb] <main> | After [b12de6c8] <faster-ensure-string> | Ratio | Benchmark (Parameter) |
|----------... | https://api.github.com/repos/pandas-dev/pandas/pulls/55183 | 2023-09-18T16:02:49Z | 2023-09-20T22:39:03Z | 2023-09-20T22:39:03Z | 2023-10-20T20:29:20Z |
DOC: correct an example in v0.14.0.rst to fix "NameError" | diff --git a/doc/source/whatsnew/v0.14.0.rst b/doc/source/whatsnew/v0.14.0.rst
index 9c537b3a48c74..33c3de577c063 100644
--- a/doc/source/whatsnew/v0.14.0.rst
+++ b/doc/source/whatsnew/v0.14.0.rst
@@ -349,9 +349,15 @@ More consistent behavior for some groupby methods:
- groupby head and tail respect column selection... | while building whatsnew/v0.14.0.rst the error occurs:
```
----> 1 g[['B']].head(1)
NameError: name 'g' is not defined
```
corrected the example to fix the error. | https://api.github.com/repos/pandas-dev/pandas/pulls/55182 | 2023-09-18T15:51:25Z | 2023-09-18T20:19:01Z | 2023-09-18T20:19:01Z | 2023-09-18T22:53:30Z |
MAINT: Cleanup expired ndarray methods | diff --git a/doc/source/user_guide/gotchas.rst b/doc/source/user_guide/gotchas.rst
index c00a236ff4e9d..99c85ac66623d 100644
--- a/doc/source/user_guide/gotchas.rst
+++ b/doc/source/user_guide/gotchas.rst
@@ -379,7 +379,7 @@ constructors using something similar to the following:
.. ipython:: python
x = np.array(... | Hi!
This PR reflects changes introduced in https://github.com/numpy/numpy/pull/24682. | https://api.github.com/repos/pandas-dev/pandas/pulls/55180 | 2023-09-17T17:22:19Z | 2023-09-18T16:17:34Z | 2023-09-18T16:17:33Z | 2023-09-18T16:18:22Z |
DEP: Use Cython 3.0 | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 810764754b7e1..9b0dc14fe6747 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -41,7 +41,7 @@
// pip (with all the conda available packages installed first,
// followed by the pip installed packages).
"matrix": {
- ... | - [ ] 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/55179 | 2023-09-17T12:47:58Z | 2023-11-16T20:27:32Z | 2023-11-16T20:27:32Z | 2023-11-16T21:10:34Z |
DOC: added deprecation message in docs for DataFrame.rolling | diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py
index becbba703f92c..72e94d049a9de 100644
--- a/pandas/core/window/rolling.py
+++ b/pandas/core/window/rolling.py
@@ -937,6 +937,11 @@ class Window(BaseWindow):
For `Series` this parameter is unused and defaults to 0.
+ .. de... | - [ ] closes #55133
- [ ] 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/55177 | 2023-09-17T10:54:14Z | 2023-09-18T19:42:38Z | 2023-09-18T19:42:38Z | 2023-09-18T19:42:45Z |
DOC: Update read_csv docs to reflect behaviour with `parse_dates` | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index e826aad478059..acf35ebd6afe5 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -238,7 +238,8 @@
default False
The behavior is as follows:
- * ``bool``. If ``True`` -> try parsing the index.
+ * ``b... | - [x] closes #55158
- [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/55176 | 2023-09-17T04:10:53Z | 2023-09-18T16:24:43Z | 2023-09-18T16:24:43Z | 2023-09-18T16:25:29Z |
DEPS: Bump to 1.26 proper for Python 3.12 | diff --git a/pyproject.toml b/pyproject.toml
index 7807a6cc6368d..4e1c77413efda 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,8 +10,7 @@ requires = [
# we don't want to force users to compile with 1.25 though
# (Ideally, in the future, though, oldest-supported-numpy can be dropped when our min numpy... | - [ ] 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/55175 | 2023-09-16T20:50:00Z | 2023-09-19T15:33:35Z | 2023-09-19T15:33:35Z | 2023-09-19T18:26:40Z |
BUG: .rolling() returns incorrect values when ts index is not nano seconds | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 145c364728b40..418f3abe30647 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | - [X] closes #55106
- [X] closes #55026
- [X] [Tests added and passed]
The bug is referred to and fixed inside the code. It needs to be generalised. @jorisvandenbossche we need to have the first feedback if we can generalise the data type with some utils or more generally. Done during the in-person sprint check. | https://api.github.com/repos/pandas-dev/pandas/pulls/55173 | 2023-09-16T16:33:12Z | 2023-10-26T02:14:58Z | 2023-10-26T02:14:58Z | 2023-10-26T02:15:15Z |
DOC: complete parameter descriptions for DataFrame.insert's docstring | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 8fcb91c846826..ce07210e735a4 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4915,7 +4915,9 @@ def insert(
column : str, number, or hashable object
Label of the inserted column.
value : Scalar, Series, or arra... | issue: https://github.com/jorisvandenbossche/pydata-amsterdam-pandas-sprint/issues/1
- bullet point item #5: "complete the parameter descriptions"
- [x] closes https://github.com/jorisvandenbossche/pydata-amsterdam-pandas-sprint/issues/1, bullet point 5
- [x] All [code checks passed](https://pandas.pydata.org/pand... | https://api.github.com/repos/pandas-dev/pandas/pulls/55172 | 2023-09-16T16:07:39Z | 2023-09-18T16:26:39Z | 2023-09-18T16:26:39Z | 2023-09-18T16:26:46Z |
ENH: set __module__ for objects in pandas pd.DataFrame API | diff --git a/doc/source/development/contributing_docstring.rst b/doc/source/development/contributing_docstring.rst
index e2881c1087e60..0b8c1e16dce0e 100644
--- a/doc/source/development/contributing_docstring.rst
+++ b/doc/source/development/contributing_docstring.rst
@@ -940,7 +940,7 @@ Finally, docstrings can also be... | - [x] part of #55178
- [ ] [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/55171 | 2023-09-16T15:46:31Z | 2024-03-23T12:25:15Z | 2024-03-23T12:25:15Z | 2024-03-23T12:25:15Z |
DOC: add alternative to docstring of deprecated Series.bool() method | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index bbaa6d3faeb05..b0063ca659a38 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1526,7 +1526,8 @@ def bool(self) -> bool_t:
.. deprecated:: 2.1.0
- bool is deprecated and will be removed in future version of pand... | Fixed! Docs adapted.
https://pandas.pydata.org/docs/dev/reference/api/pandas.Series.bool.html is deprecated; it would be nice to explain a potential alternative.
| https://api.github.com/repos/pandas-dev/pandas/pulls/55168 | 2023-09-16T15:12:48Z | 2023-09-19T15:50:04Z | 2023-09-19T15:50:04Z | 2023-09-19T15:50:12Z |
DEV: don't install tables on MacOS ARM in dev requirements.txt (add env markers) | diff --git a/requirements-dev.txt b/requirements-dev.txt
index 77afa9005029c..2c3c1331e25e5 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -35,7 +35,7 @@ psycopg2-binary>=2.9.3
pyarrow>=7.0.0
pymysql>=1.0.2
pyreadstat>=1.1.5
-tables>=3.7.0
+tables>=3.7.0 ; sys_platform != 'darwin' and platform_machi... | When installing dependencies via pip on Mac M1 or M2 installing tables is not trivial and throws an error (see below) because wheels of tables for this hardware is not available and building depends on hdf5.
The solution is to exclude the install of tables via environment markers in the `requirements-dev.txt`. This ... | https://api.github.com/repos/pandas-dev/pandas/pulls/55167 | 2023-09-16T15:12:42Z | 2024-02-28T17:56:57Z | null | 2024-02-28T17:56:57Z |
DOC: Added alternative examples for deprecated DataFrame.last() | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 5c303e2a73bd7..9ffeefa94213b 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -9660,7 +9660,8 @@ def last(self, offset) -> Self:
Notes
-----
.. deprecated:: 2.1.0
- Please create a mask and filter... | - [ ] 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/55166 | 2023-09-16T15:01:44Z | 2023-11-07T00:57:54Z | null | 2023-11-07T00:57:54Z |
DOC: remove duplicated sentence in return secion of pandas.DataFrame.agg /asof docstrings | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 5c303e2a73bd7..bbaa6d3faeb05 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -8323,8 +8323,6 @@ def asof(self, where, subset=None):
* DataFrame : when `self` is a DataFrame and `where` is an
array-like
-... | - [ ] 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/55165 | 2023-09-16T14:12:31Z | 2023-09-17T12:48:09Z | 2023-09-17T12:48:09Z | 2023-09-17T12:48:09Z |
DOC: fix the dev version label in the version dropdown | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 86d2494707ce2..65ed3c1a63410 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -172,7 +172,8 @@
import pandas # isort:skip
# version = '%s r%s' % (pandas.__version__, svn_version())
-version = str(pandas.__version__)
+# version = str(pandas.__ver... | Fixing the version in dev distributions
- [X] closes #55160 | https://api.github.com/repos/pandas-dev/pandas/pulls/55163 | 2023-09-16T14:02:58Z | 2023-10-07T15:23:09Z | null | 2023-10-07T15:23:09Z |
DOC: fix see also links in pandas.DataFrame.agg docstring | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 8fcb91c846826..124c21839afe7 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -9829,11 +9829,11 @@ def _gotitem(
--------
DataFrame.apply : Perform any type of operations.
DataFrame.transform : Perform transformation type opera... | - [ ] 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/55162 | 2023-09-16T13:50:36Z | 2023-09-17T12:45:26Z | 2023-09-17T12:45:26Z | 2023-09-17T12:45:26Z |
Backport PR #55159 on branch 2.1.x (DOCS: temporary pin pydata-sphinx-theme to 0.13) | diff --git a/environment.yml b/environment.yml
index d194b11df7195..447abd22e29b4 100644
--- a/environment.yml
+++ b/environment.yml
@@ -84,7 +84,7 @@ dependencies:
- google-auth
- natsort # DataFrame.sort_values doctest
- numpydoc
- - pydata-sphinx-theme
+ - pydata-sphinx-theme=0.13
- pytest-cython # d... | Backport PR #55159: DOCS: temporary pin pydata-sphinx-theme to 0.13 | https://api.github.com/repos/pandas-dev/pandas/pulls/55161 | 2023-09-16T13:47:39Z | 2023-09-16T16:47:14Z | 2023-09-16T16:47:14Z | 2023-09-16T16:47:15Z |
DOCS: temporary pin pydata-sphinx-theme to 0.13 | diff --git a/environment.yml b/environment.yml
index 8103ee29c84a7..5caa57ef37ee8 100644
--- a/environment.yml
+++ b/environment.yml
@@ -85,7 +85,7 @@ dependencies:
- google-auth
- natsort # DataFrame.sort_values doctest
- numpydoc
- - pydata-sphinx-theme
+ - pydata-sphinx-theme=0.13
- pytest-cython # d... |
The pydata-sphinx-theme has a new release, and that causes some issues with the top bar:

So we can maybe temporarily pin the theme until that is fixed | https://api.github.com/repos/pandas-dev/pandas/pulls/55159 | 2023-09-16T09:26:33Z | 2023-09-16T13:46:33Z | 2023-09-16T13:46:33Z | 2023-09-16T20:34:45Z |
Update __init__.py | diff --git a/pandas/api/types/__init__.py b/pandas/api/types/__init__.py
index c601086bb9f86..d30a4fa8f9a86 100644
--- a/pandas/api/types/__init__.py
+++ b/pandas/api/types/__init__.py
@@ -3,15 +3,14 @@
"""
from pandas._libs.lib import infer_dtype
-
-from pandas.core.dtypes.api import * # noqa: F403
-from pandas.c... | - [ ] 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/55157 | 2023-09-16T05:09:50Z | 2023-09-18T16:29:55Z | null | 2023-09-18T16:29:56Z |
CLN: de-duplicate code in _matplotlib.converter | diff --git a/pandas/_libs/tslibs/dtypes.pyx b/pandas/_libs/tslibs/dtypes.pyx
index bafde9f3b237b..f0f73d242cdf0 100644
--- a/pandas/_libs/tslibs/dtypes.pyx
+++ b/pandas/_libs/tslibs/dtypes.pyx
@@ -460,7 +460,6 @@ cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int freq) noexcept nogil:
return NPY_DATETIMEUNI... | - [ ] 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/55155 | 2023-09-16T02:30:56Z | 2023-09-18T16:32:27Z | 2023-09-18T16:32:27Z | 2023-09-18T20:41:46Z |
Backport PR #54784 on branch 2.1.x (CI: Unpin Cython) | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 6410f2edd6175..1445e5e822017 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -233,8 +233,8 @@ jobs:
run: |
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-de... | Backport PR #54784: CI: Unpin Cython | https://api.github.com/repos/pandas-dev/pandas/pulls/55154 | 2023-09-16T02:04:25Z | 2023-09-16T13:46:48Z | 2023-09-16T13:46:48Z | 2023-09-16T13:46:49Z |
BUG: Fix weighted rolling variance implementation | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 0fc4afc95a2ce..dde7f0e2cf828 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -222,6 +222,7 @@ Bug fixes
- Bug in :class:`AbstractHolidayCalendar` where timezone data was not propagated when computing ... | - [x] closes #53273, closes #54333
- [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-... | https://api.github.com/repos/pandas-dev/pandas/pulls/55153 | 2023-09-15T21:59:29Z | 2023-12-18T19:34:13Z | null | 2023-12-18T19:34:13Z |
Remove undefined behavior from npy_datetimestruct_to_datetime | diff --git a/asv_bench/benchmarks/tslibs/period.py b/asv_bench/benchmarks/tslibs/period.py
index 67f3b7736018d..af3bfac6d3d01 100644
--- a/asv_bench/benchmarks/tslibs/period.py
+++ b/asv_bench/benchmarks/tslibs/period.py
@@ -151,7 +151,11 @@ def setup(self, size, freq, tz):
# tzlocal is cumbersomely slow, ... | This helps the readability of things as is, but also helps us better implement bounds checking in a later PR to avoid overflow | https://api.github.com/repos/pandas-dev/pandas/pulls/55151 | 2023-09-15T20:33:33Z | 2023-11-15T18:20:46Z | 2023-11-15T18:20:46Z | 2023-11-15T23:02:22Z |
Replace cpplint with clang-format | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c911edfa03670..a9a9baac6069a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -70,19 +70,6 @@ repos:
- id: fix-encoding-pragma
args: [--remove]
- id: trailing-whitespace
-- repo: https://github.com/cpplint... | cpplint isn't seemingly well maintained and focuses on C++, which we aren't using. I think clang-format is a much better tool for our formatting | https://api.github.com/repos/pandas-dev/pandas/pulls/55150 | 2023-09-15T19:15:24Z | 2023-10-22T19:35:23Z | 2023-10-22T19:35:23Z | 2023-10-22T19:35:31Z |
docs: add explanation about `freq` units in `Timedelta.round()` | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index 2d9fe93c397cb..2178e972b4d08 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -1942,6 +1942,7 @@ class Timedelta(_Timedelta):
----------
freq : str
Frequen... | - ~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/contr... | https://api.github.com/repos/pandas-dev/pandas/pulls/55149 | 2023-09-15T18:30:09Z | 2023-09-18T16:37:34Z | 2023-09-18T16:37:34Z | 2023-09-18T17:15:05Z |
DEPR: deprecate exposing blocks in core.internals | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 579d3a20506f3..6ce33fd1f572c 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -270,6 +270,7 @@ Other Deprecations
- Deprecated :func:`read_gbq` and :meth:`DataFrame.to_gbq`. Use ``pandas_gbq.read_gbq``... | Motivation: tried to clean up the blocks code bc DatetimeTZBlock and DatetimeLikeBlock are no longer really needed. Found that we can't do that bc DatetimeTZBlock is exposed in the pseudo-public API. That got me looking at `internals.__init__`, where comments suggest that we are importing the block subclasses for io.... | https://api.github.com/repos/pandas-dev/pandas/pulls/55139 | 2023-09-14T22:53:54Z | 2023-11-20T21:15:40Z | 2023-11-20T21:15:40Z | 2023-11-20T21:48:49Z |
BUG: Silence `Period[B]` warnings in plotting code | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 1a25b848e0f84..9119a0bc90949 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -24,6 +24,7 @@ Bug fixes
~~~~~~~~~
- Fixed bug in :meth:`DataFrame.resample` not respecting ``closed`` and ``label`` argum... | - [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/55138 | 2023-09-14T15:52:50Z | 2023-10-03T15:46:01Z | 2023-10-03T15:46:01Z | 2023-10-04T16:34:54Z |
PERF: groupby aggregations on pyarrow timestamp and duration types | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 54e855f61905a..03b69b53836ad 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -177,6 +177,7 @@ Performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Performance improvement in :func:`concat` with ``axis... | - [x] closes #55031
- [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/55131 | 2023-09-13T22:04:06Z | 2023-09-15T20:06:25Z | 2023-09-15T20:06:24Z | 2023-11-16T12:56:53Z |
TYP: Correct type annotation for to_dict. | diff --git a/pandas/_typing.py b/pandas/_typing.py
index 0e2a0881f0122..f18c67fcb0c90 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -4,6 +4,7 @@
Hashable,
Iterator,
Mapping,
+ MutableMapping,
Sequence,
)
from datetime import (
@@ -103,6 +104,7 @@
TypeGuard: Any = None
Hashab... | The `into` argument of DataFrame.to_dict and Series.to_dict can be either a class or instance of a class of dict; this is covariant - subclasses of dict can also be used. The argument was annotated as `type[dict]` though, so type checkers marked passing initialized objects (required for collections.defaultdict) as an i... | https://api.github.com/repos/pandas-dev/pandas/pulls/55130 | 2023-09-13T21:25:06Z | 2023-10-02T16:31:17Z | 2023-10-02T16:31:17Z | 2023-10-02T16:31:24Z |
Use pandasSQL transactions in sql test suite to avoid engine deadlocks | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index bbdb22955297e..1abe0ad55a864 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -1141,18 +1141,21 @@ def load_types_data(self, types_data):
def _read_sql_iris_parameter(self, sql_strings):
query = sql_s... | When trying to integrate the engine fixtures into these tests I have been running into a lot of deadlocking issues. From some [research](https://github.com/sqlalchemy/sqlalchemy/issues/5405#issuecomment-646607306) it looks like SQLAlchemy strongly discourages running doing [Connectionless Execution](https://docs.sqlalc... | https://api.github.com/repos/pandas-dev/pandas/pulls/55129 | 2023-09-13T21:23:21Z | 2023-09-13T23:36:05Z | 2023-09-13T23:36:05Z | 2023-09-13T23:45:40Z |
Backport PR #55072 on branch 2.1.x (BUG: dt.tz with ArrowDtype returned string) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 42af61be26355..6d5da7cdff3b3 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -35,6 +35,7 @@ Bug fixes
~~~~~~~~~
- Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`` for fixed-size list... | Backport PR #55072: BUG: dt.tz with ArrowDtype returned string | https://api.github.com/repos/pandas-dev/pandas/pulls/55124 | 2023-09-13T17:11:13Z | 2023-09-13T18:59:11Z | 2023-09-13T18:59:11Z | 2023-09-13T18:59:12Z |
BUG: add pyarrow autogenerated prefix | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 0760840f9950a..445b93705cde5 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -314,6 +314,7 @@ MultiIndex
I/O
^^^
- Bug in :func:`read_csv` where ``on_bad_lines="warn"`` would write to ``stderr`` ins... | - [x] closes #54459
- [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/55115 | 2023-09-13T03:56:26Z | 2023-09-27T16:50:46Z | 2023-09-27T16:50:46Z | 2023-09-27T16:50:54Z |
BUG: Index.difference not always returning a unique set of values | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 54e855f61905a..034d67b43087d 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -233,7 +233,7 @@ Interval
Indexing
^^^^^^^^
--
+- Bug in :meth:`Index.difference` not returning a unique set of values w... | - [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/55113 | 2023-09-12T22:02:27Z | 2023-09-18T16:39:40Z | 2023-09-18T16:39:40Z | 2023-11-16T12:56:54Z |
Assorted UBSAN cleanups | diff --git a/pandas/_libs/src/vendored/ujson/lib/ultrajsonenc.c b/pandas/_libs/src/vendored/ujson/lib/ultrajsonenc.c
index e3e710ce1b876..942bd0b518144 100644
--- a/pandas/_libs/src/vendored/ujson/lib/ultrajsonenc.c
+++ b/pandas/_libs/src/vendored/ujson/lib/ultrajsonenc.c
@@ -44,6 +44,7 @@ Numeric decoder derived from ... | Found the first few from running the io test suite. Will be stuck at https://github.com/pandas-dev/pandas/issues/55111 which requires closer attention than I wanted to tackle here | https://api.github.com/repos/pandas-dev/pandas/pulls/55112 | 2023-09-12T20:42:21Z | 2023-09-13T23:39:08Z | 2023-09-13T23:39:08Z | 2023-09-13T23:55:55Z |
Better support for UserDict on constructor | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 07be496a95adc..54735b4ffed45 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -29,7 +29,7 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
- DataFrame.apply now allows the usage of numba (via ``... | I noticed that if I create my DataFrame passing a dictionary which is a custom one of a subclass of `collections.UserDict` then we have incompatible behaviour with the one if I pass a builtin `dict`.
The idea is that the `UserDict` should have the same type interface as the `dict` and used for custom behaviour, inst... | https://api.github.com/repos/pandas-dev/pandas/pulls/55109 | 2023-09-12T13:24:39Z | 2023-11-07T00:57:30Z | null | 2023-11-07T00:57:31Z |
PERF: Index.difference | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 249f08c7e387b..1b8864809975f 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -178,6 +178,7 @@ Performance improvements
- Performance improvement in :func:`concat` with ``axis=1`` and objects with unal... | - [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/55108 | 2023-09-12T11:18:38Z | 2023-09-13T17:00:54Z | 2023-09-13T17:00:54Z | 2023-11-16T12:57:18Z |
DOC: Update contributing.rst to give suggestions on non-code contributions | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index 82af8122a6bbd..8001188e30686 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -13,6 +13,33 @@ Contributing to pandas
All contributions, bug reports, bug fixes, docum... | Based on a conversation at the NumFOCUS project summit. | https://api.github.com/repos/pandas-dev/pandas/pulls/55107 | 2023-09-12T09:52:24Z | 2023-11-07T00:57:15Z | null | 2023-11-07T00:57:15Z |
ENH: Add numba engine to df.apply | diff --git a/pandas/core/_numba/extensions.py b/pandas/core/_numba/extensions.py
new file mode 100644
index 0000000000000..ebe2a752a12f7
--- /dev/null
+++ b/pandas/core/_numba/extensions.py
@@ -0,0 +1,575 @@
+# Disable type checking for this module since numba's internals
+# are not typed, and we use numba's internals ... | - [ ] 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/55104 | 2023-09-12T01:24:35Z | 2023-10-22T19:52:19Z | 2023-10-22T19:52:19Z | 2023-10-22T21:42:51Z |
enable ASAN/UBSAN in pandas CI | diff --git a/.github/actions/build_pandas/action.yml b/.github/actions/build_pandas/action.yml
index 460ae2f8594c0..63f687324b0ae 100644
--- a/.github/actions/build_pandas/action.yml
+++ b/.github/actions/build_pandas/action.yml
@@ -4,6 +4,12 @@ inputs:
editable:
description: Whether to build pandas in editable... | @lithomas1 @rgommers
closes https://github.com/pandas-dev/pandas/issues/52990 | https://api.github.com/repos/pandas-dev/pandas/pulls/55102 | 2023-09-11T21:11:41Z | 2023-12-21T18:36:12Z | 2023-12-21T18:36:12Z | 2024-01-02T19:50:15Z |
DEPS: remove duplicated dependency in requirement-dev.txt | diff --git a/environment.yml b/environment.yml
index 1eb0b4cc2c7a6..8deae839f5408 100644
--- a/environment.yml
+++ b/environment.yml
@@ -106,7 +106,7 @@ dependencies:
- ipykernel
# web
- - jinja2 # in optional dependencies, but documented here as needed
+ # - jinja2 # already listed in optional dependencies... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55101 | 2023-09-11T20:39:37Z | 2023-09-13T23:37:46Z | 2023-09-13T23:37:46Z | 2023-09-13T23:37:59Z |
Backport PR #55094 on branch 2.1.x (TST: Make test_hash_equality_invariance xfail more generic) | diff --git a/pandas/tests/scalar/timedelta/test_timedelta.py b/pandas/tests/scalar/timedelta/test_timedelta.py
index 701cfdf157d26..884c3a648f395 100644
--- a/pandas/tests/scalar/timedelta/test_timedelta.py
+++ b/pandas/tests/scalar/timedelta/test_timedelta.py
@@ -921,7 +921,6 @@ def test_timedelta_hash_equality(self):... | Backport PR #55094: TST: Make test_hash_equality_invariance xfail more generic | https://api.github.com/repos/pandas-dev/pandas/pulls/55100 | 2023-09-11T20:21:17Z | 2023-09-11T22:39:36Z | 2023-09-11T22:39:36Z | 2023-09-11T22:39:36Z |
wip | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index a70084493ba6f..2d59c0ec0226c 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -1497,7 +1497,7 @@ def _cython_agg_general(
):
# Note: we never get here with how="ohlc" for DataFrameGroupBy;... | - [ ] 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/55099 | 2023-09-11T19:19:53Z | 2023-09-11T20:24:02Z | null | 2023-09-11T20:24:09Z |
Dev groupby | diff --git a/.gitignore b/.gitignore
index 87224f1d6060f..021a7b212be38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -122,3 +122,4 @@ doc/build/html/index.html
doc/tmp.sv
env/
doc/source/savefig/
+.python-version
diff --git a/Dockerfile b/Dockerfile
index 650ba14271092..7023270a3fc3c 100644
--- a/Dockerfile
+++ b/Doc... | - [ ] 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/55098 | 2023-09-11T19:19:34Z | 2023-09-11T20:23:43Z | null | 2023-09-11T20:23:44Z |
Backport PR #55082 on branch 2.1.x (Updated future warning msg in transform() for Series.groupby) | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index 712294a0a4c96..ad9933aff9eca 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -1830,12 +1830,12 @@ def warn_alias_replacement(
full_alias = alias
else:
full_alias = f"{type(obj).__name__}.{alias}"
- alias = f"'{a... | Backport PR #55082: Updated future warning msg in transform() for Series.groupby | https://api.github.com/repos/pandas-dev/pandas/pulls/55097 | 2023-09-11T19:17:04Z | 2023-09-11T22:39:25Z | 2023-09-11T22:39:24Z | 2023-09-11T22:39:25Z |
TST: Make test_hash_equality_invariance xfail more generic | diff --git a/pandas/tests/scalar/timedelta/test_timedelta.py b/pandas/tests/scalar/timedelta/test_timedelta.py
index f1d8acf47b29a..cb797a4168088 100644
--- a/pandas/tests/scalar/timedelta/test_timedelta.py
+++ b/pandas/tests/scalar/timedelta/test_timedelta.py
@@ -927,7 +927,6 @@ def test_timedelta_hash_equality(self):... | The `raises` isn't too novel compared to raising a more specific behavior exception like a `ValueError`
Additionally, seems like hypothesis raises an ExceptionGroup here now which is PY311 specific (or using a backport package). | https://api.github.com/repos/pandas-dev/pandas/pulls/55094 | 2023-09-11T18:07:55Z | 2023-09-11T20:21:09Z | 2023-09-11T20:21:09Z | 2023-09-11T20:21:11Z |
DOC: Remove deprecated attributes in DatetimeIndex | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index dcb5f8caccd3e..400747cbf6b8d 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -198,8 +198,6 @@ class DatetimeIndex(DatetimeTimedeltaMixin):
timetz
dayofyear
day_of_year
- weeko... | xref https://github.com/pandas-dev/pandas/issues/55092#issuecomment-1714250732 | https://api.github.com/repos/pandas-dev/pandas/pulls/55093 | 2023-09-11T17:51:06Z | 2023-09-13T17:03:48Z | 2023-09-13T17:03:48Z | 2023-09-13T17:03:53Z |
BUG: This fixes #55009 (`raw=True` caused `apply` method of `DataFrame` to ignore passed arguments) | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 07be496a95adc..e640a091e09fb 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -171,6 +171,7 @@ Bug fixes
~~~~~~~~~
- Bug in :class:`AbstractHolidayCalendar` where timezone data was not propagated when... | This should fix #55009. I documented the fix and also added some code to the tests that should pick it up next time.
Unfortunately, I was not able to run the tests manually yet with this error:
```
ImportError while loading conftest.
__init__.py:46: in <module>
from pandas.core.api import (
core/api.py:1:... | https://api.github.com/repos/pandas-dev/pandas/pulls/55089 | 2023-09-11T10:30:05Z | 2023-09-13T17:14:59Z | 2023-09-13T17:14:59Z | 2023-09-25T09:02:51Z |
Bump actions/checkout from 3 to 4 | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index f87aef5385898..3bd68c07dcbc3 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -33,7 +33,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/c... | Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update default runtime ... | https://api.github.com/repos/pandas-dev/pandas/pulls/55086 | 2023-09-11T08:17:40Z | 2023-09-11T15:23:09Z | 2023-09-11T15:23:09Z | 2023-09-11T15:23:12Z |
BUG: concat(axis=1) ignoring sort parameter for DatetimeIndex | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index a795514aa31f8..609f99e26cf3b 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -247,8 +247,8 @@ Groupby/resample/rolling
Reshaping
^^^^^^^^^
+- Bug in :func:`concat` ignoring ``sort`` parameter when ... | - [x] closes #54769
- [x] closes #51210
- [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.htm... | https://api.github.com/repos/pandas-dev/pandas/pulls/55085 | 2023-09-11T01:58:57Z | 2023-09-11T15:29:43Z | 2023-09-11T15:29:43Z | 2023-09-12T11:19:46Z |
PERF: concat(axis=1) with unaligned indexes | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index a795514aa31f8..75598df52f934 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -158,9 +158,11 @@ Deprecations
Performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~
+- Performance improvement in :func:`co... | - [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/55084 | 2023-09-11T01:26:52Z | 2023-09-11T15:55:22Z | 2023-09-11T15:55:22Z | 2023-09-12T11:19:48Z |
Updated future warning msg in transform() for Series.groupby | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index 78d52ed262c7a..cc594bc8efb34 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -1863,12 +1863,12 @@ def warn_alias_replacement(
full_alias = alias
else:
full_alias = f"{type(obj).__name__}.{alias}"
- alias = f"'{a... | - [ ] closes #55066
- [ ] [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/55082 | 2023-09-10T07:20:33Z | 2023-09-11T19:16:01Z | 2023-09-11T19:16:01Z | 2023-09-12T06:58:41Z |
ENH: make guess_datetime_format public | diff --git a/doc/source/reference/general_functions.rst b/doc/source/reference/general_functions.rst
index 02b0bf5d13dde..e93514de5f762 100644
--- a/doc/source/reference/general_functions.rst
+++ b/doc/source/reference/general_functions.rst
@@ -73,6 +73,13 @@ Top-level evaluation
eval
+Datetime formats
+~~~~~~~... | - [X] closes #54727 (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/55079 | 2023-09-09T15:38:17Z | 2023-10-27T02:19:23Z | 2023-10-27T02:19:23Z | 2023-10-30T22:53:33Z |
TYP: Misc type corrections | diff --git a/pandas/_libs/tslibs/period.pyi b/pandas/_libs/tslibs/period.pyi
index 8826757e31c32..c85865fea8fd0 100644
--- a/pandas/_libs/tslibs/period.pyi
+++ b/pandas/_libs/tslibs/period.pyi
@@ -89,7 +89,7 @@ class Period(PeriodMixin):
@classmethod
def _from_ordinal(cls, ordinal: int, freq) -> Period: ...
... | Found by validating the pandas annotations on the pandas-stub tests using pyright (there are over 2000 errors left). | https://api.github.com/repos/pandas-dev/pandas/pulls/55078 | 2023-09-09T13:10:03Z | 2023-09-11T16:13:43Z | 2023-09-11T16:13:43Z | 2023-09-19T15:24:48Z |
Revert "BUG: Timestamp origin takes no effect in resample for 'MS' frequency (#53938)" | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index ddd1f95c56aea..569864ba71122 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed bug where PDEP-6 warning about setting an item of an incompatib... | closes #55064
This reverts commit dfc4c3900a181e8a9dff724217d5a14e59ca2e4f.
- [ ] 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
- [ ] ... | https://api.github.com/repos/pandas-dev/pandas/pulls/55077 | 2023-09-09T08:44:00Z | 2023-10-09T18:33:13Z | 2023-10-09T18:33:13Z | 2023-10-09T18:33:21Z |
TYP/DOC: fix flavor param with incorrect type hint in read_html | diff --git a/pandas/io/html.py b/pandas/io/html.py
index 10701be4f7e0b..68d30fe5ba681 100644
--- a/pandas/io/html.py
+++ b/pandas/io/html.py
@@ -1033,7 +1033,7 @@ def read_html(
io: FilePath | ReadBuffer[str],
*,
match: str | Pattern = ".+",
- flavor: str | None = None,
+ flavor: str | Sequence[str... | resolve #55059
| https://api.github.com/repos/pandas-dev/pandas/pulls/55076 | 2023-09-09T05:07:04Z | 2023-09-09T20:44:39Z | 2023-09-09T20:44:39Z | 2023-09-10T11:48:34Z |
Replace classes with pytest in test_sql | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index 1abe0ad55a864..f015c9efe7122 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -397,6 +397,54 @@ def test_frame3():
return DataFrame(data, columns=columns)
+def get_all_views(conn):
+ if isinstance(conn,... | A lot of this is very intertwined so hard to break up into small diffs. | https://api.github.com/repos/pandas-dev/pandas/pulls/55074 | 2023-09-08T21:17:25Z | 2023-09-18T23:47:10Z | 2023-09-18T23:47:10Z | 2023-09-18T23:47:29Z |
Backport PR #55048 on branch 2.1.x (COMPAT: bump pyarrow min version for div on duration) | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index be0a762642e46..684e9dccdc0f9 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -30,6 +30,7 @@
pa_version_under9p0,
pa_version_under11p0,
pa_version_under13p0,
+ pa_version_under14p0,
)
if TYPE_CHECKING... | Backport PR #55048: COMPAT: bump pyarrow min version for div on duration | https://api.github.com/repos/pandas-dev/pandas/pulls/55073 | 2023-09-08T20:33:55Z | 2023-09-08T23:53:33Z | 2023-09-08T23:53:33Z | 2023-09-08T23:53:33Z |
BUG: dt.tz with ArrowDtype returned string | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 42af61be26355..6d5da7cdff3b3 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -35,6 +35,7 @@ Bug fixes
~~~~~~~~~
- Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`` for fixed-size list... | - [x] closes #55003 (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/55072 | 2023-09-08T19:03:19Z | 2023-09-13T17:10:10Z | 2023-09-13T17:10:10Z | 2023-09-13T17:10:16Z |
BUG: read_csv(on_bad_lines='warn') did not raise a Python warning | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 7bb4aaec0dd7c..a795514aa31f8 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -227,6 +227,7 @@ MultiIndex
I/O
^^^
+- Bug in :func:`read_csv` where ``on_bad_lines="warn"`` would write to ``stderr`` i... | - [x] closes #54296 (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/55071 | 2023-09-08T17:57:03Z | 2023-09-08T20:32:21Z | 2023-09-08T20:32:21Z | 2023-09-08T20:32:24Z |
ENH: Allow empty groupby | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 7bb4aaec0dd7c..a20ba6225fd8c 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -16,7 +16,7 @@ Enhancements
.. _whatsnew_220.enhancements.enhancement1:
-enhancement1
+:class:`GroupBy` now accepts an ... | - [x] closes #35366
- [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/55068 | 2023-09-08T16:10:21Z | 2023-09-09T21:24:50Z | null | 2023-09-09T21:24:50Z |
Backport PR #54949 on branch 2.1.x (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 ... | Backport PR #54949: BLD: improvements to meson.build files | https://api.github.com/repos/pandas-dev/pandas/pulls/55065 | 2023-09-08T14:32:16Z | 2023-09-08T17:01:50Z | 2023-09-08T17:01:50Z | 2023-09-08T17:01:50Z |
Let isocalendar() return int32 (no NaT) and float64 (in presence of NaT) | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index dd2d7c0060392..e511fc6bd290a 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -1475,17 +1475,18 @@ def isocalendar(self) -> DataFrame:
2019-12-30 1
2019-12-31 1
20... | - [x] closes #54657
- [ ] [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/55062 | 2023-09-08T06:24:43Z | 2023-11-07T00:56:46Z | null | 2023-11-07T00:56:47Z |
Convert to compatible NumPy dtype for MaskedArray to_numpy | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 8cb4b3f24d435..3b363d38e18cb 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -105,6 +105,37 @@ For a full list of ADBC drivers and their development status, see the `ADBC Driv
Implementation Status <h... | - [ ] closes #48891 (Replace xxxx with the GitHub issue number)
- [ ] closes #40630
- [ ] closes #37460
- [ ] [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/55058 | 2023-09-07T20:53:31Z | 2023-12-01T19:34:48Z | 2023-12-01T19:34:48Z | 2023-12-01T19:36:29Z |
DOC: fix an example which raises an Error in whatsnew/v0.10.0.rst | diff --git a/doc/source/whatsnew/v0.10.0.rst b/doc/source/whatsnew/v0.10.0.rst
index 3425986a37743..422efc1b36946 100644
--- a/doc/source/whatsnew/v0.10.0.rst
+++ b/doc/source/whatsnew/v0.10.0.rst
@@ -180,19 +180,36 @@ labeled the aggregated group with the end of the interval: the next day).
DataFrame constructor wi... | Fix an example in doc/source/whatsnew/v0.10.0.rst, which raises an IndentationError (see
https://pandas.pydata.org/docs/dev/whatsnew/v0.10.0.html) | https://api.github.com/repos/pandas-dev/pandas/pulls/55057 | 2023-09-07T19:40:51Z | 2023-09-11T16:14:59Z | 2023-09-11T16:14:59Z | 2023-09-11T16:15:06Z |
Backport PR #55042 on branch 2.1.x (REGR: DataFrameGroupBy.agg with duplicate column names and a dict) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index fe511b5cdec67..42af61be26355 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -21,6 +21,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.__setitem__` raising ``AssertionError`` when settin... | Backport PR #55042: REGR: DataFrameGroupBy.agg with duplicate column names and a dict | https://api.github.com/repos/pandas-dev/pandas/pulls/55056 | 2023-09-07T16:33:02Z | 2023-09-07T18:28:37Z | 2023-09-07T18:28:37Z | 2023-09-07T18:28:37Z |
Backport PR #55010 on branch 2.1.x (BLD: Build wheels for Python 3.12) | diff --git a/.circleci/config.yml b/.circleci/config.yml
index 50f6a116a6630..ba124533e953a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -48,7 +48,7 @@ jobs:
name: Build aarch64 wheels
no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doe... | Backport PR #55010: BLD: Build wheels for Python 3.12 | https://api.github.com/repos/pandas-dev/pandas/pulls/55055 | 2023-09-07T16:28:54Z | 2023-09-07T20:23:21Z | 2023-09-07T20:23:21Z | 2023-09-07T20:23:21Z |
Backport PR #55051 on branch 2.1.x (Fix pickle roundtrip for new arrow string dtype) | diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py
index cae975c96d61f..0b8d3d6b13f60 100644
--- a/pandas/core/arrays/string_arrow.py
+++ b/pandas/core/arrays/string_arrow.py
@@ -466,7 +466,10 @@ def _result_converter(cls, values, na=None):
def __getattribute__(self, item):
... | Backport PR #55051: Fix pickle roundtrip for new arrow string dtype | https://api.github.com/repos/pandas-dev/pandas/pulls/55054 | 2023-09-07T16:05:17Z | 2023-09-07T18:13:00Z | 2023-09-07T18:13:00Z | 2023-09-07T18:13:01Z |
Backport PR #55052 on branch 2.1.x (Improve error message for StringDtype with invalid storage) | diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py
index 84a85b9e56aff..58c638e7f59b5 100644
--- a/pandas/core/arrays/string_.py
+++ b/pandas/core/arrays/string_.py
@@ -119,7 +119,8 @@ def __init__(self, storage=None) -> None:
storage = get_option("mode.string_storage")
... | Backport PR #55052: Improve error message for StringDtype with invalid storage | https://api.github.com/repos/pandas-dev/pandas/pulls/55053 | 2023-09-07T16:02:03Z | 2023-09-07T18:12:46Z | 2023-09-07T18:12:46Z | 2023-09-07T18:12:46Z |
Improve error message for StringDtype with invalid storage | diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py
index c90127c0e9812..693ebad0ca16f 100644
--- a/pandas/core/arrays/string_.py
+++ b/pandas/core/arrays/string_.py
@@ -123,7 +123,8 @@ def __init__(self, storage=None) -> None:
storage = get_option("mode.string_storage")
... | - [ ] 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/55052 | 2023-09-07T13:58:35Z | 2023-09-07T16:00:41Z | 2023-09-07T16:00:41Z | 2023-09-07T16:05:43Z |
Fix pickle roundtrip for new arrow string dtype | diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py
index a6838fbc73be9..6262055827428 100644
--- a/pandas/core/arrays/string_arrow.py
+++ b/pandas/core/arrays/string_arrow.py
@@ -523,7 +523,10 @@ def _result_converter(cls, values, na=None):
def __getattribute__(self, item):
... | - [ ] 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/55051 | 2023-09-07T13:58:15Z | 2023-09-07T16:05:09Z | 2023-09-07T16:05:09Z | 2023-09-07T16:05:39Z |
Fix docstring of Index.join in base.py | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 6a397862712de..cd55997ad5f69 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -4557,7 +4557,7 @@ def join(
-------
join_index, (left_indexer, right_indexer)
- Examples
+ Examples
... | - [ ] 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/55050 | 2023-09-07T13:43:26Z | 2023-09-07T16:07:11Z | 2023-09-07T16:07:11Z | 2023-09-20T11:00:16Z |
COMPAT: bump pyarrow min version for div on duration | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index be0a762642e46..684e9dccdc0f9 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -30,6 +30,7 @@
pa_version_under9p0,
pa_version_under11p0,
pa_version_under13p0,
+ pa_version_under14p0,
)
if TYPE_CHECKING... | - [x] closes #55020
- [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.
| https://api.github.com/repos/pandas-dev/pandas/pulls/55048 | 2023-09-07T12:58:48Z | 2023-09-08T20:33:47Z | 2023-09-08T20:33:47Z | 2023-09-08T20:33:54Z |
DEPR: ArrayManager | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 55a3419e95703..4b3ed10f22a22 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -198,6 +198,7 @@ Deprecations
- Deprecated strings ``T``, ``S``, ``L``, ``U``, and ``N`` denoting frequencies in :class:`Mi... | - [x] closes #55043 (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/55044 | 2023-09-07T02:49:01Z | 2023-09-20T01:53:51Z | 2023-09-20T01:53:51Z | 2023-09-20T02:21:32Z |
REGR: DataFrameGroupBy.agg with duplicate column names and a dict | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 11b19b1508a71..3262f576b4e6b 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -19,6 +19,7 @@ Fixed regressions
- Fixed regression in :meth:`.GroupBy.get_group` raising for ``axis=1`` (:issue:`54858`)
... | - [x] closes #55006 (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/55042 | 2023-09-07T00:37:26Z | 2023-09-07T16:32:53Z | 2023-09-07T16:32:53Z | 2023-09-07T20:22:42Z |
Backport PR #54983 on branch 2.1.x (BUG: pct_change showing unnecessary FutureWarning) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index b9bdb36fe0ed3..fe511b5cdec67 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -34,6 +34,7 @@ Bug fixes
~~~~~~~~~
- Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`` for fixed-size list... | Backport PR #54983: BUG: pct_change showing unnecessary FutureWarning | https://api.github.com/repos/pandas-dev/pandas/pulls/55040 | 2023-09-06T22:41:28Z | 2023-09-07T00:20:29Z | 2023-09-07T00:20:29Z | 2023-09-07T00:20:29Z |
Add TODO note to BlockManager.fast_xs for EA dtypes | diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py
index 4cb7b610074ba..b1db2d2e708e8 100644
--- a/pandas/core/internals/managers.py
+++ b/pandas/core/internals/managers.py
@@ -969,6 +969,10 @@ def fast_xs(self, loc: int) -> SingleBlockManager:
n = len(self)
if isinst... | cc @jbrockmendel
re: https://github.com/pandas-dev/pandas/pull/54508#issuecomment-1708623215
| https://api.github.com/repos/pandas-dev/pandas/pulls/55039 | 2023-09-06T21:44:30Z | 2023-09-08T16:41:42Z | 2023-09-08T16:41:42Z | 2023-09-11T01:29:45Z |
Cythonize is_null_slice | diff --git a/pandas/_libs/lib.pyi b/pandas/_libs/lib.pyi
index 15bd5a7379105..946cbb7dbf6f1 100644
--- a/pandas/_libs/lib.pyi
+++ b/pandas/_libs/lib.pyi
@@ -44,6 +44,7 @@ def is_iterator(obj: object) -> bool: ...
def is_scalar(val: object) -> bool: ...
def is_list_like(obj: object, allow_sets: bool = ...) -> bool: ..... | This makes the diff in #54506 smaller | https://api.github.com/repos/pandas-dev/pandas/pulls/55037 | 2023-09-06T20:32:11Z | 2023-09-14T21:18:40Z | null | 2023-09-14T21:18:40Z |
BUG: Interval with Timestamp with tz shows tz | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 4f38d420a53b4..bfdfaf12a764f 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -207,7 +207,7 @@ Strings
Interval
^^^^^^^^
--
+- Bug in :class:`Interval` ``__repr__`` not displaying UTC offsets for :c... | - [x] closes #55015 (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/55035 | 2023-09-06T18:12:17Z | 2023-09-18T16:54:13Z | 2023-09-18T16:54:13Z | 2023-09-18T16:54:16Z |
DOC: Add missing word to `IndexOpsMixin.array` docstring | diff --git a/pandas/core/base.py b/pandas/core/base.py
index d973f8f5fe35a..3026189e747bb 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -485,8 +485,8 @@ def array(self) -> ExtensionArray:
types, this is the actual array. For NumPy native types, this
is a thin (no copy) wrapper ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55034 | 2023-09-06T17:58:20Z | 2023-09-06T20:06:14Z | 2023-09-06T20:06:14Z | 2023-09-06T22:55:08Z |
TST: Use more explicit object names | diff --git a/pandas/tests/frame/methods/test_reindex.py b/pandas/tests/frame/methods/test_reindex.py
index 0858e33a989b7..56bdd2fc664cc 100644
--- a/pandas/tests/frame/methods/test_reindex.py
+++ b/pandas/tests/frame/methods/test_reindex.py
@@ -26,7 +26,7 @@
isna,
)
import pandas._testing as tm
-from pandas.api.... | When going over some tests, the `import obj as o` patterns have not been the most clear so making some of these usages more explicit | https://api.github.com/repos/pandas-dev/pandas/pulls/55033 | 2023-09-06T17:39:13Z | 2023-09-06T20:07:07Z | 2023-09-06T20:07:07Z | 2023-09-06T20:12:43Z |
Doc: lines added | diff --git a/doc/source/getting_started/comparison/comparison_with_r.rst b/doc/source/getting_started/comparison/comparison_with_r.rst
index a6cfcd4614984..9d970209ec8e7 100644
--- a/doc/source/getting_started/comparison/comparison_with_r.rst
+++ b/doc/source/getting_started/comparison/comparison_with_r.rst
@@ -6,8 +6,... |
DOC:
- [ ] [Tests added and passed](doc/source/getting_started/comparison/comparison_with_r.rst)
- This addition helps readers understand the purpose of the page and the context of the comparison between pandas and the R language.
- Provide additional clarity to the sentence, making it explicit that the compariso... | https://api.github.com/repos/pandas-dev/pandas/pulls/55029 | 2023-09-06T11:37:14Z | 2023-09-06T17:06:35Z | null | 2023-09-07T07:53:52Z |
BUG: merge with left and/or right empty returning mis-ordered columns | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index bd15d5fa085e9..4f38d420a53b4 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -246,7 +246,7 @@ Groupby/resample/rolling
Reshaping
^^^^^^^^^
--
+- Bug in :func:`merge` returning columns in incorrect ... | - [x] closes #51929
- [x] closes #43087
- [x] closes #9937
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contr... | https://api.github.com/repos/pandas-dev/pandas/pulls/55028 | 2023-09-06T11:11:07Z | 2023-09-06T17:12:29Z | 2023-09-06T17:12:29Z | 2023-09-11T01:29:49Z |
Backport PR #54982 on branch 2.1.x (REG: filter not respecting the order of labels) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 11b19b1508a71..4f1ecf3a6e666 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -18,6 +18,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` when ``delim_whitespace`` is True (:issue:`54918`, ... | Backport PR #54982: REG: filter not respecting the order of labels | https://api.github.com/repos/pandas-dev/pandas/pulls/55022 | 2023-09-05T22:42:00Z | 2023-09-06T01:01:49Z | 2023-09-06T01:01:49Z | 2023-09-06T01:01:49Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.