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 |
|---|---|---|---|---|---|---|---|
Backport PR #55365 on branch 2.1.x (BUG: Index.insert raising when inserting None into new string dtype) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 090df1489e493..9c81956d14d77 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -22,6 +22,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.idxmax`... | #55365 | https://api.github.com/repos/pandas-dev/pandas/pulls/55383 | 2023-10-03T20:09:19Z | 2023-10-03T21:50:55Z | 2023-10-03T21:50:55Z | 2023-10-03T21:50:56Z |
Backport PR #55347 on branch 2.1.x (BUG: interpolate raising wrong error for ea) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 60b628c5d658c..93c3c5114c282 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -23,8 +23,10 @@ Bug fixes
~~~~~~~~~
- Fixed bug in :meth:`Categorical.equals` if other has arrow backed string dtype (:iss... | #55347 | https://api.github.com/repos/pandas-dev/pandas/pulls/55382 | 2023-10-03T20:08:52Z | 2023-10-04T17:06:32Z | 2023-10-04T17:06:32Z | 2023-10-04T17:13:36Z |
Backport PR #55364 on branch 2.1.x (BUG: eq not implemented for categorical and arrow backed strings) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 090df1489e493..b6cacecfdc5f8 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Fixed bug in :meth:`Categorical.equals` if other has arrow backe... | Backport PR #55364: BUG: eq not implemented for categorical and arrow backed strings | https://api.github.com/repos/pandas-dev/pandas/pulls/55381 | 2023-10-03T20:02:39Z | 2023-10-03T21:51:31Z | 2023-10-03T21:51:31Z | 2023-10-03T21:51:31Z |
CI: Exclude benchmarks directory when publishing docs | diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml
index deaf2be0a0423..af452363666b5 100644
--- a/.github/workflows/docbuild-and-upload.yml
+++ b/.github/workflows/docbuild-and-upload.yml
@@ -67,7 +67,7 @@ jobs:
run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build... | - xref #55007
We're setting up the new benchmarks server to publish the asv results website to https://pandas.pydata.org/benchmarks.
We need the exclude in this PR so updating the website doesn't delete the benchmarks directory.
| https://api.github.com/repos/pandas-dev/pandas/pulls/55380 | 2023-10-03T19:07:16Z | 2023-10-07T08:20:47Z | 2023-10-07T08:20:47Z | 2023-10-07T08:20:47Z |
Backport PR #55138: 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 ff2df2d4256b6..60b628c5d658c 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -24,7 +24,7 @@ Bug fixes
- Fixed bug in :meth:`Categorical.equals` if other has arrow backed string dtype (:issue:`55364`)
... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55378 | 2023-10-03T18:25:15Z | 2023-10-04T00:26:36Z | 2023-10-04T00:26:36Z | 2023-10-04T00:26:39Z |
Backport PR #55368 on branch 2.1.x (BUG: idxmin/max raising for arrow dtypes) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 158cb51f05316..090df1489e493 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -21,7 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Fixed bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.id... | #55368 | https://api.github.com/repos/pandas-dev/pandas/pulls/55377 | 2023-10-03T17:54:34Z | 2023-10-03T20:00:59Z | 2023-10-03T20:00:58Z | 2023-10-03T20:06:06Z |
Backport PR #55363 on branch 2.1.x (BUG: ndim of string block incorrect with string inference) | diff --git a/pandas/core/internals/construction.py b/pandas/core/internals/construction.py
index 05aa9f38bb2b0..8bb6c6b5de7ea 100644
--- a/pandas/core/internals/construction.py
+++ b/pandas/core/internals/construction.py
@@ -383,7 +383,7 @@ def ndarray_to_mgr(
new_block(
dtype.construct_ar... | Backport PR #55363: BUG: ndim of string block incorrect with string inference | https://api.github.com/repos/pandas-dev/pandas/pulls/55376 | 2023-10-03T16:55:20Z | 2023-10-03T20:01:09Z | 2023-10-03T20:01:09Z | 2023-10-03T20:01:09Z |
DOC: Update Issue Triage Instructions | diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst
index b49c9644e1b2a..29cc256f35a4e 100644
--- a/doc/source/development/maintaining.rst
+++ b/doc/source/development/maintaining.rst
@@ -44,6 +44,9 @@ reading.
Issue triage
------------
+Triage is an important first step in ... | The following changes were applied to `doc/source/development/maintaining.rst`
- Encouraged partial contributions to triaging process at the start of the section.
- Removed the 'No Action' milestone.
- Specified when to remove the 'Needs Triage' tag.
- Explained the need for 'Needs Discussion' tag on feature reques... | https://api.github.com/repos/pandas-dev/pandas/pulls/55373 | 2023-10-03T15:45:16Z | 2023-10-07T14:22:52Z | 2023-10-07T14:22:52Z | 2023-10-07T15:21:07Z |
BUG: DataFrame.join reordering index levels when joining on subset of levels | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index fa3cef6d9457d..620dd8c3c0c37 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -133,10 +133,36 @@ and ``sort=False``:
result
-.. _whatsnew_220.notable_bug_fixes.notable_bug_fix2:
+.. _whatsnew_2... | - [x] closes #34133
- [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/55370 | 2023-10-03T11:36:50Z | 2023-10-04T00:29:44Z | 2023-10-04T00:29:44Z | 2023-11-16T12:56:49Z |
MAINT: Remove `np.int_` and `np.uint` | diff --git a/doc/source/user_guide/enhancingperf.rst b/doc/source/user_guide/enhancingperf.rst
index bc2f4420da784..c4721f3a6b09c 100644
--- a/doc/source/user_guide/enhancingperf.rst
+++ b/doc/source/user_guide/enhancingperf.rst
@@ -184,7 +184,7 @@ can be improved by passing an ``np.ndarray``.
...: cpdef np.ndar... | Hi!
This PR addresses changes that will be shipped in https://github.com/numpy/numpy/pull/24794 - deprecation of `np.int_` and `np.uint`. An explanation of changes:
- In places where `np.int_(value)` was used I replaced it with backward compatible `np_long(value)`.
- If dtypes were directly compared I replaced `np... | https://api.github.com/repos/pandas-dev/pandas/pulls/55369 | 2023-10-03T10:33:58Z | 2023-10-03T22:42:23Z | 2023-10-03T22:42:23Z | 2023-10-13T10:58:04Z |
BUG: idxmin/max raising for arrow dtypes | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 8aba2bcbecf2f..bd1b301ccb119 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -22,6 +22,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Fixed bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.idxma... | - [ ] 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/55368 | 2023-10-03T09:45:53Z | 2023-10-03T17:48:35Z | 2023-10-03T17:48:35Z | 2023-10-03T17:54:46Z |
BUG: all not ignoring na when skipna=True | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index df19b01610a7a..87b71eac76d1a 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -29,6 +29,7 @@ Bug fixes
- Fixed bug in :meth:`DataFrame.resample` not respecting ``closed`` and ``label`` arguments for :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/55367 | 2023-10-03T09:45:14Z | 2023-10-04T17:07:26Z | 2023-10-04T17:07:26Z | 2023-10-04T19:58:48Z |
BUG: Inserting ndim=0 array does not infer string dtype | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 38ef8c8455b9d..e89a268c4256e 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -23,6 +23,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :meth:`Categorical.equals` if other has arrow backed ... | - [ ] 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/55366 | 2023-10-03T09:43:58Z | 2023-10-04T08:39:20Z | 2023-10-04T08:39:20Z | 2023-10-04T08:39:23Z |
BUG: Index.insert raising when inserting None into new string dtype | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 8aba2bcbecf2f..0e2cfadf7b097 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... | - [ ] 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/55365 | 2023-10-03T09:42:37Z | 2023-10-03T20:02:36Z | 2023-10-03T20:02:36Z | 2023-10-03T20:09:31Z |
BUG: eq not implemented for categorical and arrow backed strings | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index bd1b301ccb119..8371e02a3372c 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -22,6 +22,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Fixed bug in :meth:`Categorical.equals` if other has arrow backe... | - [ ] 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/55364 | 2023-10-03T09:42:01Z | 2023-10-03T20:01:35Z | 2023-10-03T20:01:35Z | 2023-10-03T20:01:39Z |
BUG: ndim of string block incorrect with string inference | diff --git a/pandas/core/internals/construction.py b/pandas/core/internals/construction.py
index 6f30bc650aa36..d6aeda3d418ed 100644
--- a/pandas/core/internals/construction.py
+++ b/pandas/core/internals/construction.py
@@ -383,7 +383,7 @@ def ndarray_to_mgr(
new_block(
dtype.construct_ar... | - [ ] 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/55363 | 2023-10-03T09:41:05Z | 2023-10-03T16:54:15Z | 2023-10-03T16:54:15Z | 2023-10-03T17:48:47Z |
BUG: rank raising for arrow string dtypes | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 38ef8c8455b9d..6f537ad7256f5 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -28,6 +28,7 @@ Bug fixes
- Fixed bug in :meth:`DataFrame.resample` not respecting ``closed`` and ``label`` arguments for :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/55362 | 2023-10-03T09:40:11Z | 2023-10-04T08:39:38Z | 2023-10-04T08:39:38Z | 2023-10-04T19:57:21Z |
Fix typo of extra backtick | diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst
index 5def84b91705c..2c612e31d33b6 100644
--- a/doc/source/user_guide/10min.rst
+++ b/doc/source/user_guide/10min.rst
@@ -451,7 +451,7 @@ Merge
Concat
~~~~~~
-pandas provides various facilities for easily combining together :class:`Serie... | - [ ] 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/55361 | 2023-10-03T09:24:57Z | 2023-10-03T16:55:34Z | 2023-10-03T16:55:34Z | 2023-10-03T16:55:42Z |
Update algorithms.py | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index c952178f4c998..96a0ab28f7072 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -936,9 +936,12 @@ def value_counts_internal(
idx.name = index_name
result = Series(counts, index=idx, name=name, cop... | Added extra behaviors to the sort logic to account for output in order of original list
- [ x] closes #55224 (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 feat... | https://api.github.com/repos/pandas-dev/pandas/pulls/55360 | 2023-10-03T01:59:59Z | 2023-10-03T16:58:11Z | null | 2023-10-03T16:58:11Z |
CLN: assorted | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 97cd20b295e65..bd60cc6a732bd 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -127,7 +127,6 @@ generated/pandas.api.types.is_number,../reference/api/pandas.api.types.is_number
generated/pandas.api.types.is_numeric_dtype,../reference/api/pandas.api.types... | - [ ] 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/55359 | 2023-10-02T20:58:40Z | 2023-10-06T20:01:48Z | 2023-10-06T20:01:48Z | 2023-10-06T21:59:46Z |
Backport PR #55350 on branch 2.1.x (Bump pypa/cibuildwheel from 2.16.0 to 2.16.1) | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index ecb30fefb9ff2..b156c3d9dfae7 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -138,7 +138,7 @@ jobs:
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
- name: Build wheels
- ... | Backport PR #55350: Bump pypa/cibuildwheel from 2.16.0 to 2.16.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/55358 | 2023-10-02T17:34:36Z | 2023-10-02T20:54:25Z | 2023-10-02T20:54:25Z | 2023-10-02T20:54:25Z |
Backport PR #55348 on branch 2.1.x (REGR: join segfaulting for arrow string with nulls) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 6fec66ec8d556..158cb51f05316 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -14,7 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed bug where PDEP-6 warning a... | Backport PR #55348: REGR: join segfaulting for arrow string with nulls | https://api.github.com/repos/pandas-dev/pandas/pulls/55357 | 2023-10-02T16:53:31Z | 2023-10-02T20:54:09Z | 2023-10-02T20:54:09Z | 2023-10-02T20:54:09Z |
[pre-commit.ci] pre-commit autoupdate | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b0b511e1048c6..c911edfa03670 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -84,7 +84,7 @@ repos:
'--filter=-readability/casting,-runtime/int,-build/include_subdir,-readability/fn_size'
]
- repo: https:/... | <!--pre-commit.ci start-->
updates:
- [github.com/pylint-dev/pylint: v3.0.0a7 → v3.0.0b0](https://github.com/pylint-dev/pylint/compare/v3.0.0a7...v3.0.0b0)
<!--pre-commit.ci end--> | https://api.github.com/repos/pandas-dev/pandas/pulls/55356 | 2023-10-02T16:44:19Z | 2023-10-02T17:35:25Z | 2023-10-02T17:35:25Z | 2023-10-02T17:35:28Z |
DEPR: create_block_manager_from_blocks | diff --git a/pandas/core/internals/__init__.py b/pandas/core/internals/__init__.py
index 284f8ef135d99..0f8cb9f053174 100644
--- a/pandas/core/internals/__init__.py
+++ b/pandas/core/internals/__init__.py
@@ -16,7 +16,6 @@
from pandas.core.internals.managers import (
BlockManager,
SingleBlockManager,
- cr... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55355 | 2023-10-02T15:13:19Z | 2023-10-17T21:19:49Z | 2023-10-17T21:19:49Z | 2023-10-17T22:26:18Z |
DOC: Typo: missing space. | diff --git a/pandas/io/xml.py b/pandas/io/xml.py
index 918fe4d22ea62..bd3b515dbca2f 100644
--- a/pandas/io/xml.py
+++ b/pandas/io/xml.py
@@ -88,7 +88,7 @@ class _XMLFrameParser:
Parse only the attributes at the specified ``xpath``.
names : list
- Column names for :class:`~pandas.DataFrame`of pars... | Without trailing space the interpreted text is not close. Even if it were we want a space in the documentation.
(Note, if one does not want a space between the closing backtick and the subsequent text one must use backslash-space. | https://api.github.com/repos/pandas-dev/pandas/pulls/55354 | 2023-10-02T12:39:08Z | 2023-10-02T16:48:21Z | 2023-10-02T16:48:21Z | 2023-10-02T16:48:28Z |
DOC: Typo: directive must have a space after `::` | diff --git a/pandas/core/resample.py b/pandas/core/resample.py
index e9b2bacd9e1df..7d37a9f1d5113 100644
--- a/pandas/core/resample.py
+++ b/pandas/core/resample.py
@@ -986,7 +986,7 @@ def interpolate(
downcast : optional, 'infer' or None, defaults to None
Downcast dtypes if possible.
- ... | Otherwise it may be interpreted as a comment.
| https://api.github.com/repos/pandas-dev/pandas/pulls/55353 | 2023-10-02T12:34:58Z | 2023-10-02T16:48:56Z | 2023-10-02T16:48:56Z | 2023-10-02T16:49:04Z |
BUG: MultiIndex.get_indexer with method not raising for non-monotonic | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 9dc095e6de6ff..1bf18bfba4b84 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -310,7 +310,7 @@ Missing
MultiIndex
^^^^^^^^^^
--
+- Bug in :meth:`MultiIndex.get_indexer` not raising ``ValueError`` wh... | - [x] closes #53452
- [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/55352 | 2023-10-02T11:20:43Z | 2023-10-02T16:50:57Z | 2023-10-02T16:50:57Z | 2023-11-16T12:56:50Z |
Bump pypa/cibuildwheel from 2.16.0 to 2.16.1 | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 4c7a7b329777b..efa14dd966eb1 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -138,7 +138,7 @@ jobs:
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
- name: Build wheels
- ... | Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.16.0 to 2.16.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pypa/cibuildwheel/releases">pypa/cibuildwheel's releases</a>.</em></p>
<blockquote>
<h2>v2.16.1</h2>
<ul>
<li>🛠 Updates the prerelease CPytho... | https://api.github.com/repos/pandas-dev/pandas/pulls/55350 | 2023-10-02T08:42:33Z | 2023-10-02T17:34:27Z | 2023-10-02T17:34:27Z | 2023-10-02T17:34:38Z |
Update .devcontainer.json | diff --git a/.devcontainer.json b/.devcontainer.json
index 7c5d009260c64..609ded1a96d9a 100644
--- a/.devcontainer.json
+++ b/.devcontainer.json
@@ -7,23 +7,23 @@
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File ... | Update per new VSCODE conventions
Changes "settings" to "customizations: vscode"
Moved "extensions" under "customizations: vscode" | https://api.github.com/repos/pandas-dev/pandas/pulls/55349 | 2023-10-02T04:00:43Z | 2023-11-27T18:48:37Z | null | 2023-11-27T18:48:38Z |
REGR: join segfaulting for arrow string with nulls | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 1a25b848e0f84..a5ba365f2d456 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -15,7 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed bug in :meth:`DataFrame.resample` where bin edges were not corr... | - [ ] 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/55348 | 2023-10-01T21:59:08Z | 2023-10-02T16:52:26Z | 2023-10-02T16:52:26Z | 2023-10-02T21:28:43Z |
BUG: interpolate raising wrong error for ea | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index bd1b301ccb119..28889398a3dd7 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -23,6 +23,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.idxmax`... | - [ ] 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/55347 | 2023-10-01T21:23:34Z | 2023-10-03T20:02:00Z | 2023-10-03T20:02:00Z | 2023-10-09T20:06:52Z |
BUG: Fix convert_dtypes for all na column and arrow backend | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 9dc095e6de6ff..b3671d3618791 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -281,7 +281,7 @@ Numeric
Conversion
^^^^^^^^^^
--
+- Bug in :meth:`Series.convert_dtypes` not converting all NA column t... | - [ ] 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/55346 | 2023-10-01T19:30:05Z | 2023-10-02T16:36:52Z | 2023-10-02T16:36:52Z | 2023-10-02T21:28:48Z |
REF: check monotonicity inside _can_use_libjoin | diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx
index 0dc139781f58d..675288e20d1f8 100644
--- a/pandas/_libs/index.pyx
+++ b/pandas/_libs/index.pyx
@@ -43,6 +43,8 @@ from pandas._libs.missing cimport (
is_matching_na,
)
+from decimal import InvalidOperation
+
# Defines shift of MultiIndex codes to... | - [ ] 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/55342 | 2023-10-01T02:12:53Z | 2023-12-27T19:09:17Z | 2023-12-27T19:09:17Z | 2023-12-28T02:00:02Z |
ENH: Implement convert_dtypes on block level | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 716d1a78f93c5..3cac25600bd0e 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -1133,7 +1133,7 @@ def convert_dtypes(
base_dtype = inferred_dtype
if (
base_dtype.kind == "O... | The current implementation is pretty bad in the sense that we will always end up splitting blocks even if we don't want to touch the block at all. Pushing this to the Block level let's us solve that problem. | https://api.github.com/repos/pandas-dev/pandas/pulls/55341 | 2023-09-30T22:38:29Z | 2023-11-17T17:44:29Z | 2023-11-17T17:44:29Z | 2023-11-17T18:12:41Z |
Implement masked algorithm for mode | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 48aee18c90456..066f0b6d247a1 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -318,6 +318,7 @@ Performance improvements
- Performance improvement in :meth:`MultiIndex.get_indexer` when ``method`` is no... | - [ ] closes #45776 (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/55340 | 2023-09-30T20:07:39Z | 2023-11-18T23:45:04Z | 2023-11-18T23:45:04Z | 2023-11-18T23:45:07Z |
BUG: added default value of date_format in to_csv function (#55321) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 738f4cbe6bc43..f87823c2aa463 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3767,7 +3767,7 @@ def to_csv(
quotechar: str = '"',
lineterminator: str | None = None,
chunksize: int | None = None,
- da... | - [x] closes #55321 (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).
| https://api.github.com/repos/pandas-dev/pandas/pulls/55339 | 2023-09-30T19:56:49Z | 2023-09-30T21:20:12Z | null | 2023-09-30T21:20:12Z |
Raises a ValueError for not handled dtypes in pyarrow Conversion. | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 7743f762d8898..878a2d6f20cdc 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -251,6 +251,7 @@ Other Deprecations
- Deprecated downcasting behavior in :meth:`Series.where`, :meth:`DataFrame.where`, :me... | Raises a ValueError in PandasColumn._dtype_from_pandasdtype for the following unhandled dtypes: 'b', 'B', 'S', 'a', 'V'.
- [X] closes #55332 (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 f... | https://api.github.com/repos/pandas-dev/pandas/pulls/55338 | 2023-09-30T19:46:22Z | 2023-10-07T14:07:24Z | null | 2023-10-07T14:07:24Z |
DOC: Adjust user guide for CoW docs | diff --git a/doc/source/user_guide/copy_on_write.rst b/doc/source/user_guide/copy_on_write.rst
index 59bdb1926895f..d0c57b56585db 100644
--- a/doc/source/user_guide/copy_on_write.rst
+++ b/doc/source/user_guide/copy_on_write.rst
@@ -7,8 +7,8 @@ Copy-on-Write (CoW)
*******************
Copy-on-Write was first introdu... | This is mostly from my blog post, would like to backport this ideally. | https://api.github.com/repos/pandas-dev/pandas/pulls/55337 | 2023-09-30T18:29:33Z | 2023-10-15T13:43:59Z | 2023-10-15T13:43:59Z | 2023-10-15T13:44:02Z |
BLD: Fix gitpod meson version | diff --git a/.gitpod.yml b/.gitpod.yml
index 9222639136a17..94bc32e3f9af6 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -13,9 +13,11 @@ tasks:
mkdir -p .vscode
cp gitpod/settings.json .vscode/settings.json
git fetch --tags
+ pip install --upgrade meson
python -m pip install -ve . --no-b... | - [X] closes #55214
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
The issue is that meson is out of date in gitpod.
`pip install --upgrade meson`
The above command fixes the issue, so I added it to the build instructions in gitpo... | https://api.github.com/repos/pandas-dev/pandas/pulls/55331 | 2023-09-30T02:45:33Z | 2024-01-08T21:43:50Z | null | 2024-01-08T21:43:50Z |
TYP: read_csv's usecols | diff --git a/pandas/_typing.py b/pandas/_typing.py
index f18c67fcb0c90..de01434c09c39 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -509,3 +509,12 @@ def closed(self) -> bool:
# Offsets
OffsetCalendar = Union[np.busdaycalendar, "AbstractHolidayCalendar"]
+
+# read_csv: usecols
+UsecolsArgType = Union[
+... | This makes read_csv's usecols compatible with the tests from pandas-stubs.
The documentation does mention only list, Callable, and None! This notably excludes range, tuple, and ndarray. I'm happy to tighten the types to the documented types or adjust the documentation.
edit: The pandas tests cover list, tuple, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/55330 | 2023-09-30T02:18:11Z | 2023-10-04T14:47:00Z | 2023-10-04T14:47:00Z | 2023-12-10T04:33:42Z |
DOC: add parameters and examples to CustomBusinessMonthBegin/End | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 74398eb0e2405..8fdba8992f627 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -4329,28 +4329,6 @@ cdef class CustomBusinessHour(BusinessHour):
cdef class _CustomBusinessMonth(BusinessMixin):
- ... | In the documentation of offsets classes: [CustomBusinessMonthEnd](https://pandas.pydata.org/docs/dev/reference/api/pandas.tseries.offsets.CustomBusinessMonthEnd.html) and [CustomBusinessMonthBegin](https://pandas.pydata.org/docs/dev/reference/api/pandas.tseries.offsets.CustomBusinessMonthBegin.html) there are no parame... | https://api.github.com/repos/pandas-dev/pandas/pulls/55328 | 2023-09-29T19:35:58Z | 2023-10-02T09:48:18Z | 2023-10-02T09:48:18Z | 2023-10-02T09:48:19Z |
COMPAT: Fix warning with numba >= 0.58.0 | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 129f5cedb86c2..7bf9041412b74 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -900,6 +900,7 @@ Other
- Bug in rendering a :class:`Series` with a :class:`MultiIndex` when one of the index level's names ... | - [ ] closes #55247 (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/55327 | 2023-09-29T19:19:22Z | 2024-01-11T01:32:55Z | 2024-01-11T01:32:55Z | 2024-01-17T15:55:56Z |
Bug fix where df.rolling doesn't work with certain datetime64 index t… | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 0760840f9950a..d703c38d30063 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -248,6 +248,7 @@ Performance improvements
Bug fixes
~~~~~~~~~
- Bug in :class:`AbstractHolidayCalendar` where timezone da... | - [x] closes #55299
- [x] Tests added and passed.
- [x] All code checks passed.
- [x] Added an entry in bug fixes in the latest `doc/source/whatsnew/v2.2.0.rst` file.
This PR fixes an issue where in `df.rolling`, `rolling._win_freq_i8` is always given in nanoseconds but `rolling._index_array` is given in the unit... | https://api.github.com/repos/pandas-dev/pandas/pulls/55325 | 2023-09-29T17:45:21Z | 2023-09-29T18:10:35Z | null | 2023-09-29T18:10:35Z |
BUG: fix parsing of ODF time values with comments | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 7743f762d8898..ce9255142d0c1 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -282,6 +282,7 @@ Bug fixes
- Bug in :func:`pandas.api.types.is_string_dtype` while checking object array with no elements i... | - [x] Similar to: #55200 variant for `time-value` cells
- [x] Tests: added comments to cells in `test_1900.ods` and `test_1904.ods` fixtures, so that [`io/excel/test_readers.py:test_reader_seconds()`](https://github.com/pandas-dev/pandas/blob/main/pandas/tests/io/excel/test_readers.py#L976-L1015) would be failing with... | https://api.github.com/repos/pandas-dev/pandas/pulls/55324 | 2023-09-29T13:31:30Z | 2023-11-27T18:49:29Z | null | 2023-11-28T08:36:11Z |
CLN: Clean up some iteration logic in tslib | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 20a18cf56779f..43252ffb5bf13 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -455,18 +455,18 @@ cpdef array_to_datetime(
set out_tzoffset_vals = set()
tzinfo tz_out = None
bint found_tz = False, found_naive... | - [ ] 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/55320 | 2023-09-28T22:34:57Z | 2023-09-29T14:50:51Z | 2023-09-29T14:50:51Z | 2023-09-29T18:17:59Z |
BUG: `date_range` `inclusive` parameter behavior doesn't match interval notation | diff --git a/doc/source/whatsnew/v2.1.3.rst b/doc/source/whatsnew/v2.1.3.rst
index af626895a9e0e..79333415a2a11 100644
--- a/doc/source/whatsnew/v2.1.3.rst
+++ b/doc/source/whatsnew/v2.1.3.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :meth:`DatetimeIndex.diff` raising ``TypeError`` (:issue:`5... | - [X] closes #55293
- [X] closes #46331
- [X] Added an entry in the latest `doc/source/whatsnew/v2.1.3.rst` file if fixing a bug or adding a new feature.
This pr fixes the issues with `inclusive` in `date_range`
Got rid of the problematic expression which seems to be `i8values[] == start/end_i8`, also the `a... | https://api.github.com/repos/pandas-dev/pandas/pulls/55319 | 2023-09-28T21:34:01Z | 2024-04-15T17:28:33Z | null | 2024-04-15T17:28:34Z |
ENH: propagating attrs always uses deepcopy | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 7a177344a42c7..9a524db89de85 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -74,12 +74,12 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
+- :attr:`Series.attrs` / :attr:`DataFrame.attrs` no... | Always using a deepcopy prevents shared state and thus unintentional modification of the attrs of other objects. IMHO this safety has a higher priority than the slight performance cost of the deepcopy. The implementation now skips the copying if *attrs* are not used (i.e. an empty dict). This check takes only ~20ns. Th... | https://api.github.com/repos/pandas-dev/pandas/pulls/55314 | 2023-09-28T10:16:26Z | 2023-10-04T16:38:17Z | 2023-10-04T16:38:17Z | 2023-10-20T22:27:58Z |
TYP: overload for DataFrame.to_xml | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 445b93705cde5..6ddb1613076ac 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -218,6 +218,7 @@ Other Deprecations
- Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_parquet` except ``pa... | and deprecate non-keyword arguments | https://api.github.com/repos/pandas-dev/pandas/pulls/55313 | 2023-09-28T01:26:31Z | 2023-09-28T16:16:11Z | 2023-09-28T16:16:11Z | 2023-09-28T16:16:23Z |
REF: Add tests.groupby.methods | diff --git a/pandas/tests/groupby/methods/__init__.py b/pandas/tests/groupby/methods/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/groupby/methods/test_corrwith.py b/pandas/tests/groupby/methods/test_corrwith.py
new file mode 100644
index 0000000000000..53e8bdc4534dc
--- ... | - [ ] 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/55312 | 2023-09-27T22:06:45Z | 2023-10-12T22:31:34Z | 2023-10-12T22:31:34Z | 2023-10-13T02:14:01Z |
doc/source/whatsnew/v0.23.1.rst modified | diff --git a/doc/source/whatsnew/v0.23.1.rst b/doc/source/whatsnew/v0.23.1.rst
index b51368c87f991..79d3b8109cf29 100644
--- a/doc/source/whatsnew/v0.23.1.rst
+++ b/doc/source/whatsnew/v0.23.1.rst
@@ -26,7 +26,7 @@ Fixed regressions
**Comparing Series with datetime.date**
We've reverted a 0.23.0 change to comparing... | - [x] 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/55310 | 2023-09-27T20:28:01Z | 2023-09-27T21:31:46Z | null | 2023-09-27T21:31:47Z |
DOC move resample bug whatsnew notes to 2.2 | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 87b71eac76d1a..ddd1f95c56aea 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -13,7 +13,6 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
-- Fixed bug in :meth:`DataFrame.... | - [ ] 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/55309 | 2023-09-27T18:55:45Z | 2023-10-06T16:14:33Z | 2023-10-06T16:14:33Z | 2023-10-06T16:55:40Z |
ENH: case_when function | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index efa14dd966eb1..4c7a7b329777b 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -138,7 +138,7 @@ jobs:
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
- name: Build wheels
- ... | - [x] closes #39154
- [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/55306 | 2023-09-27T13:49:27Z | 2023-10-04T01:58:41Z | null | 2023-10-04T14:47:59Z |
Valid capitalization errors #32550 | diff --git a/doc/source/development/contributing_docstring.rst b/doc/source/development/contributing_docstring.rst
index 87aecb6936c9c..cf9ef51e0d8dc 100644
--- a/doc/source/development/contributing_docstring.rst
+++ b/doc/source/development/contributing_docstring.rst
@@ -646,7 +646,7 @@ A simple example could be:
... | - [x] Fix capitalization at [Fix capitalization among headings in documentation files #32550](https://github.com/pandas-dev/pandas/issues/32550)
- [x] https://github.com/pandas-dev/pandas/blob/main/doc/source/development/contributing_docstring.rst
- [x] https://github.com/pandas-dev/pandas/blob/main/doc/source/develo... | https://api.github.com/repos/pandas-dev/pandas/pulls/55304 | 2023-09-27T03:10:33Z | 2023-10-22T20:05:04Z | null | 2023-10-22T20:05:09Z |
Backport PR #55300 on branch 2.1.x (TST: xfail test due to new numexpr version) | diff --git a/pandas/tests/frame/test_arithmetic.py b/pandas/tests/frame/test_arithmetic.py
index 878e94c15e16b..670d4d4f554a6 100644
--- a/pandas/tests/frame/test_arithmetic.py
+++ b/pandas/tests/frame/test_arithmetic.py
@@ -22,14 +22,12 @@
)
import pandas._testing as tm
from pandas.core.computation import expressio... | Backport PR #55300: TST: xfail test due to new numexpr version | https://api.github.com/repos/pandas-dev/pandas/pulls/55303 | 2023-09-26T21:04:05Z | 2023-09-26T23:08:49Z | 2023-09-26T23:08:49Z | 2023-09-26T23:08:49Z |
TST: xfail test due to new numexpr version | diff --git a/pandas/tests/frame/test_arithmetic.py b/pandas/tests/frame/test_arithmetic.py
index 24a70e55e2f0e..bb9a76829c77d 100644
--- a/pandas/tests/frame/test_arithmetic.py
+++ b/pandas/tests/frame/test_arithmetic.py
@@ -22,14 +22,12 @@
)
import pandas._testing as tm
from pandas.core.computation import expressio... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55300 | 2023-09-26T18:07:06Z | 2023-09-26T21:02:55Z | 2023-09-26T21:02:55Z | 2023-09-26T21:02:58Z |
ExtensionArray.interpolate() method and tests | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index f3bb7323c7d5f..f4f9a4d27fbdb 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -890,7 +890,6 @@ def interpolate(
limit,
limit_direction,
limit_area,
- fill_value,
copy: bool,
... | - [ ] 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/55297 | 2023-09-26T12:22:54Z | 2023-11-07T01:07:32Z | null | 2023-11-07T01:07:33Z |
Backport PR #55275 on branch 2.1.x (Update pyproject.toml - replace `output_formatting` with `output-formatting`) | diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml
index 04abcf4ce8816..7d20ef92587d9 100644
--- a/.github/workflows/package-checks.yml
+++ b/.github/workflows/package-checks.yml
@@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
- extra: ["test... | Backport PR #55275: Update pyproject.toml - replace `output_formatting` with `output-formatting` | https://api.github.com/repos/pandas-dev/pandas/pulls/55291 | 2023-09-26T00:12:26Z | 2023-09-26T05:11:35Z | 2023-09-26T05:11:35Z | 2023-09-26T05:11:35Z |
Backport PR #55276 on branch 2.1.x (Bump pypa/cibuildwheel from 2.15.0 to 2.16.0) | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 97d78a1a9afe3..ecb30fefb9ff2 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -138,7 +138,7 @@ jobs:
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
- name: Build wheels
- ... | Backport PR #55276: Bump pypa/cibuildwheel from 2.15.0 to 2.16.0 | https://api.github.com/repos/pandas-dev/pandas/pulls/55288 | 2023-09-25T18:09:59Z | 2023-09-25T20:23:54Z | 2023-09-25T20:23:54Z | 2023-09-25T20:23:54Z |
BUG: df.resample('MS', closed='right') incorrectly places bins | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 6fec66ec8d556..1a25b848e0f84 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed bug in :meth:`DataFrame.... | - [x] closes #55271
- [x] closes #55281
- [x] closes #55282
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/55283 | 2023-09-25T15:01:06Z | 2023-09-26T15:57:41Z | 2023-09-26T15:57:41Z | 2023-10-05T12:04:25Z |
Add remove_from_default_na options to read_csv, read_excel... | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index acf35ebd6afe5..27c1c840eb12f 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -211,6 +211,9 @@
+ fill('", "'.join(sorted(STR_NA_VALUES)), 70, subsequent_indent=" ")
+ """ ".
+remove_from_default_... | - [ ] 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/55280 | 2023-09-25T12:36:43Z | 2023-09-25T18:19:40Z | null | 2023-09-26T00:32:39Z |
BUG: df.resample('MS', closed='right') incorrectly places bins | diff --git a/pandas/_libs/tslibs/dtypes.pyx b/pandas/_libs/tslibs/dtypes.pyx
index cca379c620aeb..48d70d8b2c0b0 100644
--- a/pandas/_libs/tslibs/dtypes.pyx
+++ b/pandas/_libs/tslibs/dtypes.pyx
@@ -189,13 +189,8 @@ OFFSET_TO_PERIOD_FREQSTR: dict = {
"WEEKDAY": "D",
"EOM": "M",
"BM": "M",
- "BQS": "Q",
... | - [ ] closes #55271 (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/55278 | 2023-09-25T10:12:18Z | 2023-09-25T10:34:46Z | null | 2023-09-25T10:34:46Z |
Updated `pre-commit` hooks versions. | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c01bf65818167..b0b511e1048c6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -20,11 +20,11 @@ ci:
repos:
- repo: https://github.com/hauntsaninja/black-pre-commit-mirror
# black compiled with mypyc
- rev: 23.7.0
+ r... | - [ ] 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/55277 | 2023-09-25T09:29:05Z | 2023-09-25T18:08:06Z | 2023-09-25T18:08:06Z | 2023-09-25T18:53:39Z |
Bump pypa/cibuildwheel from 2.15.0 to 2.16.0 | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 83d14b51092e6..4c7a7b329777b 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -138,7 +138,7 @@ jobs:
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
- name: Build wheels
- ... | Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.15.0 to 2.16.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pypa/cibuildwheel/releases">pypa/cibuildwheel's releases</a>.</em></p>
<blockquote>
<h2>v2.16.0</h2>
<ul>
<li>✨ Add the ability to pass additi... | https://api.github.com/repos/pandas-dev/pandas/pulls/55276 | 2023-09-25T08:51:03Z | 2023-09-25T18:08:55Z | 2023-09-25T18:08:55Z | 2023-09-25T18:08:59Z |
Update pyproject.toml - replace `output_formatting` with `output-formatting` | diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml
index 64a94d7fde5a9..a2c42af53c3a8 100644
--- a/.github/workflows/package-checks.yml
+++ b/.github/workflows/package-checks.yml
@@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
- extra: ["test... | closes #55290
Simply said, none of this would work (dependencies from `output-formatting` would not be installed):
```
pip install pandas[output-formatting]
pip install pandas[output_formatting]
pip install pandas[output-formatting,xml]
```
When being distributed, underscores are replaces with dashes. So, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/55275 | 2023-09-25T08:28:45Z | 2023-09-26T00:11:06Z | 2023-09-26T00:11:06Z | 2023-09-26T00:11:16Z |
ASV: add GroupBy.sum benchmark with timedelta and integer types | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index b206523dfe851..4567b5b414301 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -841,6 +841,23 @@ def time_groupby_sum_multiindex(self):
self.df.groupby(level=[0, 1]).sum()
+class SumTime... | - [x] closes #20660
- [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 benchmark to `GroupBy.sum` m... | https://api.github.com/repos/pandas-dev/pandas/pulls/55273 | 2023-09-25T03:40:18Z | 2023-09-25T18:20:52Z | 2023-09-25T18:20:52Z | 2023-09-28T20:03:00Z |
This fix enables you to preserve the datetime precision when using the melt method. | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index fa3cef6d9457d..d498c84358448 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -254,6 +254,7 @@ Bug fixes
- Bug in :class:`AbstractHolidayCalendar` where timezone data was not propagated when computing ... |
- [X ] closes #55254 (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/developm... | https://api.github.com/repos/pandas-dev/pandas/pulls/55270 | 2023-09-25T00:44:14Z | 2023-10-03T21:56:40Z | 2023-10-03T21:56:40Z | 2023-10-03T21:56:47Z |
TST: Clean up autouse fixtures | diff --git a/pandas/tests/arithmetic/conftest.py b/pandas/tests/arithmetic/conftest.py
index 7dd5169202ba4..7ec77e5b65b7e 100644
--- a/pandas/tests/arithmetic/conftest.py
+++ b/pandas/tests/arithmetic/conftest.py
@@ -7,23 +7,8 @@
RangeIndex,
)
import pandas._testing as tm
-from pandas.core.computation import exp... | Scoping the autouse functionality closer where it matters for the tests | https://api.github.com/repos/pandas-dev/pandas/pulls/55269 | 2023-09-24T20:43:33Z | 2023-09-25T18:22:34Z | 2023-09-25T18:22:34Z | 2023-09-25T18:22:37Z |
BUG: groupby.idxmax/idxmin consistently raise on unobserved categorical | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index 3bd68c07dcbc3..4260c0836bbea 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -124,7 +124,7 @@ jobs:
run: |
cd asv_bench
asv machine --yes
- asv run --quick -... | - [ ] 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/55268 | 2023-09-24T20:10:46Z | 2023-10-08T18:49:58Z | 2023-10-08T18:49:58Z | 2023-10-09T20:25:11Z |
TST: Don't call gc.collect for plotting tests | diff --git a/pandas/tests/io/formats/style/test_matplotlib.py b/pandas/tests/io/formats/style/test_matplotlib.py
index fb7a77f1ddb27..058b225075e36 100644
--- a/pandas/tests/io/formats/style/test_matplotlib.py
+++ b/pandas/tests/io/formats/style/test_matplotlib.py
@@ -1,5 +1,3 @@
-import gc
-
import numpy as np
impor... | This may be slowing down test run time while Python may be garbage collecting dead objects already | https://api.github.com/repos/pandas-dev/pandas/pulls/55267 | 2023-09-24T18:20:29Z | 2023-09-25T01:58:38Z | null | 2023-09-25T01:58:41Z |
TST: Load iris and types data in sql tests as needed | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index 63546b44e92be..c30965feeb586 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -24,7 +24,6 @@
import pandas as pd
from pandas import (
DataFrame,
- DatetimeTZDtype,
Index,
MultiIndex,
Series... | Also factors out timezone data in a fixture to only apply to the single test where it's used | https://api.github.com/repos/pandas-dev/pandas/pulls/55265 | 2023-09-24T16:52:18Z | 2023-10-25T17:18:06Z | 2023-10-25T17:18:06Z | 2023-10-25T17:18:10Z |
TYP: Misc changes for pandas-stubs; use Protocol to avoid str in Sequence | diff --git a/pandas/_typing.py b/pandas/_typing.py
index c2bbebfbe2857..0e2a0881f0122 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -24,6 +24,7 @@
Type as type_t,
TypeVar,
Union,
+ overload,
)
import numpy as np
@@ -85,6 +86,8 @@
# Name "npt._ArrayLikeInt_co" is not defined [name... | The first commit addresses some type issues found by running mypy on the tests from pandas-stubs (one big issue is that Index/Series are not included in IndexLabel; there might be cases where that is correct but in many cases they should be included).
The second commit re-writes #47233 with the protocol version of S... | https://api.github.com/repos/pandas-dev/pandas/pulls/55263 | 2023-09-24T14:25:51Z | 2023-09-26T15:48:56Z | 2023-09-26T15:48:56Z | 2023-12-10T04:33:43Z |
CLN: Remove temp_setattr from groupby.transform | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index d607baf18d6cb..a022bfd1bd9bc 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -2012,15 +2012,13 @@ def _transform(self, func, *args, engine=None, engine_kwargs=None, **kwargs):
# If func is... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55262 | 2023-09-24T13:09:08Z | 2023-09-24T17:21:30Z | 2023-09-24T17:21:30Z | 2023-09-24T17:21:36Z |
Fix value_counts for sort=False parameter | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 1d74bb8b83e4e..860a9d8951fd5 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -871,6 +871,7 @@ def value_counts_internal(
Index,
Series,
)
+
index_name = getattr(values, "name", None)
... | - [x] closes #55224
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x... | https://api.github.com/repos/pandas-dev/pandas/pulls/55260 | 2023-09-24T07:32:20Z | 2023-12-18T19:34:38Z | null | 2023-12-18T19:34:38Z |
BUG: DatetimeIndex.union returning object dtype for indexes with the same tz but different units | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 930e03ae7d75a..ca09a69f603ab 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -259,7 +259,7 @@ Categorical
Datetimelike
^^^^^^^^^^^^
--
+- Bug in :meth:`DatetimeIndex.union` returning object dtype f... | - [x] closes #55238
- [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/55259 | 2023-09-24T01:13:41Z | 2023-09-25T18:42:45Z | 2023-09-25T18:42:45Z | 2023-11-16T12:56:53Z |
BUG: Series[slc]=foo raising with IntervalIndex | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 930e03ae7d75a..38a1c1511af73 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -292,6 +292,7 @@ Interval
- Bug in :class:`Interval` ``__repr__`` not displaying UTC offsets for :class:`Timestamp` bounds.... | - [x] closes #54722 (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/55258 | 2023-09-23T22:06:37Z | 2023-09-25T18:43:41Z | 2023-09-25T18:43:40Z | 2023-09-25T19:49:25Z |
DEPR: Index.insert dtype-inference | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 919ac8b03f936..c2032b0d34536 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -454,6 +454,7 @@ Other Deprecations
- Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_string` except ``buf... | - [x] closes #51363 (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/55257 | 2023-09-23T20:45:53Z | 2023-12-08T23:39:11Z | 2023-12-08T23:39:11Z | 2023-12-09T16:42:08Z |
ENH/PERF: add ExtensionArray.duplicated | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 2584e1f13853a..192f19c36b47d 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -1,6 +1,7 @@
from importlib import import_module
import numpy as np
+import pyarrow as pa
import pand... | - [x] closes #27264
- [x] closes #48424
- [x] closes #48788
- [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/55255 | 2023-09-23T02:31:29Z | 2023-10-03T15:48:01Z | 2023-10-03T15:48:01Z | 2023-11-16T12:56:51Z |
TYP: towards matplotlib 3.8 | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index b22f8cb34c814..94652e8586d77 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -33,7 +33,7 @@ dependencies:
- gcsfs>=2022.11.0
- jinja2>=3.1.2
- lxml>=4.9.2
- - matplotlib>=3.6.3, <3.8
+ - matplotlib>=3.6.3
- numb... | Type changes for matplotlib 3.8. There is more work needed:
- failing CI with 3.8 https://github.com/pandas-dev/pandas/pull/55210#issuecomment-1732096783
- refactor the use of matplotlib to not set non-existing attributes matploblib object and to avoid using private methods (see mypy errors below). This can be done i... | https://api.github.com/repos/pandas-dev/pandas/pulls/55253 | 2023-09-22T23:53:31Z | 2023-11-15T21:38:02Z | 2023-11-15T21:38:02Z | 2023-12-10T04:33:46Z |
DEPR: 'A' for yearly frequency and YearEnd in favour of 'Y' | diff --git a/asv_bench/benchmarks/tslibs/period.py b/asv_bench/benchmarks/tslibs/period.py
index a92fbbe8d4dbe..67f3b7736018d 100644
--- a/asv_bench/benchmarks/tslibs/period.py
+++ b/asv_bench/benchmarks/tslibs/period.py
@@ -72,7 +72,7 @@ def time_now(self, freq):
self.per.now(freq)
def time_asfreq(self... | xref #54275, #54061
deprecated string `'A'` for yearly frequency and YearEnd in favour of `'Y'`.
EDIT:
deprecated annual frequencies with various fiscal year ends:` "A-DEC", "A-JAN"`, etc. in favour of `"Y-DEC", "Y-JAN"`, etc. | https://api.github.com/repos/pandas-dev/pandas/pulls/55252 | 2023-09-22T22:31:44Z | 2023-10-06T09:40:26Z | 2023-10-06T09:40:26Z | 2023-10-06T15:09:10Z |
Backport PR #55249 on branch 2.1.x (BUG: incompatible dtype when creating string column with loc) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 2c9b10160d144..97aeb56924e65 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed bug where PDEP-6 warn... | Backport PR #55249: BUG: incompatible dtype when creating string column with loc | https://api.github.com/repos/pandas-dev/pandas/pulls/55251 | 2023-09-22T19:56:16Z | 2023-09-22T23:47:53Z | 2023-09-22T23:47:53Z | 2023-09-22T23:47:53Z |
BUG: incompatible dtype when creating string column with loc | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 2c9b10160d144..97aeb56924e65 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed bug where PDEP-6 warn... | - [ ] closes #55025 (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/55249 | 2023-09-22T16:36:52Z | 2023-09-22T19:55:11Z | 2023-09-22T19:55:11Z | 2023-09-22T19:55:18Z |
BUG: incompatible dtype when creating string column with loc | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 2c9b10160d144..97aeb56924e65 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed bug where PDEP-6 warn... | - [ ] closes #55025 (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/55248 | 2023-09-22T16:17:46Z | 2023-09-22T16:19:06Z | null | 2023-09-22T16:19:29Z |
Create broken-linkcheck.yml | diff --git a/.github/workflows/broken-linkcheck.yml b/.github/workflows/broken-linkcheck.yml
new file mode 100644
index 0000000000000..10ab5b08a4437
--- /dev/null
+++ b/.github/workflows/broken-linkcheck.yml
@@ -0,0 +1,38 @@
+name: Linkcheck
+on:
+ schedule:
+ # Run monthly on the 1st day of the month
+ - cron: '0... | Created a Github Action to run the Sphinx linkcheck monthly.
- [x] closes #xxxx (Replace xxxx with the GitHub issue number) #45409
- [ ] [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 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/55246 | 2023-09-22T14:50:51Z | 2023-11-07T21:45:29Z | 2023-11-07T21:45:29Z | 2023-12-05T18:29:39Z |
BUG: Rolling pd.date_range incorrect for unit='s' #55026 | diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py
index becbba703f92c..2d5fe7b8112ea 100644
--- a/pandas/core/window/rolling.py
+++ b/pandas/core/window/rolling.py
@@ -1884,6 +1884,13 @@ def _validate(self):
else:
self._win_freq_i8 = freq.nanos
+ if se... | - [X] closes #55026
- [X] [Tests added and passed]
This follows the #55173 and will be fixed by the same approach. The custom tests were added for the `max` function itself. | https://api.github.com/repos/pandas-dev/pandas/pulls/55243 | 2023-09-22T12:38:42Z | 2023-09-22T16:48:49Z | null | 2023-09-22T19:48:27Z |
PERF: Add type-hints in tzconversion.pyx | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 8eab623a2b5f7..ebca1605be8d5 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -238,7 +238,7 @@ Performance improvements
- Performance improvement in :meth:`DataFrame.sort_index` and :meth:`Series.sort_... | - [ ] 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/55241 | 2023-09-22T11:50:25Z | 2023-09-22T14:59:39Z | 2023-09-22T14:59:39Z | 2023-09-24T15:29:44Z |
DOC: point out that explicitly passing axis=None is deprecated for sum, prod, var, std, sem | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index c75c6c546aad0..d0fab0037d99d 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -12532,6 +12532,39 @@ def last_valid_index(self) -> Hashable | None:
{examples}
"""
+_sum_prod_doc = """
+{desc}
+
+Parameters
+----------
+axis : {axis... | - [x] closes #54547
pointed out in the documentation of the methods: `sum, prod, var, std, sem` that explicitly passing `axis=None` is deprecated.
| https://api.github.com/repos/pandas-dev/pandas/pulls/55240 | 2023-09-22T11:11:57Z | 2023-09-22T16:50:52Z | 2023-09-22T16:50:52Z | 2023-09-22T16:50:58Z |
DOC: Fix doc for first_valid_index | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d0fab0037d99d..427687d9614f9 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -12466,11 +12466,6 @@ def first_valid_index(self) -> Hashable | None:
-------
type of index
- Notes
- -----
- If al... | - [x] closes #55187
- [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/55236 | 2023-09-22T02:00:41Z | 2023-09-22T23:48:53Z | 2023-09-22T23:48:53Z | 2023-09-22T23:53:17Z |
DEPR: Change FutureWarning for observed=False to DeprecationWarning | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 2c9b10160d144..bbf7368513fd4 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -29,7 +29,7 @@ Bug fixes
Other
~~~~~
--
+- Changed the ``FutureWarning`` raised when ``observed=False`` in :meth:`DataFr... | - [ ] closes #54970 (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/55235 | 2023-09-22T01:22:05Z | 2023-10-01T02:40:13Z | null | 2023-10-01T02:40:15Z |
BUG/ENH: Use pyarrow grouped aggregation functions for pyarrow-backed groupby ops | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 4567b5b414301..3743ec4b935cc 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -3,9 +3,11 @@
from string import ascii_letters
import numpy as np
+import pyarrow as pa
from pandas import (
... | - [x] closes #54627
- [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/55234 | 2023-09-22T01:04:09Z | 2023-10-01T18:54:24Z | null | 2023-11-16T12:56:52Z |
Typo: 'whenlines' -> 'when lines' | diff --git a/pandas/io/json/_json.py b/pandas/io/json/_json.py
index ecab14a54beff..d596891197aaa 100644
--- a/pandas/io/json/_json.py
+++ b/pandas/io/json/_json.py
@@ -175,7 +175,7 @@ def to_json(
if mode == "a" and (not lines or orient != "records"):
msg = (
- "mode='a' (append) is only sup... | I noticed that the text gets joined together when this particular error message gets printed. It looks like `whenlines` instead of `when lines`. | https://api.github.com/repos/pandas-dev/pandas/pulls/55233 | 2023-09-21T20:09:46Z | 2023-09-22T00:10:28Z | 2023-09-22T00:10:28Z | 2023-09-22T00:10:35Z |
BUG: Interchange object data buffer has the wrong dtype / from_dataframe incorrect | diff --git a/pandas/core/interchange/from_dataframe.py b/pandas/core/interchange/from_dataframe.py
index 214fbf9f36435..d45ae37890ba7 100644
--- a/pandas/core/interchange/from_dataframe.py
+++ b/pandas/core/interchange/from_dataframe.py
@@ -266,10 +266,9 @@ def string_column_to_ndarray(col: Column) -> tuple[np.ndarray,... | - [ ] closes #54781 (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/55227 | 2023-09-21T11:25:18Z | 2023-11-07T12:06:56Z | 2023-11-07T12:06:56Z | 2023-11-07T12:06:56Z |
Backport PR #55206 on branch 2.1.x (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... | Backport PR #55206: BUILD: Fix duplicate files warning | https://api.github.com/repos/pandas-dev/pandas/pulls/55222 | 2023-09-20T17:00:07Z | 2023-09-20T19:16:58Z | 2023-09-20T19:16:58Z | 2023-09-20T19:16:58Z |
Backport PR #55207 on branch 2.1.x (DOC: Add whatsnew for 2.1.2) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index c21fbc28ae68f..baab20845a2a2 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.2
v2.1.1
v2.1.0
diff --git a/doc/source/whatsnew/... | Backport PR #55207: DOC: Add whatsnew for 2.1.2 | https://api.github.com/repos/pandas-dev/pandas/pulls/55221 | 2023-09-20T13:52:44Z | 2023-09-20T16:27:10Z | 2023-09-20T16:27:10Z | 2023-09-20T16:27:10Z |
Backport PR #55008 on branch 2.1.x (CoW: Clear dead references every time we add a new one) | diff --git a/pandas/_libs/internals.pyx b/pandas/_libs/internals.pyx
index adf4e8c926fa3..859ebce36eaa8 100644
--- a/pandas/_libs/internals.pyx
+++ b/pandas/_libs/internals.pyx
@@ -951,6 +951,11 @@ cdef class BlockValuesRefs:
else:
self.referenced_blocks = []
+ def _clear_dead_references(self... | #55008 | https://api.github.com/repos/pandas-dev/pandas/pulls/55220 | 2023-09-20T13:44:15Z | 2023-09-20T15:54:24Z | 2023-09-20T15:54:24Z | 2023-09-30T21:24:28Z |
BUG: manage raw ods file without cell cache | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index da2e30edc80ea..b97198c36891c 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -223,6 +223,7 @@ Bug fixes
- Bug in :class:`AbstractHolidayCalendar` where timezone data was not propagated when computing ... | - [ ] [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).
- [ ] ~~Added [type annota... | https://api.github.com/repos/pandas-dev/pandas/pulls/55219 | 2023-09-20T13:40:21Z | 2023-09-20T16:57:32Z | 2023-09-20T16:57:32Z | 2023-09-20T16:57:40Z |
Backport PR #55211 on branch 2.1.x (DOC: Add release date for 2.1.1) | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 6d5da7cdff3b3..060235f0d2bff 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -1,6 +1,6 @@
.. _whatsnew_211:
-What's new in 2.1.1 (September XX, 2023)
+What's new in 2.1.1 (September 20, 2023)
-----... | Backport PR #55211: DOC: Add release date for 2.1.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/55218 | 2023-09-20T11:57:26Z | 2023-09-20T13:38:34Z | 2023-09-20T13:38:34Z | 2023-09-20T13:38:34Z |
Backport PR #55050 on branch 2.1.x (Fix docstring of Index.join in base.py) | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index aa306da017d34..b4ef5380d2b30 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -4586,7 +4586,7 @@ def join(
-------
join_index, (left_indexer, right_indexer)
- Examples
+ Examples
... | Backport PR #55050: Fix docstring of Index.join in base.py | https://api.github.com/repos/pandas-dev/pandas/pulls/55217 | 2023-09-20T11:00:22Z | 2023-09-20T15:52:47Z | 2023-09-20T15:52:47Z | 2023-09-20T15:52:47Z |
Backport PR #55210 on branch 2.1.x (CI: Pin matplotlib < 3.8) | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index edd48604dbfda..5db145e31ebc5 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... | Backport PR #55210: CI: Pin matplotlib < 3.8 | https://api.github.com/repos/pandas-dev/pandas/pulls/55216 | 2023-09-20T10:53:25Z | 2023-09-20T13:07:42Z | 2023-09-20T13:07:42Z | 2023-09-20T13:07:43Z |
BUG: support non-nanos Timedelta objects in Python C API | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index da2e30edc80ea..272ee5de5b8d4 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -236,7 +236,7 @@ Datetimelike
Timedelta
^^^^^^^^^
--
+- Bug in :func:`_timedelta_from_value_and_reso` causing pytimedelt... | - [x] closes #54682
- [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/55213 | 2023-09-20T04:18:32Z | 2023-11-03T20:30:18Z | null | 2023-11-03T20:30:18Z |
DOC: Add release date for 2.1.1 | diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst
index 0dc113bd9ab7f..42a7029b1fa77 100644
--- a/doc/source/whatsnew/v2.1.1.rst
+++ b/doc/source/whatsnew/v2.1.1.rst
@@ -1,6 +1,6 @@
.. _whatsnew_211:
-What's new in 2.1.1 (September XX, 2023)
+What's new in 2.1.1 (September 20, 2023)
-----... | - [ ] 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/55211 | 2023-09-20T02:59:09Z | 2023-09-20T11:57:17Z | 2023-09-20T11:57:17Z | 2023-09-20T11:57:18Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.