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 |
|---|---|---|---|---|---|---|---|
REGR: changed behavior in series[period].mask(foo, bar, inplace=True) | diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst
index f321aabc0a8a5..48b62637c26b1 100644
--- a/doc/source/whatsnew/v1.4.1.rst
+++ b/doc/source/whatsnew/v1.4.1.rst
@@ -14,7 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Regression in :meth:`Series... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Behavior change in 1.4rc was undocumented. | https://api.github.com/repos/pandas-dev/pandas/pulls/45546 | 2022-01-22T01:58:35Z | 2022-01-23T00:06:14Z | 2022-01-23T00:06:14Z | 2022-01-23T00:11:43Z |
Backport PR #45489 on branch 1.4.x (Bug tojson memleak) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 327432de0a3f7..363d4b57544a9 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -966,6 +966,7 @@ I/O
- Bug in :func:`read_json` raising ``ValueError`` when attempting to parse json strings containing ":/... | Backport PR #45489: Bug tojson memleak | https://api.github.com/repos/pandas-dev/pandas/pulls/45545 | 2022-01-22T01:23:17Z | 2022-01-22T09:04:11Z | 2022-01-22T09:04:11Z | 2022-01-22T09:04:12Z |
ENH: add NDArrayBackedExtensionArray to public API | diff --git a/doc/source/development/extending.rst b/doc/source/development/extending.rst
index c7286616672b9..b74713e7102dc 100644
--- a/doc/source/development/extending.rst
+++ b/doc/source/development/extending.rst
@@ -135,6 +135,110 @@ by some other storage type, like Python lists.
See the `extension array source`_... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45544 | 2022-01-21T23:17:00Z | 2023-02-22T13:39:11Z | null | 2024-01-22T19:28:03Z |
Backport PR #45519 on branch 1.4.x (EA interface: rename ExtensionArray._hasnans to ._hasna) | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index c16c404d56295..d955d8e583f1c 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -427,7 +427,7 @@ def __contains__(self, item: object) -> bool | np.bool_:
if not self._can_hold_na:
return Fal... | Backport PR #45519 | https://api.github.com/repos/pandas-dev/pandas/pulls/45543 | 2022-01-21T22:27:41Z | 2022-01-22T01:22:30Z | 2022-01-22T01:22:30Z | 2022-01-22T09:26:46Z |
Backport PR #45483 on branch 1.4.x (Rename to main) | diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst
index 0596687b4d15e..0a891a4c6d2d7 100644
--- a/doc/source/getting_started/comparison/comparison_with_sql.rst
+++ b/doc/source/getting_started/comparison/comparison_with_sql.rst
@@ ... | Backport PR #45483: Rename to main | https://api.github.com/repos/pandas-dev/pandas/pulls/45542 | 2022-01-21T21:41:46Z | 2022-01-22T00:08:02Z | 2022-01-22T00:08:02Z | 2022-01-22T00:08:03Z |
Backport PR #45524 on branch 1.4.x (REGR: fix period dtype <-> arrow roundtrip for pyarrow < 4) | diff --git a/pandas/core/internals/api.py b/pandas/core/internals/api.py
index 537ae8f2a4320..371f1e2443b36 100644
--- a/pandas/core/internals/api.py
+++ b/pandas/core/internals/api.py
@@ -24,6 +24,7 @@
from pandas.core.internals.blocks import (
Block,
DatetimeTZBlock,
+ ExtensionBlock,
check_ndim,
... | Backport PR #45524: REGR: fix period dtype <-> arrow roundtrip for pyarrow < 4 | https://api.github.com/repos/pandas-dev/pandas/pulls/45541 | 2022-01-21T21:33:45Z | 2022-01-22T00:07:51Z | 2022-01-22T00:07:51Z | 2022-01-22T00:07:51Z |
Backport PR #45536 on branch 1.4.x (DOC: tidy 1.4.0 release notes (2)) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 4e5369072e116..327432de0a3f7 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -92,7 +92,7 @@ Styler
- Styling and formatting of indexes has been added, with :meth:`.Styler.apply_index`, :meth:`.Sty... | Backport PR #45536: DOC: tidy 1.4.0 release notes (2) | https://api.github.com/repos/pandas-dev/pandas/pulls/45540 | 2022-01-21T21:33:10Z | 2022-01-21T22:45:31Z | 2022-01-21T22:45:31Z | 2022-01-21T22:45:31Z |
Bug: Resample ignoring closed=right for TimedeltaIndex | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 1ae76984484af..9756ae7adf930 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -241,7 +241,7 @@ Plotting
Groupby/resample/rolling
^^^^^^^^^^^^^^^^^^^^^^^^
--
+- Bug in :meth:`DataFrame.resample` igno... | - [x] closes #45414
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45539 | 2022-01-21T20:57:54Z | 2022-01-22T17:28:32Z | 2022-01-22T17:28:31Z | 2022-01-22T19:04:00Z |
Backport PR #45219 on branch 1.4.x (MISC: Check that min versions are aligned in CI and import_optional_dependency) | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 854b7b2e4fe63..5232b76a6388d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -181,3 +181,8 @@ repos:
entry: 'pg8000'
files: ^ci/deps
types: [yaml]
+ - id: validate-min-versions-in-sync
+ nam... | Backport PR #45219: MISC: Check that min versions are aligned in CI and import_optional_dependency | https://api.github.com/repos/pandas-dev/pandas/pulls/45537 | 2022-01-21T19:09:51Z | 2022-01-21T20:10:38Z | 2022-01-21T20:10:38Z | 2022-01-21T20:10:38Z |
DOC: tidy 1.4.0 release notes (2) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 4e5369072e116..327432de0a3f7 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -92,7 +92,7 @@ Styler
- Styling and formatting of indexes has been added, with :meth:`.Styler.apply_index`, :meth:`.Sty... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/45536 | 2022-01-21T18:39:12Z | 2022-01-21T21:33:00Z | 2022-01-21T21:33:00Z | 2022-01-21T21:54:29Z |
PERF: Improve performance for df.duplicated with one column subset | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 16925b7959e6a..5254bdba14990 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -611,6 +611,9 @@ def time_frame_duplicated(self):
def time_frame_duplicated_wide(self):
... | - [x] closes #45236
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
```
%timeit df["a"].duplicated()
3.16 ms ± 96 µs per loop (mean ± std. dev. of 7 ru... | https://api.github.com/repos/pandas-dev/pandas/pulls/45534 | 2022-01-21T17:03:13Z | 2022-01-21T22:22:05Z | 2022-01-21T22:22:05Z | 2022-06-13T08:25:02Z |
Backport PR #45528 on branch 1.4.x (DOC: tidy 1.4.0 release notes) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 234fada5e2ba3..4e5369072e116 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -1,6 +1,6 @@
.. _whatsnew_140:
-What's new in 1.4.0 (January ??, 2022)
+What's new in 1.4.0 (January 22, 2022)
---------... | Backport PR #45528: DOC: tidy 1.4.0 release notes | https://api.github.com/repos/pandas-dev/pandas/pulls/45533 | 2022-01-21T16:54:43Z | 2022-01-21T18:35:15Z | 2022-01-21T18:35:15Z | 2022-01-21T18:35:16Z |
Fixes #45506 Catch overflow error when converting to datetime | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 919ed926f8195..41b95532f1511 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -247,7 +247,7 @@ Conversion
- Bug in :meth:`Float64Index.astype` to unsigned integer dtype incorrectly casting to ``np.int6... | Exception is raised when date part (like day, month, year) is greater than 32 bit signed integer
- [x] xref #45506
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whats... | https://api.github.com/repos/pandas-dev/pandas/pulls/45532 | 2022-01-21T16:22:44Z | 2022-01-31T16:31:36Z | 2022-01-31T16:31:36Z | 2022-02-08T16:40:01Z |
Update development docs recommended pyenv version to a supported version | diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst
index 5f36a2a609c9f..b28f7c833d7ad 100644
--- a/doc/source/development/contributing_environment.rst
+++ b/doc/source/development/contributing_environment.rst
@@ -222,7 +222,7 @@ Consult the docs for se... | **Only doc change**
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
As far as i understand - python development should be done on... | https://api.github.com/repos/pandas-dev/pandas/pulls/45531 | 2022-01-21T15:16:05Z | 2022-01-21T21:48:21Z | 2022-01-21T21:48:21Z | 2022-01-21T21:48:29Z |
Backport PR #45522 on branch 1.4.x (REGR: read_fwf interpreting infer as list of colspecs when checking names length) | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index 6d60f94e89291..ef693fcbd3720 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -856,7 +856,7 @@ def read_fwf(
# Ensure length of `colspecs` matches length of `names`
names = kwds.get("names")
if n... | Backport PR #45522: REGR: read_fwf interpreting infer as list of colspecs when checking names length | https://api.github.com/repos/pandas-dev/pandas/pulls/45530 | 2022-01-21T14:02:44Z | 2022-01-21T16:54:02Z | 2022-01-21T16:54:02Z | 2022-01-21T16:54:02Z |
Backport PR #45523 on branch 1.4.x (DEPR: restore to_frame() name=None behaviour but deprecate it) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 1ca4e8cc97df0..234fada5e2ba3 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -696,6 +696,7 @@ Other Deprecations
- Deprecated the behavior of :meth:`Timestamp.utcfromtimestamp`, in the future it will ... | Backport PR #45523: DEPR: restore to_frame() name=None behaviour but deprecate it | https://api.github.com/repos/pandas-dev/pandas/pulls/45529 | 2022-01-21T14:01:45Z | 2022-01-21T16:53:49Z | 2022-01-21T16:53:49Z | 2022-01-21T16:53:50Z |
DOC: tidy 1.4.0 release notes | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 1ca4e8cc97df0..a27d9d6c67c98 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -1,6 +1,6 @@
.. _whatsnew_140:
-What's new in 1.4.0 (January ??, 2022)
+What's new in 1.4.0 (January 22, 2022)
---------... | still more to do but this is what I have so far.
To make review easier could merge this if ok and then follow-up with another PR if I find anything else rather than add more commits. | https://api.github.com/repos/pandas-dev/pandas/pulls/45528 | 2022-01-21T13:58:59Z | 2022-01-21T16:54:33Z | 2022-01-21T16:54:33Z | 2022-01-21T16:56:40Z |
Add test for concat with categorical + datetime dataframes | diff --git a/pandas/tests/reshape/concat/test_categorical.py b/pandas/tests/reshape/concat/test_categorical.py
index 5bafd2e8e8503..c2030828d1cac 100644
--- a/pandas/tests/reshape/concat/test_categorical.py
+++ b/pandas/tests/reshape/concat/test_categorical.py
@@ -1,3 +1,5 @@
+from datetime import datetime
+
import nu... | - [x] closes #39443
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry (N/A)
| https://api.github.com/repos/pandas-dev/pandas/pulls/45527 | 2022-01-21T13:29:56Z | 2022-03-30T01:17:25Z | null | 2022-03-30T01:17:25Z |
BUG: df.getitem returning copy instead of view for unique column in dup index | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 2346a86ad21f8..4a86194356a71 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -810,6 +810,7 @@ Indexing
^^^^^^^^
- Bug in :meth:`loc.__getitem__` with a list of keys causing an internal inconsistency ... | - [x] closes #45316
- [x] closes #41062
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
I think this is more intuitive (and "more" correct) than the pre... | https://api.github.com/repos/pandas-dev/pandas/pulls/45526 | 2022-01-21T12:29:26Z | 2022-06-22T01:19:38Z | 2022-06-22T01:19:37Z | 2022-06-22T07:41:10Z |
test replace on out of bound datetime | diff --git a/pandas/tests/frame/methods/test_replace.py b/pandas/tests/frame/methods/test_replace.py
index b9024b4233d7f..001a50c3ce1b0 100644
--- a/pandas/tests/frame/methods/test_replace.py
+++ b/pandas/tests/frame/methods/test_replace.py
@@ -753,6 +753,13 @@ def test_replace_for_new_dtypes(self, datetime_frame):
... | Just adds a test for the functionality that is working on `main`. Placed the test in amongst the other `DataFrame.replace` tests.
- [x] closes #36782
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-comm... | https://api.github.com/repos/pandas-dev/pandas/pulls/45525 | 2022-01-21T12:27:02Z | 2022-01-23T00:12:09Z | 2022-01-23T00:12:09Z | 2022-01-23T17:56:15Z |
REGR: fix period dtype <-> arrow roundtrip for pyarrow < 4 | diff --git a/pandas/core/internals/api.py b/pandas/core/internals/api.py
index 537ae8f2a4320..371f1e2443b36 100644
--- a/pandas/core/internals/api.py
+++ b/pandas/core/internals/api.py
@@ -24,6 +24,7 @@
from pandas.core.internals.blocks import (
Block,
DatetimeTZBlock,
+ ExtensionBlock,
check_ndim,
... | Closes #45470 | https://api.github.com/repos/pandas-dev/pandas/pulls/45524 | 2022-01-21T12:02:40Z | 2022-01-21T21:33:37Z | 2022-01-21T21:33:36Z | 2022-01-22T09:09:12Z |
DEPR: restore to_frame() name=None behaviour but deprecate it | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 1ca4e8cc97df0..234fada5e2ba3 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -696,6 +696,7 @@ Other Deprecations
- Deprecated the behavior of :meth:`Timestamp.utcfromtimestamp`, in the future it will ... | Closes #45448
| https://api.github.com/repos/pandas-dev/pandas/pulls/45523 | 2022-01-21T11:53:10Z | 2022-01-21T14:01:18Z | 2022-01-21T14:01:18Z | 2022-01-21T16:45:31Z |
REGR: read_fwf interpreting infer as list of colspecs when checking names length | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index 6d60f94e89291..ef693fcbd3720 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -856,7 +856,7 @@ def read_fwf(
# Ensure length of `colspecs` matches length of `names`
names = kwds.get("names")
if n... | - [x] closes #45337
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
No whatsnew needed if this goes into 1.4, otherwise I will add one for 1.4.1 when ava... | https://api.github.com/repos/pandas-dev/pandas/pulls/45522 | 2022-01-21T11:38:31Z | 2022-01-21T14:02:36Z | 2022-01-21T14:02:36Z | 2022-01-21T14:03:21Z |
REF: use more explicit to_numpy(object) instead of astype(object) in EA implementation | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index 834c2db9ecb21..d489fafeaa308 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -172,7 +172,7 @@ class ExtensionArray:
* _formatter : Print scalars inside a Series or DataFrame.
Some methods require casting t... | Somewhat related to https://github.com/pandas-dev/pandas/issues/24877 / https://github.com/pandas-dev/pandas/pull/43699, but regardless of whether we want to stop `astype` returning numpy arrays or not, I think when we know we want to get an object-dtype numpy array as result, using `to_numpy(object)` is more explicit ... | https://api.github.com/repos/pandas-dev/pandas/pulls/45521 | 2022-01-21T09:08:27Z | 2023-02-22T13:55:40Z | null | 2023-02-22T13:55:41Z |
EA interface: rename ExtensionArray._hasnans to ._hasna | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index c16c404d56295..d955d8e583f1c 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -427,7 +427,7 @@ def __contains__(self, item: object) -> bool | np.bool_:
if not self._can_hold_na:
return Fal... | As discussed in follow-up on https://github.com/pandas-dev/pandas/pull/45024#discussion_r774711601
Since this is "public" for developers, we need to decide on a name now for 1.4. Using "na" instead of "nan" makes it consistent with the other missing values related methods in the EA interface (isna, dropna, fillna, _... | https://api.github.com/repos/pandas-dev/pandas/pulls/45519 | 2022-01-21T08:02:43Z | 2022-01-21T21:35:04Z | 2022-01-21T21:35:03Z | 2022-01-22T08:18:31Z |
Backport PR #45449: DEPR: undo deprecation of astype(int64) for datetimelike values | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index ed66861efad93..a392aeb5274c2 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -811,7 +811,7 @@ Other Deprecations
- Deprecated allowing scalars to be passed to the :class:`Categorical` constructor (:is... | Manual backport of https://github.com/pandas-dev/pandas/pull/45449 | https://api.github.com/repos/pandas-dev/pandas/pulls/45518 | 2022-01-21T07:39:14Z | 2022-01-21T08:56:31Z | 2022-01-21T08:56:31Z | 2022-01-21T09:21:08Z |
DEPR: __array_wrap__ | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 1ae76984484af..de27c4229bd4d 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -145,6 +145,7 @@ Other Deprecations
- Deprecated behavior of :meth:`SparseArray.astype`, :meth:`Series.astype`, and :meth:`... | Follow-up on https://github.com/pandas-dev/pandas/pull/45451 to deprecate the method, so we can actually remove it again in the future. | https://api.github.com/repos/pandas-dev/pandas/pulls/45517 | 2022-01-21T07:32:25Z | 2022-01-21T21:50:05Z | 2022-01-21T21:50:05Z | 2022-01-22T09:06:41Z |
get_dummies to select string dtype in addition to object and categorical | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 1ae76984484af..2843ee7551780 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -247,6 +247,7 @@ Groupby/resample/rolling
Reshaping
^^^^^^^^^
- Bug in :func:`concat` between a :class:`Series` with inte... | - [x] closes #44965
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45516 | 2022-01-21T04:32:01Z | 2022-01-28T02:21:00Z | 2022-01-28T02:21:00Z | 2022-03-02T01:13:02Z |
CI: parallel troubleshoot! | diff --git a/pandas/tests/io/parser/dtypes/__init__.py b/pandas/tests/io/parser/dtypes/__init__.py
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/pandas/tests/io/parser/dtypes/test_categorical.py b/pandas/tests/io/parser/dtypes/test_categorical.py
deleted file mode 100644
index 3b8c520004f12..... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45515 | 2022-01-21T04:14:09Z | 2022-01-21T19:38:59Z | null | 2022-01-21T19:39:08Z |
ENH: ExtensionEngine | diff --git a/pandas/_libs/index.pyi b/pandas/_libs/index.pyi
index 446a980487cde..86f2429575ebb 100644
--- a/pandas/_libs/index.pyi
+++ b/pandas/_libs/index.pyi
@@ -3,6 +3,7 @@ import numpy as np
from pandas._typing import npt
from pandas import MultiIndex
+from pandas.core.arrays import ExtensionArray
class Ind... | Follow-up on https://github.com/pandas-dev/pandas/pull/43930/
Avoid object-dtype cast.
Next/last PR in this sequence introduces NullableEngine. | https://api.github.com/repos/pandas-dev/pandas/pulls/45514 | 2022-01-20T21:19:54Z | 2022-01-25T17:31:24Z | 2022-01-25T17:31:24Z | 2022-01-31T13:01:14Z |
Test to datetime null to NaT | diff --git a/pandas/tests/tools/test_to_datetime.py b/pandas/tests/tools/test_to_datetime.py
index 5f8e0b4f70ec4..1e05603f704a7 100644
--- a/pandas/tests/tools/test_to_datetime.py
+++ b/pandas/tests/tools/test_to_datetime.py
@@ -1066,6 +1066,33 @@ def test_convert_object_to_datetime_with_cache(
)
tm.a... | - [x] closes #35888
- [x] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45512 | 2022-01-20T20:42:50Z | 2022-02-01T00:34:52Z | 2022-02-01T00:34:51Z | 2022-02-01T00:34:55Z |
on branch 1.4.x: follow up to #45450 and #45120 manual backports | diff --git a/ci/deps/actions-38.yaml b/ci/deps/actions-38.yaml
index 60db02def8a3d..b23f686d845e9 100644
--- a/ci/deps/actions-38.yaml
+++ b/ci/deps/actions-38.yaml
@@ -36,7 +36,7 @@ dependencies:
- psycopg2
- pymysql
- pytables
- - pyarrow
+ - pyarrow=3
- pyreadstat
- pyxlsb
- s3fs
diff --git a/ci/... | xref #45450 and #45464 | https://api.github.com/repos/pandas-dev/pandas/pulls/45511 | 2022-01-20T20:18:35Z | 2022-01-21T00:38:26Z | 2022-01-21T00:38:26Z | 2022-01-21T09:08:58Z |
Backport PR #45257 on branch 1.4.x (CI: Simplify GHA dependency files) | diff --git a/ci/deps/actions-39.yaml b/ci/deps/actions-39.yaml
index 0019360d39ec9..631ef40b02e33 100644
--- a/ci/deps/actions-39.yaml
+++ b/ci/deps/actions-39.yaml
@@ -4,37 +4,47 @@ channels:
dependencies:
- python=3.9
- # tools
- - cython>=0.29.24
+ # test dependencies
+ - cython=0.29.24
- pytest>=6.0
... | Backport PR #45257 | https://api.github.com/repos/pandas-dev/pandas/pulls/45510 | 2022-01-20T20:01:19Z | 2022-01-21T00:37:46Z | 2022-01-21T00:37:46Z | 2022-01-21T09:09:32Z |
TST: Add test inconsistency in group by (#44803) | diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py
index fb2b9f0632f0d..03c09112be1fe 100644
--- a/pandas/tests/groupby/test_groupby.py
+++ b/pandas/tests/groupby/test_groupby.py
@@ -32,6 +32,20 @@
from pandas.core.groupby.base import maybe_normalize_deprecated_kernels
+def te... | - [X] closes #44803
- [X] tests added / passed
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
| https://api.github.com/repos/pandas-dev/pandas/pulls/45509 | 2022-01-20T19:49:56Z | 2022-01-23T00:07:41Z | 2022-01-23T00:07:40Z | 2022-01-23T22:57:18Z |
Backport PR #45355 on branch 1.4.x (CI: Ensure GHA uses major versions of actions) | diff --git a/.github/workflows/asv-bot.yml b/.github/workflows/asv-bot.yml
index ad2e2b4278dd2..f3946aeb84a63 100644
--- a/.github/workflows/asv-bot.yml
+++ b/.github/workflows/asv-bot.yml
@@ -65,7 +65,7 @@ jobs:
echo 'EOF' >> $GITHUB_ENV
echo "REGEX=$REGEX" >> $GITHUB_ENV
- - uses: actions... | Backport PR #45355: CI: Ensure GHA uses major versions of actions | https://api.github.com/repos/pandas-dev/pandas/pulls/45508 | 2022-01-20T19:37:59Z | 2022-01-21T00:37:29Z | 2022-01-21T00:37:29Z | 2022-01-21T00:37:29Z |
CI: Troubleshoot | diff --git a/pandas/tests/io/parser/test_unsupported.py b/pandas/tests/io/parser/test_unsupported.py
index 0d383cc4bde8f..e223378b600e0 100644
--- a/pandas/tests/io/parser/test_unsupported.py
+++ b/pandas/tests/io/parser/test_unsupported.py
@@ -12,6 +12,7 @@
import pytest
+from pandas.compat import is_platform_win... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45507 | 2022-01-20T19:35:57Z | 2022-01-22T22:34:49Z | 2022-01-22T22:34:49Z | 2022-01-22T23:41:50Z |
TST: Add tests string series min max | diff --git a/pandas/tests/series/test_reductions.py b/pandas/tests/series/test_reductions.py
index 8fb51af70f3a0..151383ba18717 100644
--- a/pandas/tests/series/test_reductions.py
+++ b/pandas/tests/series/test_reductions.py
@@ -9,6 +9,14 @@
import pandas._testing as tm
+@pytest.mark.parametrize("operation, expect... | Add tests for max and min aggregation at string series
In line with #31746
- [X] closes #31746
- [X] tests added / passed
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
| https://api.github.com/repos/pandas-dev/pandas/pulls/45505 | 2022-01-20T19:10:58Z | 2022-01-23T00:07:04Z | 2022-01-23T00:07:04Z | 2022-01-23T22:40:57Z |
Backport PR #45204 on branch 1.4.x (CI: Use broader condition to maybe catch ResourceWarning from Matplotlib) | diff --git a/pandas/_testing/_warnings.py b/pandas/_testing/_warnings.py
index 44a62e607555e..f9443f80e585c 100644
--- a/pandas/_testing/_warnings.py
+++ b/pandas/_testing/_warnings.py
@@ -2,7 +2,7 @@
from contextlib import contextmanager
import re
-import subprocess
+import sys
from typing import (
Sequence,... | Backport PR #45204: CI: Use broader condition to maybe catch ResourceWarning from Matplotlib | https://api.github.com/repos/pandas-dev/pandas/pulls/45504 | 2022-01-20T18:48:29Z | 2022-01-20T21:36:03Z | 2022-01-20T21:36:03Z | 2022-01-20T21:36:03Z |
BLD: Fix pydata-sphix-theme version GH45374 | diff --git a/environment.yml b/environment.yml
index 15dd329f80deb..9b8eec70a30e0 100644
--- a/environment.yml
+++ b/environment.yml
@@ -120,6 +120,6 @@ dependencies:
- tabulate>=0.8.3 # DataFrame.to_markdown
- natsort # DataFrame.sort_values
- pip:
- - git+https://github.com/pydata/pydata-sphinx-theme.gi... | - [x] closes #45374
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45503 | 2022-01-20T18:30:51Z | 2022-01-23T02:30:15Z | 2022-01-23T02:30:14Z | 2022-01-25T13:04:59Z |
Backport PR #45496 on branch 1.4.x (BUG: allow DBAPI2 object #45416) | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index f7fdc47afa8d1..8694e7ff62118 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -742,6 +742,7 @@ def pandasSQL_builder(con, schema: str | None = None):
provided parameters.
"""
import sqlite3
+ import warnings
if isinstance(con, sqlite... | Backport PR #45496: BUG: allow DBAPI2 object #45416 | https://api.github.com/repos/pandas-dev/pandas/pulls/45502 | 2022-01-20T18:22:05Z | 2022-01-20T20:27:31Z | 2022-01-20T20:27:31Z | 2022-01-20T20:27:31Z |
REF: mask values in loc.__setitem__ with bool indexer | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 5f9bc142c5836..4a251ae0d93da 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -53,6 +53,7 @@
is_empty_indexer,
is_exact_shape_match,
is_list_like_indexer,
+ is_scalar_indexer,
length_of_indexer,
)
from pan... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
The motivation here is the 1-line change in Block.setitem, which will enable us to sha... | https://api.github.com/repos/pandas-dev/pandas/pulls/45501 | 2022-01-20T18:09:48Z | 2022-01-31T00:19:28Z | 2022-01-31T00:19:28Z | 2022-01-31T00:21:26Z |
CI/TST: Disable tests/window/moments for Azure timeouts | diff --git a/ci/deps/azure-windows-310.yaml b/ci/deps/azure-windows-310.yaml
index 8e6f4deef6057..28f8ebfb3b726 100644
--- a/ci/deps/azure-windows-310.yaml
+++ b/ci/deps/azure-windows-310.yaml
@@ -8,7 +8,7 @@ dependencies:
# tools
- cython>=0.29.24
- pytest>=6.0
- - pytest-xdist>=1.31
+ - pytest-xdist=2.4.0
... | - [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
My hypothesis (so far) why Azure is timing out is because `pandas/tests/window/moments` tests are hanging on the teardown step. ... | https://api.github.com/repos/pandas-dev/pandas/pulls/45500 | 2022-01-20T17:58:32Z | 2022-01-20T22:55:43Z | null | 2022-01-20T22:55:57Z |
BUG: Adds newline after info() call on empty dataframe | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 1ae76984484af..3a8bbf420da1a 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -227,7 +227,7 @@ MultiIndex
I/O
^^^
- Bug in :meth:`DataFrame.to_stata` where no error is raised if the :class:`DataFrame... | - [ ] closes #45494
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
This fix improves the formatting of the output of pd.DataFrame.info() when called on... | https://api.github.com/repos/pandas-dev/pandas/pulls/45498 | 2022-01-20T16:07:41Z | 2022-01-22T00:40:54Z | 2022-01-22T00:40:53Z | 2022-01-22T00:40:57Z |
BUG: allow DBAPI2 object #45416 | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index b723eea334e84..fcb3f5177ae3f 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -731,6 +731,7 @@ def pandasSQL_builder(con, schema: str | None = None):
provided parameters.
"""
import sqlite3
+ import warnings
if isinstance(con, sqlite... | - [x] closes #45416
| https://api.github.com/repos/pandas-dev/pandas/pulls/45496 | 2022-01-20T15:44:02Z | 2022-01-20T18:21:24Z | 2022-01-20T18:21:24Z | 2022-01-20T18:40:39Z |
Backport PR #45408 on branch 1.4.x (DOC: Clean up redirects & dead links) | diff --git a/doc/source/development/code_style.rst b/doc/source/development/code_style.rst
index 77c8d56765e5e..7bbfc010fbfb2 100644
--- a/doc/source/development/code_style.rst
+++ b/doc/source/development/code_style.rst
@@ -28,7 +28,7 @@ Testing
Failing tests
--------------
-See https://docs.pytest.org/en/latest/s... | Backport PR #45408 | https://api.github.com/repos/pandas-dev/pandas/pulls/45492 | 2022-01-20T14:25:35Z | 2022-01-20T18:22:25Z | 2022-01-20T18:22:25Z | 2022-01-20T19:20:43Z |
Backport PR #45451 on branch 1.4.x (Add back __array_wrap__ for dask compatibility) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 8a08ee68fa577..cca8ed9789518 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2071,6 +2071,41 @@ def empty(self) -> bool_t:
def __array__(self, dtype: npt.DTypeLike | None = None) -> np.ndarray:
return np.asarray(self._... | Backport PR #45451: Add back __array_wrap__ for dask compatibility | https://api.github.com/repos/pandas-dev/pandas/pulls/45491 | 2022-01-20T13:47:07Z | 2022-01-20T15:26:40Z | 2022-01-20T15:26:40Z | 2022-01-20T15:26:40Z |
Bug tojson memleak | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 327432de0a3f7..363d4b57544a9 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -966,6 +966,7 @@ I/O
- Bug in :func:`read_json` raising ``ValueError`` when attempting to parse json strings containing ":/... | - [x] closes #43877
- [x] tests passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Fix memory leak when calling `to_json` appeared in 1.1.0. From these [changes](https://github... | https://api.github.com/repos/pandas-dev/pandas/pulls/45489 | 2022-01-20T11:23:06Z | 2022-01-22T01:23:08Z | 2022-01-22T01:23:07Z | 2022-01-22T23:15:24Z |
CI: Migrate Windows to GHA | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index 7141b02cac376..a54e841535b78 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -16,6 +16,7 @@ env:
jobs:
pre_commit:
+ if: false
name: pre-commit
runs-on: ubuntu-latest
... | Alternative to https://github.com/pandas-dev/pandas/pull/45478 but on Github Actions
| https://api.github.com/repos/pandas-dev/pandas/pulls/45487 | 2022-01-20T07:41:06Z | 2022-01-23T03:28:56Z | null | 2022-01-23T03:28:58Z |
DOC: Update import statement | diff --git a/pandas/tseries/holiday.py b/pandas/tseries/holiday.py
index 10b09cbc34443..365406617ab46 100644
--- a/pandas/tseries/holiday.py
+++ b/pandas/tseries/holiday.py
@@ -177,35 +177,37 @@ class from pandas.tseries.offsets
Examples
--------
- >>> from pandas.tseries.holiday import Holid... | Corrected Conventional import statements
- [x] xref https://github.com/pandas-dev/pandas/issues/21749
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45485 | 2022-01-20T06:33:49Z | 2022-01-21T22:24:43Z | 2022-01-21T22:24:43Z | 2022-01-21T22:24:47Z |
BUG: IntervalArray.__setitem__ with nan raise TypeError, not ValueError | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 1ae76984484af..c8b87519cc335 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -203,7 +203,7 @@ Strings
Interval
^^^^^^^^
--
+- Bug in :meth:`IntervalArray.__setitem__` when setting ``np.nan`` into a... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45484 | 2022-01-20T04:38:10Z | 2022-01-22T00:19:39Z | 2022-01-22T00:19:39Z | 2022-01-22T00:59:51Z |
Rename to main | diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst
index 0596687b4d15e..0a891a4c6d2d7 100644
--- a/doc/source/getting_started/comparison/comparison_with_sql.rst
+++ b/doc/source/getting_started/comparison/comparison_with_sql.rst
@@ ... | - [ ] see #39577
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45483 | 2022-01-20T04:02:10Z | 2022-01-21T21:41:09Z | 2022-01-21T21:41:09Z | 2022-01-21T21:41:54Z |
CI: troubleshoot timeouts | diff --git a/pandas/tests/io/test_clipboard.py b/pandas/tests/io/test_clipboard.py
deleted file mode 100644
index 40b2eb1f4114b..0000000000000
--- a/pandas/tests/io/test_clipboard.py
+++ /dev/null
@@ -1,313 +0,0 @@
-from textwrap import dedent
-
-import numpy as np
-import pytest
-
-from pandas import (
- DataFrame,... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45482 | 2022-01-20T02:28:10Z | 2022-01-20T17:41:36Z | null | 2022-01-20T17:43:57Z |
closes #44914 by changing the path object to string if it is of io.BufferWriter | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index fa19a49b7ff45..5c36bd83adcce 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -232,6 +232,8 @@ I/O
^^^
- Bug in :meth:`DataFrame.to_stata` where no error is raised if the :class:`DataFrame` contains `... | Changes the path object in to_parquet to string type if it is io.BufferWriter type. PyArrow does not remove the partial file on disk if the path is not string type.
- [x] closes #44914
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/... | https://api.github.com/repos/pandas-dev/pandas/pulls/45480 | 2022-01-20T00:00:45Z | 2022-01-23T00:21:23Z | 2022-01-23T00:21:22Z | 2022-01-23T16:35:15Z |
BUG: ser.loc[range] = foo treating key as positional | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 4e73ea348dfde..270a58c33cb8a 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -261,6 +261,7 @@ Indexing
- Bug in :meth:`DataFrame.iloc` where indexing a single row on a :class:`DataFrame` with a single... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45479 | 2022-01-19T23:22:18Z | 2022-01-27T00:39:19Z | 2022-01-27T00:39:19Z | 2022-01-27T02:18:02Z |
CI: Align Azure & GHA dependencies | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 1e2556f521225..21cb5bac25be8 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -18,18 +18,19 @@ pr:
variables:
PYTEST_WORKERS: auto
PYTEST_TARGET: pandas
+ PATTERN: "not slow and not high_memory and not db and not network"
+ PANDAS_CI: 1... | Progress toward https://github.com/pandas-dev/pandas/issues/29685
* Share same dependency files between Azure and GHA
* Bump Windows and macOS images to latest
* Don't split Azure jobs by increasing timeout beyond 1 hour
Discoveries:
* Windows and psutil in a multiprocess environment don't play nice
* Anythin... | https://api.github.com/repos/pandas-dev/pandas/pulls/45478 | 2022-01-19T21:56:59Z | 2022-02-07T21:38:44Z | null | 2022-02-07T21:38:47Z |
CI: Don't run DataManager/Azure tests on only doc/ dir changes | diff --git a/.github/workflows/datamanger.yml b/.github/workflows/datamanger.yml
index 3fc515883a225..e796c536688b1 100644
--- a/.github/workflows/datamanger.yml
+++ b/.github/workflows/datamanger.yml
@@ -9,6 +9,8 @@ on:
branches:
- main
- 1.4.x
+ paths-ignore:
+ - "doc/**"
env:
ENV_FIL... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/45477 | 2022-01-19T21:13:42Z | 2022-01-23T03:26:47Z | 2022-01-23T03:26:47Z | 2022-01-23T03:26:49Z |
REF: merge_asof dont use values_for_argsort | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 9690efb57e87b..d2d844c05dc71 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -76,6 +76,7 @@
from pandas.core import groupby
import pandas.core.algorithms as algos
from pandas.core.arrays import ExtensionArr... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
cc @mroeschke @jreback
Original motivation here was to remove an anti-pattern usage ... | https://api.github.com/repos/pandas-dev/pandas/pulls/45475 | 2022-01-19T20:35:19Z | 2022-01-25T17:31:06Z | 2022-01-25T17:31:06Z | 2022-01-25T19:29:28Z |
Backport PR #45283 on branch 1.4.x (BUG: do not replace all nulls with "NaN"-string in Series index) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 485ad4cedcacb..bb93ce1a12b2a 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -1050,6 +1050,7 @@ Other
- Bug in :meth:`Series.replace` raising ``ValueError`` when using ``regex=True`` with a :class:`Se... | Backport PR #45283: BUG: do not replace all nulls with "NaN"-string in Series index | https://api.github.com/repos/pandas-dev/pandas/pulls/45473 | 2022-01-19T14:08:00Z | 2022-01-19T18:04:53Z | 2022-01-19T18:04:53Z | 2022-01-19T18:04:54Z |
Small doc fix to `usecols` argument | diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py
index bf2d6f0b27e41..f159228b94545 100644
--- a/pandas/io/excel/_base.py
+++ b/pandas/io/excel/_base.py
@@ -119,12 +119,13 @@
those columns will be combined into a ``MultiIndex``. If a
subset of data is selected with ``usecols``, index_col
... | Very minor doc changes for `pd.read_excel` argument `usecols`. Remove int option from list (c.f. #29795) and clarify 0-indexing.
| https://api.github.com/repos/pandas-dev/pandas/pulls/45471 | 2022-01-19T09:27:09Z | 2022-01-19T23:50:38Z | 2022-01-19T23:50:38Z | 2022-01-19T23:50:45Z |
CI/TST: xfail(strict=False) s3 networking tests | diff --git a/pandas/tests/io/json/test_compression.py b/pandas/tests/io/json/test_compression.py
index a752c93a8046a..9ca49b8880929 100644
--- a/pandas/tests/io/json/test_compression.py
+++ b/pandas/tests/io/json/test_compression.py
@@ -38,6 +38,11 @@ def test_read_zipped_json(datapath):
@td.skip_if_not_us_locale
... | Band-aid for https://github.com/pandas-dev/pandas/issues/45433 to ensure more CI stability before https://github.com/pandas-dev/pandas/issues/44584 or alternative is implemented
cc @jbrockmendel | https://api.github.com/repos/pandas-dev/pandas/pulls/45466 | 2022-01-19T01:53:36Z | 2022-01-19T05:54:13Z | 2022-01-19T05:54:13Z | 2022-01-19T05:54:16Z |
BUG: Boxplots ignore xlabel and boxplot() doesn't support horizontal layout | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index aa519d2053d55..4e73ea348dfde 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -291,6 +291,9 @@ Period
Plotting
^^^^^^^^
- Bug in :meth:`DataFrame.plot.barh` that prevented labeling the x-axis and ``x... | - [X] closes #36918 and closes #45463
- [X] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45465 | 2022-01-19T00:55:35Z | 2022-01-24T21:29:53Z | 2022-01-24T21:29:53Z | 2022-01-24T22:56:07Z |
Backport PR #45120: CI: Migrate Python 3.10 testing to Posix GHA/Azure Pipelines | diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml
index b8b85201982d2..f7600a712922d 100644
--- a/.github/workflows/posix.yml
+++ b/.github/workflows/posix.yml
@@ -28,14 +28,16 @@ jobs:
[actions-38-downstream_compat.yaml, "not slow and not network and not clipboard", "", "", "", "", ""],... | Backport PR #45120
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Also backport #45257 & #45323 since this PR sits on top of them ... | https://api.github.com/repos/pandas-dev/pandas/pulls/45464 | 2022-01-19T00:55:18Z | 2022-01-19T14:22:30Z | 2022-01-19T14:22:30Z | 2022-01-20T20:17:47Z |
BUG: Series[bool].__setitem__(BooleanArray) | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0c3ad0f7d8d21..706821afeb237 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -216,6 +216,7 @@ Indexing
- Bug in :meth:`DataFrame.iloc` where indexing a single row on a :class:`DataFrame` with a single... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45462 | 2022-01-19T00:03:45Z | 2022-01-23T19:44:31Z | 2022-01-23T19:44:31Z | 2022-01-23T20:57:27Z |
CI: bump type checker versions | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index 7141b02cac376..8a74ae14404b3 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -74,7 +74,7 @@ jobs:
- name: Install pyright
# note: keep version in sync with .pre-commit-config.... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/45461 | 2022-01-18T23:30:58Z | 2022-01-22T17:06:33Z | 2022-01-22T17:06:32Z | 2022-03-09T02:56:20Z |
Backport PR #45370 on branch 1.4.x (DOC: add version dropdown to the online doc site) | diff --git a/doc/source/conf.py b/doc/source/conf.py
index ea878f052f1f8..e8cd85e3369f7 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -225,11 +225,24 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# do... | Backport PR #45370: DOC: add version dropdown to the online doc site | https://api.github.com/repos/pandas-dev/pandas/pulls/45460 | 2022-01-18T23:11:21Z | 2022-01-19T01:07:48Z | 2022-01-19T01:07:48Z | 2022-01-19T01:07:48Z |
CI/DOC: Fix docbuild link warnings (1.4.x manual backport) | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index b7b9cb9ac3aed..f72145475e5a4 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -490,8 +490,7 @@ Writing tests
All tests should go ... | Performing this manually since there were some recent changes to `doc/source/ecosystem.rst` and `doc/source/user_guide/cookbook.rst` that were not backported
| https://api.github.com/repos/pandas-dev/pandas/pulls/45458 | 2022-01-18T22:36:25Z | 2022-01-18T23:10:16Z | 2022-01-18T23:10:16Z | 2022-01-20T14:28:49Z |
DOC: Update 10min.rst (removes superfluous indirection in zip-statement.) | diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst
index 494d5308b284c..9ccf191194e19 100644
--- a/doc/source/user_guide/10min.rst
+++ b/doc/source/user_guide/10min.rst
@@ -554,10 +554,8 @@ Stack
tuples = list(
zip(
- *[
- ["bar", "bar", "baz", "baz", "f... | removes superfluous indirection in zip-statement.
(was: #45445)
| https://api.github.com/repos/pandas-dev/pandas/pulls/45457 | 2022-01-18T22:20:39Z | 2022-01-19T17:32:58Z | 2022-01-19T17:32:58Z | 2022-01-19T17:33:12Z |
CI/DOC: Fix docbuild link warnings | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index d3e48ba0deaee..4826921d4866b 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -490,8 +490,7 @@ Writing tests
All tests should go ... | Showing up in recent builds
```
/home/runner/work/pandas/pandas/doc/source/user_guide/advanced.rst:1263: WARNING: hardcoded link 'https://github.com/pandas-dev/pandas/issues/2388' could be replaced by an extlink (try using ':issue:`2388`' instead)
/home/runner/work/pandas/pandas/doc/source/user_guide/cookbook.rst:... | https://api.github.com/repos/pandas-dev/pandas/pulls/45456 | 2022-01-18T20:45:26Z | 2022-01-18T23:01:10Z | 2022-01-18T23:01:10Z | 2022-01-20T14:23:17Z |
DOC: Added info on dict of Series with copy=False solution | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d08c59338af9e..1075111996848 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -491,6 +491,8 @@ class DataFrame(NDFrame, OpsMixin):
Copy data from inputs.
For dict data, the default of None behaves like ``copy=True``. For Da... | - [ ] closes #9216
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45455 | 2022-01-18T19:40:42Z | 2022-01-24T17:32:29Z | 2022-01-24T17:32:29Z | 2022-01-24T17:32:40Z |
CI: py38 builds | diff --git a/pandas/tests/extension/json/array.py b/pandas/tests/extension/json/array.py
index 538ca83667ef5..2ce242baf2e5e 100644
--- a/pandas/tests/extension/json/array.py
+++ b/pandas/tests/extension/json/array.py
@@ -145,6 +145,9 @@ def __ne__(self, other):
def __array__(self, dtype=None):
if dtype is... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45454 | 2022-01-18T18:44:14Z | 2022-01-18T23:13:26Z | 2022-01-18T23:13:26Z | 2022-01-18T23:15:23Z |
REF: move np_can_hold_element to mgr method | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d08c59338af9e..88b848f34fbe5 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -93,7 +93,6 @@
)
from pandas.core.dtypes.cast import (
- can_hold_element,
construct_1d_arraylike_from_scalar,
construct_2d_arraylike_from_scalar,
... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Yak shaving towards code-sharing. | https://api.github.com/repos/pandas-dev/pandas/pulls/45453 | 2022-01-18T18:35:16Z | 2022-01-19T02:42:02Z | 2022-01-19T02:42:02Z | 2022-02-08T19:59:51Z |
Add back __array_wrap__ for dask compatibility | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index eb6f399c8d223..b8a7864a3a7e0 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2052,6 +2052,41 @@ def empty(self) -> bool_t:
def __array__(self, dtype: npt.DTypeLike | None = None) -> np.ndarray:
return np.asarray(self._... | xref https://github.com/pandas-dev/pandas/pull/44006/files#r786627658 | https://api.github.com/repos/pandas-dev/pandas/pulls/45451 | 2022-01-18T16:13:49Z | 2022-01-20T13:46:32Z | 2022-01-20T13:46:32Z | 2022-01-21T12:12:35Z |
Backport PR #45364 on branch 1.4.x (CI/TST: update pyarrow pin in windows-3.8 env / fix failing parquet test on windows) | diff --git a/ci/deps/actions-38-locale.yaml b/ci/deps/actions-38-locale.yaml
index ef2288e2a24a6..9053bc677eb4e 100644
--- a/ci/deps/actions-38-locale.yaml
+++ b/ci/deps/actions-38-locale.yaml
@@ -32,5 +32,5 @@ dependencies:
- xlrd
- xlsxwriter
- xlwt
- - pyarrow=1.0.1
+ - pyarrow=4
- pyxlsb
diff --git a/... | Manual backport of https://github.com/pandas-dev/pandas/pull/45364 | https://api.github.com/repos/pandas-dev/pandas/pulls/45450 | 2022-01-18T15:41:19Z | 2022-01-18T20:23:12Z | 2022-01-18T20:23:12Z | 2022-01-18T20:23:17Z |
DEPR: undo deprecation of astype(int64) for datetimelike values | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index ed66861efad93..a392aeb5274c2 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -811,7 +811,7 @@ Other Deprecations
- Deprecated allowing scalars to be passed to the :class:`Categorical` constructor (:is... | Closes #45034 | https://api.github.com/repos/pandas-dev/pandas/pulls/45449 | 2022-01-18T14:09:21Z | 2022-01-20T13:42:16Z | 2022-01-20T13:42:16Z | 2022-01-21T11:20:45Z |
Backport PR #45426 on branch 1.4.x (BENCH: Fix ASV branch to main) | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 9ad856d5d03ed..daf2834c50d6a 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -13,6 +13,10 @@
// benchmarked
"repo": "..",
+ // List of branches to benchmark. If not provided, defaults to "master"
+ // (for git) ... | Backport PR #45426: BENCH: Fix ASV branch to main | https://api.github.com/repos/pandas-dev/pandas/pulls/45447 | 2022-01-18T13:27:18Z | 2022-01-18T18:25:17Z | 2022-01-18T18:25:17Z | 2022-01-18T18:25:17Z |
Backport PR #45432 on branch 1.4.x (REGR: DataFrame(dict) missing columns should not be views) | diff --git a/pandas/core/internals/construction.py b/pandas/core/internals/construction.py
index 532309dfc40b3..d14db58540a05 100644
--- a/pandas/core/internals/construction.py
+++ b/pandas/core/internals/construction.py
@@ -466,7 +466,13 @@ def dict_to_mgr(
# GH#1783
nan_dtype = np.dt... | Backport PR #45432: REGR: DataFrame(dict) missing columns should not be views | https://api.github.com/repos/pandas-dev/pandas/pulls/45446 | 2022-01-18T13:27:03Z | 2022-01-18T18:25:02Z | 2022-01-18T18:25:02Z | 2022-01-18T18:25:03Z |
DOC: Update 10min.rst (removes superfluous indirection in zip-statement.) | diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst
index 494d5308b284c..25edb512ade3c 100644
--- a/doc/source/user_guide/10min.rst
+++ b/doc/source/user_guide/10min.rst
@@ -554,10 +554,8 @@ Stack
tuples = list(
zip(
- *[
- ["bar", "bar", "baz", "baz", "f... | removes superfluous indirection in zip-statement. | https://api.github.com/repos/pandas-dev/pandas/pulls/45445 | 2022-01-18T12:53:40Z | 2022-01-18T22:21:08Z | null | 2022-01-18T22:23:33Z |
CI: xfail json test on py38 mac build | diff --git a/pandas/tests/extension/json/test_json.py b/pandas/tests/extension/json/test_json.py
index d530a75b74c8f..de325e95c3f21 100644
--- a/pandas/tests/extension/json/test_json.py
+++ b/pandas/tests/extension/json/test_json.py
@@ -3,6 +3,12 @@
import pytest
+from pandas.compat import (
+ PY39,
+ is_pla... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45441 | 2022-01-18T04:31:56Z | 2022-01-18T05:44:43Z | null | 2022-01-18T16:23:02Z |
REF: remove Block.putmask fallback to where | diff --git a/pandas/core/array_algos/putmask.py b/pandas/core/array_algos/putmask.py
index 24a0f83dbb313..daf7d0bd3f213 100644
--- a/pandas/core/array_algos/putmask.py
+++ b/pandas/core/array_algos/putmask.py
@@ -126,6 +126,8 @@ def putmask_without_repeat(
mask : np.ndarray[bool]
new : Any
"""
+ new =... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Works locally, curious to see how it fares on other builds. | https://api.github.com/repos/pandas-dev/pandas/pulls/45440 | 2022-01-18T04:23:52Z | 2022-01-22T00:35:26Z | 2022-01-22T00:35:26Z | 2022-01-22T00:46:08Z |
compat: catch dateutil ParserError | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 9d7e07df871d1..141a609e86809 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -20,6 +20,7 @@
)
import warnings
+from dateutil.parser import ParserError
import numpy as np
from pandas._libs import lib
@@ -1336,9... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Giving this another shot. | https://api.github.com/repos/pandas-dev/pandas/pulls/45438 | 2022-01-18T03:17:20Z | 2022-01-19T02:39:43Z | 2022-01-19T02:39:43Z | 2022-01-19T02:40:58Z |
CI: Don't split slow vs non slow jobs for GHA posix | diff --git a/.github/workflows/datamanger.yml b/.github/workflows/datamanger.yml
index e796c536688b1..4ca92a7adcc52 100644
--- a/.github/workflows/datamanger.yml
+++ b/.github/workflows/datamanger.yml
@@ -28,12 +28,9 @@ jobs:
AWS_SECRET_ACCESS_KEY: foobar_secret
ports:
- 5000:5000
- st... | Since GHA has a 6 hour job limit, and it appears that slow jobs take ~25 mins and non-slow jobs take ~35 minutes, it shouldn't be necessary to split these anymore.
Helps reduce the number of builds so more can run concurrently. | https://api.github.com/repos/pandas-dev/pandas/pulls/45437 | 2022-01-18T02:56:31Z | 2022-01-25T18:29:03Z | 2022-01-25T18:29:03Z | 2022-01-25T18:30:04Z |
CI: Set Azure job timeouts to max limit and don't split | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index 7141b02cac376..40aa5b4169fd0 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -16,6 +16,7 @@ env:
jobs:
pre_commit:
+ if: false
name: pre-commit
runs-on: ubuntu-latest
... | Bumps the Azure job limits from 1 hour to 6 hours and unsplits the jobs (due to the time constraints originally). https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml&viewFallbackFrom=vsts#timeouts
Hopefully this is also enough time for the timeouts we've been seeing in... | https://api.github.com/repos/pandas-dev/pandas/pulls/45436 | 2022-01-18T02:34:50Z | 2022-01-19T21:25:19Z | null | 2022-01-19T21:25:32Z |
CI: Move Windows OS tests to GHA | diff --git a/.github/workflows/datamanger.yml b/.github/workflows/datamanger.yml
index 3fc515883a225..fa66e516723f1 100644
--- a/.github/workflows/datamanger.yml
+++ b/.github/workflows/datamanger.yml
@@ -16,6 +16,7 @@ env:
jobs:
data_manager:
+ if: false
name: Test experimental data manager
runs-on:... | To hopefully address the annoying timeouts in Windows tests on Azure, moving these tests to GHA.
Azure has a timeout limit of 1 hour: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#server-jobs
GHA has a timeout limit of 6 hours (among other things): https://docs... | https://api.github.com/repos/pandas-dev/pandas/pulls/45435 | 2022-01-18T01:58:11Z | 2022-01-18T02:18:44Z | null | 2022-01-19T01:22:58Z |
PERF: MaskedArray._values_for_argsort | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index c16c404d56295..ebff9bb306afe 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -628,6 +628,16 @@ def _values_for_argsort(self) -> np.ndarray:
See Also
--------
ExtensionArray.argsort : Return ... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Avoid making copies. | https://api.github.com/repos/pandas-dev/pandas/pulls/45434 | 2022-01-17T23:36:03Z | 2022-01-22T00:23:19Z | 2022-01-22T00:23:19Z | 2022-01-22T00:33:26Z |
REGR: DataFrame(dict) missing columns should not be views | diff --git a/pandas/core/internals/construction.py b/pandas/core/internals/construction.py
index 4bec30cad22cc..03016371dd553 100644
--- a/pandas/core/internals/construction.py
+++ b/pandas/core/internals/construction.py
@@ -464,7 +464,13 @@ def dict_to_mgr(
# GH#1783
nan_dtype = np.dt... | - [x] closes #45369
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45432 | 2022-01-17T21:57:48Z | 2022-01-18T13:25:46Z | 2022-01-18T13:25:45Z | 2022-01-18T15:44:42Z |
BUG: setting pd.NA into Series casts to object | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 1ae76984484af..6b398c88f96f3 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -212,6 +212,7 @@ Indexing
- Bug in :meth:`DataFrame.iloc` where indexing a single row on a :class:`DataFrame` with a single... | - [x] closes #44199
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Example
```
ser = pd.Series([0.0, 1.0])
ser[0] = pd.NA
>>> ser.dtype
dtype('O') ... | https://api.github.com/repos/pandas-dev/pandas/pulls/45431 | 2022-01-17T21:26:53Z | 2022-01-22T00:20:57Z | 2022-01-22T00:20:57Z | 2022-01-22T00:55:40Z |
PEP 561 | diff --git a/setup.cfg b/setup.cfg
index 9deebb835eff7..e2522840b4f77 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -52,7 +52,7 @@ test =
pytest-xdist>=1.31
[options.package_data]
-* = templates/*, _libs/**/*.dll
+* = templates/*, _libs/**/*.dll, py.typed
[build_ext]
inplace = True
| According to PEP 561, we just need to add this file to mark the lib as typed.
I don't know if all the lib is typed, maybe we also need to do that before merging.
- [ ] tests passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre... | https://api.github.com/repos/pandas-dev/pandas/pulls/45430 | 2022-01-17T21:18:28Z | 2022-01-17T22:36:32Z | null | 2022-01-17T22:36:32Z |
CI: py38 builds | diff --git a/pandas/core/arrays/masked.py b/pandas/core/arrays/masked.py
index 57934338cbb7b..b6c492aa45038 100644
--- a/pandas/core/arrays/masked.py
+++ b/pandas/core/arrays/masked.py
@@ -257,7 +257,9 @@ def _validate_setitem_value(self, value):
return value
# TODO: unsigned checks
- ... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45429 | 2022-01-17T20:23:49Z | 2022-01-17T23:58:23Z | 2022-01-17T23:58:23Z | 2022-01-18T00:00:05Z |
ENH: Add numba engine to groupby.min/max | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b259f182a1197..ecddaaf752a5d 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -34,6 +34,7 @@ Other enhancements
- :class:`StringArray` now accepts array-likes containing nan-likes (``None``, ``np.nan``... | - [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45428 | 2022-01-17T19:57:29Z | 2022-01-22T00:24:02Z | 2022-01-22T00:24:02Z | 2022-01-22T03:45:26Z |
BENCH: Fix ASV branch to main | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 9ad856d5d03ed..daf2834c50d6a 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -13,6 +13,10 @@
// benchmarked
"repo": "..",
+ // List of branches to benchmark. If not provided, defaults to "master"
+ // (for git) ... | Needed post main renaming to run `asv run ...`
| https://api.github.com/repos/pandas-dev/pandas/pulls/45426 | 2022-01-17T19:34:10Z | 2022-01-18T13:26:06Z | 2022-01-18T13:26:06Z | 2022-01-18T17:19:40Z |
REF: share EABackedBlock.fillna | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index ef1cd92a60540..60bb6851e4d19 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -1488,6 +1488,40 @@ def putmask(self, mask, new) -> list[Block]:
return [self]
+ def fillna(
+ se... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45425 | 2022-01-17T19:23:15Z | 2022-01-22T00:14:51Z | 2022-01-22T00:14:51Z | 2022-01-22T00:59:25Z |
BUG: accept strings in FloatingArray._from_sequence | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0c3ad0f7d8d21..4aaf9c68ee647 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -198,6 +198,7 @@ Conversion
- Bug in constructing a :class:`Series` from a float-containing list or a floating-dtype ndarra... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Makes FloatingArray behavior match IntegerArray. After this we can refactor to share ... | https://api.github.com/repos/pandas-dev/pandas/pulls/45424 | 2022-01-17T19:10:43Z | 2022-01-23T19:44:14Z | 2022-01-23T19:44:14Z | 2022-01-23T19:45:42Z |
DEPR: Index.is_monotonic for Index.is_monotonic_increasing | diff --git a/asv_bench/benchmarks/index_cached_properties.py b/asv_bench/benchmarks/index_cached_properties.py
index 16fbc741775e4..1020d07e5a716 100644
--- a/asv_bench/benchmarks/index_cached_properties.py
+++ b/asv_bench/benchmarks/index_cached_properties.py
@@ -56,9 +56,6 @@ def time_values(self, index_type):
d... | - [x] closes #21335
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45422 | 2022-01-17T18:27:07Z | 2022-01-23T00:22:58Z | 2022-01-23T00:22:57Z | 2022-01-23T03:14:32Z |
BUG: BooleanArray+pd.NA altering array inplace | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b259f182a1197..1ae76984484af 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -185,7 +185,7 @@ Timezones
Numeric
^^^^^^^
--
+- Bug in operations with array-likes with ``dtype="boolean"`` and :attr:`... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45421 | 2022-01-17T17:34:25Z | 2022-01-19T07:49:54Z | 2022-01-19T07:49:54Z | 2022-01-19T16:26:30Z |
REF: share BooleanArray.astype+NumericArray.astype | diff --git a/pandas/core/arrays/boolean.py b/pandas/core/arrays/boolean.py
index b5c32f7dbdda1..f05f99b5764d5 100644
--- a/pandas/core/arrays/boolean.py
+++ b/pandas/core/arrays/boolean.py
@@ -1,10 +1,7 @@
from __future__ import annotations
import numbers
-from typing import (
- TYPE_CHECKING,
- overload,
-)
... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45420 | 2022-01-17T17:08:53Z | 2022-01-23T02:12:07Z | 2022-01-23T02:12:07Z | 2022-01-23T05:04:05Z |
CLN: remove _from_mgr (no longer used after GH-45363) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 9b713e626ad24..eb6f399c8d223 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -285,22 +285,6 @@ def _init_mgr(
mgr = mgr.astype(dtype=dtype)
return mgr
- @classmethod
- def _from_mgr(cls, mgr: Manager... | One part of the follow-up to https://github.com/pandas-dev/pandas/pull/45363
This one doesn't necessarily need to be backported to 1.4 | https://api.github.com/repos/pandas-dev/pandas/pulls/45415 | 2022-01-17T09:33:34Z | 2022-01-19T02:44:21Z | 2022-01-19T02:44:21Z | 2022-01-19T07:06:49Z |
ENH: Add dtypes/converters arguments for pandas.read_xml | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b32416418a39f..c20369181c4ac 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -88,6 +88,48 @@ Optional libraries below the lowest tested version may still work, but are not c
See :ref:`install.depend... | - [X] closes #43567
- [X] tests added / passed
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/45411 | 2022-01-17T05:06:42Z | 2022-01-23T19:46:27Z | 2022-01-23T19:46:27Z | 2022-01-23T23:17:34Z |
CLN: remove sqlalchemy<14 compat | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index f7fdc47afa8d1..b723eea334e84 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -46,7 +46,6 @@
from pandas.core.base import PandasObject
import pandas.core.common as com
from pandas.core.tools.datetimes import to_datetime
-from pandas.util.version import Ve... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/45410 | 2022-01-17T04:55:23Z | 2022-01-19T18:38:00Z | 2022-01-19T18:38:00Z | 2022-11-18T02:20:05Z |
DOC: Clean up redirects & dead links | diff --git a/doc/source/development/code_style.rst b/doc/source/development/code_style.rst
index 77c8d56765e5e..7bbfc010fbfb2 100644
--- a/doc/source/development/code_style.rst
+++ b/doc/source/development/code_style.rst
@@ -28,7 +28,7 @@ Testing
Failing tests
--------------
-See https://docs.pytest.org/en/latest/s... | Ran `sphinx-build -b linkcheck` and fixed some redirects and dead links
| https://api.github.com/repos/pandas-dev/pandas/pulls/45408 | 2022-01-17T01:27:04Z | 2022-01-17T13:43:59Z | 2022-01-17T13:43:59Z | 2022-01-20T14:27:28Z |
STYLE: use option_context almost always | diff --git a/pandas/tests/indexes/multi/test_formats.py b/pandas/tests/indexes/multi/test_formats.py
index a6dadd42f7bf0..f71472b726fa2 100644
--- a/pandas/tests/indexes/multi/test_formats.py
+++ b/pandas/tests/indexes/multi/test_formats.py
@@ -8,7 +8,6 @@
Index,
MultiIndex,
)
-import pandas._testing as tm
... | Replaces `set_option` except when this function is directly tested.
Happy to revisit/revise if I missed anything. Thanks!
- [x] closes #38813
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) fo... | https://api.github.com/repos/pandas-dev/pandas/pulls/45407 | 2022-01-17T01:21:35Z | 2022-01-17T13:44:27Z | 2022-01-17T13:44:27Z | 2022-01-17T13:44:27Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.