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 |
|---|---|---|---|---|---|---|---|
BLD: Install anaconda client in a separate step | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index afd30debee7fb..17bec7dcd3ad2 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -82,7 +82,7 @@ jobs:
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_BUILD_VERBOSITY: 3
- # Used to push th... | - [ ] 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/48755 | 2022-09-24T00:35:16Z | 2022-09-26T00:26:47Z | 2022-09-26T00:26:47Z | 2022-10-13T17:01:39Z |
WARN: Catch warning in tests | diff --git a/pandas/tests/plotting/frame/test_frame_color.py b/pandas/tests/plotting/frame/test_frame_color.py
index e384861d8a57c..2e860c2615322 100644
--- a/pandas/tests/plotting/frame/test_frame_color.py
+++ b/pandas/tests/plotting/frame/test_frame_color.py
@@ -199,12 +199,18 @@ def test_if_scatterplot_colorbars_are... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48753 | 2022-09-23T23:52:14Z | 2022-09-28T23:25:46Z | 2022-09-28T23:25:46Z | 2022-10-13T17:01:38Z |
PERF: MultiIndex.union | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9d1e0c7485092..508d5d8bc4cc1 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -140,7 +140,7 @@ Performance improvements
- Performance improvement in :meth:`.DataFrameGroupBy.median` and :meth:`.SeriesG... |
- [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 annota... | https://api.github.com/repos/pandas-dev/pandas/pulls/48752 | 2022-09-23T23:43:33Z | 2022-10-14T09:20:07Z | 2022-10-14T09:20:06Z | 2022-10-26T10:18:32Z |
WEB: Update link to datapythonista blog url | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index df31b1a4fde19..da63777c0cfc5 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -62,7 +62,7 @@ blog:
- https://wesmckinney.com/feeds/pandas.atom.xml
- https://tomaugspurger.github.io/feed
- https://jorisvandenbossche.github.io/feed... | The domain of my blog changed long ago, but seems like it wasn't updated in the pandas blog aggregator configuration. Updating it here. | https://api.github.com/repos/pandas-dev/pandas/pulls/48751 | 2022-09-23T22:08:34Z | 2022-09-26T22:47:19Z | 2022-09-26T22:47:19Z | 2022-09-26T22:47:25Z |
Backport PR #48702 on branch 1.5.x (REGR: dropna affects observed in groupby) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 209548a4adaf9..087cfa642fb64 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -10,6 +10,61 @@ including other versions of pandas.
.. ------------------------------------------------------------------... | Backport PR #48702: REGR: dropna affects observed in groupby | https://api.github.com/repos/pandas-dev/pandas/pulls/48750 | 2022-09-23T21:51:41Z | 2022-09-23T23:55:59Z | 2022-09-23T23:55:59Z | 2022-09-23T23:55:59Z |
API: Change DTA/TDA add/sub to match numpy | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 5a92cc3c8509c..83c7fa2fbdca1 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -1134,13 +1134,12 @@ def _add_datetimelike_scalar(self, other) -> DatetimeArray:
return Datetim... | Sits on top of #48743 | https://api.github.com/repos/pandas-dev/pandas/pulls/48748 | 2022-09-23T20:41:06Z | 2022-09-28T15:40:31Z | 2022-09-28T15:40:31Z | 2022-10-13T17:01:37Z |
Backport PR #48697 on branch 1.5.x (REGR: None converted to NaN when enlarging Series) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 3f4265245bcb6..c998b2ce99628 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed Regression in :meth:`Ser... | Backport PR #48697: REGR: None converted to NaN when enlarging Series | https://api.github.com/repos/pandas-dev/pandas/pulls/48745 | 2022-09-23T18:02:06Z | 2022-09-23T21:51:54Z | 2022-09-23T21:51:54Z | 2022-09-23T21:51:54Z |
Backport PR #48734 on branch 1.5.x (REGR: Raise on invalid colormap for scatter plot) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 3f4265245bcb6..0f71814341aba 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -16,6 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed Regression in :meth:`DataFrame.loc` when setting values as a :c... | Backport PR #48734: REGR: Raise on invalid colormap for scatter plot | https://api.github.com/repos/pandas-dev/pandas/pulls/48744 | 2022-09-23T17:45:14Z | 2022-09-23T20:05:35Z | 2022-09-23T20:05:35Z | 2022-09-23T20:05:35Z |
API: Change Timestamp/Timedelta arithmetic to match numpy | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index c9e997ffb405c..bf22967f615c4 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -787,19 +787,12 @@ def _binary_op_method_timedeltalike(op, name):
# e.g. if original other was ... | cc @mroeschke as discussed. Will do analogous DTA/TDA cases in followup. | https://api.github.com/repos/pandas-dev/pandas/pulls/48743 | 2022-09-23T17:32:27Z | 2022-09-27T23:33:18Z | 2022-09-27T23:33:18Z | 2022-10-13T17:01:37Z |
Backport PR #48713 on branch 1.5.x (BUG: pivot_table raising Future Warning with datetime column as index) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 3f4265245bcb6..f8335fa423028 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -26,6 +26,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :meth:`DataFrame.to_hdf` raising ``AssertionError`` with bo... | Backport PR #48713: BUG: pivot_table raising Future Warning with datetime column as index | https://api.github.com/repos/pandas-dev/pandas/pulls/48742 | 2022-09-23T17:23:10Z | 2022-09-23T20:05:48Z | 2022-09-23T20:05:48Z | 2022-09-23T20:05:48Z |
Backport PR #48703 on branch 1.5.x (Added theme_switcher ) | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8740f6aa7eef6..252670565ebff 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -245,7 +245,7 @@
"twitter_url": "https://twitter.com/pandas_dev",
"google_analytics_id": "UA-27880019-2",
"logo": {"image_dark": "https://pandas.pydata.org/s... | Backport PR #48703: Added theme_switcher | https://api.github.com/repos/pandas-dev/pandas/pulls/48741 | 2022-09-23T17:22:36Z | 2022-09-23T20:06:12Z | 2022-09-23T20:06:12Z | 2022-09-23T20:06:12Z |
rename 1.6 doc to 2.0 | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 6c14a2e784236..352c7ec745067 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -10,13 +10,13 @@ This is the list of changes to pandas between each release. For full details,
see the `commit logs <https://gi... | - [ ] 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/48740 | 2022-09-23T16:04:59Z | 2022-10-03T16:25:24Z | null | 2022-10-03T16:25:26Z |
DEPR: enforce Series/DataFrame awareness-mismatch deprecations | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 81fdb4b7338f1..087b13532fd5f 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -145,6 +145,8 @@ Deprecations
Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | - [ ] 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/48739 | 2022-09-23T15:30:51Z | 2022-10-20T20:02:26Z | 2022-10-20T20:02:26Z | 2022-10-20T20:22:08Z |
BUG: AttributeError: 'function' object has no attribute 'currentframe' | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index da0bd746e3da5..d61a8f720a0b4 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -74,7 +74,7 @@ Fixed regressions
- Regression in :func:`.read_csv` causing an ``EmptyDataError`` when using an UTF-8 file h... | - [x] closes #48733 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/48736 | 2022-09-23T14:25:38Z | 2022-09-26T17:32:49Z | 2022-09-26T17:32:49Z | 2022-09-30T14:28:18Z |
DEPR: positional arguments in favor of keyword arguments | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 1c99ba0b8e412..f22940549e81c 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -1075,8 +1075,8 @@ Metadata
Other
^^^^^
+- Add future warnings in :meth:`DataFrameGroupBy.fillna` and :meth:`SeriesGroup... | - [x] closes #48395
- [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/48735 | 2022-09-23T13:53:34Z | 2023-02-13T22:07:43Z | null | 2023-02-13T22:07:44Z |
REGR: Raise on invalid colormap for scatter plot | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 3f4265245bcb6..0f71814341aba 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -16,6 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed Regression in :meth:`DataFrame.loc` when setting values as a :c... | - [x] closes #48726 (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/48734 | 2022-09-23T13:17:46Z | 2022-09-23T17:45:07Z | 2022-09-23T17:45:07Z | 2022-09-23T23:51:57Z |
DOC: Fixed typo in core/groupby/groupby.py - issue #48727 | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index d5151d84e20bb..77b0d2e486bc2 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -204,7 +204,7 @@ class providing the base-class of operations.
>>> g1 = df.groupby('A', group_keys=False)
>>> g2 =... | - [x] closes #48727
- [x] Fixed typo on line 207 of pandas/core/groupby/groupby.py - have -> and
| https://api.github.com/repos/pandas-dev/pandas/pulls/48732 | 2022-09-23T12:27:48Z | 2022-09-23T12:29:00Z | null | 2022-09-25T23:01:44Z |
Fixed typo | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index d5151d84e20bb..77b0d2e486bc2 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -204,7 +204,7 @@ class providing the base-class of operations.
>>> g1 = df.groupby('A', group_keys=False)
>>> g2 =... | - [ ] closes ##48727
Replaced have -> and on line 207 of pandas/core/groupby/groupby.py | https://api.github.com/repos/pandas-dev/pandas/pulls/48731 | 2022-09-23T12:02:45Z | 2022-09-23T12:27:51Z | 2022-09-23T12:27:51Z | 2022-10-13T17:01:36Z |
PERF: MultiIndex.size | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 3eea7081ae2de..b2eb54659b048 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -133,6 +133,7 @@ Performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Performance improvement in :meth:`.DataFrameGroupBy.m... | - [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/48723 | 2022-09-23T00:04:06Z | 2022-09-23T17:24:15Z | 2022-09-23T17:24:15Z | 2022-10-13T17:01:35Z |
BUG/PERF: MultiIndex.difference losing EA dtype | diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py
index 3b6eaa52ae382..ab2603dd7bbf7 100644
--- a/asv_bench/benchmarks/multiindex_object.py
+++ b/asv_bench/benchmarks/multiindex_object.py
@@ -238,7 +238,7 @@ class SetOperations:
params = [
("monotonic", "no... | - [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/48722 | 2022-09-22T23:32:35Z | 2022-09-23T05:11:57Z | null | 2022-09-24T00:48:28Z |
DOC: re-phrase web README.md ENG | diff --git a/web/README.md b/web/README.md
index 2e0fa6c8885a4..8586a763c51d9 100644
--- a/web/README.md
+++ b/web/README.md
@@ -5,8 +5,7 @@ containing the settings to build the website. The website is generated with the
command `./pandas_web.py pandas`. See `./pandas_web.py --help` and the header of
the script for m... | Basic rephrasing of the web README.md for improved legibility
- "to navigate it " -> "to allow navigation of the website " ("it" is ambiguous here, "website" leaves no question as to which entity the instructions refer to.
- "it is needed" -> "must"
- "a not open" -> "it is not possible to open " (perhaps a typo he... | https://api.github.com/repos/pandas-dev/pandas/pulls/48720 | 2022-09-22T21:35:20Z | 2022-09-23T22:06:44Z | 2022-09-23T22:06:44Z | 2022-10-13T17:01:33Z |
CI: include tests in coverage | diff --git a/setup.cfg b/setup.cfg
index 53dfa2623c972..4c5815cc0e02d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -184,7 +184,6 @@ ignore-regex = https://([\w/\.])+
[coverage:run]
branch = True
omit =
- */tests/*
pandas/_typing.py
pandas/_version.py
plugins = Cython.Coverage
| It's hard to tell whether all tests are being executed in CI - can we add not omit them from the coverage report, so this'll be easier? | https://api.github.com/repos/pandas-dev/pandas/pulls/48719 | 2022-09-22T20:41:15Z | 2022-09-26T22:48:59Z | 2022-09-26T22:48:59Z | 2022-10-13T17:01:32Z |
Backport PR #48711 on branch 1.5.x (REGR: Regression in DataFrame.loc when setting df with all True indexer) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 4a7eaf20a8745..4717c6fcf5ea1 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed Regression in :meth:`Dat... | Backport PR #48711: REGR: Regression in DataFrame.loc when setting df with all True indexer | https://api.github.com/repos/pandas-dev/pandas/pulls/48717 | 2022-09-22T17:50:21Z | 2022-09-23T04:31:47Z | 2022-09-23T04:31:47Z | 2022-09-23T04:31:47Z |
Backport PR #48696 on branch 1.5.x (REGR: to_hdf raising AssertionError with boolean index) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 4a7eaf20a8745..d8e3fdbe6c889 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -24,7 +24,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in :meth:`DataFrame.to_hdf` raising ``AssertionError`` wi... | Backport PR #48696: REGR: to_hdf raising AssertionError with boolean index | https://api.github.com/repos/pandas-dev/pandas/pulls/48716 | 2022-09-22T16:40:17Z | 2022-09-23T04:32:41Z | 2022-09-23T04:32:41Z | 2022-09-23T04:32:41Z |
BUG: pivot_table raising for nullable dtype and margins | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 050dfacc13df0..3eea7081ae2de 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -239,6 +239,7 @@ Groupby/resample/rolling
Reshaping
^^^^^^^^^
+- Bug in :meth:`DataFrame.pivot_table` raising ``TypeErro... | - [x] closes #48681 (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/48714 | 2022-09-22T13:57:44Z | 2022-09-22T17:54:58Z | 2022-09-22T17:54:58Z | 2022-10-13T17:01:32Z |
BUG: pivot_table raising Future Warning with datetime column as index | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 3f4265245bcb6..f8335fa423028 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -26,6 +26,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :meth:`DataFrame.to_hdf` raising ``AssertionError`` with bo... | - [x] closes #48683 (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/48713 | 2022-09-22T13:44:43Z | 2022-09-23T17:23:02Z | 2022-09-23T17:23:02Z | 2022-09-23T22:01:44Z |
REGR: Regression in DataFrame.loc when setting df with all True indexer | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 4a7eaf20a8745..4717c6fcf5ea1 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed Regression in :meth:`Dat... | - [x] closes #48701 (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/48711 | 2022-09-22T13:05:08Z | 2022-09-22T17:50:13Z | 2022-09-22T17:50:13Z | 2022-09-22T20:36:21Z |
Backport PR #48620 on branch 1.5.x (REGR: Performance decrease in factorize) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 9d40d9118db32..4a7eaf20a8745 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Regression in :func:`.read_csv` ... | Backport PR #48620: REGR: Performance decrease in factorize | https://api.github.com/repos/pandas-dev/pandas/pulls/48710 | 2022-09-22T12:50:21Z | 2022-09-22T16:17:07Z | 2022-09-22T16:17:07Z | 2022-09-22T16:17:08Z |
Handle NaN in array_with_unit_to_datetime | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 872ffdd2d552d..6f0ab6eb0d532 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -300,6 +300,10 @@ def array_with_unit_to_datetime(
iresult = values.astype("i8", copy=False)
# fill missing values by comparing to... | closes https://github.com/pandas-dev/pandas/issues/48610
Missing values in arrays can either be NaT (for integer types) or NaN (for
floating types). Make sure to also handle the latter. This fixes all
failing tests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/48705 | 2022-09-22T08:02:39Z | 2022-12-13T13:22:58Z | 2022-12-13T13:22:58Z | 2022-12-13T13:23:06Z |
Added theme_switcher | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8740f6aa7eef6..252670565ebff 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -245,7 +245,7 @@
"twitter_url": "https://twitter.com/pandas_dev",
"google_analytics_id": "UA-27880019-2",
"logo": {"image_dark": "https://pandas.pydata.org/s... | Added theme_switcher in navbar_end to display the Dark/Light theme switcher
- [x] closes #48598 (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] A... | https://api.github.com/repos/pandas-dev/pandas/pulls/48703 | 2022-09-22T05:02:43Z | 2022-09-23T17:22:04Z | 2022-09-23T17:22:04Z | 2022-09-23T17:50:28Z |
REGR: dropna affects observed in groupby | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 9d40d9118db32..72d948ec86b71 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -10,6 +10,61 @@ including other versions of pandas.
.. ------------------------------------------------------------------... | - [x] closes #48645 (Replace xxxx with the Github issue number)
- [x] closes #46909 (the cleanup is no longer applicable)
- [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 pass... | https://api.github.com/repos/pandas-dev/pandas/pulls/48702 | 2022-09-22T00:43:53Z | 2022-09-23T21:51:32Z | 2022-09-23T21:51:32Z | 2022-09-24T12:12:33Z |
TST: Catch more pyarrow PerformanceWarnings | diff --git a/pandas/tests/arrays/string_/test_string.py b/pandas/tests/arrays/string_/test_string.py
index 0a48d8e2a4983..a7b8162eb981a 100644
--- a/pandas/tests/arrays/string_/test_string.py
+++ b/pandas/tests/arrays/string_/test_string.py
@@ -565,28 +565,28 @@ def test_isin(dtype, fixed_now_ts):
s = pd.Series(["... | Toward https://github.com/pandas-dev/pandas/issues/48553
| https://api.github.com/repos/pandas-dev/pandas/pulls/48699 | 2022-09-21T23:08:41Z | 2022-09-22T16:14:20Z | 2022-09-22T16:14:20Z | 2022-10-13T17:01:31Z |
CLN: Clean groupby ops from unreached code paths | diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py
index a97e41cbc508a..762e135111cf8 100644
--- a/pandas/core/groupby/ops.py
+++ b/pandas/core/groupby/ops.py
@@ -72,9 +72,6 @@
PeriodArray,
TimedeltaArray,
)
-from pandas.core.arrays.boolean import BooleanDtype
-from pandas.core.arrays.float... | - [ ] 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/48698 | 2022-09-21T21:55:49Z | 2022-09-23T18:00:55Z | 2022-09-23T18:00:55Z | 2022-10-13T17:01:30Z |
REGR: None converted to NaN when enlarging Series | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 3f4265245bcb6..c998b2ce99628 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed Regression in :meth:`Ser... | - [x] closes #48665 (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/48697 | 2022-09-21T21:55:12Z | 2022-09-23T18:01:56Z | 2022-09-23T18:01:56Z | 2022-09-23T22:00:49Z |
REGR: to_hdf raising AssertionError with boolean index | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 9d40d9118db32..0d5f7cf81de69 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -23,7 +23,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in :meth:`DataFrame.to_hdf` raising ``AssertionError`` wi... | - [x] closes #48667 (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/48696 | 2022-09-21T21:54:02Z | 2022-09-22T16:40:05Z | 2022-09-22T16:40:04Z | 2022-09-22T20:36:36Z |
TST: Address MPL 3.6 deprecation warnings | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 0d8c970c414f0..c03cbf2ac60c3 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -3934,7 +3934,15 @@ def _background_gradient(
rng = smax - smin
# extend lower / upper bounds, compresses color range
... | Toward https://github.com/pandas-dev/pandas/issues/48553
| https://api.github.com/repos/pandas-dev/pandas/pulls/48695 | 2022-09-21T21:19:09Z | 2022-09-22T20:00:33Z | 2022-09-22T20:00:33Z | 2022-10-13T17:01:30Z |
ENH: Make deprecate_nonkeyword_arguments alter function signature | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 9d40d9118db32..3425659ec77d6 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -32,6 +32,7 @@ Bug fixes
Other
~~~~~
+- Avoid showing deprecated signatures when introspecting functions with warnings a... | - [x] closes #48692
- [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/48693 | 2022-09-21T19:36:10Z | 2022-09-26T21:52:39Z | 2022-09-26T21:52:39Z | 2022-09-26T22:18:07Z |
BUG: Restrict Timestamp(nanosecond=...) to [0, 999] | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 566e3d7c66b79..7237abf351866 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -115,9 +115,11 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor
Other API changes
^^^... | - [x] closes #48538 (Replace xxxx with the Github issue number)
- [x] closes #48255 (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... | https://api.github.com/repos/pandas-dev/pandas/pulls/48691 | 2022-09-21T19:26:47Z | 2022-09-29T13:51:14Z | 2022-09-29T13:51:14Z | 2022-10-13T17:01:29Z |
Backport PR #48599 on branch 1.5.x (DOC: Add deprecation infos to deprecated functions) | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index 89c9f3701a424..d5f22b816f908 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -2948,6 +2948,22 @@ def ffill(self, limit=None):
return self._fill("ffill", limit=limit)
def pad(self, limit... | Backport PR #48599: DOC: Add deprecation infos to deprecated functions | https://api.github.com/repos/pandas-dev/pandas/pulls/48690 | 2022-09-21T18:03:09Z | 2022-09-21T21:27:47Z | 2022-09-21T21:27:46Z | 2022-09-21T21:27:47Z |
DEPR: enforce Timedelta freq, delta, is_populated deprecations | diff --git a/doc/source/reference/arrays.rst b/doc/source/reference/arrays.rst
index 1011159a9ae5f..ad12ade41589e 100644
--- a/doc/source/reference/arrays.rst
+++ b/doc/source/reference/arrays.rst
@@ -238,9 +238,6 @@ Properties
Timedelta.asm8
Timedelta.components
Timedelta.days
- Timedelta.delta
- Timed... | - [ ] 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/48689 | 2022-09-21T17:57:50Z | 2022-10-20T18:03:54Z | 2022-10-20T18:03:54Z | 2022-10-20T19:57:37Z |
DOC: Clarify exceptions that are internal only | diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py
index 3e4f116953cb3..3f19c3525a00c 100644
--- a/pandas/errors/__init__.py
+++ b/pandas/errors/__init__.py
@@ -540,6 +540,8 @@ class CategoricalConversionWarning(Warning):
class LossySetitemError(Exception):
"""
Raised when trying to do a __se... | xref https://github.com/pandas-dev/pandas/pull/48088#issuecomment-1252924401
| https://api.github.com/repos/pandas-dev/pandas/pulls/48687 | 2022-09-21T17:12:13Z | 2022-10-20T18:12:53Z | null | 2022-10-20T18:12:56Z |
BUG: to_datetime(tz_mix, utc=True) converts to UTC | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index ce19453691018..9bad3d034d180 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -72,6 +72,7 @@ Fixed regressions
- Fixed Regression in :meth:`Series.__setitem__` casting ``None`` to ``NaN`` for object dt... | - [x] closes #48678 (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/48686 | 2022-09-21T17:00:55Z | 2022-09-30T11:48:52Z | 2022-09-30T11:48:52Z | 2022-09-30T16:16:53Z |
DEPR: enforce deprecations on DateOffset methods | diff --git a/asv_bench/benchmarks/tslibs/offsets.py b/asv_bench/benchmarks/tslibs/offsets.py
index 978a36e470cbb..a3fdaf8afdda1 100644
--- a/asv_bench/benchmarks/tslibs/offsets.py
+++ b/asv_bench/benchmarks/tslibs/offsets.py
@@ -71,11 +71,8 @@ def setup(self, offset):
self.date = datetime(2011, 1, 1)
... | - [ ] 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/48685 | 2022-09-21T16:45:31Z | 2022-10-24T21:10:12Z | 2022-10-24T21:10:12Z | 2022-10-24T21:10:18Z |
Corrected pd.merge indicator type hint | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5468406b2ea21..0ec4caaabb6b5 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -10100,7 +10100,7 @@ def merge(
sort: bool = False,
suffixes: Suffixes = ("_x", "_y"),
copy: bool = True,
- indicator: bool = Fals... | The argument "indicator" in [merge ](https://pandas.pydata.org/docs/reference/api/pandas.merge.html ) should be "str | bool" instead of just string.
- [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codeba... | https://api.github.com/repos/pandas-dev/pandas/pulls/48677 | 2022-09-21T08:59:05Z | 2022-09-21T17:21:44Z | 2022-09-21T17:21:44Z | 2022-10-13T17:01:28Z |
BUG: to_datetime raising on invalid offsets with errors=coerce and infer_datetime_format | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 3c7a80f096844..628746f541102 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -166,8 +166,10 @@ Categorical
Datetimelike
^^^^^^^^^^^^
- Bug in :func:`pandas.infer_freq`, raising ``TypeError`` when in... | - [x] closes #48633 (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/48676 | 2022-09-21T08:32:00Z | 2022-10-05T16:07:49Z | 2022-10-05T16:07:49Z | 2022-10-13T17:01:28Z |
DOC: Document default value for options.display.max_cols when not running in terminal | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 3c3d21e58efaf..5456e2f35778c 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -131,11 +131,11 @@ def use_numba_cb(key) -> None:
a summary view. 'None' value means unlimited.
In case python/IPython is runnin... | `display.max_cols` has a default value of 20 when not running in a terminal such as Jupyter Notebook.
This was a little confusing as the documentation for the default parameters generated in [Pandas User Guide - Available Options](https://pandas.pydata.org/docs/user_guide/options.html#available-options) are [environ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48672 | 2022-09-21T01:04:04Z | 2022-09-21T17:27:54Z | 2022-09-21T17:27:54Z | 2022-10-13T17:01:27Z |
DEPR: enforce deprecation on floats with unit=M or Y | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 508d5d8bc4cc1..db347483eb0e6 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -132,6 +132,15 @@ Deprecations
-
-
+.. ---------------------------------------------------------------------------
+
+..... | Unfortunately just found that we missed the analogous behavior in to_datetime with non-scalars. That'll go in the just-do-in-2.0 pile.
Whatsnew is in 1.6 on the assumption it will be changed to 2.0. | https://api.github.com/repos/pandas-dev/pandas/pulls/48671 | 2022-09-20T23:25:59Z | 2022-10-19T08:10:39Z | 2022-10-19T08:10:39Z | 2022-10-19T14:38:55Z |
ENH: unique/factorize preserve non-nano | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4ac737bb6b29a..66f95d0c76e51 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -119,6 +119,7 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor
Other API changes
^^^^... | Put the whatsnew note in 1.6, assuming that will be changed to 2.0. | https://api.github.com/repos/pandas-dev/pandas/pulls/48670 | 2022-09-20T22:28:10Z | 2023-01-13T00:00:25Z | null | 2023-01-13T00:34:50Z |
ENH: DTA/TDA add datetimelike scalar with mismatched reso | diff --git a/pandas/_libs/tslibs/__init__.py b/pandas/_libs/tslibs/__init__.py
index 47143b32d6dbe..d472600c87c01 100644
--- a/pandas/_libs/tslibs/__init__.py
+++ b/pandas/_libs/tslibs/__init__.py
@@ -31,6 +31,7 @@
"periods_per_day",
"periods_per_second",
"is_supported_unit",
+ "npy_unit_to_abbrev",
... | - [ ] 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/48669 | 2022-09-20T21:17:04Z | 2022-09-21T17:33:47Z | 2022-09-21T17:33:47Z | 2022-10-13T17:01:26Z |
Fix scorecard.yml workflow | diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml
index 7799c33b66683..73cab7ff909fc 100644
--- a/.github/workflows/scorecards.yml
+++ b/.github/workflows/scorecards.yml
@@ -29,7 +29,7 @@ jobs:
persist-credentials: false
- name: "Run analysis"
- uses: ossf/score... | Workflow was added by #48570, but set ossf/scorecard-action to a major version tag (v2). However, that action only has minor version tags. So it is currently broken. Wasn't caught because the `if github.repository` check skipped the action on my fork, and in my hubris I assumed it'd just work. 🤦
This PR simply set... | https://api.github.com/repos/pandas-dev/pandas/pulls/48668 | 2022-09-20T21:03:19Z | 2022-09-20T23:23:10Z | 2022-09-20T23:23:09Z | 2022-10-13T17:01:26Z |
Backport PR #48651 on branch 1.5.x (REGR: TextIOWrapper raising an error in read_csv) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index f8069b5476d9e..9d40d9118db32 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -14,7 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Regression in :func:`.read_... | Backport PR #48651: REGR: TextIOWrapper raising an error in read_csv | https://api.github.com/repos/pandas-dev/pandas/pulls/48666 | 2022-09-20T18:46:26Z | 2022-09-21T17:38:55Z | 2022-09-21T17:38:55Z | 2022-09-21T17:38:56Z |
BUG: Series.getitem not falling back to positional for bool index | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index da0bd746e3da5..6936baee5a9f8 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -82,6 +82,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Bug in :meth:`Series.__getitem__` not falling back to positional... | - [x] closes #48653 (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/48662 | 2022-09-20T16:51:14Z | 2022-09-26T22:58:10Z | 2022-09-26T22:58:10Z | 2022-09-28T20:37:01Z |
REF: support reso in remaining tslibs helpers | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 4d071793b3935..a98027b9153fa 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -33,9 +33,9 @@ from pandas._libs.tslibs.np_datetime cimport (
NPY_DATETIMEUNIT,
NPY_FR_ns,
check_dts_bounds,
- dtstruct_to_dt64,
get_... | Mostly just to trim the diff in upcoming PRs. | https://api.github.com/repos/pandas-dev/pandas/pulls/48661 | 2022-09-20T16:31:25Z | 2022-09-21T17:54:42Z | 2022-09-21T17:54:42Z | 2022-10-13T17:01:25Z |
Fix Excel-specific border styles | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index 43021fcbc13fb..620e3806a33b5 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -1594,8 +1594,9 @@
"\n",
"\n",
"- Only CSS2 named colors and hex colors of the form `#rgb` or `#r... | - [X] closes #48649
- [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/48660 | 2022-09-20T16:11:02Z | 2022-11-29T02:56:56Z | 2022-11-29T02:56:56Z | 2022-12-12T19:17:58Z |
BUG: DatetimeIndex ignoring explicit tz=None | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 61546994748c7..2c8d8f3d0fe35 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -129,7 +129,7 @@ Categorical
Datetimelike
^^^^^^^^^^^^
- Bug in :func:`pandas.infer_freq`, raising ``TypeError`` when inf... | - [ ] 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/48659 | 2022-09-20T16:05:55Z | 2022-09-21T17:18:25Z | 2022-09-21T17:18:25Z | 2022-10-13T17:01:24Z |
WEB: Update versions json to fix version switcher in the docs | diff --git a/web/pandas/versions.json b/web/pandas/versions.json
index 70d8a8a598b98..d71ac559ae86f 100644
--- a/web/pandas/versions.json
+++ b/web/pandas/versions.json
@@ -1,37 +1,37 @@
[
{
"name": "dev",
- "version": "dev",
- "url": "https://pandas.pydata.org/docs/dev/"
+ "version"... | - [X] xref https://github.com/pandas-dev/pandas/pull/48600#issuecomment-1252065060
CC: @phofl | https://api.github.com/repos/pandas-dev/pandas/pulls/48655 | 2022-09-20T09:23:52Z | 2022-09-20T14:20:21Z | 2022-09-20T14:20:21Z | 2022-10-13T17:01:24Z |
REGR: TextIOWrapper raising an error in read_csv | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index f8069b5476d9e..9d40d9118db32 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -14,7 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Regression in :func:`.read_... | - [x] closes #48646
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48651 | 2022-09-20T01:49:10Z | 2022-09-20T18:45:59Z | 2022-09-20T18:45:59Z | 2022-09-21T15:29:20Z |
Backport PR #48639 on branch 1.5.x (CI: Fix directory name for published prod docs) | diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml
index 031e1ca054ba8..cfb4966847721 100644
--- a/.github/workflows/docbuild-and-upload.yml
+++ b/.github/workflows/docbuild-and-upload.yml
@@ -81,7 +81,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 're... | Backport PR #48639: CI: Fix directory name for published prod docs | https://api.github.com/repos/pandas-dev/pandas/pulls/48648 | 2022-09-19T21:52:07Z | 2022-09-20T15:01:04Z | 2022-09-20T15:01:04Z | 2022-09-20T15:01:04Z |
Backport PR #48642 on branch 1.5.x (DOC: Add release notes for 1.5.1) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 926b73d0f3fd9..f9f96f02e7224 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -16,6 +16,7 @@ Version 1.5
.. toctree::
:maxdepth: 2
+ v1.5.1
v1.5.0
Version 1.4
diff --git a/doc/source/whatsne... | Backport PR #48642: DOC: Add release notes for 1.5.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/48647 | 2022-09-19T21:45:35Z | 2022-09-20T08:45:47Z | 2022-09-20T08:45:47Z | 2022-09-20T08:45:47Z |
BUG: MultiIndex.set_levels raising when setting empty level | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 405b8cc0a5ded..9cf12c0c8249f 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -175,6 +175,7 @@ Missing
MultiIndex
^^^^^^^^^^
+- Bug in :class:`MultiIndex.set_levels` raising ``IndexError`` when sett... | - [x] closes #48636 (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/48643 | 2022-09-19T20:35:01Z | 2022-09-19T22:57:42Z | 2022-09-19T22:57:42Z | 2022-10-13T17:01:23Z |
DOC: Add release notes for 1.5.1 | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 6f51bd4edc2ba..6c14a2e784236 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -24,6 +24,7 @@ Version 1.5
.. toctree::
:maxdepth: 2
+ v1.5.1
v1.5.0
Version 1.4
diff --git a/doc/source/whatsne... | - [ ] 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/48642 | 2022-09-19T20:05:33Z | 2022-09-19T21:45:06Z | 2022-09-19T21:45:06Z | 2022-09-19T21:45:13Z |
BUG: is_datetime64tz_dtype shortcut only for DatetimeTZDtype | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 405b8cc0a5ded..61546994748c7 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -150,6 +150,7 @@ Conversion
^^^^^^^^^^
- Bug in constructing :class:`Series` with ``int64`` dtype from a string list raisi... | - [x] closes #34986 (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/48640 | 2022-09-19T17:28:43Z | 2022-09-19T22:30:12Z | 2022-09-19T22:30:12Z | 2022-10-13T17:01:22Z |
CI: Fix directory name for published prod docs | diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml
index 031e1ca054ba8..cfb4966847721 100644
--- a/.github/workflows/docbuild-and-upload.yml
+++ b/.github/workflows/docbuild-and-upload.yml
@@ -81,7 +81,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 're... | - [X] xref #48211
The job to publish the docs to our production server when a new tag is created worked mostly fine for the 1.5.0 release. The only thing is that the tag name is `v1.5.0`, while the docs had to be published to the `1.5.0` directory (without the heading `v`). Fixing this here, so docs are published t... | https://api.github.com/repos/pandas-dev/pandas/pulls/48639 | 2022-09-19T14:09:24Z | 2022-09-19T21:51:59Z | 2022-09-19T21:51:59Z | 2022-09-19T21:51:59Z |
BUG: Fixed DataFrame.__repr__ Type Error when column dtype is np.record (GH 48526) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 22a2931519ffd..4180cdb245a82 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -316,6 +316,7 @@ Conversion
^^^^^^^^^^
- Bug in :func:`DataFrame.style.to_latex` and :func:`DataFrame.style.to_html` if th... | - [x] closes #48526
- [x] [Tests added and passed]
- [x] All [code checks passed]
- [x] Added an entry in the latest `doc/source/whatsnew/v1.6.0.rst` file if fixing a bug or adding a new feature.
| https://api.github.com/repos/pandas-dev/pandas/pulls/48637 | 2022-09-19T10:03:21Z | 2023-04-21T17:27:55Z | 2023-04-21T17:27:55Z | 2023-04-21T18:20:04Z |
DOC: Update documentation for date_range(), bdate_range(), and interval_range() to include timedelta as a possible data type for the freq parameter | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index b91fbb8244cb5..42e2015f0f0f8 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -966,7 +966,7 @@ def date_range(
Right bound for generating dates.
periods : int, optional
Nu... | - [X] closes https://github.com/pandas-dev/pandas/issues/48460
This PR simply documents behavior that was already allowed, and was already properly documented on the underlying function `to_offset()`.
```
In [1]: import pandas as pd ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48631 | 2022-09-18T23:58:28Z | 2022-09-20T17:36:13Z | 2022-09-20T17:36:13Z | 2024-03-10T14:34:30Z |
Backport PR #48627 on branch 1.5.x (DOC: Last changes to release notes for 1.5.0 release) | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bb9b052cd6e00..e6ef3c45c14bb 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1,7 +1,7 @@
.. _whatsnew_150:
-What's new in 1.5.0 (??)
-------------------------
+What's new in 1.5.0 (September 19, 20... | Backport PR #48627: DOC: Last changes to release notes for 1.5.0 release | https://api.github.com/repos/pandas-dev/pandas/pulls/48630 | 2022-09-18T23:44:41Z | 2022-09-19T10:22:31Z | 2022-09-19T10:22:31Z | 2022-09-19T10:22:31Z |
Backport PR #48619 on branch 1.5.x (REGR: Loc.setitem with enlargement raises for nested data) | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 87ab0d94a7ce0..a9919f8f2e290 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -2106,7 +2106,9 @@ def _setitem_with_indexer_missing(self, indexer, value):
return self._setitem_with_indexer(new_indexer, value, "... | Backport PR #48619: REGR: Loc.setitem with enlargement raises for nested data | https://api.github.com/repos/pandas-dev/pandas/pulls/48629 | 2022-09-18T22:10:33Z | 2022-09-19T10:21:52Z | 2022-09-19T10:21:52Z | 2022-09-19T10:21:53Z |
CI: Get rid of some warnings | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 21e04bc1badf3..5809acbd55380 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -1841,8 +1841,10 @@ def maybe_cast_to_integer_array(
f"casted to the dtype {dtype}"
) from err
- if np.array_equa... | - [ ] 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/48628 | 2022-09-18T21:54:06Z | 2022-09-19T22:49:21Z | 2022-09-19T22:49:21Z | 2022-10-13T17:01:21Z |
DOC: Last changes to release notes for 1.5.0 release | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 61c1628ea14da..7f968694693f9 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1,7 +1,7 @@
.. _whatsnew_150:
-What's new in 1.5.0 (??)
-------------------------
+What's new in 1.5.0 (September 19, 20... | - [X] closes #48248
Updating date, clean up, and adding contributors to the 1.5.0 release. @pandas-dev/pandas-core I think this should be the last blocker for the 1.5.0 release. If merging anything else after this PR and before the release, please let me know. | https://api.github.com/repos/pandas-dev/pandas/pulls/48627 | 2022-09-18T21:48:42Z | 2022-09-18T23:44:34Z | 2022-09-18T23:44:34Z | 2022-09-18T23:44:41Z |
REGR: sort_value can not sort levels with non nas and nans | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index dd63ea94d5211..a576e0090747a 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -2226,9 +2226,12 @@ def append(self, other):
def argsort(self, *args, **kwargs) -> npt.NDArray[np.intp]:
if len(args... | - [ ] 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/48626 | 2022-09-18T21:21:42Z | 2022-10-07T14:24:04Z | null | 2022-10-23T17:40:28Z |
Backport PR #48623 on branch 1.5.x (REGR/DOC: Docs left navbar broke) | diff --git a/doc/_templates/sidebar-nav-bs.html b/doc/_templates/sidebar-nav-bs.html
index f592a910dfbda..8298b66568e20 100644
--- a/doc/_templates/sidebar-nav-bs.html
+++ b/doc/_templates/sidebar-nav-bs.html
@@ -1,5 +1,5 @@
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
- <div class="bd-toc-ite... | Backport PR #48623: REGR/DOC: Docs left navbar broke | https://api.github.com/repos/pandas-dev/pandas/pulls/48625 | 2022-09-18T16:54:59Z | 2022-09-18T18:51:34Z | 2022-09-18T18:51:34Z | 2022-09-18T18:51:34Z |
TYP: type all arguments with bool default values | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 31f317636bd69..cef3d6aea5d27 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -258,10 +258,10 @@ repos:
|/_testing/
- id: autotyping
name: autotyping
- entry: python -m libcst.tool codemod autot... | Same as #48508 but for `bool` default values. | https://api.github.com/repos/pandas-dev/pandas/pulls/48624 | 2022-09-18T16:13:09Z | 2022-09-19T22:51:42Z | 2022-09-19T22:51:42Z | 2022-10-13T17:01:20Z |
REGR/DOC: Docs left navbar broke | diff --git a/doc/_templates/sidebar-nav-bs.html b/doc/_templates/sidebar-nav-bs.html
index f592a910dfbda..8298b66568e20 100644
--- a/doc/_templates/sidebar-nav-bs.html
+++ b/doc/_templates/sidebar-nav-bs.html
@@ -1,5 +1,5 @@
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
- <div class="bd-toc-ite... | - [x] closes #48605 (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/48623 | 2022-09-18T14:37:42Z | 2022-09-18T16:54:52Z | 2022-09-18T16:54:52Z | 2022-09-18T21:36:38Z |
PERF: Improve performance for MultiIndex.isin | diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py
index 89d74e784b64c..d054f84dadaa6 100644
--- a/asv_bench/benchmarks/multiindex_object.py
+++ b/asv_bench/benchmarks/multiindex_object.py
@@ -299,4 +299,36 @@ def time_unique_dups(self, dtype_val):
self.midx_dups... | - [ ] 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/48622 | 2022-09-18T14:32:08Z | 2022-09-19T22:58:34Z | 2022-09-19T22:58:34Z | 2022-10-13T17:01:20Z |
PDEP-4: consistent parsing of datetimes | diff --git a/web/pandas/pdeps/0004-consistent-to-datetime-parsing.md b/web/pandas/pdeps/0004-consistent-to-datetime-parsing.md
new file mode 100644
index 0000000000000..10dc4486b90e9
--- /dev/null
+++ b/web/pandas/pdeps/0004-consistent-to-datetime-parsing.md
@@ -0,0 +1,97 @@
+# PDEP-4: Consistent datetime parsing
+
+- ... | Here's my proposal to address https://github.com/pandas-dev/pandas/issues/12585

| https://api.github.com/repos/pandas-dev/pandas/pulls/48621 | 2022-09-18T13:36:32Z | 2022-09-23T10:37:15Z | 2022-09-23T10:37:15Z | 2023-02-27T13:55:54Z |
REGR: Performance decrease in factorize | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 9d40d9118db32..4a7eaf20a8745 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Regression in :func:`.read_csv` ... | - [ ] 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/48620 | 2022-09-18T13:10:18Z | 2022-09-22T12:49:51Z | 2022-09-22T12:49:51Z | 2022-09-22T14:59:47Z |
REGR: Loc.setitem with enlargement raises for nested data | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 09737901cbbc6..009c4ecc6bddd 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -2102,7 +2102,9 @@ def _setitem_with_indexer_missing(self, indexer, value):
return self._setitem_with_indexer(new_indexer, value, "... | - [x] closes #48614 (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/48619 | 2022-09-18T12:43:37Z | 2022-09-18T22:08:26Z | 2022-09-18T22:08:26Z | 2022-09-18T22:10:27Z |
TST: add test case for PeriodIndex in HDFStore(GH7796) | diff --git a/pandas/tests/io/pytables/test_put.py b/pandas/tests/io/pytables/test_put.py
index d4d95186110f8..4b3fcf4e96cad 100644
--- a/pandas/tests/io/pytables/test_put.py
+++ b/pandas/tests/io/pytables/test_put.py
@@ -365,3 +365,17 @@ def make_index(names=None):
)
store.append("df", df)
tm... | - [x] closes #7796
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). | https://api.github.com/repos/pandas-dev/pandas/pulls/48618 | 2022-09-18T11:34:59Z | 2022-09-20T17:44:56Z | 2022-09-20T17:44:56Z | 2022-10-13T17:01:19Z |
Backport PR #48601 on branch 1.5.x (CI: Fix matplolib release issues) | diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/visualization.rst
index 5ce2f7ca599a7..147981f29476f 100644
--- a/doc/source/user_guide/visualization.rst
+++ b/doc/source/user_guide/visualization.rst
@@ -625,6 +625,7 @@ To plot multiple column groups in a single axes, repeat ``plot`` method... | Backport PR #48601: CI: Fix matplolib release issues | https://api.github.com/repos/pandas-dev/pandas/pulls/48617 | 2022-09-18T11:21:54Z | 2022-09-18T14:30:53Z | 2022-09-18T14:30:53Z | 2022-09-18T14:30:53Z |
BUG: Fix metadata propagation in df.corr and df.cov, GH28283 | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index ccb73953884b4..e06349f73257b 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -256,6 +256,11 @@ Styler
-
-
+Metadata
+^^^^^^^^
+- Fixed metadata propagation in :meth:`DataFrame.corr` and :meth:`Data... | - [x] xref #28283
- [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/48616 | 2022-09-18T08:07:10Z | 2022-09-20T17:43:14Z | 2022-09-20T17:43:14Z | 2022-10-13T17:01:18Z |
WIP: Multichar comment | diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx
index e8b7160af9b2c..1ae568cf0ed4c 100644
--- a/pandas/_libs/parsers.pyx
+++ b/pandas/_libs/parsers.pyx
@@ -201,7 +201,8 @@ cdef extern from "parser/tokenizer.h":
int skipinitialspace # ignore spaces following delimiter? */
int quo... | - [x] closes #8727
- [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/48615 | 2022-09-18T05:52:51Z | 2022-10-31T19:10:11Z | null | 2022-10-31T19:10:21Z |
Revised the doc-string for _app_template to bring in line with curren… | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index 762a183dd6914..11e8769615470 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -494,7 +494,7 @@ class providing the base-class of operations.
Parameters
----------
-func : function, str, list or dict... | Revised the doc-string for _app_template to bring in line with current code for aggregate(), in particular regarding the advent of Named Aggregation.
Also fixed text in "See Also" section, where the entries for groupby.transform and aggregate had their text swapped.
- [X] closes #47974
| https://api.github.com/repos/pandas-dev/pandas/pulls/48613 | 2022-09-17T20:22:27Z | 2022-12-17T19:04:57Z | 2022-12-17T19:04:57Z | 2022-12-17T20:29:41Z |
TYP: tighten Axis | diff --git a/pandas/_typing.py b/pandas/_typing.py
index dc51c04447bef..c7d82be4e24a1 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -106,7 +106,8 @@
NumpyIndexT = TypeVar("NumpyIndexT", np.ndarray, "Index")
-Axis = Union[str, int]
+AxisInt = int
+Axis = Union[AxisInt, Literal["index", "columns", "rows"... | `axis` can only be `Literal[0, 1, "index", "columns"]`. This PR tightens `Axis = Union[int, str]` to `Axis = Union[int, Literal["index", "columns"]]`. A future PR will take care of ints (currently 81 mypy errors).
xref https://github.com/pandas-dev/pandas-stubs/issues/284 | https://api.github.com/repos/pandas-dev/pandas/pulls/48612 | 2022-09-17T19:43:37Z | 2022-09-20T17:39:17Z | 2022-09-20T17:39:17Z | 2022-10-13T17:01:18Z |
PERF: join/merge on subset of MultiIndex | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index 753559eb62b35..f6630857bee91 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -159,6 +159,18 @@ def time_left_outer_join_index(self):
self.left.join(self.right, on="jim")
+c... | - [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/48611 | 2022-09-17T18:51:00Z | 2022-09-20T17:21:15Z | 2022-09-20T17:21:15Z | 2022-10-13T17:01:17Z |
PERF: DatetimeIndex constructor from list | diff --git a/asv_bench/benchmarks/ctors.py b/asv_bench/benchmarks/ctors.py
index ef8b16f376d6a..d1a9da158728c 100644
--- a/asv_bench/benchmarks/ctors.py
+++ b/asv_bench/benchmarks/ctors.py
@@ -6,6 +6,7 @@
MultiIndex,
Series,
Timestamp,
+ date_range,
)
from .pandas_vb_common import tm
@@ -121,4 +12... | - [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/48609 | 2022-09-17T18:08:00Z | 2022-09-20T07:42:39Z | 2022-09-20T07:42:39Z | 2022-10-13T17:01:16Z |
REGR: assert_index_equal raising with non matching pd.NA | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index c1bc203ec2fad..51a0d6ed0ff9f 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -28,6 +28,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :meth:`DataFrame.to_hdf` raising ``AssertionError`` with bo... | - [ ] 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/48608 | 2022-09-17T17:16:03Z | 2022-09-26T23:00:44Z | 2022-09-26T23:00:44Z | 2022-09-28T20:37:23Z |
BUG: MultiIndex.symmetric_difference not keeping ea dtype | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 405b8cc0a5ded..af1180541453d 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -178,6 +178,7 @@ MultiIndex
- Bug in :meth:`MultiIndex.unique` losing extension array dtype (:issue:`48335`)
- Bug in :met... | - [ ] 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/48607 | 2022-09-17T17:06:36Z | 2022-09-19T23:00:29Z | 2022-09-19T23:00:29Z | 2022-10-13T17:01:16Z |
BUG: MultiIndex.difference not keeping ea dtype | diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py
index 3b6eaa52ae382..d7c557203b8b8 100644
--- a/asv_bench/benchmarks/multiindex_object.py
+++ b/asv_bench/benchmarks/multiindex_object.py
@@ -276,6 +276,45 @@ def time_operation(self, index_structure, dtype, method):
... | - [ ] 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/48606 | 2022-09-17T14:19:17Z | 2022-09-23T18:06:49Z | 2022-09-23T18:06:49Z | 2022-10-13T17:01:15Z |
ENH: MultiIndex.intersection now keeping EA dtypes | diff --git a/asv_bench/benchmarks/index_object.py b/asv_bench/benchmarks/index_object.py
index dab33f02c2cd9..ac656590df3e8 100644
--- a/asv_bench/benchmarks/index_object.py
+++ b/asv_bench/benchmarks/index_object.py
@@ -19,28 +19,38 @@
class SetOperations:
params = (
- ["datetime", "date_string", "int",... | - [ ] 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/48604 | 2022-09-17T13:41:43Z | 2022-09-19T23:04:08Z | 2022-09-19T23:04:08Z | 2022-10-13T17:01:14Z |
PERF: Avoid fragmentation of DataFrame in read_sas | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 413597f6c3748..4925a72e6b985 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -217,7 +217,7 @@ MultiIndex
I/O
^^^
--
+- Bug in :func:`read_sas` caused fragmentation of :class:`DataFrame` and raised ... | - [x] closes #48595 (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48603 | 2022-09-17T12:57:08Z | 2022-09-21T18:01:01Z | 2022-09-21T18:01:01Z | 2022-10-13T17:01:13Z |
CI: Fix matplolib release issues | diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/visualization.rst
index 5ce2f7ca599a7..147981f29476f 100644
--- a/doc/source/user_guide/visualization.rst
+++ b/doc/source/user_guide/visualization.rst
@@ -625,6 +625,7 @@ To plot multiple column groups in a single axes, repeat ``plot`` method... | - [ ] xref #48602 (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/48601 | 2022-09-17T12:43:08Z | 2022-09-18T11:21:25Z | 2022-09-18T11:21:25Z | 2022-09-18T11:22:00Z |
DOC: Fix version switcher in old docs | diff --git a/web/pandas/versions.json b/web/pandas/versions.json
index 2b30006db0c4d..70d8a8a598b98 100644
--- a/web/pandas/versions.json
+++ b/web/pandas/versions.json
@@ -2,36 +2,36 @@
{
"name": "dev",
"version": "dev",
- "url": "/docs/dev/"
+ "url": "https://pandas.pydata.org/doc... | - [X] xref #48285
Fixing the version switcher in old versions of the documentation.
I'm also removing here the duplicated 1.4 link in the version switcher.
| https://api.github.com/repos/pandas-dev/pandas/pulls/48600 | 2022-09-17T10:12:53Z | 2022-09-19T21:17:21Z | 2022-09-19T21:17:21Z | 2022-10-13T17:01:13Z |
DOC: Add deprecation infos to deprecated functions | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index 6d9ef3c484971..9204b728dfa51 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -2938,6 +2938,22 @@ def ffill(self, limit=None):
return self._fill("ffill", limit=limit)
def pad(self, limit... | - [ ] 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/48599 | 2022-09-17T10:06:21Z | 2022-09-21T18:02:38Z | 2022-09-21T18:02:38Z | 2022-09-21T22:01:44Z |
DOC: include defaults into docs for true_values and false_values | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index 249831a7dc579..2fcecadc34dd5 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -195,9 +195,9 @@
Dict of functions for converting values in certain columns. Keys can either
be integers or column labels.... | - [X] closes #48487
## Motivation
This PR touches only one docstring, so no other checks are necessary. As outlined in #48487, when we call `pd.read_csv`, we eventually go to `_libs/ops.pyx`, where there are [defaults](https://github.com/pandas-dev/pandas/blob/ca60aab7340d9989d9428e11a51467658190bb6b/pandas/_libs/... | https://api.github.com/repos/pandas-dev/pandas/pulls/48597 | 2022-09-17T09:06:19Z | 2022-09-23T17:10:32Z | 2022-09-23T17:10:31Z | 2022-10-13T17:01:12Z |
WEB: Fix version switcher | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8740f6aa7eef6..c5f6c0bf6ca2a 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -247,7 +247,7 @@
"logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"},
"navbar_end": ["version-switcher", "navbar-icon-links"],
"s... | - [ ] 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/48594 | 2022-09-16T22:16:03Z | 2022-09-17T10:17:03Z | null | 2023-04-27T19:52:50Z |
Backport PR #48587 on branch 1.5.x (Fix `series.str.startswith(tuple)`) | diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py
index 44ebfbd7f3e9c..0ee9f15c3630c 100644
--- a/pandas/core/strings/accessor.py
+++ b/pandas/core/strings/accessor.py
@@ -18,6 +18,7 @@
from pandas._typing import (
DtypeObj,
F,
+ Scalar,
)
from pandas.util._decorators import... | Backport PR #48587: Fix `series.str.startswith(tuple)` | https://api.github.com/repos/pandas-dev/pandas/pulls/48593 | 2022-09-16T22:11:23Z | 2022-09-17T14:24:17Z | 2022-09-17T14:24:16Z | 2022-09-17T14:24:17Z |
CLN: MultiIndex.drop_duplicates | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index dd63ea94d5211..61f61464db42c 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -3864,10 +3864,6 @@ def set_names(self, names, level=None, inplace: bool = False) -> MultiIndex | No
rename = set_names
- ... | I think there is no reason why `MultiIndex` overwrites `drop_duplicates` from `Index`:
- Both implementations do exactly the same
- Both implementations have exactly the same type annotations
- `MultiIndex.drop_duplicates` does not have a doc-string
There are a few more methods (`set_names`, `rename`) but in th... | https://api.github.com/repos/pandas-dev/pandas/pulls/48592 | 2022-09-16T21:53:44Z | 2022-09-19T23:03:37Z | 2022-09-19T23:03:37Z | 2022-10-13T17:01:11Z |
BUG: MultiIndex.union losing dtype when right has duplicates | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index d726f69286469..4223ad3f826a2 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -215,7 +215,7 @@ MultiIndex
- Bug in :class:`MultiIndex.set_levels` raising ``IndexError`` when setting empty level (:issue... | - [ ] 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/48591 | 2022-09-16T21:53:17Z | 2022-10-07T14:25:57Z | null | 2022-11-06T17:07:02Z |
TYP: reshape.merge | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 524b26ff07769..d9b6cab518164 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -30,6 +30,7 @@
ArrayLike,
DtypeObj,
IndexLabel,
+ Shape,
Suffixes,
npt,
)
@@ -625,6 +626,9 @@ class _Me... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48590 | 2022-09-16T21:26:00Z | 2022-09-19T23:04:45Z | 2022-09-19T23:04:45Z | 2022-10-13T17:01:11Z |
Fix `series.str.startswith(tuple)` | diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py
index f9852005314a4..46628eb3e17dd 100644
--- a/pandas/core/strings/accessor.py
+++ b/pandas/core/strings/accessor.py
@@ -19,6 +19,7 @@
from pandas._typing import (
DtypeObj,
F,
+ Scalar,
)
from pandas.util._decorators import... | - [x] closes #48575 and #38281
- [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-comm... | https://api.github.com/repos/pandas-dev/pandas/pulls/48587 | 2022-09-16T17:57:31Z | 2022-09-16T22:11:15Z | 2022-09-16T22:11:15Z | 2022-09-16T22:20:15Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.