title stringlengths 1 185 | diff stringlengths 0 32.2M | body stringlengths 0 123k ⌀ | url stringlengths 57 58 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 ⌀ | updated_at stringlengths 20 20 |
|---|---|---|---|---|---|---|---|
ENH: Move SettingWithCopyError to error/__init__.py per GH27656 | diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst
index f636ee1806c9b..e80aa0ace6bc2 100644
--- a/doc/source/reference/testing.rst
+++ b/doc/source/reference/testing.rst
@@ -41,6 +41,7 @@ Exceptions and warnings
errors.ParserError
errors.ParserWarning
errors.PerformanceWarning... | - [x] xref #27656. this GitHub issue is being done in multiple parts
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/developme... | https://api.github.com/repos/pandas-dev/pandas/pulls/47151 | 2022-05-27T20:12:31Z | 2022-05-27T23:10:52Z | 2022-05-27T23:10:52Z | 2022-05-27T23:11:10Z |
DEPS: Bump Cython | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 369d27b8c97b9..d17d29ef38e7f 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -5,7 +5,7 @@ dependencies:
- python=3.10
# test dependencies
- - cython=0.29.24
+ - cython=0.29.30
- pytest>=6.0
- pytest-cov
- p... | - [ ] xref #41935 (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/47150 | 2022-05-27T18:48:57Z | 2022-05-27T21:06:23Z | 2022-05-27T21:06:23Z | 2022-05-28T14:27:50Z |
Properly propagate exceptions in sas.pyx | diff --git a/pandas/io/sas/sas.pyx b/pandas/io/sas/sas.pyx
index efb8d81c4552d..483bbd70faec9 100644
--- a/pandas/io/sas/sas.pyx
+++ b/pandas/io/sas/sas.pyx
@@ -13,7 +13,7 @@ ctypedef unsigned short uint16_t
# algorithm. It is partially documented here:
#
# https://cran.r-project.org/package=sas7bdat/vignettes/... | - [ ] 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/47149 | 2022-05-27T16:26:38Z | 2022-06-05T22:55:37Z | 2022-06-05T22:55:37Z | 2022-06-05T22:55:42Z |
Add note about different series lengths to Series.corr and Series.cov docs | diff --git a/pandas/core/series.py b/pandas/core/series.py
index d1514a3872800..e938acd11ba70 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -2541,6 +2541,8 @@ def quantile(self, q=0.5, interpolation="linear"):
def corr(self, other, method="pearson", min_periods=None) -> float:
"""
... | - [x] closes #34602
- [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/47145 | 2022-05-27T13:58:34Z | 2022-05-27T15:35:26Z | 2022-05-27T15:35:26Z | 2022-05-27T15:37:13Z |
Backport PR #47093 on branch 1.4.x (DOC/CI: Use more explicit data setup in user guides) | diff --git a/doc/data/fx_prices b/doc/data/fx_prices
deleted file mode 100644
index 38cadf26909a3..0000000000000
Binary files a/doc/data/fx_prices and /dev/null differ
diff --git a/doc/data/mindex_ex.csv b/doc/data/mindex_ex.csv
deleted file mode 100644
index 935ff936cd842..0000000000000
--- a/doc/data/mindex_ex.csv
++... | Backport PR #47093 | https://api.github.com/repos/pandas-dev/pandas/pulls/47144 | 2022-05-27T13:41:07Z | 2022-05-27T15:23:24Z | 2022-05-27T15:23:24Z | 2022-05-27T15:23:28Z |
REGR: setitem writing into RangeIndex instead of creating a copy | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index bf414ab77cf65..72475d018a61f 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | - [x] closes #47128 (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/47143 | 2022-05-27T13:34:50Z | 2022-06-05T22:56:48Z | 2022-06-05T22:56:48Z | 2022-06-06T20:49:11Z |
Backport PR #47139 on branch 1.4.x (REGR: index_col False and header=None inferring index names in some cases) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index bf414ab77cf65..f0e208a117068 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -19,6 +19,7 @@ Fixed regressions
- Fixed regression in :func:`read_fwf` raising ``ValueError`` when ``widths`` was specifie... | Backport PR #47139: REGR: index_col False and header=None inferring index names in some cases | https://api.github.com/repos/pandas-dev/pandas/pulls/47142 | 2022-05-27T13:13:47Z | 2022-05-27T14:26:38Z | 2022-05-27T14:26:38Z | 2022-05-27T14:26:38Z |
Backport PR #47135 on branch 1.4.x (CLN: ensure clean up styler tests) | diff --git a/pandas/tests/io/formats/style/test_style.py b/pandas/tests/io/formats/style/test_style.py
index 1a056f8cb3363..ab0fa8349b9c7 100644
--- a/pandas/tests/io/formats/style/test_style.py
+++ b/pandas/tests/io/formats/style/test_style.py
@@ -1552,5 +1552,5 @@ def test_col_trimming_hide_columns():
@pytest.mark.p... | Backport PR #47135: CLN: ensure clean up styler tests | https://api.github.com/repos/pandas-dev/pandas/pulls/47141 | 2022-05-27T11:27:19Z | 2022-05-27T13:14:53Z | 2022-05-27T13:14:53Z | 2022-05-27T13:14:54Z |
TYP: Upgrade mypy to 0.960 | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index febad9f2a019c..b509f42389307 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -362,7 +362,7 @@ If installed, we now require:
+-----------------+-----------------+----------+---------+
| Package ... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Looks like this passed out of the box | https://api.github.com/repos/pandas-dev/pandas/pulls/47140 | 2022-05-27T11:26:17Z | 2022-05-28T15:30:16Z | 2022-05-28T15:30:16Z | 2022-06-06T20:49:50Z |
REGR: index_col False and header=None inferring index names in some cases | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index bf414ab77cf65..f0e208a117068 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -19,6 +19,7 @@ Fixed regressions
- Fixed regression in :func:`read_fwf` raising ``ValueError`` when ``widths`` was specifie... | - [x] closes #46955 (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/47139 | 2022-05-27T11:10:34Z | 2022-05-27T13:13:22Z | 2022-05-27T13:13:22Z | 2022-05-27T13:14:47Z |
BUG: read_csv adding additional columns as integers instead of strings | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index febad9f2a019c..6da0b60f0bcb9 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -809,6 +809,7 @@ I/O
- Bug in :func:`read_parquet` when ``engine="pyarrow"`` which caused partial write to disk when column... | - [x] closes #46997 (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/47137 | 2022-05-27T09:58:41Z | 2022-05-27T14:18:45Z | 2022-05-27T14:18:44Z | 2022-05-27T14:18:48Z |
CLN: ensure clean up styler tests | diff --git a/pandas/tests/io/formats/style/test_style.py b/pandas/tests/io/formats/style/test_style.py
index 60800bc794592..23b05c8242274 100644
--- a/pandas/tests/io/formats/style/test_style.py
+++ b/pandas/tests/io/formats/style/test_style.py
@@ -1562,5 +1562,5 @@ def test_no_empty_apply(mi_styler):
@pytest.mark.par... | should be back ported | https://api.github.com/repos/pandas-dev/pandas/pulls/47135 | 2022-05-27T07:14:33Z | 2022-05-27T11:26:56Z | 2022-05-27T11:26:56Z | 2022-08-02T08:44:17Z |
Remove ctime.pyx | diff --git a/pandas/_libs/tslibs/ctime.pyx b/pandas/_libs/tslibs/ctime.pyx
deleted file mode 100644
index f5c0546e5f5b6..0000000000000
--- a/pandas/_libs/tslibs/ctime.pyx
+++ /dev/null
@@ -1,78 +0,0 @@
-"""
-Cython implementation of (parts of) the standard library time module.
-"""
-
-from cpython.exc cimport PyErr_Set... | Now that we support zoneinfo, the original motivation for this (having all of the Localizer methods be nogil) is no longer viable, so this module is no longer needed. | https://api.github.com/repos/pandas-dev/pandas/pulls/47133 | 2022-05-26T23:40:57Z | 2022-05-27T12:32:39Z | 2022-05-27T12:32:39Z | 2022-05-27T13:35:46Z |
Fix typo in tz_convert docs | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 0be3f9f7913c8..e2801006178e5 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -9810,6 +9810,7 @@ def truncate(
return result
@final
+ @doc(klass=_shared_doc_kwargs["klass"])
def tz_convert(
self: NDFra... | - [x] closes #47129
- [ ] 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/47131 | 2022-05-26T19:25:17Z | 2022-05-26T21:09:57Z | 2022-05-26T21:09:57Z | 2022-05-26T21:26:00Z |
infer_freq handle non-nano | diff --git a/pandas/_libs/tslibs/__init__.py b/pandas/_libs/tslibs/__init__.py
index 72bc6886b5175..73c93eb905ab2 100644
--- a/pandas/_libs/tslibs/__init__.py
+++ b/pandas/_libs/tslibs/__init__.py
@@ -26,11 +26,16 @@
"BaseOffset",
"tz_compare",
"is_unitless",
+ "get_unit_from_dtype",
+ "periods_per... | - [ ] 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/47126 | 2022-05-26T03:12:33Z | 2022-05-26T18:56:45Z | 2022-05-26T18:56:45Z | 2022-05-26T22:08:40Z |
TYP: read_csv/table (names index_col) | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index f853251d599d2..56df5493027c5 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -11,6 +11,7 @@
IO,
Any,
Callable,
+ Hashable,
Literal,
NamedTuple,
Sequence,
@@ -23,11 +24,11 @@
i... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/47124 | 2022-05-25T23:33:31Z | 2022-06-03T16:47:02Z | 2022-06-03T16:47:02Z | 2022-06-08T19:26:33Z |
Backport PR #46636 on branch 1.4.x (REGR: Replace changes the dtype of other columns) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 415a3ff4efda0..bf414ab77cf65 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :meth:`Dat... | Backport PR #46636: REGR: Replace changes the dtype of other columns | https://api.github.com/repos/pandas-dev/pandas/pulls/47123 | 2022-05-25T22:40:09Z | 2022-05-26T01:32:07Z | 2022-05-26T01:32:07Z | 2022-05-26T01:32:07Z |
sync "inplace" document strings anywhere possible | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d563aa8b06ca5..fd1f7a3767b33 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -240,7 +240,7 @@
If 1 or 'columns': apply function to each row.""",
"inplace": """
inplace : bool, default False
- If True, performs opera... | - [x] closes #47030
- [ ] [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/47122 | 2022-05-25T20:35:55Z | 2022-05-26T23:01:14Z | 2022-05-26T23:01:13Z | 2022-05-26T23:01:24Z |
BUG: read_excel loading some xlsx ints as floats | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index f594aae2c7f9f..ca8b8ca15ec47 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -24,6 +24,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` with ``index_col=False`` identifying first row as i... | - [x] closes #46988
- [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/47121 | 2022-05-25T20:07:34Z | 2022-06-06T17:57:14Z | 2022-06-06T17:57:13Z | 2022-06-07T13:07:27Z |
ENH: DatetimeTZDtype support non-nano | diff --git a/pandas/_libs/tslibs/dtypes.pyi b/pandas/_libs/tslibs/dtypes.pyi
index edc3de05f5df2..5c343f89f38ea 100644
--- a/pandas/_libs/tslibs/dtypes.pyi
+++ b/pandas/_libs/tslibs/dtypes.pyi
@@ -56,3 +56,19 @@ class Resolution(Enum):
def get_reso_from_freqstr(cls, freq: str) -> Resolution: ...
@property
... | - [ ] 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/47120 | 2022-05-25T18:58:50Z | 2022-06-02T18:22:44Z | 2022-06-02T18:22:44Z | 2022-06-03T22:45:15Z |
Changes as requested in #47058 | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 1f524d07bfd3a..2fc137a85daaf 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3349,8 +3349,9 @@ def to_csv(
sequence should be given if the object uses MultiIndex. If
False do not print fields for index name... | This is my first open-source contribution. Please let me know if there are any mistakes, will rectify them
- [ ] closes #47058 (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... | https://api.github.com/repos/pandas-dev/pandas/pulls/47119 | 2022-05-25T18:24:10Z | 2022-05-25T21:34:06Z | 2022-05-25T21:34:06Z | 2022-05-26T03:46:57Z |
Backport PR #47096 on branch 1.4.x (fix pandas.show_versions() and remove pin for setuptools) | diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml
index 23a48e567dfe9..753e288f5e391 100644
--- a/.github/workflows/python-dev.yml
+++ b/.github/workflows/python-dev.yml
@@ -54,11 +54,10 @@ jobs:
with:
python-version: '3.11-dev'
- # TODO: GH#44980 https://github.com/p... | Backport PR #47096: fix pandas.show_versions() and remove pin for setuptools | https://api.github.com/repos/pandas-dev/pandas/pulls/47118 | 2022-05-25T13:45:51Z | 2022-05-25T19:31:52Z | 2022-05-25T19:31:52Z | 2022-05-25T19:31:52Z |
Fix reading SAS7BDAT files with zero rows | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index ac9f8b02c7acb..61848cb127029 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -819,6 +819,7 @@ I/O
- Bug in :func:`read_excel` when reading a ``.ods`` file with newlines between xml elements (:issue:`4... | - [x] closes #18198 (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/47116 | 2022-05-25T12:17:01Z | 2022-05-31T17:05:03Z | 2022-05-31T17:05:03Z | 2022-05-31T17:05:14Z |
Fix reading some RDC compressed pages | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 4ba9628d8f275..defd7a262f681 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -842,6 +842,7 @@ I/O
- Bug in :func:`read_excel` when reading a ``.ods`` file with newlines between xml elements (:issue:`4... | - [x] closes #35545 (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/47115 | 2022-05-25T11:50:00Z | 2022-06-09T22:53:25Z | 2022-06-09T22:53:25Z | 2022-06-09T22:53:31Z |
Fix SAS 0x40 control byte handling and column name parsing | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 76f6e864a174f..3d8a174740498 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -874,6 +874,9 @@ I/O
- Bug in :class:`StataWriter` where value labels were always written with default encoding (:issue:`46... | - [x] closes #31243 (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/47113 | 2022-05-25T09:40:19Z | 2022-06-24T21:31:58Z | 2022-06-24T21:31:57Z | 2022-06-24T21:32:04Z |
BUG Avoid IndexError on writing empty (row) MI df to excel (GH19543) | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 5891eeea98cbb..9fc77a7aaa126 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -872,6 +872,7 @@ I/O
- Bug in :func:`read_sas` returned ``None`` rather than an empty DataFrame for SAS7BDAT files with zer... | - [x] closes #19543
- [x] Tests added and passed
- [x] All code checks passed
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
| https://api.github.com/repos/pandas-dev/pandas/pulls/47111 | 2022-05-25T05:36:39Z | 2022-06-15T19:58:17Z | 2022-06-15T19:58:17Z | 2022-06-17T04:08:31Z |
astype_overflowsafe handle timedelta64 | diff --git a/pandas/_libs/tslibs/__init__.py b/pandas/_libs/tslibs/__init__.py
index 73c93eb905ab2..68452ce011f9d 100644
--- a/pandas/_libs/tslibs/__init__.py
+++ b/pandas/_libs/tslibs/__init__.py
@@ -26,6 +26,7 @@
"BaseOffset",
"tz_compare",
"is_unitless",
+ "astype_overflowsafe",
"get_unit_from... | - [ ] 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/47110 | 2022-05-25T02:33:42Z | 2022-06-03T16:35:16Z | 2022-06-03T16:35:16Z | 2022-06-03T17:23:46Z |
make series axis parameter docs consistent | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index 63a3165b65e10..9ae3eecd9b1ca 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -2004,6 +2004,7 @@ def std(
----------
axis : int optional, default None
Axis for the fun... | - [x] closes #47100
- [x] closes #45969
- [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/47109 | 2022-05-25T01:46:39Z | 2022-05-27T15:47:24Z | 2022-05-27T15:47:23Z | 2022-06-13T23:52:06Z |
BUG: Resampler attempts to aggregate the `on` column | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index e9e13c3ed5bbe..2aec414f2ad89 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -855,7 +855,7 @@ Groupby/resample/rolling
- Bug in :meth:`Grouper.__repr__` where ``dropna`` was not included. Now it is (:... | - [x] closes #47079 (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/47107 | 2022-05-24T21:15:57Z | 2022-05-27T12:53:32Z | 2022-05-27T12:53:31Z | 2022-05-27T13:18:35Z |
BUG Fix: Cannot read pickle generate_legacy_storage_files version 1.4.2 under environment pandas version 1.5.0 (incompatibilites issue) | diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx
index abdb4aebb625f..a1dc70397fbb9 100644
--- a/pandas/_libs/tslibs/timestamps.pyx
+++ b/pandas/_libs/tslibs/timestamps.pyx
@@ -148,7 +148,7 @@ cdef inline _Timestamp create_timestamp_from_ts(
return ts_base
-def _unpickle_tim... | - [x] closes #47090
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/47104 | 2022-05-24T16:59:25Z | 2022-05-24T18:41:39Z | 2022-05-24T18:41:39Z | 2022-05-31T16:12:36Z |
Fix SAS7BDAT run-length encoding formula | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 6fc1ec9c6ff90..a462c343d0bd3 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -940,6 +940,7 @@ I/O
- Bug in :meth:`DataFrame.to_excel` when writing an empty dataframe with :class:`MultiIndex` (:issue:`... | Run across an error/simplification? of a RLE formula in the SAS7BDAT parser. The original code https://bitbucket.org/jaredhobbs/sas7bdat/src/18cbd14407918c1aa90f136c1d6c5d83f307dba0/sas7bdat.py#lines-110:114 has the correct formula. I am not sure why we have another version.
Unfortunately I do not know how to add a ... | https://api.github.com/repos/pandas-dev/pandas/pulls/47099 | 2022-05-23T21:56:03Z | 2022-07-05T17:15:52Z | 2022-07-05T17:15:52Z | 2022-07-05T17:21:59Z |
fix pandas.show_versions() and remove pin for setuptools | diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml
index 23a48e567dfe9..753e288f5e391 100644
--- a/.github/workflows/python-dev.yml
+++ b/.github/workflows/python-dev.yml
@@ -54,11 +54,10 @@ jobs:
with:
python-version: '3.11-dev'
- # TODO: GH#44980 https://github.com/p... | closes #44980
labelled as 1.4.3 as seeing failures on release checks
(strange I cannot reproduce issue on editable install on 1.4.x or main) | https://api.github.com/repos/pandas-dev/pandas/pulls/47096 | 2022-05-23T12:05:13Z | 2022-05-25T13:45:21Z | 2022-05-25T13:45:21Z | 2022-05-25T14:40:08Z |
DOC/CI: Use more explicit data setup in user guides | diff --git a/doc/data/fx_prices b/doc/data/fx_prices
deleted file mode 100644
index 38cadf26909a3..0000000000000
Binary files a/doc/data/fx_prices and /dev/null differ
diff --git a/doc/data/mindex_ex.csv b/doc/data/mindex_ex.csv
deleted file mode 100644
index 935ff936cd842..0000000000000
--- a/doc/data/mindex_ex.csv
++... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Should fix the current CI failure for the docbuild.
* Use more explicit setup in `io.rst` instead of files / `:suppress:`
* Remove some static files that are no longer needed after refacto... | https://api.github.com/repos/pandas-dev/pandas/pulls/47093 | 2022-05-22T20:00:51Z | 2022-05-27T12:33:39Z | 2022-05-27T12:33:39Z | 2022-05-27T15:09:26Z |
Bug Fix: pd.DataFrame.sum with min_count changes dtype if result contains NaNs | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index e9e13c3ed5bbe..ebb4708ada45b 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -780,7 +780,7 @@ Indexing
- Bug in setting large integer values into :class:`Series` with ``float32`` or ``float16`` dtype ... | - [ ] closes #46947
- [ ] [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/47091 | 2022-05-22T15:05:08Z | 2022-05-29T19:52:48Z | 2022-05-29T19:52:48Z | 2022-05-30T00:17:36Z |
ENH: move SpecificationError to error/__init__.py | diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst
index f91db4600daec..f636ee1806c9b 100644
--- a/doc/source/reference/testing.rst
+++ b/doc/source/reference/testing.rst
@@ -41,6 +41,7 @@ Exceptions and warnings
errors.ParserError
errors.ParserWarning
errors.PerformanceWarning... | - [x] xref #27656. this GitHub issue is being done in multiple parts
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/developme... | https://api.github.com/repos/pandas-dev/pandas/pulls/47089 | 2022-05-22T00:39:16Z | 2022-05-26T17:45:18Z | 2022-05-26T17:45:18Z | 2022-05-27T20:15:12Z |
TST: Added test for bug Reindexing pd.Float64Dtype() series gives runtime warnings when passed to np.log | diff --git a/pandas/tests/series/methods/test_reindex.py b/pandas/tests/series/methods/test_reindex.py
index e0f1491f49485..b64c7bec6ea39 100644
--- a/pandas/tests/series/methods/test_reindex.py
+++ b/pandas/tests/series/methods/test_reindex.py
@@ -2,7 +2,9 @@
import pytest
from pandas import (
+ NA,
Catego... | - [x] closes #47055
- [x] [Tests added and passed] if fixing a bug or adding a new feature
- [x] All [code checks passed]
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
| https://api.github.com/repos/pandas-dev/pandas/pulls/47087 | 2022-05-21T21:51:12Z | 2022-06-08T16:31:21Z | 2022-06-08T16:31:20Z | 2022-06-08T16:31:28Z |
Backport PR #47078 on branch 1.4.x (REGR: Raise NotImplementedError for agg with axis=1 and multiple funcs) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 7c09eec212d69..415a3ff4efda0 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -18,6 +18,8 @@ Fixed regressions
- Fixed regression in :func:`read_fwf` raising ``ValueError`` when ``widths`` was specifie... | Backport PR #47078: REGR: Raise NotImplementedError for agg with axis=1 and multiple funcs | https://api.github.com/repos/pandas-dev/pandas/pulls/47086 | 2022-05-21T19:37:05Z | 2022-05-22T17:58:48Z | 2022-05-22T17:58:48Z | 2022-05-22T17:58:49Z |
BUG: Eval scopes ignoring empty dictionaries (#47084) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 54cad82366e43..18d0a0fd97d1f 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -30,6 +30,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Bug in :meth:`pd.eval`, :meth:`DataFrame.eval` and :meth:`DataFr... | closes [#47084](https://github.com/pandas-dev/pandas/issues/47084)
- [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/47085 | 2022-05-21T17:14:46Z | 2022-06-05T22:26:56Z | 2022-06-05T22:26:55Z | 2022-06-05T22:27:38Z |
DOC: Ignore certain doctest warnings | diff --git a/pandas/conftest.py b/pandas/conftest.py
index d330c2de9d23f..1a740d40480b0 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -105,6 +105,24 @@ def pytest_addoption(parser):
)
+def ignore_doctest_warning(item: pytest.Item, path: str, message: str) -> None:
+ """Ignore doctest warning.
... | Part of #44642
- [ ] [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).
- [ ] Ad... | https://api.github.com/repos/pandas-dev/pandas/pulls/47083 | 2022-05-21T15:11:08Z | 2022-05-21T19:35:35Z | 2022-05-21T19:35:35Z | 2022-05-22T13:21:23Z |
BUG: Fix `set_sticky` background | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 581473d3c4798..013fccaacf534 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -812,6 +812,7 @@ Styler
^^^^^^
- Bug when attempting to apply styling functions to an empty DataFrame subset (:issue:`4531... | - [x] closes #46984 (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/47082 | 2022-05-21T08:35:28Z | 2022-05-26T17:59:44Z | 2022-05-26T17:59:44Z | 2023-04-22T05:59:46Z |
DOC: Fix assorted doc warnings | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 184bdcfd39bf6..49025288f0449 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -9,13 +9,13 @@
#
# All configuration values have a default; values that are commented out
# serve to show the default.
-
from datetime import datetime
import importlib... | Part of #44642
- [ ] [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).
- [ ] Ad... | https://api.github.com/repos/pandas-dev/pandas/pulls/47080 | 2022-05-21T04:02:22Z | 2022-05-21T19:36:05Z | 2022-05-21T19:36:05Z | 2022-05-22T13:21:42Z |
REGR: Raise NotImplementedError for agg with axis=1 and multiple funcs | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 7c09eec212d69..415a3ff4efda0 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -18,6 +18,8 @@ Fixed regressions
- Fixed regression in :func:`read_fwf` raising ``ValueError`` when ``widths`` was specifie... | - [x] closes #46995 (Replace xxxx with the Github issue number)
- [x] closes #46904
- [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-do... | https://api.github.com/repos/pandas-dev/pandas/pulls/47078 | 2022-05-21T02:30:25Z | 2022-05-21T19:36:39Z | 2022-05-21T19:36:39Z | 2022-05-23T01:45:34Z |
REF: Manager.fast_xs to return SingleBlockManager instead of array | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 51ca9dbd763b4..2fd0cc79a8ca8 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3484,16 +3484,13 @@ def _ixs(self, i: int, axis: int = 0):
"""
# irow
if axis == 0:
- new_values = self._mgr.fast_xs(i)
+ ... | This is something that I encountered in https://github.com/pandas-dev/pandas/pull/46958, but again something that can be broken off / potentially useful anyway.
Currently the `fast_xs` method returns an array, but the only two places where it is being used (`xs` / `_ixs`), this array is directly wrapped in a Series... | https://api.github.com/repos/pandas-dev/pandas/pulls/47077 | 2022-05-20T18:34:43Z | 2022-05-22T01:20:44Z | 2022-05-22T01:20:44Z | 2022-05-22T09:50:26Z |
ENH: liboffsets support non-nano | diff --git a/asv_bench/benchmarks/arithmetic.py b/asv_bench/benchmarks/arithmetic.py
index 9db2e2c2a9732..496db66c78569 100644
--- a/asv_bench/benchmarks/arithmetic.py
+++ b/asv_bench/benchmarks/arithmetic.py
@@ -420,7 +420,7 @@ def time_add_overflow_both_arg_nan(self):
hcal = pd.tseries.holiday.USFederalHolidayCa... | - [ ] 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/47076 | 2022-05-20T17:04:10Z | 2022-05-22T18:04:16Z | 2022-05-22T18:04:16Z | 2022-05-22T20:28:11Z |
CI: mypy&pyright in manual pre-commit stage | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index 7d24b26f5538b..7812c4dd00bcb 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -67,15 +67,6 @@ jobs:
environment-file: ${{ env.ENV_FILE }}
use-only-tar-bz2: true
- - na... | xref https://github.com/pandas-dev/pandas/pull/47067#discussion_r877610624 | https://api.github.com/repos/pandas-dev/pandas/pulls/47075 | 2022-05-20T16:20:41Z | 2022-05-22T18:10:26Z | 2022-05-22T18:10:26Z | 2022-05-26T01:58:33Z |
REF: Add Manager.column_setitem to set values into a single column (without intermediate series) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 54ee5ed2f35d1..879a6a2a034d6 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -98,7 +98,6 @@
)
from pandas.core.dtypes.cast import (
- LossySetitemError,
can_hold_element,
construct_1d_arraylike_from_scalar,
construct_2d... | The `column_setitem` is a method I was adding in https://github.com/pandas-dev/pandas/pull/46958, is something that can be broken off from that PR, and is IMO also a generally useful change.
Currently in some cases to set values into a single column (eg `df.loc[idx, "A"] = value`), we create an intermediate Series f... | https://api.github.com/repos/pandas-dev/pandas/pulls/47074 | 2022-05-20T16:04:53Z | 2022-06-08T20:13:10Z | 2022-06-08T20:13:09Z | 2022-06-08T20:13:13Z |
Backport PR #47059 on branch 1.4.x (REGR: Styler buf and encoding in to_latex and to_html) | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 10cf8541effd6..4a8169c0609fd 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -1049,10 +1049,12 @@ def to_latex(
clines=clines,
)
- encoding = encoding or get_option("styler.render.encodi... | Backport PR #47059
release note already backported in #47062 | https://api.github.com/repos/pandas-dev/pandas/pulls/47072 | 2022-05-20T11:02:17Z | 2022-05-21T19:54:26Z | 2022-05-21T19:54:26Z | 2022-05-23T13:07:16Z |
TST: add copy/view test for setting columns with an array/series | diff --git a/pandas/conftest.py b/pandas/conftest.py
index d330c2de9d23f..c0ae92c1778bc 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -1797,3 +1797,11 @@ def using_array_manager():
Fixture to check if the array manager is being used.
"""
return pd.options.mode.data_manager == "array"
+
+
+@... | Similarly as https://github.com/pandas-dev/pandas/pull/46979, this is adding some test cases explicitly testing copy/view behaviour for a specific topic: if we set an array or series as a column, is the new column a copy or a view of the original data?
At this moment, we actually already do make a copy of that data (... | https://api.github.com/repos/pandas-dev/pandas/pulls/47070 | 2022-05-20T09:06:10Z | 2022-05-25T21:40:01Z | 2022-05-25T21:40:01Z | 2022-05-30T23:46:58Z |
CLN: Move test_parallel to gil.py | diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py
index af2efe56c2530..31654a5c75617 100644
--- a/asv_bench/benchmarks/gil.py
+++ b/asv_bench/benchmarks/gil.py
@@ -1,3 +1,6 @@
+from functools import wraps
+import threading
+
import numpy as np
from pandas import (
@@ -30,21 +33,57 @@
from ... | - [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).
Only used in this file, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/47068 | 2022-05-20T01:37:40Z | 2022-05-20T12:52:43Z | 2022-05-20T12:52:43Z | 2022-05-20T16:10:02Z |
TYP: resolve mypy ignores in core/apply.py | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index c04d0821fffdc..199382deadfc3 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -32,6 +32,7 @@
AggObjType,
Axis,
NDFrameT,
+ npt,
)
from pandas.util._decorators import cache_readonly
from pandas.util._exceptions import find... | xref https://github.com/pandas-dev/pandas/issues/37715 | https://api.github.com/repos/pandas-dev/pandas/pulls/47066 | 2022-05-19T21:30:33Z | 2022-05-30T12:14:08Z | 2022-05-30T12:14:08Z | 2022-05-30T12:14:08Z |
DOC: Fix deprecation warnings in docs for groupby nuisance columns | diff --git a/doc/source/getting_started/intro_tutorials/06_calculate_statistics.rst b/doc/source/getting_started/intro_tutorials/06_calculate_statistics.rst
index 298d0c4e0111c..346a5cecf601d 100644
--- a/doc/source/getting_started/intro_tutorials/06_calculate_statistics.rst
+++ b/doc/source/getting_started/intro_tutor... | - [ ] 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/47065 | 2022-05-19T20:59:35Z | 2022-05-19T23:23:44Z | 2022-05-19T23:23:44Z | 2022-05-20T00:08:58Z |
TYP: resolve mypy ignores in core/groupby/ops.py | diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py
index 49c86359c0d55..7f74c60c8e534 100644
--- a/pandas/core/groupby/ops.py
+++ b/pandas/core/groupby/ops.py
@@ -416,16 +416,14 @@ def _reconstruct_ea_result(
if isinstance(values.dtype, StringDtype):
dtype = values.dtype
- ... | xref https://github.com/pandas-dev/pandas/issues/37715 | https://api.github.com/repos/pandas-dev/pandas/pulls/47064 | 2022-05-19T20:35:46Z | 2022-05-21T20:03:33Z | 2022-05-21T20:03:33Z | 2022-05-21T20:03:37Z |
Backport PR #47057 on branch 1.4.x (BUG: groupby.transform/agg with engine='numba' and a MultiIndex) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 0c326e15d90ed..7c09eec212d69 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -16,7 +16,8 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataFrame.nsmallest` led to wrong results ... | Backport PR #47057 | https://api.github.com/repos/pandas-dev/pandas/pulls/47062 | 2022-05-19T16:56:43Z | 2022-05-19T23:03:26Z | 2022-05-19T23:03:25Z | 2022-05-20T08:53:42Z |
DOC: Improve reshape\concat | diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py
index c2b36dab4a67e..523cd56db3e0a 100644
--- a/pandas/core/reshape/concat.py
+++ b/pandas/core/reshape/concat.py
@@ -226,6 +226,9 @@ def concat(
pandas objects can be found `here
<https://pandas.pydata.org/pandas-docs/stable/user_guid... | - [x] closes #46825
- [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/47061 | 2022-05-19T15:09:14Z | 2022-05-27T12:28:42Z | 2022-05-27T12:28:41Z | 2022-05-27T12:28:46Z |
REGR: Styler `buf` and `encoding` in `to_latex` and `to_html` | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 0c326e15d90ed..23c8ad63bf7bb 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -16,7 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataFrame.nsmallest` led to wrong results ... | - [x] closes #47053
is regression should be backported | https://api.github.com/repos/pandas-dev/pandas/pulls/47059 | 2022-05-18T21:24:09Z | 2022-05-19T12:00:29Z | 2022-05-19T12:00:28Z | 2022-05-27T07:15:26Z |
BUG: groupby.transform/agg with engine='numba' and a MultiIndex | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 23c8ad63bf7bb..7c09eec212d69 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -16,6 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataFrame.nsmallest` led to wrong results ... | - [x] closes #46867 (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/47057 | 2022-05-18T20:46:29Z | 2022-05-19T16:49:22Z | 2022-05-19T16:49:22Z | 2022-05-20T08:54:51Z |
BUG: `DataFrame.shift` shows different behavior for `axis=1` when `freq` is specified | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index f0e208a117068..0aa5c13b5b11a 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -22,6 +22,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` with ``index_col=False`` identifying first row as i... | - [x] closes #47039
- [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/47051 | 2022-05-18T03:05:05Z | 2022-05-28T10:10:48Z | 2022-05-28T10:10:47Z | 2022-05-29T01:36:46Z |
CLN/TST: Remove tm.makeUnicodeIndex | diff --git a/asv_bench/benchmarks/strings.py b/asv_bench/benchmarks/strings.py
index f0a855b575139..eec722c9f167b 100644
--- a/asv_bench/benchmarks/strings.py
+++ b/asv_bench/benchmarks/strings.py
@@ -268,7 +268,7 @@ def time_get_dummies(self, dtype):
class Encode:
def setup(self):
- self.ser = Series(tm... | - [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).
Since `np.str_` == `np.u... | https://api.github.com/repos/pandas-dev/pandas/pulls/47050 | 2022-05-18T03:02:06Z | 2022-05-19T12:11:23Z | 2022-05-19T12:11:23Z | 2022-05-19T16:44:00Z |
CI/TST: Lower recurison limit for test_json:test_series_constructor_scalar_with_index on Windows | diff --git a/pandas/tests/extension/json/test_json.py b/pandas/tests/extension/json/test_json.py
index f1e8e82d23691..f3129a89124f4 100644
--- a/pandas/tests/extension/json/test_json.py
+++ b/pandas/tests/extension/json/test_json.py
@@ -186,7 +186,13 @@ def test_series_constructor_scalar_na_with_index(self, dtype, na_v... | xref: https://github.com/pandas-dev/pandas/pull/46950 | https://api.github.com/repos/pandas-dev/pandas/pulls/47049 | 2022-05-18T00:39:12Z | 2022-05-19T12:08:32Z | 2022-05-19T12:08:32Z | 2022-05-19T16:44:14Z |
DEPS: Bump optional dependencies | diff --git a/ci/deps/actions-38-minimum_versions.yaml b/ci/deps/actions-38-minimum_versions.yaml
index 99f8b89d1d562..786b304bdfc1d 100644
--- a/ci/deps/actions-38-minimum_versions.yaml
+++ b/ci/deps/actions-38-minimum_versions.yaml
@@ -20,38 +20,37 @@ dependencies:
- numpy=1.18.5
- pytz=2020.1
- # optional de... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added an entry in th... | https://api.github.com/repos/pandas-dev/pandas/pulls/47048 | 2022-05-18T00:30:55Z | 2022-05-19T12:10:39Z | 2022-05-19T12:10:39Z | 2022-05-19T16:44:07Z |
ENH: move DataError from core/base.py to error/__init__.py per GH27656 | diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst
index 0d702dd4e702d..f91db4600daec 100644
--- a/doc/source/reference/testing.rst
+++ b/doc/source/reference/testing.rst
@@ -26,6 +26,7 @@ Exceptions and warnings
errors.AbstractMethodError
errors.AccessorRegistrationWarning
+ e... | - [x] xref #27656. I think it might be best to do this GitHub issue in multiple parts
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-d... | https://api.github.com/repos/pandas-dev/pandas/pulls/47047 | 2022-05-18T00:10:11Z | 2022-05-21T19:55:29Z | 2022-05-21T19:55:29Z | 2022-05-21T19:55:34Z |
TST: mark test_wrong_url as requiring network | diff --git a/pandas/tests/io/xml/test_xml.py b/pandas/tests/io/xml/test_xml.py
index 823d155360908..bd84eb8f2e1bc 100644
--- a/pandas/tests/io/xml/test_xml.py
+++ b/pandas/tests/io/xml/test_xml.py
@@ -423,6 +423,7 @@ def test_url():
tm.assert_frame_equal(df_url, df_expected)
+@tm.network
def test_wrong_url(pa... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42354 | 2021-07-03T07:19:32Z | 2021-07-04T21:34:12Z | 2021-07-04T21:34:12Z | 2021-07-04T21:34:16Z |
PERF: DatetimeIndex.union | diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py
index 8da99961a0a24..316ddc67eb275 100644
--- a/pandas/core/indexes/datetimelike.py
+++ b/pandas/core/indexes/datetimelike.py
@@ -64,7 +64,6 @@
NDArrayBackedExtensionIndex,
inherit_names,
)
-from pandas.core.indexes.numeri... | ```
In [2]: dti = pd.date_range('2016-01-01', periods=10**5, freq="s")
In [3]: dti2 = dti.delete(50000)
In [4]: %timeit dti.union(dti2)
1.77 ms ± 7.97 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- master
1.55 ms ± 9.29 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- PR
``` | https://api.github.com/repos/pandas-dev/pandas/pulls/42353 | 2021-07-03T03:28:17Z | 2021-07-04T21:33:46Z | 2021-07-04T21:33:46Z | 2021-07-04T21:42:51Z |
DEPR: ignoring missing labels when indexing on MultiIndex level | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index cb2a59860783f..7fe8f532e23ee 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -153,7 +153,7 @@ Deprecations
- Deprecated ``method`` argument in :meth:`Index.get_loc`, use ``index.get_indexer([label], m... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
There are a bunch of issues that boil down to this weird behavior. I need to track down th... | https://api.github.com/repos/pandas-dev/pandas/pulls/42351 | 2021-07-02T23:42:06Z | 2021-07-14T23:20:45Z | 2021-07-14T23:20:45Z | 2021-07-14T23:50:56Z |
BUG: Don't cache args during rolling/expanding.apply with numba engine | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 24f307f23f435..06f89ba62c3e4 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -189,7 +189,7 @@ Plotting
Groupby/resample/rolling
^^^^^^^^^^^^^^^^^^^^^^^^
--
+- Bug in :meth:`Series.rolling.apply`, :... | - [x] closes #42287
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42350 | 2021-07-02T21:59:52Z | 2021-07-04T18:13:18Z | 2021-07-04T18:13:18Z | 2021-07-05T23:21:16Z |
Backport PR #42312 on branch 1.3.x (DOC: Start v1.3.1 release notes) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 986cf43b80494..08f46a53cf2f1 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -16,6 +16,7 @@ Version 1.3
.. toctree::
:maxdepth: 2
+ v1.3.1
v1.3.0
Version 1.2
diff --git a/doc/source/whatsne... | Backport PR #42312: DOC: Start v1.3.1 release notes | https://api.github.com/repos/pandas-dev/pandas/pulls/42348 | 2021-07-02T16:28:20Z | 2021-07-02T17:24:30Z | 2021-07-02T17:24:30Z | 2021-07-02T17:24:30Z |
DOC: fix docs after deprecation of args | diff --git a/pandas/core/series.py b/pandas/core/series.py
index c79ecd554bed5..800e8c7d88406 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -5072,9 +5072,9 @@ def between(self, left, right, inclusive="both") -> Series:
4 False
dtype: bool
- With `inclusive` set to ``Fal... | follows up an oversigh from #40628.
`False` was deprecated as an input so the example should be updated. | https://api.github.com/repos/pandas-dev/pandas/pulls/42342 | 2021-07-02T10:35:15Z | 2021-07-03T22:46:35Z | 2021-07-03T22:46:35Z | 2021-07-04T13:33:00Z |
DOC: Unsuppress relevant dataframe in split-apply-combine guide | diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst
index 870ec6763c72f..a341b682ef436 100644
--- a/doc/source/user_guide/groupby.rst
+++ b/doc/source/user_guide/groupby.rst
@@ -391,7 +391,6 @@ something different for each of the columns. Thus, using ``[]`` similar to
getting a column fr... | Currently, the [user guide for groupby](https://pandas.pydata.org/docs/dev/user_guide/groupby.html#dataframe-column-selection-in-groupby) shows the following code, but it is unclear where the "C" and "D" columns come from.
:
table_method_func, raw=True, engine="numba"
)
+ ... | - [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
close #42273 | https://api.github.com/repos/pandas-dev/pandas/pulls/42339 | 2021-07-02T04:56:30Z | 2021-07-06T16:52:51Z | 2021-07-06T16:52:51Z | 2021-07-06T19:06:22Z |
PERF/REGR: revert #41785 | diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst
index 9c17a22bf6d52..65719a11243f8 100644
--- a/doc/source/whatsnew/v1.3.1.rst
+++ b/doc/source/whatsnew/v1.3.1.rst
@@ -16,6 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Pandas could not be built on PyPy (:issue:`42355`)
- :class:`DataFra... | - [x] closes #42248
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42338 | 2021-07-01T23:06:36Z | 2021-07-08T12:42:32Z | 2021-07-08T12:42:31Z | 2021-07-13T09:51:59Z |
Backport PR #42313 on branch 1.3.x (DOC: v1.3.0 release date) | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index b1ee8ca03d3ee..59ec974aab0a4 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -1,7 +1,7 @@
.. _whatsnew_130:
-What's new in 1.3.0 (June ??)
------------------------------
+What's new in 1.3.0 (July 2... | Backport PR #42313: DOC: v1.3.0 release date | https://api.github.com/repos/pandas-dev/pandas/pulls/42337 | 2021-07-01T18:50:52Z | 2021-07-01T20:39:32Z | 2021-07-01T20:39:32Z | 2021-07-01T20:39:34Z |
Backport PR #42334 on branch 1.3.x (PERF/REGR: restore IntervalIndex._intersection_non_unique) | diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py
index 845d21e18d287..94d7814151a25 100644
--- a/pandas/core/indexes/interval.py
+++ b/pandas/core/indexes/interval.py
@@ -808,7 +808,8 @@ def _intersection(self, other, sort):
# multiple NaNs
taken = other._intersec... | Backport PR #42334: PERF/REGR: restore IntervalIndex._intersection_non_unique | https://api.github.com/repos/pandas-dev/pandas/pulls/42336 | 2021-07-01T18:18:19Z | 2021-07-01T19:18:53Z | 2021-07-01T19:18:53Z | 2021-07-01T19:18:53Z |
BUG: Series.loc with MultiIndex whose first level is all-NaN | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index be91020d357b6..8608dffd58090 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -216,8 +216,9 @@ Interval
Indexing
^^^^^^^^
-- Bug in indexing on a :class:`Series` or :class:`DataFrame` with a :class:... | - [x] closes #42055
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42335 | 2021-07-01T17:06:31Z | 2021-07-15T04:24:14Z | 2021-07-15T04:24:14Z | 2021-07-15T04:38:12Z |
PERF/REGR: restore IntervalIndex._intersection_non_unique | diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py
index 134583833daac..36779504d014b 100644
--- a/pandas/core/indexes/interval.py
+++ b/pandas/core/indexes/interval.py
@@ -803,7 +803,8 @@ def _intersection(self, other, sort):
# multiple NaNs
taken = other._intersec... | - [ ] xref #42240
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Reverts the rest of #41929 | https://api.github.com/repos/pandas-dev/pandas/pulls/42334 | 2021-07-01T15:53:09Z | 2021-07-01T18:17:50Z | 2021-07-01T18:17:50Z | 2021-07-02T13:36:36Z |
BENCH: update imports to allow testing against 1.2.5 | diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py
index 427af9307f2c9..159584d9120a5 100644
--- a/asv_bench/benchmarks/algos/isin.py
+++ b/asv_bench/benchmarks/algos/isin.py
@@ -1,6 +1,9 @@
import numpy as np
-from pandas.compat.numpy import np_version_under1p20
+try:
+ from pan... | https://api.github.com/repos/pandas-dev/pandas/pulls/42330 | 2021-07-01T10:30:44Z | 2021-07-02T00:23:07Z | 2021-07-02T00:23:07Z | 2021-07-02T18:29:02Z | |
BUG: .loc with MultiIndex with tuple in level GH#27591 | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index fa9c424351b00..2dcbef46e4f75 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -232,6 +232,7 @@ Interval
Indexing
^^^^^^^^
- Bug in :meth:`DataFrame.truncate` and :meth:`Series.truncate` when the obje... | - [x] closes #27591
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42329 | 2021-06-30T20:55:22Z | 2021-08-08T23:30:36Z | 2021-08-08T23:30:35Z | 2021-08-09T01:50:17Z |
Backport PR #42323 on branch 1.3.x (BUG: `Styler.to_latex` now doesn't manipulate the `Styler` object.) | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index 60dc7096c9d1e..b1ee8ca03d3ee 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -136,7 +136,7 @@ which has been revised and improved (:issue:`39720`, :issue:`39317`, :issue:`404
- Many features of the :... | Backport PR #42323: BUG: `Styler.to_latex` now doesn't manipulate the `Styler` object. | https://api.github.com/repos/pandas-dev/pandas/pulls/42327 | 2021-06-30T14:39:54Z | 2021-06-30T17:03:08Z | 2021-06-30T17:03:08Z | 2021-06-30T17:03:16Z |
REF: avoid try/except in maybe_mi_droplevel | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 1abb01099f977..3724fe5b2c0bc 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3767,8 +3767,10 @@ class animal locomotion
if isinstance(index, MultiIndex):
try:
loc, new_index = index._get_lo... | Sits on top of #42315 | https://api.github.com/repos/pandas-dev/pandas/pulls/42326 | 2021-06-30T14:31:25Z | 2021-07-04T21:35:14Z | 2021-07-04T21:35:14Z | 2021-07-04T21:43:50Z |
WEB: Added theme dependent favicon | diff --git a/web/pandas/_templates/layout.html b/web/pandas/_templates/layout.html
index 023bfe9e26b78..49990ac60fcd4 100644
--- a/web/pandas/_templates/layout.html
+++ b/web/pandas/_templates/layout.html
@@ -12,7 +12,7 @@
<title>pandas - Python Data Analysis Library</title>
<meta charset="utf-8">
... | - [x] closes #42314
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Added a light mode version of the favicon based upon the .svgs in the static folder as wel... | https://api.github.com/repos/pandas-dev/pandas/pulls/42325 | 2021-06-30T13:11:23Z | 2021-07-09T13:16:22Z | 2021-07-09T13:16:22Z | 2021-07-09T13:16:26Z |
Backport PR #42318: PERF/REGR: symmetric_difference revert most of #41833 | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index dd123ae82ce49..e666b14b5d67c 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3254,12 +3254,47 @@ def symmetric_difference(self, other, result_name=None, sort=None):
if result_name is None:
r... | Backport PR #42318 | https://api.github.com/repos/pandas-dev/pandas/pulls/42324 | 2021-06-30T09:51:39Z | 2021-06-30T14:34:30Z | 2021-06-30T14:34:30Z | 2021-06-30T14:34:39Z |
BUG: `Styler.to_latex` now doesn't manipulate the `Styler` object. | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index 60dc7096c9d1e..b1ee8ca03d3ee 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -136,7 +136,7 @@ which has been revised and improved (:issue:`39720`, :issue:`39317`, :issue:`404
- Many features of the :... | - [x] closes #42320
- [x] tests added / passed
- [x] whatsnew entry not needed if included in 1.3.0 (although will be needed for 1.3.1)
| https://api.github.com/repos/pandas-dev/pandas/pulls/42323 | 2021-06-30T07:45:04Z | 2021-06-30T14:39:23Z | 2021-06-30T14:39:23Z | 2021-07-13T20:58:54Z |
Backport PR #42317 on branch 1.3.x (Revert "REF: move shift logic from BlockManager to DataFrame") | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index cd127d9c9ec63..954ea24d0d8fc 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -5285,45 +5285,28 @@ def shift(
axis = self._get_axis_number(axis)
ncols = len(self.columns)
+ if axis == 1 and periods != 0 and fill_val... | Backport PR #42317: Revert "REF: move shift logic from BlockManager to DataFrame" | https://api.github.com/repos/pandas-dev/pandas/pulls/42321 | 2021-06-30T07:26:16Z | 2021-06-30T09:19:45Z | 2021-06-30T09:19:45Z | 2021-06-30T09:19:45Z |
BUG: not dropping scalar-indexes MultiIndex levels | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index f8578d87e4cad..7681ac588d3ca 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -825,7 +825,15 @@ def _getitem_lowerdim(self, tup: tuple):
ax0 = self.obj._get_axis(0)
# ...but iloc should handle the tuple as simple... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
There are a bunch of issues about inconsistent dropping of MultiIndex levels: #12827, #1863... | https://api.github.com/repos/pandas-dev/pandas/pulls/42319 | 2021-06-30T05:11:39Z | 2021-07-04T21:35:37Z | 2021-07-04T21:35:37Z | 2021-07-04T21:44:44Z |
PERF/REGR: symmetric_difference revert most of #41833 | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 3cfa1f15fa118..53b5bf8f182bd 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3209,7 +3209,6 @@ def _wrap_difference_result(self, other, result):
# We will override for MultiIndex to handle empty results
... | - [ ] closes #42239
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
aimed at #42239 | https://api.github.com/repos/pandas-dev/pandas/pulls/42318 | 2021-06-30T04:29:57Z | 2021-06-30T09:01:11Z | 2021-06-30T09:01:10Z | 2021-06-30T14:25:17Z |
Revert "REF: move shift logic from BlockManager to DataFrame" | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 6f621699aa5ae..8ccde3093cf70 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -5279,45 +5279,28 @@ def shift(
axis = self._get_axis_number(axis)
ncols = len(self.columns)
+ if axis == 1 and periods != 0 and fill_val... | Reverts pandas-dev/pandas#40536
Discussed in #42246, we can revert for 1.3 without breaking anything, then un-revert in 1.4 and have some time to sort out the perf trouble. | https://api.github.com/repos/pandas-dev/pandas/pulls/42317 | 2021-06-30T03:30:42Z | 2021-06-30T07:25:47Z | 2021-06-30T07:25:47Z | 2021-06-30T07:26:26Z |
REF: remove drop_level kwarg from MultiIndex._get_loc_level | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index c052b977ea07a..424041a59f3a9 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3765,11 +3765,15 @@ class animal locomotion
if isinstance(index, MultiIndex):
try:
- loc, new_index = index._get... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42315 | 2021-06-29T20:59:49Z | 2021-07-01T23:05:29Z | 2021-07-01T23:05:29Z | 2021-07-01T23:31:07Z |
DOC: v1.3.0 release date | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index 60dc7096c9d1e..f22936e80fb29 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -1,7 +1,7 @@
.. _whatsnew_130:
-What's new in 1.3.0 (June ??)
------------------------------
+What's new in 1.3.0 (July 2... | https://api.github.com/repos/pandas-dev/pandas/pulls/42313 | 2021-06-29T19:07:50Z | 2021-07-01T18:50:43Z | 2021-07-01T18:50:43Z | 2021-07-01T18:50:47Z | |
DOC: Start v1.3.1 release notes | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 0b27bb4d58d5e..1f04eb6f68ae8 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -24,6 +24,7 @@ Version 1.3
.. toctree::
:maxdepth: 2
+ v1.3.1
v1.3.0
Version 1.2
diff --git a/doc/source/whatsne... | will fail till v1.3.0 tag exists | https://api.github.com/repos/pandas-dev/pandas/pulls/42312 | 2021-06-29T19:02:18Z | 2021-07-02T16:27:54Z | 2021-07-02T16:27:54Z | 2021-07-02T16:27:59Z |
BUG: don't silently ignore kwargs in get_indexer_for | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 81545ada63ce5..31e9a3d9873b2 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -87,7 +87,7 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor
Other API changes
^^^^^^... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
At first I was thinking of deprecating, but decided that silently ignoring should be consid... | https://api.github.com/repos/pandas-dev/pandas/pulls/42310 | 2021-06-29T17:12:13Z | 2021-07-01T23:04:34Z | 2021-07-01T23:04:34Z | 2021-07-01T23:16:11Z |
REF: move casting from Index._get_indexer to Index.get_indexer | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 7b7b234a06eca..6d9d45b2cde71 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3462,6 +3462,18 @@ def get_indexer(
# Only call equals if we have same dtype to avoid inference/casting
retur... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42308 | 2021-06-29T15:38:33Z | 2021-07-01T23:06:07Z | 2021-07-01T23:06:07Z | 2021-07-01T23:25:57Z |
Auto backport of pr 42293 on 1.3.x | diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py
index 26f13280c118f..845d21e18d287 100644
--- a/pandas/core/indexes/interval.py
+++ b/pandas/core/indexes/interval.py
@@ -61,6 +61,7 @@
from pandas.core.dtypes.dtypes import IntervalDtype
from pandas.core.dtypes.missing import is_valid_na_... | backport of pr #42293 | https://api.github.com/repos/pandas-dev/pandas/pulls/42306 | 2021-06-29T15:08:11Z | 2021-06-29T19:53:46Z | 2021-06-29T19:53:45Z | 2021-06-29T19:56:09Z |
DEPS: update setuptools min version | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3a07aae11dc1b..dca1a84867e72 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -110,7 +110,7 @@ repos:
entry: python scripts/generate_pip_deps_from_conda.py
files: ^(environment.yml|requirements-dev.txt)$
... | According to https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html, the min version of setuptools that support `entry_points` in `setup.cfg` is `51.0.0`. | https://api.github.com/repos/pandas-dev/pandas/pulls/42304 | 2021-06-29T14:51:46Z | 2021-08-03T19:33:58Z | 2021-08-03T19:33:58Z | 2021-08-17T04:17:01Z |
Revert "ENH: Add `method='table'` for EWM.mean" | diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py
index 97294fc02834b..d35770b720f7a 100644
--- a/asv_bench/benchmarks/rolling.py
+++ b/asv_bench/benchmarks/rolling.py
@@ -296,8 +296,5 @@ def time_apply(self, method):
table_method_func, raw=True, engine="numba"
)
- ... | Reverts pandas-dev/pandas#42273 | https://api.github.com/repos/pandas-dev/pandas/pulls/42302 | 2021-06-29T13:22:28Z | 2021-06-29T14:20:00Z | 2021-06-29T14:20:00Z | 2021-06-29T14:20:25Z |
ENH: `Styler.bar` extended to allow centering about the mean, value or callable | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index cc499204318c1..24965a38a4ce1 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -1190,9 +1190,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "In version 0.20.0 the ... | This refactors `Styler.bar` to allow more flexible arguments to align bars, and an additional keyword `props` akin to other builtin methods that allow some customisation, demonstrated in the new user guide (image below)
- [x] closes #26070
- [x] tests added / passed
- [x] whats new
**All previous tests pass wit... | https://api.github.com/repos/pandas-dev/pandas/pulls/42301 | 2021-06-29T13:14:18Z | 2021-07-09T13:15:05Z | 2021-07-09T13:15:05Z | 2021-07-09T18:02:13Z |
Backport PR #42292 on branch 1.3.x (REGR: ExcelWriter fails when passed kwargs) | diff --git a/pandas/io/excel/_odswriter.py b/pandas/io/excel/_odswriter.py
index efef86329314b..fa2779b01d681 100644
--- a/pandas/io/excel/_odswriter.py
+++ b/pandas/io/excel/_odswriter.py
@@ -29,6 +29,7 @@ def __init__(
storage_options: StorageOptions = None,
if_sheet_exists: str | None = None,
... | Backport PR #42292: REGR: ExcelWriter fails when passed kwargs | https://api.github.com/repos/pandas-dev/pandas/pulls/42300 | 2021-06-29T12:29:32Z | 2021-06-29T13:54:00Z | 2021-06-29T13:54:00Z | 2021-06-29T13:54:01Z |
Backport PR #41283 on branch 1.3.x (TYP Series and DataFrame currently type-check as hashable) | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index 0641b32383125..60dc7096c9d1e 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -707,6 +707,7 @@ Other API changes
- Added new ``engine`` and ``**engine_kwargs`` parameters to :meth:`DataFrame.to_sql` to... | Backport PR #41283: TYP Series and DataFrame currently type-check as hashable | https://api.github.com/repos/pandas-dev/pandas/pulls/42299 | 2021-06-29T12:27:52Z | 2021-06-29T13:44:29Z | 2021-06-29T13:44:29Z | 2021-06-29T13:44:29Z |
Backport PR #42256 on branch 1.3.x (CI: fewer workers on windows) | diff --git a/ci/azure/windows.yml b/ci/azure/windows.yml
index 5644ad46714d5..7c088622f9638 100644
--- a/ci/azure/windows.yml
+++ b/ci/azure/windows.yml
@@ -12,11 +12,13 @@ jobs:
ENV_FILE: ci/deps/azure-windows-37.yaml
CONDA_PY: "37"
PATTERN: "not slow and not network"
+ PYTEST_WORKERS... | Backport PR #42256: CI: fewer workers on windows | https://api.github.com/repos/pandas-dev/pandas/pulls/42298 | 2021-06-29T12:26:46Z | 2021-06-29T13:21:25Z | 2021-06-29T13:21:25Z | 2021-06-29T13:21:26Z |
Backport PR #41595 on branch 1.3.x (CI: Xfails on Python 3.10) | diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml
index 38b1aa9ae7047..4ef5b16e71e71 100644
--- a/.github/workflows/python-dev.yml
+++ b/.github/workflows/python-dev.yml
@@ -10,6 +10,12 @@ on:
paths-ignore:
- "doc/**"
+env:
+ PYTEST_WORKERS: "auto"
+ PANDAS_CI: 1
+ PATTER... | Backport PR #41595: CI: Xfails on Python 3.10 | https://api.github.com/repos/pandas-dev/pandas/pulls/42297 | 2021-06-29T12:26:18Z | 2021-06-29T13:20:53Z | 2021-06-29T13:20:53Z | 2021-06-29T13:20:53Z |
PERF/REGR: IntervalIndex.intersection, PeriodIndex.get_loc | diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py
index e0f7a42dcfadd..134583833daac 100644
--- a/pandas/core/indexes/interval.py
+++ b/pandas/core/indexes/interval.py
@@ -61,6 +61,7 @@
from pandas.core.dtypes.dtypes import IntervalDtype
from pandas.core.dtypes.missing import is_valid_na_... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Should fix #42240, #42247, not checking the box because I jumped the gun last time. | https://api.github.com/repos/pandas-dev/pandas/pulls/42293 | 2021-06-29T04:38:51Z | 2021-06-29T12:31:40Z | 2021-06-29T12:31:39Z | 2021-06-29T18:49:04Z |
REGR: ExcelWriter fails when passed kwargs | diff --git a/pandas/io/excel/_odswriter.py b/pandas/io/excel/_odswriter.py
index efef86329314b..fa2779b01d681 100644
--- a/pandas/io/excel/_odswriter.py
+++ b/pandas/io/excel/_odswriter.py
@@ -29,6 +29,7 @@ def __init__(
storage_options: StorageOptions = None,
if_sheet_exists: str | None = None,
... | - [x] closes #42286
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Seeing some open resource test failure in excel writer, but not sure why. Checking if they occur on CI too.
B... | https://api.github.com/repos/pandas-dev/pandas/pulls/42292 | 2021-06-29T03:16:45Z | 2021-06-29T12:29:22Z | 2021-06-29T12:29:22Z | 2021-07-01T00:58:59Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.