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 |
|---|---|---|---|---|---|---|---|
TYP: fix small typo in aggregations.pyx | diff --git a/pandas/_libs/window/aggregations.pyx b/pandas/_libs/window/aggregations.pyx
index 0689a4a6e75f0..8191084da924f 100644
--- a/pandas/_libs/window/aggregations.pyx
+++ b/pandas/_libs/window/aggregations.pyx
@@ -1323,13 +1323,13 @@ def roll_apply(object obj,
def roll_weighted_sum(
const float64_t[:] va... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
| https://api.github.com/repos/pandas-dev/pandas/pulls/46206 | 2022-03-02T22:19:55Z | 2022-03-03T00:07:55Z | 2022-03-03T00:07:55Z | 2022-03-05T12:58:58Z |
PERF: avoid copies in frame[col].fillna(val, inplace=True) GH#46149 | diff --git a/doc/source/whatsnew/v1.4.2.rst b/doc/source/whatsnew/v1.4.2.rst
index 43b911cd24e1d..9f4d248ca7042 100644
--- a/doc/source/whatsnew/v1.4.2.rst
+++ b/doc/source/whatsnew/v1.4.2.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | - [x] closes #46149
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/46204 | 2022-03-02T18:20:11Z | 2022-03-05T22:51:45Z | 2022-03-05T22:51:45Z | 2022-03-08T12:23:38Z |
DOC: fix broken links under DataFrame.diff | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 9d17827d55951..b7974e5764100 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8525,7 +8525,7 @@ def melt(
@doc(
Series.diff,
- klass="Dataframe",
+ klass="DataFrame",
extra_params="axis : {0 or 'index',... | - [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).
Fixes broken "See also" ... | https://api.github.com/repos/pandas-dev/pandas/pulls/46201 | 2022-03-02T16:29:19Z | 2022-03-03T00:16:35Z | 2022-03-03T00:16:35Z | 2022-03-05T12:58:53Z |
Fix typos | diff --git a/scripts/sync_flake8_versions.py b/scripts/sync_flake8_versions.py
index 370924cdfa199..d19501051349f 100644
--- a/scripts/sync_flake8_versions.py
+++ b/scripts/sync_flake8_versions.py
@@ -73,7 +73,7 @@ def _validate_additional_dependencies(
for dep in flake8_additional_dependencies:
if dep no... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/46200 | 2022-03-02T16:05:57Z | 2022-03-03T00:15:57Z | 2022-03-03T00:15:57Z | 2022-03-03T05:22:33Z |
Test : Pandas 1.0.5 → 1.1.0 behavior change on DataFrame.apply() where fn returns np.ndarray | diff --git a/pandas/tests/frame/methods/test_dtypes.py b/pandas/tests/frame/methods/test_dtypes.py
index 84841ad7a634e..31592f987f04d 100644
--- a/pandas/tests/frame/methods/test_dtypes.py
+++ b/pandas/tests/frame/methods/test_dtypes.py
@@ -131,3 +131,10 @@ def test_dtypes_timedeltas(self):
index=list("ABC... | - [x] closes #35517
- [ ] [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/46199 | 2022-03-02T15:56:55Z | 2022-03-07T01:23:05Z | 2022-03-07T01:23:04Z | 2022-05-31T16:11:03Z |
Add benchmark for indexing with .loc for sorted/unsorted DatetimeIndex | diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py
index b9e565da2dbb2..d5f165084505f 100644
--- a/asv_bench/benchmarks/indexing.py
+++ b/asv_bench/benchmarks/indexing.py
@@ -290,20 +290,26 @@ def setup(self):
self.dti = dti
self.dti2 = dti2
- index = np.random.c... | - [x] closes #38690
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/46198 | 2022-03-02T15:38:34Z | 2022-03-04T19:32:01Z | 2022-03-04T19:32:01Z | 2022-03-05T03:45:22Z |
BUG: nullable groupby result dtypes | diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py
index 072caa6a4b74f..d05be3b003f67 100644
--- a/pandas/core/dtypes/dtypes.py
+++ b/pandas/core/dtypes/dtypes.py
@@ -1417,3 +1417,23 @@ def construct_array_type(cls) -> type_t[BaseMaskedArray]:
type
"""
raise NotImplement... | - [ ] 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/46197 | 2022-03-02T02:28:59Z | 2022-03-05T01:17:42Z | 2022-03-05T01:17:42Z | 2022-03-05T02:44:05Z |
REF: simplify groupby.ops | diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py
index 132c1d11dfe73..e984279c17a65 100644
--- a/pandas/core/groupby/ops.py
+++ b/pandas/core/groupby/ops.py
@@ -123,14 +123,14 @@ def __init__(self, kind: str, how: str):
"min": "group_min",
"max": "group_max",
"... | Inching towards refactoring out special-cased EA methods into EA/EADtype methods.
I expect this to need some troubleshooting on the 32bit linux build. | https://api.github.com/repos/pandas-dev/pandas/pulls/46196 | 2022-03-01T23:58:47Z | 2022-03-03T23:34:30Z | 2022-03-03T23:34:30Z | 2022-03-03T23:47:25Z |
DOC: Clarify groupby.first does not use nulls | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index 36a6c531f7ab8..3d857e4f3e4e7 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -2235,8 +2235,43 @@ def max(
)
@final
- @doc(_groupby_agg_method_template, fname="first", no=False, m... | - [X] closes #8427
- [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/46195 | 2022-03-01T22:08:08Z | 2022-03-10T21:54:51Z | 2022-03-10T21:54:51Z | 2022-03-10T21:55:06Z |
DOC: clarify `styler.hide` in combination with `to_excel` | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 15b2381c40d24..0502e2a2f4395 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -2689,6 +2689,13 @@ def hide(
Notes
-----
+ .. warning::
+ This method only works with the output metho... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/46194 | 2022-03-01T18:15:40Z | 2022-03-02T01:19:54Z | 2022-03-02T01:19:54Z | 2022-03-02T13:33:05Z |
Benchmark for indexing with .loc for sorted/unsorted DatetimeIndex | diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py
index 40eaab524a399..b9e565da2dbb2 100644
--- a/asv_bench/benchmarks/indexing.py
+++ b/asv_bench/benchmarks/indexing.py
@@ -290,12 +290,24 @@ def setup(self):
self.dti = dti
self.dti2 = dti2
+ index = np.random.c... | - [ ] closes #38690
- [ ] [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/46193 | 2022-03-01T14:14:52Z | 2022-03-02T00:01:29Z | 2022-03-02T00:01:28Z | 2022-03-02T05:20:54Z |
CLN: rolling step followups | diff --git a/pandas/_libs/window/indexers.pyi b/pandas/_libs/window/indexers.pyi
index bbb5e6988d0b5..c9bc64be34ac9 100644
--- a/pandas/_libs/window/indexers.pyi
+++ b/pandas/_libs/window/indexers.pyi
@@ -8,6 +8,5 @@ def calculate_variable_window_bounds(
min_periods,
center: bool,
closed: str | None,
- ... | - [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).
xref https://github.com/... | https://api.github.com/repos/pandas-dev/pandas/pulls/46191 | 2022-03-01T06:55:30Z | 2022-03-02T15:22:40Z | 2022-03-02T15:22:40Z | 2022-03-02T16:19:36Z |
TST: add test for correct behaviour of multiIndex loc with splice | diff --git a/pandas/tests/indexing/multiindex/test_loc.py b/pandas/tests/indexing/multiindex/test_loc.py
index 6e59311634c76..bdb59db1a1b38 100644
--- a/pandas/tests/indexing/multiindex/test_loc.py
+++ b/pandas/tests/indexing/multiindex/test_loc.py
@@ -402,6 +402,18 @@ def test_sorted_multiindex_after_union(self):
... | - added test to check for the correct behaviour as in issue https://github.com/pandas-dev/pandas/issues/43599
| https://api.github.com/repos/pandas-dev/pandas/pulls/46190 | 2022-03-01T05:03:31Z | 2022-03-01T13:06:15Z | 2022-03-01T13:06:15Z | 2022-03-01T18:26:29Z |
DEPR: treating object-dtype blocks as bool_only | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 3d3ec53948a01..49f9abd99db53 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -354,6 +354,7 @@ of columns could result in a larger Series result. See (:issue:`37799`).
*New behavior*:
.. ipython:: p... | - [ ] 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/46188 | 2022-02-28T23:12:49Z | 2022-03-01T13:04:42Z | 2022-03-01T13:04:42Z | 2022-03-01T16:32:06Z |
ENH: make `Styler.concat` compatible with `to_latex` output render | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index e47751245cb65..46adc4dc87ba2 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -21,7 +21,7 @@ Styler
- New method :meth:`.Styler.to_string` for alternative customisable output methods (:issue:`44502... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/46186 | 2022-02-28T20:45:00Z | 2022-03-01T13:01:11Z | 2022-03-01T13:01:11Z | 2022-03-01T17:04:13Z |
CI: Remove testing pyarrow 6 | diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml
index fe225add5bde7..4380e8dfa2e57 100644
--- a/.github/workflows/posix.yml
+++ b/.github/workflows/posix.yml
@@ -28,7 +28,7 @@ jobs:
pattern: ["not single_cpu", "single_cpu"]
# Don't test pyarrow v2/3: Causes timeouts in read_csv ... | xref https://github.com/pandas-dev/pandas/pull/46003#issuecomment-1053830181
(Still testing pyarrow 1.0.1 (min version), 5, and 7)
| https://api.github.com/repos/pandas-dev/pandas/pulls/46183 | 2022-02-28T18:43:56Z | 2022-02-28T21:43:56Z | 2022-02-28T21:43:56Z | 2022-02-28T22:25:43Z |
BUG: groupby.min with UInt64 and empty group | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 79457bcd6506f..0c3c57d40d42d 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -1344,18 +1344,17 @@ cdef group_min_max(iu_64_floating_t[:, ::1] out,
for i in range(ngroups):
for j in range(K):
... | - [ ] 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/46182 | 2022-02-28T18:14:43Z | 2022-03-01T12:54:02Z | 2022-03-01T12:54:02Z | 2022-03-01T16:28:33Z |
CLN: assorted | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index d2b34f587b5e2..f668e55bbbd08 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -294,6 +294,7 @@ Performance improvements
- Performance improvement in :meth:`MultiIndex.get_locs` (:issue:`45681`, :issue:... | - [ ] 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/46181 | 2022-02-28T17:59:23Z | 2022-03-01T12:55:15Z | 2022-03-01T12:55:15Z | 2022-03-18T16:25:43Z |
BUG: styler.concat should raise when index nlevels are incompatible | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 89e74cf19ee8e..fb5c6e0344640 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -281,7 +281,8 @@ def concat(self, other: Styler) -> Styler:
----------
other : Styler
The other Styler object... | bug fix for unreleased feature so no whatsnew needed | https://api.github.com/repos/pandas-dev/pandas/pulls/46180 | 2022-02-28T15:43:24Z | 2022-03-01T12:55:54Z | 2022-03-01T12:55:54Z | 2022-03-01T17:03:57Z |
DOC: Move general utility functions to better locations | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6f91c885bf1e8..2c58ccb52f9e5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -178,7 +178,7 @@ repos:
language: python
files: ^pandas/core/generic\.py$
- id: pandas-errors-documented
- name: Ensure ... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
There was `doc/source/reference/general_functions.rst` and `doc/source/reference/general_utility_functions.rst`
So split `doc/source/reference/general_utility_functions.rst` into appropriat... | https://api.github.com/repos/pandas-dev/pandas/pulls/46177 | 2022-02-28T06:22:11Z | 2022-03-01T13:02:56Z | 2022-03-01T13:02:56Z | 2022-03-01T18:50:16Z |
PERF: avoid cast in algos.rank | diff --git a/pandas/_libs/algos.pyi b/pandas/_libs/algos.pyi
index 2447d456b7478..60bdb504c545b 100644
--- a/pandas/_libs/algos.pyi
+++ b/pandas/_libs/algos.pyi
@@ -102,7 +102,7 @@ def is_monotonic(
# ----------------------------------------------------------------------
def rank_1d(
- values: np.ndarray, # nda... | The real goal here is allowing us to use numeric_object_t in the libgroupby rank function, which unblocks avoiding casting in a bunch of groupby ops. | https://api.github.com/repos/pandas-dev/pandas/pulls/46175 | 2022-02-28T03:08:02Z | 2022-02-28T13:51:00Z | 2022-02-28T13:51:00Z | 2022-02-28T15:44:59Z |
REF: helper for merge casting | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index e68277c38063e..cfaa5a1fdad64 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -2067,6 +2067,32 @@ def _validate_tolerance(self, left_join_keys: list[ArrayLike]) -> None:
else:
rais... | - [ ] 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/53976 | 2023-07-02T21:46:56Z | 2023-07-06T20:06:44Z | 2023-07-06T20:06:44Z | 2023-07-06T20:28:43Z |
DEPR: GroupBy.quantile with bool dtype | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index ebbdbcb0f61f5..a3023c7432cba 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -296,6 +296,7 @@ Deprecations
- Deprecated :meth:`Series.interpolate` and :meth:`DataFrame.interpolate` for object-dtype (:... | - [x] closes #51424 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/53975 | 2023-07-02T19:18:27Z | 2023-07-05T14:26:12Z | 2023-07-05T14:26:12Z | 2023-07-05T15:00:32Z |
DEPR: Replacing builtin and NumPy funcs in agg/apply/transform | diff --git a/doc/source/getting_started/comparison/comparison_with_r.rst b/doc/source/getting_started/comparison/comparison_with_r.rst
index 767779b0f58a8..25ba237e8caf3 100644
--- a/doc/source/getting_started/comparison/comparison_with_r.rst
+++ b/doc/source/getting_started/comparison/comparison_with_r.rst
@@ -246,7 +... | - [x] closes #53425 (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/53974 | 2023-07-02T19:10:44Z | 2023-07-07T17:05:12Z | 2023-07-07T17:05:12Z | 2023-07-08T11:31:12Z |
DOC: Added note for `corr` | diff --git a/pandas/core/series.py b/pandas/core/series.py
index e59a4cfc3fcc1..164b1a61b006c 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -2783,6 +2783,9 @@ def corr(
* `Kendall rank correlation coefficient <https://en.wikipedia.org/wiki/Kendall_rank_correlation_coefficient>`_
* ... | - [ ] closes #49939
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions. | https://api.github.com/repos/pandas-dev/pandas/pulls/53972 | 2023-07-02T14:51:51Z | 2023-07-05T17:21:00Z | 2023-07-05T17:21:00Z | 2023-07-05T17:21:01Z |
DOC: fix pandas-coverage link | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index 4631e5dc8d0ca..f3ff5b70d4aac 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -764,7 +764,7 @@ install pandas) by typing::
yo... | it's back up and running, with the notebook adjusted for meson, but heroku have changed their url scheme, so I'm updating the docs link | https://api.github.com/repos/pandas-dev/pandas/pulls/53971 | 2023-07-02T14:48:44Z | 2023-07-02T20:24:27Z | 2023-07-02T20:24:27Z | 2023-07-02T20:24:28Z |
BUG: `interpolate` with fillna methods fail to fill across multiblocks | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 0f669beaa036f..ad84058d2b75a 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -446,6 +446,7 @@ Indexing
Missing
^^^^^^^
+- Bug in :meth:`DataFrame.interpolate` failing to fill across multiblock data... | - [ ] Closes #53898
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests)
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit)
- [x] Added an entry in the latest `doc/source... | https://api.github.com/repos/pandas-dev/pandas/pulls/53962 | 2023-07-01T07:17:42Z | 2023-07-10T17:36:13Z | 2023-07-10T17:36:13Z | 2023-09-02T02:37:29Z |
DOC: Updated pandas extension list | diff --git a/web/pandas/community/ecosystem.md b/web/pandas/community/ecosystem.md
index 957a8d38b204c..15715bb96e8f2 100644
--- a/web/pandas/community/ecosystem.md
+++ b/web/pandas/community/ecosystem.md
@@ -525,6 +525,13 @@ Pandas-Genomics provides an extension type and extension array for working
with genomics dat... | - [x] closes #49046
- [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/53960 | 2023-07-01T06:47:17Z | 2023-07-06T21:09:58Z | 2023-07-06T21:09:58Z | 2023-07-06T21:10:09Z |
API: add `NaTType` and `NAType` to `pandas.api.typing` | diff --git a/pandas/api/typing/__init__.py b/pandas/api/typing/__init__.py
index 4c535bf81d3b6..9b5d2cb06b523 100644
--- a/pandas/api/typing/__init__.py
+++ b/pandas/api/typing/__init__.py
@@ -2,6 +2,9 @@
Public API classes that store intermediate results useful for type-hinting.
"""
+from pandas._libs import NaTTy... | - [x] Closes #53934
- [x] *I assume that no tests are needed for this*
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit)
- [x] *I assume that no changelog entry is needed for this*
| https://api.github.com/repos/pandas-dev/pandas/pulls/53958 | 2023-07-01T05:03:50Z | 2023-07-06T21:11:18Z | 2023-07-06T21:11:18Z | 2023-09-23T13:46:37Z |
DOC: EX01 (part of ExtensionArray) | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 756096a7fe345..730105ac6fe83 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -134,12 +134,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.api.extensions.ExtensionArray._from_sequence_of_strings \
pandas.api.extension... | - [x] Towards #37875
`ExtensionArray` is kind of tricky, I don't know what kind of example should we put here. Currently I'm providing some (not directly runnable) example implementation for each method. Alternatively we can provide a fully implemented example in `ExtensionArray`, and link to that example in each me... | https://api.github.com/repos/pandas-dev/pandas/pulls/53957 | 2023-07-01T04:49:24Z | 2023-07-13T11:06:24Z | 2023-07-13T11:06:24Z | 2023-09-23T13:46:31Z |
DEPR: downcast keyword in Index.fillna | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index ebbdbcb0f61f5..079047b75a745 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -241,6 +241,7 @@ Other API changes
Deprecations
~~~~~~~~~~~~
- Deprecated 'broadcast_axis' keyword in :meth:`Series.align... | - [ ] 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/53956 | 2023-07-01T00:51:31Z | 2023-07-06T21:13:00Z | 2023-07-06T21:12:59Z | 2023-07-06T21:58:16Z |
PERF: MultiIndex set and indexing operations | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 0f669beaa036f..1ba0981780ff2 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -359,6 +359,7 @@ Performance improvements
- Performance improvement in :meth:`Series.to_numpy` when dtype is a numpy float ... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotati... | https://api.github.com/repos/pandas-dev/pandas/pulls/53955 | 2023-07-01T00:18:23Z | 2023-07-10T17:51:38Z | 2023-07-10T17:51:38Z | 2023-07-12T00:12:37Z |
DOC/WEB: update Google Analytics id | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 66fca61c2c6e5..31893bdf929d8 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -240,7 +240,7 @@
"footer_start": ["pandas_footer", "sphinx-version"],
"github_url": "https://github.com/pandas-dev/pandas",
"twitter_url": "https://twitter.c... | I want to propose to move away from Google Analytics (and for example use the Plausible instance from Scientific Python), but to keep it working on the short term, need to update the ID for GA. | https://api.github.com/repos/pandas-dev/pandas/pulls/53954 | 2023-06-30T20:48:28Z | 2023-07-01T06:36:11Z | 2023-07-01T06:36:11Z | 2023-07-01T06:36:20Z |
PERF: ffill/bfill with non-numpy dtypes | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index ebbdbcb0f61f5..6390fbeed8548 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -342,6 +342,7 @@ Performance improvements
- Performance improvement in :meth:`DataFrame.loc` when selecting rows and column... | Implement ffill/bfill in terms of 'take', avoiding an object cast.
```
ser = pd.Series(range(10**5), dtype="int64[pyarrow]")
ser[5000] = pd.NA
%timeit ser.ffill()
609 µs ± 25.9 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) # <- branch
5.49 ms ± 158 µs per loop (mean ± std. dev. of 7 runs, 100 lo... | https://api.github.com/repos/pandas-dev/pandas/pulls/53950 | 2023-06-30T16:59:32Z | 2023-07-02T21:27:54Z | 2023-07-02T21:27:54Z | 2023-07-02T21:42:01Z |
TST: Concatenating categorical datetime columns | diff --git a/pandas/tests/reshape/concat/test_categorical.py b/pandas/tests/reshape/concat/test_categorical.py
index 14c559db4b0b5..2730b2ffcc4e3 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 and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas... | https://api.github.com/repos/pandas-dev/pandas/pulls/53949 | 2023-06-30T16:42:20Z | 2023-06-30T19:59:22Z | 2023-06-30T19:59:22Z | 2023-06-30T21:08:28Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index a67dc66b26d34..7a5dbb45636d2 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -110,10 +110,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas_object \
pandas.api.interchange.from_dataframe \
pandas.DatetimeIndex... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53948 | 2023-06-30T15:10:33Z | 2023-07-05T07:36:32Z | 2023-07-05T07:36:32Z | 2023-07-05T07:55:31Z |
CLN : Removed unnecessary numba-compat code | diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py
index 20cc83e86b435..59f30cd4e6e8f 100644
--- a/pandas/util/_test_decorators.py
+++ b/pandas/util/_test_decorators.py
@@ -69,13 +69,6 @@ def safe_import(mod_name: str, min_version: str | None = None):
mod = __import__(mod_name)
... | - [x] closes ##50392 (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/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/53947 | 2023-06-30T11:27:22Z | 2023-06-30T17:48:50Z | 2023-06-30T17:48:50Z | 2023-06-30T17:48:51Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index a0fb7ab6e411d..bb5bc200c6fa7 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -118,10 +118,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.io.stata.StataReader.value_labels \
pandas.io.stata.StataReader.variable_label... | [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53946 | 2023-06-30T11:17:03Z | 2023-06-30T17:45:21Z | 2023-06-30T17:45:21Z | 2023-06-30T17:46:40Z |
REF: remove axis keyword from PandasArray.pad_or_backfill | diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py
index 990b55cb40366..570e48344c961 100644
--- a/pandas/core/arrays/numpy_.py
+++ b/pandas/core/arrays/numpy_.py
@@ -233,13 +233,12 @@ def pad_or_backfill(
self,
*,
method: FillnaOptions,
- axis: int,
limi... | This will make it easier to share with a soon-to-be-implemented EA.pad_or_backfill | https://api.github.com/repos/pandas-dev/pandas/pulls/53941 | 2023-06-29T22:42:12Z | 2023-06-30T18:39:07Z | 2023-06-30T18:39:07Z | 2023-06-30T19:14:13Z |
TST: add test with freq=2M to increase coverage of to_period | diff --git a/pandas/tests/indexes/datetimes/methods/test_to_period.py b/pandas/tests/indexes/datetimes/methods/test_to_period.py
index e4f8aef277f87..6c41b76aa113c 100644
--- a/pandas/tests/indexes/datetimes/methods/test_to_period.py
+++ b/pandas/tests/indexes/datetimes/methods/test_to_period.py
@@ -6,6 +6,7 @@
import... | xref #52064
added a test in pandas/tests/indexes/datetimes/methods/test_to_period.py, which covers cases `freq=“2M"` and `freq=MonthEnd(2)` for `to_period` from DatetimeIndex. The reason: existing tests were all for `"freq='M'"`, rather than for `"freq='2M'"`. | https://api.github.com/repos/pandas-dev/pandas/pulls/53940 | 2023-06-29T22:14:08Z | 2023-06-30T07:57:42Z | 2023-06-30T07:57:42Z | 2023-06-30T07:57:43Z |
BUG: Timestamp origin takes no effect in resample for 'MS' frequency | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index f2bf446c3bb6d..35b4b4544cce7 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -554,6 +554,7 @@ Plotting
Groupby/resample/rolling
^^^^^^^^^^^^^^^^^^^^^^^^
+- Bug in :meth:`DataFrame.resample` and :me... | - [x] closes #53662
- [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/53938 | 2023-06-29T20:41:34Z | 2023-07-25T07:29:00Z | 2023-07-25T07:29:00Z | 2023-07-25T16:25:40Z |
CI: Bump 32 bit and musl linux jobs to PY3.11 | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index bd104af4a8d9e..bd8f2ab6521e2 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -227,7 +227,7 @@ jobs:
fi
- name: Build environment and Run Tests
run: |
- /opt/... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53937 | 2023-06-29T20:21:08Z | 2023-06-29T22:06:38Z | 2023-06-29T22:06:38Z | 2023-06-29T22:06:42Z |
CLN: assorted | diff --git a/pandas/_libs/lib.pyi b/pandas/_libs/lib.pyi
index e9d4e45c07925..4a2c7a874238a 100644
--- a/pandas/_libs/lib.pyi
+++ b/pandas/_libs/lib.pyi
@@ -36,7 +36,7 @@ NoDefault = Literal[_NoDefault.no_default]
i8max: int
u8max: int
-def is_np_dtype(dtype: object, kinds: str | None = ...) -> bool: ...
+def is_np... | - [ ] 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/53932 | 2023-06-29T18:17:10Z | 2023-06-29T22:07:25Z | 2023-06-29T22:07:25Z | 2023-06-29T22:11:10Z |
CI/TST: Misc test cleanups | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index bd8f2ab6521e2..d608654b510d1 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -81,7 +81,7 @@ jobs:
ENV_FILE: ci/deps/${{ matrix.env_file }}
PATTERN: ${{ matrix.pattern }}
EX... | * Potentially remove unnecessary settings in `ci/run_tests.sh`
* Update some config settings | https://api.github.com/repos/pandas-dev/pandas/pulls/53931 | 2023-06-29T17:44:54Z | 2023-06-30T17:46:57Z | 2023-06-30T17:46:57Z | 2023-06-30T17:47:00Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index cc7c64f001809..a0fb7ab6e411d 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -118,14 +118,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.io.stata.StataReader.value_labels \
pandas.io.stata.StataReader.variable_label... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53930 | 2023-06-29T17:41:11Z | 2023-06-30T09:46:38Z | 2023-06-30T09:46:38Z | 2023-06-30T09:53:30Z |
TST: Always close figures in plotting tests | diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py
index fbbdfa4b8a5bf..ddb3acb7397e6 100644
--- a/pandas/_testing/__init__.py
+++ b/pandas/_testing/__init__.py
@@ -50,7 +50,6 @@
bdate_range,
)
from pandas._testing._io import (
- close,
round_trip_localpath,
round_trip_pathlib,
... | Now that the plotting tests are more-or-less isolated and testing one topic, we can use the `mpl_cleanup` autouse fixture to close all figures per test and remove the need for `tm.close` | https://api.github.com/repos/pandas-dev/pandas/pulls/53929 | 2023-06-29T17:00:23Z | 2023-06-30T19:57:51Z | 2023-06-30T19:57:51Z | 2023-06-30T19:57:54Z |
DOC: Changed M to MS in examples | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index 30f5f21f03658..498e66ad00da9 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -764,8 +764,8 @@ def groups(self) -> dict[Hashable, np.ndarray]:
2023-02-01 3
2023-02-15 4
... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
This was done after this conversation: https://github.com/pandas-dev/pandas/pull/53909#:~:text=any%20chance%20we%20could%20make%20a... | https://api.github.com/repos/pandas-dev/pandas/pulls/53927 | 2023-06-29T12:44:16Z | 2023-06-29T14:08:45Z | 2023-06-29T14:08:45Z | 2023-06-29T14:15:30Z |
DOC: EX01 ({Categorical, Interval, Multi, Datetime, Timedelta}-Index) | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 3aa78804b6dde..cc7c64f001809 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -138,25 +138,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.util.hash_pandas_object \
pandas_object \
pandas.api.interchange.from... | - [x] Towards #37875.
Also removing some items from `ci/code_checks.sh` that have already had examples on the main branch. | https://api.github.com/repos/pandas-dev/pandas/pulls/53925 | 2023-06-29T09:31:46Z | 2023-06-30T07:50:11Z | 2023-06-30T07:50:11Z | 2023-06-30T09:36:35Z |
DOC: remove unnecessary note about EA values_for_factorize from 2.0.3 whatsnew | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index a52143c32618b..3e2dc1b92c779 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -16,7 +16,6 @@ Fixed regressions
- Bug in :meth:`Timestamp.weekday`` was returning incorrect results before ``'0000-02-29'`... | See https://github.com/pandas-dev/pandas/pull/53475#issuecomment-1611999192 | https://api.github.com/repos/pandas-dev/pandas/pulls/53923 | 2023-06-29T07:20:48Z | 2023-06-29T13:48:20Z | 2023-06-29T13:48:20Z | 2023-06-29T16:10:22Z |
ENH: Add new implementation of DataFrame.stack | diff --git a/doc/source/getting_started/comparison/comparison_with_r.rst b/doc/source/getting_started/comparison/comparison_with_r.rst
index 25ba237e8caf3..a6cfcd4614984 100644
--- a/doc/source/getting_started/comparison/comparison_with_r.rst
+++ b/doc/source/getting_started/comparison/comparison_with_r.rst
@@ -438,7 +... | - [ ] 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/53921 | 2023-06-29T03:22:48Z | 2023-08-02T15:53:11Z | 2023-08-02T15:53:11Z | 2023-08-03T01:38:43Z |
DOC: EX01 (`Index` and `RangeIndex`) | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 3927b91fe05c0..3958b3fedb6b8 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -145,13 +145,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.util.hash_pandas_object \
pandas_object \
pandas.api.interchange.from... | - [x] Towards #37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53920 | 2023-06-29T02:57:38Z | 2023-06-29T15:59:29Z | 2023-06-29T15:59:29Z | 2023-09-23T13:46:18Z |
CI: Don't rebuild pandas before running tests | diff --git a/.github/actions/build_pandas/action.yml b/.github/actions/build_pandas/action.yml
index b1829e651443b..2d6b0aada4abd 100644
--- a/.github/actions/build_pandas/action.yml
+++ b/.github/actions/build_pandas/action.yml
@@ -14,6 +14,13 @@ runs:
micromamba list
shell: bash -el {0}
+ - name:... | It appears some unit test jobs are rebuilding pandas before running `pytest`. Meson might be rebuilding pandas because an optional dependency installed pandas before the initial build, so trying to uninstall pandas before the initial build
cc @lithomas1 | https://api.github.com/repos/pandas-dev/pandas/pulls/53919 | 2023-06-29T01:14:34Z | 2023-06-29T02:51:47Z | 2023-06-29T02:51:46Z | 2023-06-29T02:51:49Z |
REF: separate Block.pad_or_backfill from interpolate | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 434f8d62fcdd5..74d4397847f6c 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -1346,32 +1346,44 @@ def fillna(
def pad_or_backfill(
self,
*,
- method: FillnaOptions = "... | - [ ] 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/53918 | 2023-06-28T23:17:19Z | 2023-06-29T18:47:29Z | 2023-06-29T18:47:29Z | 2023-06-29T18:54:59Z |
TST: Clean plotting tests | diff --git a/pandas/tests/plotting/test_boxplot_method.py b/pandas/tests/plotting/test_boxplot_method.py
index 075243603e9cd..9a73a394d0466 100644
--- a/pandas/tests/plotting/test_boxplot_method.py
+++ b/pandas/tests/plotting/test_boxplot_method.py
@@ -28,6 +28,12 @@
mpl = pytest.importorskip("matplotlib")
+def _c... | Splitting/parameterizing tests in this file to try to test only 1 thing per test | https://api.github.com/repos/pandas-dev/pandas/pulls/53917 | 2023-06-28T23:08:08Z | 2023-06-29T02:52:11Z | 2023-06-29T02:52:11Z | 2023-06-29T02:52:14Z |
TST: add the parameter MonthEnd(2) to 2 tests with freq= 2M | diff --git a/pandas/tests/arrays/period/test_constructors.py b/pandas/tests/arrays/period/test_constructors.py
index 4e8ab56435749..ecc9ee745bad8 100644
--- a/pandas/tests/arrays/period/test_constructors.py
+++ b/pandas/tests/arrays/period/test_constructors.py
@@ -2,6 +2,7 @@
import pytest
from pandas._libs.tslibs ... | xref #52064
added parametrization to 2 tests in which we pass `freq = '2M'` to check if they work correctly not only with str, but with offsets (`MonthEnd(2)`) as well. | https://api.github.com/repos/pandas-dev/pandas/pulls/53916 | 2023-06-28T21:54:03Z | 2023-06-29T09:06:17Z | 2023-06-29T09:06:17Z | 2023-06-29T09:06:18Z |
TST: Clean tests/plotting/test_frame.py misc | diff --git a/pandas/tests/plotting/frame/test_frame_legend.py b/pandas/tests/plotting/frame/test_frame_legend.py
index 5914300b00434..13c31a6a202d7 100644
--- a/pandas/tests/plotting/frame/test_frame_legend.py
+++ b/pandas/tests/plotting/frame/test_frame_legend.py
@@ -26,7 +26,6 @@ class TestFrameLegend:
)
de... | Split or parameterized large tests in these files | https://api.github.com/repos/pandas-dev/pandas/pulls/53914 | 2023-06-28T18:25:09Z | 2023-06-28T21:51:11Z | 2023-06-28T21:51:11Z | 2023-06-28T21:51:14Z |
Backport PR #53897: DOC: Update release date for 2.0.3 | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 8cfced2ee385a..3e2dc1b92c779 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -1,6 +1,6 @@
.. _whatsnew_203:
-What's new in 2.0.3 (July XX, 2023)
+What's new in 2.0.3 (June 28, 2023)
---------------... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/53913 | 2023-06-28T18:21:39Z | 2023-06-28T20:11:23Z | 2023-06-28T20:11:23Z | 2023-06-28T20:11:24Z |
REF: use CoW helpers more | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 80069f1fcacbd..5a0546d8976a9 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -1083,11 +1083,8 @@ def setitem(self, indexer, value, using_cow: bool = False) -> Block:
# test_il... | - [ ] 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/53911 | 2023-06-28T16:47:50Z | 2023-07-13T20:38:01Z | 2023-07-13T20:38:01Z | 2023-07-13T20:55:33Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 3927b91fe05c0..d614b8229ef12 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -118,13 +118,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.io.stata.StataReader.value_labels \
pandas.io.stata.StataReader.variable_label... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53909 | 2023-06-28T15:51:36Z | 2023-06-29T14:09:43Z | 2023-06-29T14:09:43Z | 2023-06-29T14:14:57Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index f4a0488581606..8155d398d4d88 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -106,8 +106,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.test \
pandas.NaT \
pandas.io.formats.style.Styler.to_html \
- ... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
Note: the examples for `pandas.HDFStore.groups` and `pandas.HDFStore.walk` were done [here](https://github.com/pandas-dev/pandas/pu... | https://api.github.com/repos/pandas-dev/pandas/pulls/53906 | 2023-06-28T13:37:06Z | 2023-06-28T17:30:20Z | 2023-06-28T17:30:20Z | 2023-06-28T17:31:42Z |
DOC: fix asv test results link in contributors doc | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index 00f9fd74e01ca..4631e5dc8d0ca 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -861,7 +861,7 @@ performance regressions. pandas is ... | - [x] Closes #53851
- [ ] [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/53902 | 2023-06-28T05:51:28Z | 2023-06-28T10:17:54Z | 2023-06-28T10:17:54Z | 2023-09-23T13:46:09Z |
CI: linting check to ensure `lib.NoDefault` is only used for typing | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 220465a1d2847..4379220c33687 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -339,6 +339,11 @@ repos:
language: python
entry: python scripts/validate_unwanted_patterns.py --validation-type="strings_with_wrong_pl... | - [x] See https://github.com/pandas-dev/pandas/pull/53877#issuecomment-1609917156
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit)
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#... | https://api.github.com/repos/pandas-dev/pandas/pulls/53901 | 2023-06-28T05:36:56Z | 2023-06-29T16:13:52Z | 2023-06-29T16:13:52Z | 2023-09-23T13:46:02Z |
REF: de-duplicate CoW helpers | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 832e1560ae55e..80069f1fcacbd 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -583,20 +583,6 @@ def _maybe_copy(self, using_cow: bool, inplace: bool) -> Self:
blk = self if inplace else... | - [ ] 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/53899 | 2023-06-28T04:37:25Z | 2023-06-28T16:04:58Z | 2023-06-28T16:04:57Z | 2023-06-28T16:13:05Z |
DOC: Update release date for 2.0.3 | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 14e65e9e577ce..a52143c32618b 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -1,6 +1,6 @@
.. _whatsnew_203:
-What's new in 2.0.3 (July XX, 2023)
+What's new in 2.0.3 (June 28, 2023)
---------------... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/53897 | 2023-06-28T04:25:06Z | 2023-06-28T18:07:23Z | 2023-06-28T18:07:23Z | 2023-06-28T18:41:43Z |
TST: Clean plotting/frame/test_frame.color.py | diff --git a/pandas/tests/plotting/frame/test_frame_color.py b/pandas/tests/plotting/frame/test_frame_color.py
index e7370375ba27b..7de3262bfe6cf 100644
--- a/pandas/tests/plotting/frame/test_frame_color.py
+++ b/pandas/tests/plotting/frame/test_frame_color.py
@@ -17,6 +17,18 @@
from pandas.util.version import Version... | Splitting or parameterize large tests in this file | https://api.github.com/repos/pandas-dev/pandas/pulls/53894 | 2023-06-28T00:41:45Z | 2023-06-28T16:07:14Z | 2023-06-28T16:07:14Z | 2023-06-28T16:07:18Z |
BUG: join changes index type when doing join on empty dataframes | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 198a7155e1a1e..d4f25e159bdfb 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -512,6 +512,7 @@ Reshaping
- Bug in :meth:`DataFrame.stack` sorting index lexicographically in rare cases (:issue:`53824`)
... | - [X] closes #52777
- [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/53893 | 2023-06-27T23:25:03Z | 2023-07-10T17:50:13Z | 2023-07-10T17:50:13Z | 2023-07-10T18:02:33Z |
Backport PR #53888 on branch 2.0.x (CI: Fix pytest scripts and doc failure) | diff --git a/doc/source/whatsnew/v0.10.0.rst b/doc/source/whatsnew/v0.10.0.rst
index bd47e6e4bc025..4806f88924baa 100644
--- a/doc/source/whatsnew/v0.10.0.rst
+++ b/doc/source/whatsnew/v0.10.0.rst
@@ -181,7 +181,7 @@ labeled the aggregated group with the end of the interval: the next day).
``X0``, ``X1``, ...) can b... | Backport PR #53888: CI: Fix pytest scripts and doc failure | https://api.github.com/repos/pandas-dev/pandas/pulls/53892 | 2023-06-27T22:07:31Z | 2023-06-28T01:39:53Z | 2023-06-28T01:39:53Z | 2023-06-28T01:39:54Z |
TST: Refactor slow tests | diff --git a/pandas/_libs/parsers.pyi b/pandas/_libs/parsers.pyi
index 3b6e4dca47b14..253bb7303cefb 100644
--- a/pandas/_libs/parsers.pyi
+++ b/pandas/_libs/parsers.pyi
@@ -12,6 +12,7 @@ from pandas._typing import (
)
STR_NA_VALUES: set[str]
+DEFAULT_BUFFER_HEURISTIC: int
def sanitize_objects(
values: npt.N... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53891 | 2023-06-27T22:04:39Z | 2023-06-28T18:26:26Z | 2023-06-28T18:26:26Z | 2023-06-28T18:33:16Z |
TST: add test with freq=2M for period_array from datetime64 | diff --git a/pandas/tests/arrays/period/test_constructors.py b/pandas/tests/arrays/period/test_constructors.py
index 8c3c2bd095adf..4e8ab56435749 100644
--- a/pandas/tests/arrays/period/test_constructors.py
+++ b/pandas/tests/arrays/period/test_constructors.py
@@ -56,6 +56,15 @@ def test_from_datetime64_freq_changes():... | xref #52064
added a test in `pandas/tests/arrays/period/test_constructors.py`, which covers a case `freq='2M'` for period_array from datetime64. The reason: existing tests were all for `"freq='M'"`, rather then for `"freq='2M'"`. | https://api.github.com/repos/pandas-dev/pandas/pulls/53890 | 2023-06-27T19:42:31Z | 2023-06-28T07:40:41Z | 2023-06-28T07:40:40Z | 2023-06-28T07:40:42Z |
DOC: Fixing EX01 - Added examples | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index c37f2ba5114c4..a67ff5274e0f7 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1476,6 +1476,17 @@ def groups(self) -> list:
-------
list
List of objects.
+
+ Examples
+ --------
+ >>> df... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
Note: I'll remove them from code_checks tomorrow to avoid merge conflict with a PR being tested now. | https://api.github.com/repos/pandas-dev/pandas/pulls/53889 | 2023-06-27T19:25:50Z | 2023-06-27T22:07:46Z | 2023-06-27T22:07:46Z | 2023-06-28T13:27:02Z |
CI: Fix pytest scripts and doc failure | diff --git a/doc/source/whatsnew/v0.10.0.rst b/doc/source/whatsnew/v0.10.0.rst
index c7802749e1d75..3425986a37743 100644
--- a/doc/source/whatsnew/v0.10.0.rst
+++ b/doc/source/whatsnew/v0.10.0.rst
@@ -181,7 +181,7 @@ labeled the aggregated group with the end of the interval: the next day).
``X0``, ``X1``, ...) can b... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53888 | 2023-06-27T19:10:31Z | 2023-06-27T22:06:20Z | 2023-06-27T22:06:20Z | 2023-06-28T07:27:24Z |
REF: de-duplicate methods, remove unused kwd | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 3dac13df6b670..746c555edc989 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -11502,7 +11502,7 @@ def quantile(
f"Invalid method: {method}. Method must be in {valid_method}."
)
if method == "single":
- ... | - [ ] 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/53886 | 2023-06-27T17:38:50Z | 2023-06-27T20:22:31Z | 2023-06-27T20:22:31Z | 2023-06-28T03:47:21Z |
Backport PR #53795 on branch 2.0.x (BUG: fixes weekday for dates before 1752) | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index a1acc9d92c694..8cfced2ee385a 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Bug in :meth:`Timestamp.weekda... | - [ ] 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/53884 | 2023-06-27T16:14:28Z | 2023-06-27T18:26:35Z | 2023-06-27T18:26:35Z | 2023-06-27T18:26:36Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 5870a9ad8d60b..9453edb0c88d8 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -108,14 +108,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.read_clipboard \
pandas.ExcelFile \
pandas.ExcelFile.parse \
- ... |
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53883 | 2023-06-27T14:49:09Z | 2023-06-27T16:43:45Z | 2023-06-27T16:43:45Z | 2023-06-27T18:48:58Z |
REF: helpers to de-duplicate CoW checks | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 9f1767befd18a..cb4b4d44d0139 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -571,6 +571,43 @@ def copy(self, deep: bool = True) -> Self:
refs = self.refs
return type(self)(va... | - [ ] 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/53882 | 2023-06-27T14:42:54Z | 2023-06-27T17:19:19Z | 2023-06-27T17:19:19Z | 2023-06-28T10:23:38Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 9453edb0c88d8..f4a0488581606 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -105,9 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.UnsupportedFunctionCall \
pandas.test \
pandas.NaT \
- p... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53880 | 2023-06-27T12:52:05Z | 2023-06-28T07:28:13Z | 2023-06-28T07:28:13Z | 2023-06-28T11:38:22Z |
DOC: Updated docstring for Period class | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index 2edb93e998255..d4997b5f00975 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -2674,7 +2674,7 @@ class Period(_Period):
freq : str, default None
One of pandas period strings or correspondi... | - [ ] closes #38859
- [ ] [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/53879 | 2023-06-27T08:42:22Z | 2023-06-27T09:36:45Z | 2023-06-27T09:36:45Z | 2023-06-27T09:36:46Z |
CLN: use `lib.no_default` instead of `lib.NoDefault` in `.pivot` | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index c7e8f74ff7849..e877680b3bb8d 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -47,11 +47,7 @@
properties,
)
from pandas._libs.hashtable import duplicated
-from pandas._libs.lib import (
- NoDefault,
- is_range_indexer,
- no_de... | - [x] Closes #53826
- [x] *No additional tests needed, it suffices to require all existing tests to pass*
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit)
- [x] *I assume that this does not need a changelog entry*
| https://api.github.com/repos/pandas-dev/pandas/pulls/53877 | 2023-06-27T06:17:05Z | 2023-06-27T17:08:04Z | 2023-06-27T17:08:04Z | 2023-06-28T05:39:49Z |
DOC Remove incorrect line from dropna docs | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index c7e8f74ff7849..72e57724ab7bc 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -6164,7 +6164,6 @@ def dropna(
* 0, or 'index' : Drop rows which contain missing values.
* 1, or 'columns' : Drop columns which contain mi... | Remove incorrect line "Pass tuple or list to drop on multiple axes. " from dropna docs, as the ability to drop on multiple axes has been depreciated.
| https://api.github.com/repos/pandas-dev/pandas/pulls/53876 | 2023-06-27T05:17:16Z | 2023-06-27T17:09:16Z | 2023-06-27T17:09:16Z | 2023-06-28T03:28:50Z |
REF: de-duplicate _gotitem helper | diff --git a/pandas/core/base.py b/pandas/core/base.py
index d4a808f4d7dd1..3710a644c7826 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -77,6 +77,7 @@
)
from pandas import (
+ DataFrame,
Index,
Series,
)
@@ -254,6 +255,21 @@ def _gotitem(self, key, ndim: int, su... | - [ ] 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/53874 | 2023-06-27T01:57:09Z | 2023-06-27T20:23:48Z | 2023-06-27T20:23:48Z | 2023-06-28T03:47:02Z |
TST: Clean plotting/frame/test_frame.py | diff --git a/pandas/tests/plotting/frame/test_frame.py b/pandas/tests/plotting/frame/test_frame.py
index 52fbfc23ef66c..f79d651384c56 100644
--- a/pandas/tests/plotting/frame/test_frame.py
+++ b/pandas/tests/plotting/frame/test_frame.py
@@ -50,16 +50,21 @@
class TestDataFramePlots:
- @pytest.mark.xfail(reason="... | Split or parameterized slow tests in this file | https://api.github.com/repos/pandas-dev/pandas/pulls/53873 | 2023-06-27T00:22:23Z | 2023-06-27T17:01:44Z | 2023-06-27T17:01:44Z | 2023-06-27T17:01:47Z |
CLN: unused args in pad_or_backfill | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 48c9305cf2ccc..f13a5e8b560a4 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -2239,7 +2239,6 @@ def interpolate(
limit,
limit_direction,
limit_area,
- ... | - [ ] 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/53872 | 2023-06-26T23:09:17Z | 2023-06-27T17:02:39Z | 2023-06-27T17:02:39Z | 2023-06-27T17:11:04Z |
REF: simplify _from_mgr constructors, use in more places | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index c7e8f74ff7849..2225312742744 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -638,12 +638,14 @@ def _constructor(self) -> Callable[..., DataFrame]:
return DataFrame
def _constructor_from_mgr(self, mgr, axes):
- if self... | Largely split off from #52419 | https://api.github.com/repos/pandas-dev/pandas/pulls/53871 | 2023-06-26T22:25:37Z | 2023-06-27T17:15:22Z | 2023-06-27T17:15:21Z | 2023-07-04T19:02:12Z |
BUG: merge with mismatched index dtypes failing to raise | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 6a0470b839843..ee1f1b7be1b86 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -495,6 +495,7 @@ Reshaping
- Bug in :func:`crosstab` when ``dropna=False`` would not keep ``np.nan`` in the result (:issue:... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/53870 | 2023-06-26T21:46:45Z | 2023-06-27T00:55:09Z | 2023-06-27T00:55:09Z | 2023-10-20T18:17:21Z |
Add SQL Support for ADBC Drivers | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 94652e8586d77..f03ee2d321529 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -56,5 +56,7 @@ dependencies:
- zstandard>=0.19.0
- pip:
+ - adbc-driver-postgresql>=0.8.0
+ - adbc-driver-sqlite>=0.8.0
- pyqt5>=... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53869 | 2023-06-26T20:27:24Z | 2023-11-22T18:19:44Z | 2023-11-22T18:19:44Z | 2023-11-22T18:20:02Z |
TYP: Fix pad_or_backfill limit_area type | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index c292e3cec4978..9f1767befd18a 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -1352,7 +1352,7 @@ def pad_or_backfill(
inplace: bool = False,
limit: int | None = None,
limi... | Post https://github.com/pandas-dev/pandas/pull/53827 maybe | https://api.github.com/repos/pandas-dev/pandas/pulls/53866 | 2023-06-26T19:14:47Z | 2023-06-26T20:20:26Z | 2023-06-26T20:20:26Z | 2023-06-26T20:20:30Z |
TST: Clean plotting/test_series | diff --git a/pandas/tests/plotting/test_series.py b/pandas/tests/plotting/test_series.py
index c2dffdb6f7e47..8186fcc9300e5 100644
--- a/pandas/tests/plotting/test_series.py
+++ b/pandas/tests/plotting/test_series.py
@@ -32,6 +32,7 @@
)
mpl = pytest.importorskip("matplotlib")
+plt = pytest.importorskip("matplotlib.... | Splits or parameterizes slow plotting tests | https://api.github.com/repos/pandas-dev/pandas/pulls/53865 | 2023-06-26T18:37:59Z | 2023-06-26T23:12:32Z | 2023-06-26T23:12:32Z | 2023-06-26T23:12:35Z |
TST: Clean plotting/test_misc.py | diff --git a/pandas/tests/plotting/test_misc.py b/pandas/tests/plotting/test_misc.py
index 9c5de2918b9a4..53219e0d20b6d 100644
--- a/pandas/tests/plotting/test_misc.py
+++ b/pandas/tests/plotting/test_misc.py
@@ -117,12 +117,21 @@ def test_scatter_matrix_axis(self, pass_axis):
ax=ax,
)
... | Splits or parameterizes large plotting tests | https://api.github.com/repos/pandas-dev/pandas/pulls/53864 | 2023-06-26T18:35:04Z | 2023-06-26T23:12:45Z | 2023-06-26T23:12:45Z | 2023-06-26T23:12:48Z |
CLN: Consolidate Dependencies | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4379220c33687..c9cd7528bcd2f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -15,18 +15,11 @@ default_stages: [
ci:
autofix_prs: false
repos:
-- repo: local
+- repo: https://github.com/hauntsaninja/black-pre-commit-mir... | Since pre-commit is the way we check for various style checks, we can remove other libraries that are contained in pre-commit.
Also simplifies a pylint check | https://api.github.com/repos/pandas-dev/pandas/pulls/53863 | 2023-06-26T18:32:32Z | 2023-07-06T20:19:17Z | 2023-07-06T20:19:17Z | 2023-07-06T20:19:21Z |
TST: Simplify more slow tests | diff --git a/pandas/tests/arithmetic/test_numeric.py b/pandas/tests/arithmetic/test_numeric.py
index a03c69d8e849c..455cae084b7c6 100644
--- a/pandas/tests/arithmetic/test_numeric.py
+++ b/pandas/tests/arithmetic/test_numeric.py
@@ -104,21 +104,24 @@ def test_compare_invalid(self):
b.name = pd.Timestamp("2000-... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53862 | 2023-06-26T18:28:36Z | 2023-06-26T23:15:17Z | 2023-06-26T23:15:17Z | 2023-06-26T23:15:20Z |
TST: increase coverage of asfreq | diff --git a/pandas/tests/frame/methods/test_asfreq.py b/pandas/tests/frame/methods/test_asfreq.py
index 47cebd31451e3..42997de78ecaa 100644
--- a/pandas/tests/frame/methods/test_asfreq.py
+++ b/pandas/tests/frame/methods/test_asfreq.py
@@ -211,3 +211,12 @@ def test_asfreq_after_normalize(self, unit):
)
... | In order to increase coverage of `asfreq` a test is added, in which we pass `freq = '2M'` to `asfreq`. There's no test which has a number with the frequency yet. | https://api.github.com/repos/pandas-dev/pandas/pulls/53861 | 2023-06-26T17:48:45Z | 2023-06-27T08:21:44Z | 2023-06-27T08:21:44Z | 2023-06-27T08:24:15Z |
Backport PR #53855: BUG: Fix string formatting | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 8e2b1dc315725..a1acc9d92c694 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed performance regression in ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53860 | 2023-06-26T17:29:50Z | 2023-06-26T19:08:54Z | 2023-06-26T19:08:54Z | 2023-06-26T19:08:58Z |
REF: share methods AM/BM | diff --git a/pandas/core/internals/array_manager.py b/pandas/core/internals/array_manager.py
index 6e6b521ae7d74..a9bf24784d405 100644
--- a/pandas/core/internals/array_manager.py
+++ b/pandas/core/internals/array_manager.py
@@ -6,7 +6,6 @@
import itertools
from typing import (
TYPE_CHECKING,
- Any,
Call... | - [ ] 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/53859 | 2023-06-26T15:25:34Z | 2023-06-27T00:56:41Z | 2023-06-27T00:56:41Z | 2023-06-27T01:45:15Z |
BUG: Fix pandas compatibility with Python installations lacking bzip2 headers | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 517baa648d805..8d3ee7824919c 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -453,6 +453,7 @@ I/O
- Bug in :func:`read_html`, tail texts were removed together with elements containing ``display:none``... | - [x] Fixes #53857
- [x] Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.
This simple change makes the `bz2` import optional. Some Python installations do not contain bzip2 headers, so unless you are working with bzip compression, there is no reason for pand... | https://api.github.com/repos/pandas-dev/pandas/pulls/53858 | 2023-06-26T12:30:05Z | 2023-07-07T19:08:43Z | 2023-07-07T19:08:43Z | 2023-07-07T19:08:51Z |
BUG: to_sql fails for pyarrow date dtype (#53854) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 7b9efd7f593dd..fbcb4b05ae34a 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -364,12 +364,14 @@ Datetimelike
- :meth:`DatetimeIndex.map` with ``na_action="ignore"`` now works as expected. (:issue:`516... | - [x] closes #53854
- [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/53856 | 2023-06-26T12:15:12Z | 2023-06-26T20:18:50Z | 2023-06-26T20:18:50Z | 2023-06-26T20:18:57Z |
BUG: Fix string formatting | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 3e12af946e661..8aab1e7b58f5e 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed performance regression in ... | - [x] closes #52690
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/53855 | 2023-06-26T11:28:57Z | 2023-06-26T17:24:42Z | 2023-06-26T17:24:42Z | 2023-06-26T17:28:14Z |
Backport PR #52150 on branch 2.0.x (Fix/mpl37 compat) | diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py
index 754cc94b6ded6..88244018079d2 100644
--- a/pandas/plotting/_matplotlib/core.py
+++ b/pandas/plotting/_matplotlib/core.py
@@ -1112,7 +1112,9 @@ def _get_subplots(self):
from matplotlib.axes import Subplot
retu... | Backport PR #52150: Fix/mpl37 compat
closes #53553 | https://api.github.com/repos/pandas-dev/pandas/pulls/53850 | 2023-06-25T23:49:03Z | 2023-06-26T04:04:49Z | 2023-06-26T04:04:49Z | 2023-06-26T04:05:16Z |
CI: Backport changes to fix unreliable tests on ARM | diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py
index 998ac9c8395ce..bdd54b5cf9ede 100644
--- a/pandas/tests/frame/indexing/test_setitem.py
+++ b/pandas/tests/frame/indexing/test_setitem.py
@@ -61,7 +61,7 @@ class mystring(str):
"dtype", ["int32", "int64",... | - [ ] closes #53791 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/53849 | 2023-06-25T22:27:06Z | 2023-06-26T03:06:47Z | 2023-06-26T03:06:47Z | 2023-06-26T03:06:49Z |
DOC: parameterize "See Also" content in `read_table` and `read_csv` so that only the other function appears | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index 153899e023137..d6dec01372e74 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -427,7 +427,7 @@
See Also
--------
DataFrame.to_csv : Write DataFrame to a comma-separated values (csv) file.
-read_csv : Read a ... | - [x] closes #53847
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Note: this was the least invasive way to update it and I think it's probably sufficient. The only duplication introduced would be repeating the "summary" lines for each of... | https://api.github.com/repos/pandas-dev/pandas/pulls/53848 | 2023-06-25T21:43:19Z | 2023-06-26T17:32:36Z | 2023-06-26T17:32:36Z | 2023-06-26T22:20:23Z |
REF: remove axis keyword from Manager/Block.shift | diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py
index 0100c17805d76..f586de3d2bdee 100644
--- a/pandas/core/arrays/_mixins.py
+++ b/pandas/core/arrays/_mixins.py
@@ -238,7 +238,9 @@ def searchsorted(
return self._ndarray.searchsorted(npvalue, side=side, sorter=sorter)
@doc(Ext... | This adds an assertion to NDFrame.shift that won't be Technically Correct until #53832 is merged.
| https://api.github.com/repos/pandas-dev/pandas/pulls/53845 | 2023-06-25T19:08:29Z | 2023-06-27T17:25:41Z | 2023-06-27T17:25:41Z | 2023-06-27T17:26:47Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.