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 |
|---|---|---|---|---|---|---|---|
TST: groupby string dtype | diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py
index 4388913511be2..7db17da9961d7 100644
--- a/pandas/tests/groupby/test_groupby.py
+++ b/pandas/tests/groupby/test_groupby.py
@@ -2710,6 +2710,26 @@ def test_single_element_list_grouping():
assert result == expected
+def... | - [x] closes #40148
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/52599 | 2023-04-11T15:58:21Z | 2023-04-12T21:09:26Z | 2023-04-12T21:09:26Z | 2023-04-13T02:58:33Z |
STYLE sort whatsnew entries alphabeticaly, allow for trailing full stops | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 939473f132bcb..838fd4fa28442 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -14,35 +14,35 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression for subclasse... | This came up in #52214 - cc @rhshadrach | https://api.github.com/repos/pandas-dev/pandas/pulls/52598 | 2023-04-11T15:45:20Z | 2023-04-13T16:24:47Z | 2023-04-13T16:24:47Z | 2023-04-13T18:22:26Z |
DOC Added that DatetimeIndex needs to be ordered on first() | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index e16ef3580d96f..3da4f96444215 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -9020,7 +9020,7 @@ def first(self, offset) -> Self:
"""
Select initial periods of time series data based on a date offset.
- When... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/52596 | 2023-04-11T14:49:13Z | 2023-04-11T16:08:00Z | 2023-04-11T16:08:00Z | 2023-04-14T10:06:05Z |
Backport PR #52548 on branch 2.0.x (PERF: Improve performance for arrow engine and dtype_backend=pyarrow for datetime conversion) | diff --git a/asv_bench/benchmarks/io/csv.py b/asv_bench/benchmarks/io/csv.py
index f5aa421951a1d..cde42d99d49a0 100644
--- a/asv_bench/benchmarks/io/csv.py
+++ b/asv_bench/benchmarks/io/csv.py
@@ -555,4 +555,19 @@ def time_read_csv_index_col(self):
read_csv(self.StringIO_input, index_col="a")
+class ReadCS... | Backport PR #52548: PERF: Improve performance for arrow engine and dtype_backend=pyarrow for datetime conversion | https://api.github.com/repos/pandas-dev/pandas/pulls/52592 | 2023-04-11T10:07:11Z | 2023-04-11T17:32:18Z | 2023-04-11T17:32:18Z | 2023-04-11T17:32:19Z |
BUG: pd.array raising with NumPy array and large dtype | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index 09932a2d2d571..f6b0b4086cb39 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -22,6 +22,7 @@ Bug fixes
~~~~~~~~~
- Bug in :func:`api.interchange.from_dataframe` was returning :class:`DataFrame`'s of i... | - [x] closes #52590 (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/52591 | 2023-04-11T10:05:21Z | 2023-04-27T00:15:00Z | 2023-04-27T00:15:00Z | 2023-04-27T07:50:29Z |
DEPR: use DeprecationWarning for Categorical fastpath deprecation | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index f41327a4a16ca..f037e14177fdb 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -381,7 +381,7 @@ def __init__(
warnings.warn(
"The 'fastpath' keyword in Categoric... | Follow-up on https://github.com/pandas-dev/pandas/pull/52472, changing the warning type. I expect this fastpath to be used in libraries (at least pyarrow did), and first using DeprecationWarning avoids that users see this warning if it's not coming from their own code (i.e. avoids warnings they can't do anything about)... | https://api.github.com/repos/pandas-dev/pandas/pulls/52589 | 2023-04-11T07:58:21Z | 2023-04-11T17:32:46Z | 2023-04-11T17:32:46Z | 2023-04-11T17:32:55Z |
CI: Consolidate comment commands GHA | diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml
deleted file mode 100644
index b3331060823a9..0000000000000
--- a/.github/workflows/assign.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-name: Assign
-on:
- issue_comment:
- types: created
-
-permissions:
- contents: read
-
-jobs:
- issue_assign:
- ... | Avoids creating a whole other workflow run just to check another type of comment | https://api.github.com/repos/pandas-dev/pandas/pulls/52587 | 2023-04-11T01:31:32Z | 2023-04-11T21:43:09Z | 2023-04-11T21:43:09Z | 2023-04-11T23:02:35Z |
BUG: reindex with fill_value that should give EA dtype | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index afe361da1114d..648ce35d62590 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -390,6 +390,8 @@ Other
- Bug in :meth:`Series.memory_usage` when ``deep=True`` throw an error with Series of objects and th... | - [ ] 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/52586 | 2023-04-11T00:44:22Z | 2023-04-11T17:55:38Z | 2023-04-11T17:55:38Z | 2023-04-11T17:56:18Z |
REF: use dtype.freq less in PeriodDtype | diff --git a/pandas/_libs/tslibs/dtypes.pyx b/pandas/_libs/tslibs/dtypes.pyx
index 2bfbcae70b990..c8779d5b244dc 100644
--- a/pandas/_libs/tslibs/dtypes.pyx
+++ b/pandas/_libs/tslibs/dtypes.pyx
@@ -53,7 +53,10 @@ cdef class PeriodDtypeBase:
@property
def _freqstr(self) -> str:
# Will be passed to to_o... | - [ ] 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/52585 | 2023-04-11T00:44:04Z | 2023-04-11T18:04:17Z | 2023-04-11T18:04:17Z | 2023-04-11T18:17:11Z |
Backport PR #52547 on branch 2.0.x (BUG: __from_arrow__ not respecting explicit dtype) | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 2b2a1029f6544..855a2c71001c6 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -26,6 +26,7 @@ Bug fixes
- Bug in :meth:`Series.describe` not returning :class:`ArrowDtype` with ``pyarrow.float64`` type w... | Backport PR #52547: BUG: __from_arrow__ not respecting explicit dtype | https://api.github.com/repos/pandas-dev/pandas/pulls/52584 | 2023-04-10T23:21:53Z | 2023-04-11T01:19:45Z | 2023-04-11T01:19:45Z | 2023-04-11T01:19:46Z |
Backport PR #52565 on branch 2.0.x (REGR: Fix regression in sort_values not resetting index) | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 2b2a1029f6544..6174af17b24b0 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression for subclassed Series when constructing from a dicti... | Backport PR #52565: REGR: Fix regression in sort_values not resetting index | https://api.github.com/repos/pandas-dev/pandas/pulls/52583 | 2023-04-10T23:17:59Z | 2023-04-11T07:37:04Z | 2023-04-11T07:37:04Z | 2023-04-11T07:37:05Z |
PERF: numpy dtype checks | diff --git a/pandas/_libs/lib.pyi b/pandas/_libs/lib.pyi
index 2e425f5797c62..05d569f0e58eb 100644
--- a/pandas/_libs/lib.pyi
+++ b/pandas/_libs/lib.pyi
@@ -36,6 +36,7 @@ NoDefault = Literal[_NoDefault.no_default]
i8max: int
u8max: int
+def is_np_dtype(dtype: object, kinds: str | None = ...) -> bool: ...
def item_... | - [ ] 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/52582 | 2023-04-10T22:45:10Z | 2023-04-12T22:56:50Z | 2023-04-12T22:56:49Z | 2023-04-12T22:58:10Z |
TYP: some typing in internals/concat.py | diff --git a/pandas/_libs/internals.pyi b/pandas/_libs/internals.pyi
index cee96801290b4..89b5443466d4e 100644
--- a/pandas/_libs/internals.pyi
+++ b/pandas/_libs/internals.pyi
@@ -53,6 +53,7 @@ class BlockPlacement:
def __iter__(self) -> Iterator[int]: ...
def __len__(self) -> int: ...
def delete(self, ... | Some typing. | https://api.github.com/repos/pandas-dev/pandas/pulls/52581 | 2023-04-10T21:26:01Z | 2023-04-11T14:28:11Z | 2023-04-11T14:28:10Z | 2023-04-11T14:28:18Z |
TYP: remove ignore from pandas/core/reshape/melt.py | diff --git a/pandas/core/reshape/melt.py b/pandas/core/reshape/melt.py
index 8ed8dd1466475..df9112faa2a47 100644
--- a/pandas/core/reshape/melt.py
+++ b/pandas/core/reshape/melt.py
@@ -128,15 +128,12 @@ def melt(
id_data = frame.pop(col)
if is_extension_array_dtype(id_data):
if K > 0:
- ... | Related to #37715
mypy ignore[assignment] was removed from pandas/core/reshape/melt.py | https://api.github.com/repos/pandas-dev/pandas/pulls/52580 | 2023-04-10T20:37:03Z | 2023-04-10T23:08:11Z | 2023-04-10T23:08:11Z | 2023-04-10T23:08:19Z |
Backport PR #52426 on branch 2.0.x (API: Series/DataFrame from empty dict should have RangeIndex) | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index caf237fb15163..2b2a1029f6544 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -32,7 +32,8 @@ Bug fixes
Other
~~~~~
--
+- :class:`DataFrame` created from empty dicts had :attr:`~DataFrame.columns` o... | Backport PR #52426: API: Series/DataFrame from empty dict should have RangeIndex | https://api.github.com/repos/pandas-dev/pandas/pulls/52578 | 2023-04-10T20:11:46Z | 2023-04-10T23:05:53Z | 2023-04-10T23:05:53Z | 2023-04-10T23:05:54Z |
BUG: describe not respecting ArrowDtype in include/exclude | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 7bd1b8f963726..bec442a319738 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -38,6 +38,7 @@ Bug fixes
- Bug in :func:`to_datetime` and :func:`to_timedelta` when trying to convert numeric data with a :... | - [x] closes #52570 (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/52577 | 2023-04-10T20:10:48Z | 2023-04-23T11:45:39Z | 2023-04-23T11:45:39Z | 2023-04-23T11:45:43Z |
Backport PR #52573 on branch 2.0.x (DOC: Fix typo in whatsnew/v2.0.0.rst) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 23b05634acf1b..b912fd5ee9d2d 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -207,7 +207,7 @@ Copy-on-Write improvements
with a :class:`DataFrame`.
- Trying to set values using chained assignment... | Backport PR #52573: DOC: Fix typo in whatsnew/v2.0.0.rst | https://api.github.com/repos/pandas-dev/pandas/pulls/52575 | 2023-04-10T19:59:34Z | 2023-04-10T21:55:28Z | 2023-04-10T21:55:28Z | 2023-04-10T21:55:29Z |
Backport PR #52530 on branch 2.0.x (DOC: Fix some rendering problems in arrow and io user guide) | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index c4e5ad773ca09..b9c224c60d126 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -302,7 +302,7 @@ date_format : str or dict of column -> format, default ``None``
format. For anything more complex,
please r... | Backport PR #52530: DOC: Fix some rendering problems in arrow and io user guide | https://api.github.com/repos/pandas-dev/pandas/pulls/52574 | 2023-04-10T19:59:22Z | 2023-04-10T21:18:39Z | 2023-04-10T21:18:39Z | 2023-04-10T21:18:40Z |
DOC: Fix typo in whatsnew/v2.0.0.rst | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 2ee6ecc4e6cd4..3ddc8b8919228 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -207,7 +207,7 @@ Copy-on-Write improvements
with a :class:`DataFrame`.
- Trying to set values using chained assignment... | - [N/A] closes #xxxx (Replace xxxx with the GitHub issue number)
- [N/A] [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
- [N/A] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/developme... | https://api.github.com/repos/pandas-dev/pandas/pulls/52573 | 2023-04-10T19:50:29Z | 2023-04-10T19:58:39Z | 2023-04-10T19:58:39Z | 2023-04-10T19:59:00Z |
REGR: MultiIndex.isin raising TypeError for generator | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index a4a58811e382f..cfe7c587f039f 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -16,6 +16,7 @@ Fixed regressions
- Fixed regression for subclassed Series when constructing from a dictionary (:issue:`5244... | - [x] closes #52568 (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/52572 | 2023-04-10T19:24:30Z | 2023-04-11T16:30:48Z | 2023-04-11T16:30:48Z | 2023-04-11T21:24:42Z |
CLN: assorted | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 9d53db4613fca..812bec9d883f3 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -248,6 +248,7 @@ Performance improvements
- Performance improvement in :meth:`Series.combine_first` (:issue:`51777`)
- Per... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/52569 | 2023-04-10T17:41:26Z | 2023-04-10T23:04:25Z | 2023-04-10T23:04:25Z | 2023-04-10T23:10:05Z |
BUG: disallow constructing Period with freq=C | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 85ac166509b7f..f2baa33b7cfc4 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -337,6 +337,8 @@ Period
- Bug in :meth:`arrays.PeriodArray.map` and :meth:`PeriodIndex.map`, where the supplied callable op... | - [x] closes #52534 (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/52567 | 2023-04-10T17:36:02Z | 2023-04-11T00:16:44Z | 2023-04-11T00:16:43Z | 2023-04-11T00:41:04Z |
BUG: DataFrame reductions casting ts resolution always to nanoseconds | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 7b4dc890da3e1..6c03bca5200b3 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -28,6 +28,7 @@ Bug fixes
- Bug in :meth:`Series.describe` not returning :class:`ArrowDtype` with ``pyarrow.float64`` type w... | - [x] closes #52524 (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/52566 | 2023-04-10T16:23:30Z | 2023-04-12T08:14:41Z | 2023-04-12T08:14:41Z | 2023-04-12T08:14:48Z |
REGR: Fix regression in sort_values not resetting index | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index caf237fb15163..12134fe79df6d 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -15,6 +15,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression for subclassed Series when constructing from a dicti... | - [x] closes #52553 (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/52565 | 2023-04-10T15:54:42Z | 2023-04-10T23:16:59Z | 2023-04-10T23:16:59Z | 2023-04-11T08:01:01Z |
DEPR: is_int64_dtype | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 9f5d6011a7780..d6d3461a4569a 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -176,6 +176,7 @@ Deprecations
- Deprecated making :meth:`Series.apply` return a :class:`DataFrame` when the passed-in calla... | - [ ] 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/52564 | 2023-04-10T15:35:03Z | 2023-04-10T17:52:47Z | 2023-04-10T17:52:47Z | 2023-04-10T18:09:08Z |
Fix error message for pyarrow and \s+ | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 299adc5af8aea..f3883bc7803f6 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -384,6 +384,7 @@ I/O
^^^
- :meth:`DataFrame.to_orc` now raising ``ValueError`` when non-default :class:`Index` is given (:... | - [x] closes #52554
- [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/52563 | 2023-04-10T14:50:24Z | 2023-07-24T18:01:05Z | null | 2023-07-24T18:01:05Z |
CLN: remove unused is_any_int_dtype | diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py
index ab431b0faee16..7b4457fe477ca 100644
--- a/pandas/core/dtypes/common.py
+++ b/pandas/core/dtypes/common.py
@@ -581,58 +581,6 @@ def is_dtype_equal(source, target) -> bool:
return False
-def is_any_int_dtype(arr_or_dtype) -> bool:... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/52562 | 2023-04-10T14:08:18Z | 2023-04-10T16:49:36Z | 2023-04-10T16:49:36Z | 2023-04-10T16:50:13Z |
Add test for MultiIndex.from_tuples | diff --git a/pandas/tests/indexing/multiindex/test_multiindex.py b/pandas/tests/indexing/multiindex/test_multiindex.py
index 8e507212976ec..d7285f0069c71 100644
--- a/pandas/tests/indexing/multiindex/test_multiindex.py
+++ b/pandas/tests/indexing/multiindex/test_multiindex.py
@@ -206,3 +206,11 @@ def test_multiindex_wi... | - [x] closes #23578
- [ ] [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/52560 | 2023-04-10T09:20:24Z | 2023-04-10T23:17:49Z | 2023-04-10T23:17:49Z | 2023-04-10T23:17:57Z |
DOC: suggests low-resource options for contributing environment | diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst
index 0eda4615eff85..858c3322a14b0 100644
--- a/doc/source/development/contributing_environment.rst
+++ b/doc/source/development/contributing_environment.rst
@@ -210,6 +210,8 @@ Step 3: build and insta... | - [x] closes #52529
- [N/A] [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/52557 | 2023-04-09T23:43:10Z | 2023-04-10T16:55:14Z | 2023-04-10T16:55:14Z | 2023-04-10T16:55:20Z |
BLD: Add DLL hashes to RECORD | diff --git a/ci/fix_wheels.py b/ci/fix_wheels.py
index 525aacf572cd4..76b70fdde9ea0 100644
--- a/ci/fix_wheels.py
+++ b/ci/fix_wheels.py
@@ -1,5 +1,14 @@
+"""
+This file "repairs" our Windows wheels by copying the necessary DLLs for pandas to run
+on a barebones Windows installation() into the wheel.
+
+NOTE: The paths... | - [ ] closes #52465 (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/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/52556 | 2023-04-09T21:53:41Z | 2023-04-13T01:40:20Z | 2023-04-13T01:40:20Z | 2023-04-13T01:40:36Z |
BUG: DatetimeArray.unit when constructed from a non-nano ndarray | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 7b4dc890da3e1..a98c162c37d74 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -30,6 +30,7 @@ Bug fixes
- Bug in :func:`pandas.testing.assert_series_equal` where ``check_dtype=False`` would still raise ... | - [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/52555 | 2023-04-09T21:28:15Z | 2023-04-11T21:30:54Z | 2023-04-11T21:30:54Z | 2023-04-18T11:03:26Z |
DEPS: Bump optional dependencies | diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml
index 03925991ec632..95d0d78c7585b 100644
--- a/.github/workflows/32-bit-linux.yml
+++ b/.github/workflows/32-bit-linux.yml
@@ -39,7 +39,7 @@ jobs:
. ~/virtualenvs/pandas-dev/bin/activate && \
python -m pip instal... | These version have been out for ~1 year | https://api.github.com/repos/pandas-dev/pandas/pulls/52552 | 2023-04-09T18:49:53Z | 2023-04-10T16:31:22Z | 2023-04-10T16:31:22Z | 2023-04-10T16:31:26Z |
Add diff() and round() methods for Index and a test for each | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index e860d59f2e5bd..f32598e72685e 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -80,6 +80,7 @@ Other enhancements
- :meth:`MultiIndex.sortlevel` and :meth:`Index.sortlevel` gained a new keyword ``na_posi... | - [x] closes #19708
- [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/52551 | 2023-04-09T17:28:17Z | 2023-04-17T17:25:01Z | 2023-04-17T17:25:01Z | 2023-04-17T17:25:08Z |
REF: avoid Period.freq | diff --git a/pandas/_libs/tslibs/period.pyi b/pandas/_libs/tslibs/period.pyi
index 690518a9fa88f..8826757e31c32 100644
--- a/pandas/_libs/tslibs/period.pyi
+++ b/pandas/_libs/tslibs/period.pyi
@@ -3,6 +3,7 @@ from typing import Literal
import numpy as np
+from pandas._libs.tslibs.dtypes import PeriodDtypeBase
fro... | - [ ] 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/52549 | 2023-04-08T23:14:49Z | 2023-04-10T18:02:43Z | 2023-04-10T18:02:43Z | 2023-04-10T18:06:25Z |
PERF: Improve performance for arrow engine and dtype_backend=pyarrow for datetime conversion | diff --git a/asv_bench/benchmarks/io/csv.py b/asv_bench/benchmarks/io/csv.py
index 7245f6ebe7736..36301d22db5d3 100644
--- a/asv_bench/benchmarks/io/csv.py
+++ b/asv_bench/benchmarks/io/csv.py
@@ -555,4 +555,19 @@ def time_read_csv_index_col(self):
read_csv(self.StringIO_input, index_col="a")
+class ReadCS... | - [x] closes #52546 (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/52548 | 2023-04-08T22:44:16Z | 2023-04-11T10:07:02Z | 2023-04-11T10:07:02Z | 2023-04-11T10:07:06Z |
BUG: __from_arrow__ not respecting explicit dtype | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index caf237fb15163..bb25a4b3ad17e 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -26,6 +26,7 @@ Bug fixes
- Bug in :meth:`Series.describe` not returning :class:`ArrowDtype` with ``pyarrow.float64`` type w... | - [x] closes #52533 (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/52547 | 2023-04-08T22:28:00Z | 2023-04-10T23:21:45Z | 2023-04-10T23:21:45Z | 2023-04-11T08:01:17Z |
MAINT: remove `from numpy.math cimport` usages | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 89ffe6f225109..406b1a0f1f807 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -3,7 +3,10 @@ from cython cimport (
Py_ssize_t,
floating,
)
-from libc.math cimport sqrt
+from libc.math cimport (
+ NAN,
+ sqrt,
+... | These are available from Cython's `libc`, which is cleaner. NumPy would like to get rid of shipping libnpymath, and has also deprecated the (unrelated) `numpy.math` in the Python API. So best to not use it from Cython either. | https://api.github.com/repos/pandas-dev/pandas/pulls/52544 | 2023-04-08T21:44:52Z | 2023-04-10T23:19:46Z | 2023-04-10T23:19:46Z | 2023-04-11T07:04:54Z |
TYP: remove ignore from pandas/core/groupby/groupby.py | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index a9ce8e11ddcdb..6c105b6a51e3e 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -3303,13 +3303,9 @@ def post_processor(
orig_scalar = is_scalar(q)
if orig_scalar:
- # error:... | Related to https://github.com/pandas-dev/pandas/issues/37715
mypy `ignore[assignment]` was removed from pandas/core/groupby/groupby.py | https://api.github.com/repos/pandas-dev/pandas/pulls/52543 | 2023-04-08T20:49:43Z | 2023-04-09T07:49:12Z | 2023-04-09T07:49:11Z | 2023-04-09T07:49:30Z |
REF: slice before constructing JoinUnit | diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py
index a88f2c97c7628..9e7fc719f24bd 100644
--- a/pandas/core/internals/concat.py
+++ b/pandas/core/internals/concat.py
@@ -1,6 +1,5 @@
from __future__ import annotations
-import copy as cp
import itertools
from typing import (
TYPE_... | I'm seeing small speedups in the case from #50652, not as much as I had hoped for. The main upside is significantly simplifying JoinUnit. | https://api.github.com/repos/pandas-dev/pandas/pulls/52542 | 2023-04-08T18:27:59Z | 2023-04-10T18:25:20Z | 2023-04-10T18:25:19Z | 2023-04-17T17:30:17Z |
PERF: concat(axis=1) for objects with different indexes | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index eaa51730477cc..cd6d091334ae2 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -73,7 +73,14 @@ def time_f_ordered(self, axis, ignore_index):
class ConcatIndexDtype:
params = (
- ... | - [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/52541 | 2023-04-08T17:19:14Z | 2023-04-10T19:47:46Z | 2023-04-10T19:47:46Z | 2023-04-18T11:03:27Z |
BUG: Series.rename(scalar, copy=False) still copies data | diff --git a/pandas/core/series.py b/pandas/core/series.py
index f8875555fdf97..93e1579738a50 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -4726,6 +4726,13 @@ def rename(
errors=errors,
)
else:
+ # since _set_name supports only inplace and not copy ... | - [X] closes #52450(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/52540 | 2023-04-08T16:18:48Z | 2023-05-04T12:14:05Z | null | 2023-05-04T12:16:49Z |
Backport PR #52518 on branch 2.0.x (WARN: std and var showing RuntimeWarning for ea dtype with one element | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 882b600278c88..caf237fb15163 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression for subclassed ... | #52518 | https://api.github.com/repos/pandas-dev/pandas/pulls/52539 | 2023-04-08T15:48:36Z | 2023-04-08T18:48:54Z | 2023-04-08T18:48:54Z | 2023-04-08T18:50:11Z |
CLN/TST: Clean groupby.test_allowlist | diff --git a/pandas/tests/groupby/test_allowlist.py b/pandas/tests/groupby/test_allowlist.py
index 894e9afa86fa2..4dffad2b6b462 100644
--- a/pandas/tests/groupby/test_allowlist.py
+++ b/pandas/tests/groupby/test_allowlist.py
@@ -1,6 +1,6 @@
"""
-test methods relating to generic function evaluation
-the so-called white... | - [ ] 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/52537 | 2023-04-08T13:11:52Z | 2023-04-09T08:12:04Z | 2023-04-09T08:12:04Z | 2023-04-16T13:31:41Z |
PERF: avoid unnecessary check in concat | diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py
index fda445af5c0c4..a88f2c97c7628 100644
--- a/pandas/core/internals/concat.py
+++ b/pandas/core/internals/concat.py
@@ -13,6 +13,7 @@
from pandas._libs import (
NaT,
internals as libinternals,
+ lib,
)
from pandas._libs.mis... | indexers[0] never has negative entries, so needs_filling is always False, so dtype always matches block.dtype. | https://api.github.com/repos/pandas-dev/pandas/pulls/52535 | 2023-04-08T03:07:49Z | 2023-04-08T15:51:28Z | 2023-04-08T15:51:28Z | 2023-04-08T15:52:12Z |
DEPR: concat ignoring empty objects | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 2c5263f447951..e6dfe004dffcc 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -222,6 +222,7 @@ Deprecations
- Deprecated 'broadcast_axis' keyword in :meth:`Series.align` and :meth:`DataFrame.align`, up... | - [x] closes #39122 (Replace xxxx with the GitHub issue number)
- [x] closes #22186
- [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-do... | https://api.github.com/repos/pandas-dev/pandas/pulls/52532 | 2023-04-07T23:58:23Z | 2023-07-10T20:37:33Z | 2023-07-10T20:37:33Z | 2023-07-10T23:49:25Z |
TYP: core.reshape | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 6b8e72c503de3..0281a0a9f562e 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -1004,7 +1004,7 @@ def _maybe_add_join_keys(
result_dtype = find_common_type([lvals.dtype, rvals.dtype])
... | - [ ] 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/52531 | 2023-04-07T23:49:22Z | 2023-04-08T15:54:50Z | 2023-04-08T15:54:50Z | 2023-04-08T15:57:25Z |
DOC: Fix some rendering problems in arrow and io user guide | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index c33d4ab92d4c6..1002eb9ee8568 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -302,7 +302,7 @@ date_format : str or dict of column -> format, default ``None``
format. For anything more complex,
please r... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/52530 | 2023-04-07T23:25:43Z | 2023-04-10T19:57:55Z | 2023-04-10T19:57:55Z | 2023-04-10T20:10:59Z |
Make `infer_freq` accept `Series` of timezone-aware `Timestamp`s | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index fd19c84f8ab23..a70ff2ae9b252 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -229,7 +229,7 @@ Timedelta
Timezones
^^^^^^^^^
--
+- Bug in :func:`infer_freq` that raises ``TypeError`` for ``Series`` ... | - [x] closes #52456
- [x] Fixed `infer_freq`'s documentation making it consistent with type annotation and implementation
- [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 passe... | https://api.github.com/repos/pandas-dev/pandas/pulls/52528 | 2023-04-07T22:15:25Z | 2023-04-10T20:03:43Z | 2023-04-10T20:03:42Z | 2023-04-10T20:03:50Z |
DEPR: is_categorical_dtype | diff --git a/doc/source/user_guide/scale.rst b/doc/source/user_guide/scale.rst
index 65ed82d9d2cf5..182f1ca39e0a8 100644
--- a/doc/source/user_guide/scale.rst
+++ b/doc/source/user_guide/scale.rst
@@ -257,6 +257,7 @@ We'll import ``dask.dataframe`` and notice that the API feels similar to pandas.
We can use Dask's ``r... | - [x] closes #35793 (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/52527 | 2023-04-07T20:23:11Z | 2023-04-11T18:20:17Z | 2023-04-11T18:20:17Z | 2023-04-11T19:00:48Z |
Backport PR #52458: BUG: tm.assert_series_equalcheck_dtype=False) with different resos | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index fd00f3ed1ff0a..882b600278c88 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -24,6 +24,7 @@ Bug fixes
- Bug in :func:`to_datetime` and :func:`to_timedelta` when trying to convert numeric data with a :... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/52526 | 2023-04-07T20:16:46Z | 2023-04-07T23:32:43Z | 2023-04-07T23:32:43Z | 2023-04-07T23:32:46Z |
PERF: ArrowExtensionArray.to_numpy | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index a037e50593737..716ba5e0011fe 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -199,6 +199,7 @@ Performance improvements
- Performance improvement in :class:`Series` reductions (:issue:`52341`)
- Perfo... | - [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/52525 | 2023-04-07T19:54:08Z | 2023-04-07T23:57:28Z | 2023-04-07T23:57:28Z | 2023-04-18T11:03:30Z |
Add new test for None values on string columns on a Dataframe | diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py
index 9b01c6b45918c..b7b371aad4200 100644
--- a/pandas/tests/indexing/test_loc.py
+++ b/pandas/tests/indexing/test_loc.py
@@ -62,6 +62,12 @@ def test_not_change_nan_loc(series, new_series, expected_ser):
class TestLoc:
+ def test... | - [x] #32218
- [ ] [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).
- [ ] Added... | https://api.github.com/repos/pandas-dev/pandas/pulls/52523 | 2023-04-07T18:50:01Z | 2023-04-10T20:05:16Z | 2023-04-10T20:05:16Z | 2023-04-10T20:05:23Z |
Backport PR #52519 on branch 2.0.x (DOC: Fix permission denied error in docbuild) | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index 537463d293287..260213e2ae760 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -36,14 +36,14 @@ headers included in the request. This can be used to control the User-Agent
header or send other custom h... | Backport PR #52519: DOC: Fix permission denied error in docbuild | https://api.github.com/repos/pandas-dev/pandas/pulls/52522 | 2023-04-07T17:30:10Z | 2023-04-07T20:13:53Z | 2023-04-07T20:13:53Z | 2023-04-07T20:13:54Z |
Backport PR #52516 on branch 2.0.x (REGR: fix Series construction from dict for subclasses) | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index bf21d6402d621..fd00f3ed1ff0a 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed regression for subcla... | Backport PR #52516: REGR: fix Series construction from dict for subclasses | https://api.github.com/repos/pandas-dev/pandas/pulls/52520 | 2023-04-07T15:52:17Z | 2023-04-07T17:34:52Z | 2023-04-07T17:34:52Z | 2023-04-07T17:34:53Z |
DOC: Fix permission denied error in docbuild | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index 537463d293287..260213e2ae760 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -36,14 +36,14 @@ headers included in the request. This can be used to control the User-Agent
header or send other custom h... | - [ ] 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/52519 | 2023-04-07T15:41:19Z | 2023-04-07T17:29:32Z | 2023-04-07T17:29:32Z | 2023-04-07T17:34:02Z |
WARN: std and var showing RuntimeWarning for ea dtype with one element | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 882b600278c88..caf237fb15163 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression for subclassed ... | - [x] closes #52515 (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/52518 | 2023-04-07T15:33:29Z | 2023-04-07T23:58:50Z | 2023-04-07T23:58:50Z | 2023-04-11T21:44:11Z |
REF: Introduce enum class InferredType | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index 5bf99301d9261..6e18f28b12e67 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -1380,9 +1380,34 @@ cdef object _try_infer_map(object dtype):
return None
-def infer_dtype(value: object, skipna: bool = True) -> str:
- """
- Return... | - [x] closes #29868
- [ ] [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/52517 | 2023-04-07T14:34:19Z | 2023-05-23T16:43:40Z | null | 2023-05-23T16:43:41Z |
REGR: fix Series construction from dict for subclasses | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index bf21d6402d621..fd00f3ed1ff0a 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed regression for subcla... | - [ ] closes #52445
- [ ] [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/52516 | 2023-04-07T13:33:40Z | 2023-04-07T15:51:48Z | 2023-04-07T15:51:48Z | 2023-04-07T15:53:57Z |
TST: Test for setting indexed Series of type string[pyarrow] using dataframe loc | diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py
index 9b01c6b45918c..b144d8ad62911 100644
--- a/pandas/tests/indexing/test_loc.py
+++ b/pandas/tests/indexing/test_loc.py
@@ -2970,6 +2970,28 @@ def test_loc_periodindex_3_levels():
assert mi_series.loc[(p_index[0], "A", "B")] == 1.... | - [x] closes #52319
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/52514 | 2023-04-07T12:57:08Z | 2023-04-08T17:07:42Z | 2023-04-08T17:07:42Z | 2023-04-08T17:07:51Z |
CI: Uprade mypy min version | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 38161a29a9ff7..a037e50593737 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -123,7 +123,7 @@ If installed, we now require:
+-----------------+-----------------+----------+---------+
| Package ... | - [ ] 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/52512 | 2023-04-07T11:44:23Z | 2023-04-07T17:33:52Z | 2023-04-07T17:33:52Z | 2023-04-07T17:34:17Z |
Backport PR #52473: BUG: to_timedelta/datetime with numeric ArrowExtnsionArray | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 9071d242e25b5..bf21d6402d621 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` one on... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/52507 | 2023-04-07T01:56:13Z | 2023-04-07T11:24:39Z | 2023-04-07T11:24:39Z | 2023-04-07T17:00:17Z |
PERF: dtype checks | diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py
index 718404f0799e4..ace668d6ef7ee 100644
--- a/pandas/core/dtypes/missing.py
+++ b/pandas/core/dtypes/missing.py
@@ -26,15 +26,12 @@
TD64NS_DTYPE,
ensure_object,
is_bool_dtype,
- is_complex_dtype,
is_dtype_equal,
is_... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/52506 | 2023-04-07T01:33:11Z | 2023-04-07T20:13:14Z | 2023-04-07T20:13:14Z | 2023-04-07T20:17:14Z |
Overhauled extension debugging guide | diff --git a/doc/source/development/debugging_extensions.rst b/doc/source/development/debugging_extensions.rst
index 32cb8f4c4d8cd..8fa9c94ae96c9 100644
--- a/doc/source/development/debugging_extensions.rst
+++ b/doc/source/development/debugging_extensions.rst
@@ -6,126 +6,10 @@
Debugging C extensions
===============... | Not sure how useful the current guide is compared to the more in depth posts, but happy to put back anything previously thought valuable
| https://api.github.com/repos/pandas-dev/pandas/pulls/52504 | 2023-04-06T23:25:39Z | 2023-04-07T11:42:37Z | 2023-04-07T11:42:37Z | 2023-04-12T20:15:52Z |
ENH: Add more dt property/method support for ArrowDtype(timestamp) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 7e9a918179714..827bbc7fb06c3 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -87,6 +87,7 @@ Other enhancements
- Added to the escape mode "latex-math" preserving without escaping all characters betwee... | - [x] closes #52388 (Replace xxxx with the GitHub issue number)
- [x] closes #51718
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-do... | https://api.github.com/repos/pandas-dev/pandas/pulls/52503 | 2023-04-06T23:15:17Z | 2023-04-21T17:59:26Z | 2023-04-21T17:59:26Z | 2023-04-21T17:59:30Z |
PERF: Series.corr/Series.cov for EA dtypes | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 107b22953ff79..e4cfcca2664f9 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -196,6 +196,7 @@ Performance improvements
- Performance improvement in :func:`factorize` for object columns not containing ... | - [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/52502 | 2023-04-06T23:04:21Z | 2023-04-07T02:04:40Z | 2023-04-07T02:04:40Z | 2023-04-18T11:03:33Z |
ENH: Implement str.r/split for ArrowDtype | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 2b2a1029f6544..1bd758110a197 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -32,6 +32,7 @@ Bug fixes
Other
~~~~~
+- Implemented :meth:`Series.str.split` and :meth:`Series.str.rsplit` for :class:`A... | - [x] closes #52401 (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/52499 | 2023-04-06T20:31:54Z | 2023-04-11T18:27:54Z | 2023-04-11T18:27:54Z | 2023-04-11T18:27:59Z |
ISSUE #44933 : Components function for DateTime data type | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 023cb68300433..86d977730ab82 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -46,6 +46,7 @@ Other
- :class:`DataFrame` created from empty dicts had :attr:`~DataFrame.columns` of dtype ``object``. It ... | - [x] closes #44933
- [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] Tests added
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.htm... | https://api.github.com/repos/pandas-dev/pandas/pulls/52498 | 2023-04-06T19:39:05Z | 2023-06-01T17:23:54Z | null | 2023-06-02T03:38:51Z |
Backport PR #52466 on branch 2.0.x (BUG: segfault for null dtype in to_numpy) | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 33ce62415ea0f..9071d242e25b5 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -22,6 +22,7 @@ Bug fixes
~~~~~~~~~
- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` one one and a NumPy dtype... | #52466 | https://api.github.com/repos/pandas-dev/pandas/pulls/52497 | 2023-04-06T19:01:21Z | 2023-04-07T01:38:51Z | 2023-04-07T01:38:51Z | 2023-04-07T11:22:43Z |
BUG: rank incorrect for Float64 with small values | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 107b22953ff79..0e50977832de2 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -313,7 +313,7 @@ Sparse
ExtensionArray
^^^^^^^^^^^^^^
--
+- Bug in :meth:`Series.rank` returning wrong order for small v... | - [x] closes #52471 (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/52496 | 2023-04-06T18:58:11Z | 2023-04-07T02:06:26Z | 2023-04-07T02:06:26Z | 2023-04-07T11:22:49Z |
Backport PR #52470 on branch 2.0.x (BUG: describe not returning ArrowDtype) | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 4fda2cd11ce12..33ce62415ea0f 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` one on... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/52495 | 2023-04-06T18:46:39Z | 2023-04-06T21:20:16Z | 2023-04-06T21:20:15Z | 2023-04-06T21:20:20Z |
REF: stricter calls to array_equivalent | diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py
index 81b334e65e431..23196f2bffcf0 100644
--- a/pandas/core/arrays/_mixins.py
+++ b/pandas/core/arrays/_mixins.py
@@ -174,7 +174,7 @@ def equals(self, other) -> bool:
return False
if not is_dtype_equal(self.dtype, other.dty... | Doesn't actually change anything in the affected cases, just makes the strictness explicit. | https://api.github.com/repos/pandas-dev/pandas/pulls/52494 | 2023-04-06T17:23:27Z | 2023-04-07T02:07:11Z | 2023-04-07T02:07:11Z | 2023-04-07T03:15:32Z |
Backport PR #52453 on branch 2.0.x (DOC: update pivot docs for version pandas 2.x) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ccc6949e6f2e0..1ecf5f4ee29dd 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8285,8 +8285,7 @@ def groupby(
Also accept list of columns names.
index : str or object or a list of str, optional
- Column t... | Backport PR #52453: DOC: update pivot docs for version pandas 2.x | https://api.github.com/repos/pandas-dev/pandas/pulls/52492 | 2023-04-06T15:30:25Z | 2023-04-06T18:49:26Z | 2023-04-06T18:49:26Z | 2023-04-06T18:49:26Z |
Backport PR #52486 on branch 2.0.x (DOC: Fix missing `read_parquet` from list of fns with new keyword arg `dtype_backend`) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 1ad198dedd4c0..23b05634acf1b 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -120,6 +120,7 @@ The following functions gained a new keyword ``dtype_backend`` (:issue:`36712`)
* :func:`read_sql`
* :fun... | Backport PR #52486: DOC: Fix missing `read_parquet` from list of fns with new keyword arg `dtype_backend` | https://api.github.com/repos/pandas-dev/pandas/pulls/52491 | 2023-04-06T15:21:21Z | 2023-04-06T16:42:09Z | 2023-04-06T16:42:09Z | 2023-04-06T16:42:10Z |
Add interval_edges() method to fix issue #50944 | - [x] closes #50944
- [ ] [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/52489 | 2023-04-06T14:06:24Z | 2023-04-07T13:42:12Z | null | 2023-04-07T13:42:13Z | |
BUG fixing module first() and DateOffset | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 2e8e2345d4c0a..6a333f00a63ba 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -38,6 +38,7 @@ Bug fixes
- Bug in :meth:`Series.dt.tz_localize` incorrectly localizing timestamps with :class:`ArrowDtype` ... | - [ X] closes #45908
- [ X] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [... | https://api.github.com/repos/pandas-dev/pandas/pulls/52487 | 2023-04-06T13:51:41Z | 2023-06-02T07:43:57Z | null | 2023-06-28T11:38:51Z |
DOC: Fix missing `read_parquet` from list of fns with new keyword arg `dtype_backend` | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 058cc4d764716..2ee6ecc4e6cd4 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -120,6 +120,7 @@ The following functions gained a new keyword ``dtype_backend`` (:issue:`36712`)
* :func:`read_sql`
* :fun... | Doc fix for whats new v2.0.0.rst: the `read_parquet` function was missing from the first list of functions with the new `dtype_backend` keyword parameter.
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_... | https://api.github.com/repos/pandas-dev/pandas/pulls/52486 | 2023-04-06T13:06:16Z | 2023-04-06T15:20:45Z | 2023-04-06T15:20:45Z | 2023-04-06T22:24:46Z |
STYLE improve `validate-docstrings` ergonomics | diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py
index b344b04b30d73..630af2b594940 100644
--- a/pandas/core/window/rolling.py
+++ b/pandas/core/window/rolling.py
@@ -1005,11 +1005,11 @@ class Window(BaseWindow):
Rolling sum with a window span of 2 seconds.
>>> df_time = pd.DataFra... | Before opening an issue for EX03 errors, I just wanted to improve the usability of `validate_docstrings`
Currently it's kind of hard to tell which lines need to change, especially if there's a long docstring.
Now, here's what it shows for `python scripts/validate_docstrings.py pandas.Series.describe`:
```python
... | https://api.github.com/repos/pandas-dev/pandas/pulls/52482 | 2023-04-06T10:26:43Z | 2023-04-06T15:23:38Z | 2023-04-06T15:23:38Z | 2023-04-06T17:18:28Z |
Backport PR #52422 on branch 2.0.x (BUG: merge with arrow and numpy dtypes raises) | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 0122c84ba2a8e..4fda2cd11ce12 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -20,7 +20,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` o... | Backport PR #52422: BUG: merge with arrow and numpy dtypes raises | https://api.github.com/repos/pandas-dev/pandas/pulls/52480 | 2023-04-06T08:34:35Z | 2023-04-06T10:34:12Z | 2023-04-06T10:34:11Z | 2023-04-06T10:34:12Z |
WEB: Add coiled as sponsor and remove dfine | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index 25da4b26ffb3b..4f17822c35582 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -156,9 +156,9 @@ sponsors:
logo: static/img/partners/voltron_data.svg
kind: partner
description: "Joris Van den Bossche"
- - name: "d-fine GmbH"... | - [ ] 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/52479 | 2023-04-06T08:20:36Z | 2023-04-07T02:52:45Z | 2023-04-07T02:52:45Z | 2023-04-07T11:20:48Z |
Add `np.intc` to `_factorizers` in `pd.merge` | - [x] closes #52451 (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/52478 | 2023-04-06T07:06:48Z | 2023-05-11T08:52:17Z | null | 2023-05-11T10:28:28Z | |
DEPR: DataFrameGroupBy.apply operating on the group keys | diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst
index 3a0aad41933bc..8a01be6d55aa2 100644
--- a/doc/source/user_guide/cookbook.rst
+++ b/doc/source/user_guide/cookbook.rst
@@ -459,7 +459,7 @@ Unlike agg, apply's callable is passed a sub-DataFrame which gives you access to
df
... | - [x] closes #7155 (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/52477 | 2023-04-06T03:06:38Z | 2023-04-12T15:57:21Z | 2023-04-12T15:57:20Z | 2023-06-25T06:17:53Z |
BUG/API Series(ints, dtype=m8[s]) use unit=s | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index 563c2505a1812..40f23970e0a6d 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -412,7 +412,6 @@ def array_to_timedelta64(
object item
int64_t ival
cnp.broadcast... | Not a real PR, just posting my WIP towards #52463.
This unearthed a bug in the dtlike round methods which can be fixed separately and broken off from this. | https://api.github.com/repos/pandas-dev/pandas/pulls/52476 | 2023-04-06T00:43:42Z | 2023-04-11T17:16:33Z | null | 2023-04-11T17:16:42Z |
REF: avoid overriding some NDFrame methods | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 44320de2c3209..efd3fff91d15a 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -204,7 +204,6 @@
from pandas._typing import (
AggFuncType,
- AlignJoin,
AnyAll,
AnyArrayLike,
ArrayLike,
@@ -218,7... | The only change in most places is that the docstrings say "Series/DataFrame" instead of just "Series" for the Series method and "DataFrame" in the DataFrame method.
In fillna the axis keyword says "{0 or 'index'} for Series, {0 or 'index', 1 or 'columns'} for DataFrame" instead of being more specific in each subcla... | https://api.github.com/repos/pandas-dev/pandas/pulls/52475 | 2023-04-06T00:27:12Z | 2023-04-07T02:12:14Z | 2023-04-07T02:12:13Z | 2023-04-07T03:15:46Z |
BUG: to_timedelta/datetime with numeric ArrowExtensionArray | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 9071d242e25b5..bf21d6402d621 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` one on... | - [ ] closes #52425 (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/52473 | 2023-04-05T23:42:40Z | 2023-04-07T01:53:29Z | 2023-04-07T01:53:29Z | 2023-04-07T15:55:51Z |
DEPR: Categorical fastpath | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index 02747911d2226..84d4a28d675d5 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -42,7 +42,8 @@ def time_regular(self):
pd.Categorical(self.values, self.categories)
... | - [ ] 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/52472 | 2023-04-05T23:20:26Z | 2023-04-06T16:28:14Z | 2023-04-06T16:28:14Z | 2023-04-06T17:07:29Z |
BUG: describe not returning ArrowDtype | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 4fda2cd11ce12..33ce62415ea0f 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` one on... | - [ ] closes #52427 (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/52470 | 2023-04-05T23:00:20Z | 2023-04-06T10:32:08Z | 2023-04-06T10:32:08Z | 2023-04-06T18:47:09Z |
PERF: groupby reductions with pyarrow dtypes | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index f76fe166dba78..4ca9f0aaa7364 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -56,6 +56,7 @@
ExtensionArray,
ExtensionArraySupportsAnyAll,
)
+from pandas.core.arrays.string_ impor... | - [x] closes #52070 (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/52469 | 2023-04-05T22:29:34Z | 2023-04-07T02:16:52Z | 2023-04-07T02:16:52Z | 2023-07-20T15:51:28Z |
BUG: segfault for null dtype in to_numpy | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 33ce62415ea0f..9071d242e25b5 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -22,6 +22,7 @@ Bug fixes
~~~~~~~~~
- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` one one and a NumPy dtype... | - [x] closes #52443 (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/52466 | 2023-04-05T21:41:33Z | 2023-04-06T12:43:14Z | 2023-04-06T12:43:14Z | 2023-08-28T21:09:59Z |
BUG: Series([ints], dtype=td[non-nano]) not respecting unit | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 0122c84ba2a8e..02fdff0e904eb 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -20,7 +20,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in :class:`Series` constructor when passing ``timedelta64... | - [x] closes #48312 (Replace xxxx with the GitHub issue number)
- [x] closes #52457 (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 check... | https://api.github.com/repos/pandas-dev/pandas/pulls/52463 | 2023-04-05T20:07:24Z | 2023-04-24T20:47:01Z | null | 2023-07-02T20:53:27Z |
REF: remove freq arg from PeriodArray constructor | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 107b22953ff79..e6e5c8a5d90d0 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -173,7 +173,8 @@ Deprecations
- Deprecated the methods :meth:`Series.bool` and :meth:`DataFrame.bool` (:issue:`51749`)
- D... | Try to match the other constructors more closely | https://api.github.com/repos/pandas-dev/pandas/pulls/52462 | 2023-04-05T19:50:09Z | 2023-04-07T02:20:17Z | 2023-04-07T02:20:17Z | 2023-04-07T03:14:27Z |
ENH: NDFrame.axis_ops | diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst
index fefb02dd916cd..ecfcc34d00654 100644
--- a/doc/source/reference/frame.rst
+++ b/doc/source/reference/frame.rst
@@ -389,3 +389,22 @@ Serialization / IO / conversion
DataFrame.to_markdown
DataFrame.style
DataFrame.__dataframe__
... | Refactor out NDFrame methods that operate only on axes into an `obj.axis_ops` namespace. I'd want to do this in conjunction with a deprecation of the methods themselves xref #52110 | https://api.github.com/repos/pandas-dev/pandas/pulls/52461 | 2023-04-05T19:39:44Z | 2024-01-10T16:21:50Z | null | 2024-01-10T16:21:50Z |
DEPR: to_pydatetime return Index[object] | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 38161a29a9ff7..daed6fbff71fc 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -168,6 +168,7 @@ Deprecations
- Deprecated 'broadcast_axis' keyword in :meth:`Series.align` and :meth:`DataFrame.align`, up... | - [x] closes #20306 (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/52459 | 2023-04-05T18:25:02Z | 2023-04-08T00:05:38Z | 2023-04-08T00:05:38Z | 2023-12-28T00:35:05Z |
BUG: tm.assert_series_equalcheck_dtype=False) with different resos | diff --git a/doc/source/whatsnew/v2.0.1.rst b/doc/source/whatsnew/v2.0.1.rst
index 9071d242e25b5..3e74484eb77f7 100644
--- a/doc/source/whatsnew/v2.0.1.rst
+++ b/doc/source/whatsnew/v2.0.1.rst
@@ -23,6 +23,7 @@ Bug fixes
- Fixed bug in :func:`merge` when merging with ``ArrowDtype`` one one and a NumPy dtype on the oth... | - [x] closes #52449 (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/52458 | 2023-04-05T18:23:32Z | 2023-04-07T15:53:35Z | 2023-04-07T15:53:35Z | 2023-04-07T20:16:54Z |
CLN: Assorted | diff --git a/README.md b/README.md
index 38f4afb3e2f22..9f2bc800e8479 100644
--- a/README.md
+++ b/README.md
@@ -90,7 +90,7 @@ Package Index (PyPI)](https://pypi.org/project/pandas) and on [Conda](https://do
```sh
# conda
-conda install pandas
+conda install -c conda-forge pandas
```
```sh
@@ -98,6 +98,10 @@ co... | - [x] closes #40027 (Replace xxxx with the GitHub issue number)
`scripts/list_future_warnings.sh` doesn't seem to be used so removed
| https://api.github.com/repos/pandas-dev/pandas/pulls/52454 | 2023-04-05T17:05:29Z | 2023-04-07T01:37:34Z | 2023-04-07T01:37:33Z | 2023-04-07T01:37:37Z |
DOC: update pivot docs for version pandas 2.x | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 44320de2c3209..57252447f4286 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8677,8 +8677,7 @@ def groupby(
Also accept list of columns names.
index : str or object or a list of str, optional
- Column t... | - [x] closes #52436 (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/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/52453 | 2023-04-05T16:42:29Z | 2023-04-06T15:30:16Z | 2023-04-06T15:30:15Z | 2023-04-06T17:03:27Z |
Added TypeAlias | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index de36bf2d441c5..c2f4e02eb8333 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -28,7 +28,7 @@ repos:
types_or: [python, pyi]
additional_dependencies: [black==23.1.0]
- repo: https://github.com/charliermarsh/ruf... | - [ ] closes #52448
- [ ] 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/52452 | 2023-04-05T16:24:59Z | 2023-04-26T17:18:09Z | null | 2023-04-26T17:18:09Z |
REF: move methods from base to Index | diff --git a/pandas/core/base.py b/pandas/core/base.py
index e2b19a3baed33..f907089f77132 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -23,7 +23,6 @@
from pandas._libs import lib
from pandas._typing import (
- Axis,
AxisInt,
DtypeObj,
IndexLabel,
@@ -588,7 +587,8 @@ def to_numpy(
... | - [ ] 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/52447 | 2023-04-05T14:49:36Z | 2023-04-07T02:26:07Z | 2023-04-07T02:26:07Z | 2023-04-07T03:15:04Z |
BUG: error when unstacking in DataFrameGroupby.apply | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 743bb78c70c36..845fa5dfde428 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -295,6 +295,7 @@ Groupby/resample/rolling
or :class:`PeriodIndex`, and the ``groupby`` method was given a function as its... | - [x] closes #52444
- [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/52446 | 2023-04-05T13:32:11Z | 2023-04-06T16:07:27Z | 2023-04-06T16:07:27Z | 2023-04-06T16:35:58Z |
This seems to solve the issue, although I am confused as to why there were two identical if and else statements before my commit. | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index bfaf403491801..27fc0bacae953 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -2451,7 +2451,9 @@ def _convert_arrays_and_get_rizer_klass(
# expected type "Type[object]"
klass = _facto... | - [x] closes #52435 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/52442 | 2023-04-05T11:45:18Z | 2023-04-05T22:33:44Z | null | 2023-04-05T22:33:51Z |
PERF: DataFrame(ndarr, copy=True) | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 9d53db4613fca..5bba94682acce 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -250,6 +250,7 @@ Performance improvements
- Performance improvement in :func:`factorize` for object columns not containing ... | - [X] closes #52438
- [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/52440 | 2023-04-05T09:59:48Z | 2023-08-07T18:07:58Z | null | 2023-08-07T18:08:04Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.