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: add test to verify if SystemExit is raised correctly.
diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index 45884a4b3c20f..3ba1510cc6b1d 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -1651,3 +1651,18 @@ def test_groupby_agg_extension_t...
- [x] closes https://github.com/pandas-dev/pandas/issues/18869 - [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/56145
2023-11-24T06:32:58Z
2023-11-29T04:22:20Z
2023-11-29T04:22:20Z
2023-11-29T04:22:31Z
CLN/TST: Remove old data creation methods in _testing/__init__.py
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index 6f9766f32b894..3a3c98f253fcc 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -43,7 +43,6 @@ DataFrame, DatetimeIndex, Index, - IntervalIndex, MultiIndex, RangeIndex, Series, @@ -10...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56144
2023-11-24T04:21:57Z
2023-11-26T06:07:42Z
2023-11-26T06:07:41Z
2023-11-26T06:07:44Z
Adjust reduction folder tests for string option
diff --git a/pandas/tests/reductions/test_reductions.py b/pandas/tests/reductions/test_reductions.py index 17227e7cfabc7..5a6d1af6257bb 100644 --- a/pandas/tests/reductions/test_reductions.py +++ b/pandas/tests/reductions/test_reductions.py @@ -28,6 +28,7 @@ ) import pandas._testing as tm from pandas.core import nan...
- [ ] 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/56143
2023-11-23T23:33:38Z
2023-11-26T04:38:07Z
2023-11-26T04:38:07Z
2023-11-26T11:33:24Z
BUG: scatter discarding string columns
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index f155fb27d0de5..c0ea525b4149f 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -541,8 +541,8 @@ Period Plotting ^^^^^^^^ - Bug in :meth:`DataFrame.plot.box` with ``vert=False`` and a matplotlib ``Axes...
- [ ] 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/56142
2023-11-23T23:19:53Z
2023-11-26T18:21:55Z
2023-11-26T18:21:55Z
2023-11-26T18:23:19Z
DEPR: correct error message in to_offset
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 01962c47ff31c..445330e813d2c 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -4735,6 +4735,9 @@ cpdef to_offset(freq, bint is_period=False): f"for Period, please use \'...
xref #56050, #55978, #56092 Improved error message when constructing period index with offsets frequencies invalid for period such as “SME" or “BYE-MAR". the reason: for some renamed offsets frequencies there are not corresponding period frequencies
https://api.github.com/repos/pandas-dev/pandas/pulls/56141
2023-11-23T22:54:10Z
2023-11-24T09:46:33Z
2023-11-24T09:46:33Z
2023-11-24T09:46:33Z
Adjust tests in internals folder for arrow string option
diff --git a/pandas/tests/internals/test_internals.py b/pandas/tests/internals/test_internals.py index 792d1323ec730..a9dbdb21f59fb 100644 --- a/pandas/tests/internals/test_internals.py +++ b/pandas/tests/internals/test_internals.py @@ -591,7 +591,7 @@ def test_astype(self, t): else: assert tmgr.i...
- [ ] 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/56140
2023-11-23T21:38:23Z
2023-11-26T04:40:38Z
2023-11-26T04:40:38Z
2023-11-26T11:33:05Z
Adjust tests in generic folder for arrow string option
diff --git a/pandas/tests/generic/test_to_xarray.py b/pandas/tests/generic/test_to_xarray.py index d6eacf4f9079b..5fb432f849643 100644 --- a/pandas/tests/generic/test_to_xarray.py +++ b/pandas/tests/generic/test_to_xarray.py @@ -29,7 +29,7 @@ def df(self): } ) - def test_to_xarray_index_types...
- [ ] 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/56139
2023-11-23T21:35:59Z
2023-11-26T04:41:57Z
2023-11-26T04:41:57Z
2023-11-26T11:32:57Z
MNT: use int instead of long in cython code
diff --git a/pandas/_libs/tslibs/strptime.pyx b/pandas/_libs/tslibs/strptime.pyx index 381575c439dcc..f6400ce6bae56 100644 --- a/pandas/_libs/tslibs/strptime.pyx +++ b/pandas/_libs/tslibs/strptime.pyx @@ -639,7 +639,7 @@ cdef tzinfo _parse_with_format( item_reso[0] = NPY_DATETIMEUNIT.NPY_FR_ns ...
https://github.com/cython/cython/pull/5830 / d7e95912b6ed7d20e190fbf1aecb9f2a997d479 in cython removed long as a valid type in favor of int. Without this change pandas fails to cythonize under the default branch of cython. - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and p...
https://api.github.com/repos/pandas-dev/pandas/pulls/56138
2023-11-23T20:45:09Z
2023-11-23T22:00:51Z
2023-11-23T22:00:51Z
2023-11-23T22:00:52Z
CLN: remove no-longer-needed helper
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index f0b9219682350..a88f40013b3f6 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -2483,11 +2483,6 @@ def _validate_inferred_freq( Returns ------- freq : DateOffset or None - ...
- [ ] 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/56133
2023-11-23T16:31:41Z
2023-11-23T19:44:56Z
2023-11-23T19:44:56Z
2023-11-23T21:11:33Z
DPR: correct warning message in to_offset
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 01962c47ff31c..ef189becc77cf 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -58,7 +58,7 @@ from pandas._libs.tslibs.conversion cimport localize_pydatetime from pandas._libs.tslibs.dtypes cimport ...
correct warning message in to_offset
https://api.github.com/repos/pandas-dev/pandas/pulls/56130
2023-11-23T09:54:49Z
2023-11-23T22:28:40Z
null
2023-11-23T22:28:48Z
PERF: Index.sort_values for already sorted index
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index af14856fa3b6a..8893fe0ecd398 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -417,6 +417,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.loc` and :meth:`Series.loc` when in...
- [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/56128
2023-11-23T01:03:07Z
2023-11-23T19:45:42Z
2023-11-23T19:45:42Z
2023-11-25T13:44:09Z
ENH: non-nano datetime64s for read_sas
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c73adc25cb1dd..240734fe75a0c 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -188,6 +188,7 @@ Other enhancements - :meth:`to_sql` with method parameter set to ``multi`` works with Oracle on the backen...
- [ ] 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/56127
2023-11-23T00:30:28Z
2023-12-05T20:39:47Z
2023-12-05T20:39:47Z
2023-12-05T20:46:35Z
TST: dt64 unit in tests
diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py index 863fb414a75f2..076b506670d40 100644 --- a/pandas/core/tools/datetimes.py +++ b/pandas/core/tools/datetimes.py @@ -495,7 +495,8 @@ def _convert_listlike_datetimes( if tz_parsed is not None: # We can take a shortcut since the...
Trimming the diff in #55901
https://api.github.com/repos/pandas-dev/pandas/pulls/56126
2023-11-23T00:06:50Z
2023-11-23T01:51:26Z
2023-11-23T01:51:26Z
2023-11-23T15:51:05Z
Adjust tests in dtypes folder for arrow string option
diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py index fe49446424de1..45215cd3b5e96 100644 --- a/pandas/tests/computation/test_eval.py +++ b/pandas/tests/computation/test_eval.py @@ -1832,7 +1832,7 @@ def test_bool_ops_fails_on_scalars(lhs, cmp, rhs, engine, parser): ], )...
- [ ] 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/56125
2023-11-22T23:13:13Z
2023-11-26T04:44:11Z
2023-11-26T04:44:11Z
2023-11-26T11:32:48Z
Adjust tests in base folder for arrow string option
diff --git a/pandas/tests/base/test_constructors.py b/pandas/tests/base/test_constructors.py index 4e954891c2d98..f3ac60f672ee1 100644 --- a/pandas/tests/base/test_constructors.py +++ b/pandas/tests/base/test_constructors.py @@ -138,7 +138,9 @@ class TestConstruction: "object-string", ], ) - ...
- [ ] 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/56124
2023-11-22T22:58:01Z
2023-11-26T04:46:58Z
2023-11-26T04:46:58Z
2023-11-26T11:32:37Z
BUG: ne comparison returns False for NA and other value
diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst index 723c33280a679..0d1b379ffc779 100644 --- a/doc/source/whatsnew/v2.1.4.rst +++ b/doc/source/whatsnew/v2.1.4.rst @@ -29,6 +29,7 @@ Bug fixes - Fixed bug in :meth:`DataFrame.__setitem__` casting :class:`Index` with object-dtype to PyArrow b...
returning True here makes more sense than False for !=
https://api.github.com/repos/pandas-dev/pandas/pulls/56123
2023-11-22T22:43:32Z
2023-12-07T19:17:11Z
2023-12-07T19:17:11Z
2023-12-07T19:40:52Z
Fix arithmetic test folder for arrow string option
diff --git a/pandas/tests/arithmetic/test_object.py b/pandas/tests/arithmetic/test_object.py index 5ffbf1a38e845..33953900c2006 100644 --- a/pandas/tests/arithmetic/test_object.py +++ b/pandas/tests/arithmetic/test_object.py @@ -8,6 +8,8 @@ import numpy as np import pytest +from pandas._config import using_pyarrow_...
- [ ] 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/56122
2023-11-22T22:42:53Z
2023-11-26T04:50:54Z
2023-11-26T04:50:54Z
2023-11-26T11:32:06Z
Backport PR #55832 on branch 2.1.x (BUG: Index.getitem returning wrong result with negative step for arrow)
diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst index 39cd6b39309cf..e4f973611c578 100644 --- a/doc/source/whatsnew/v2.1.4.rst +++ b/doc/source/whatsnew/v2.1.4.rst @@ -22,6 +22,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Bug in :meth:`DataFrame.apply` where passing ``raw=True`` ignored ...
#55832
https://api.github.com/repos/pandas-dev/pandas/pulls/56121
2023-11-22T22:04:18Z
2023-11-22T23:19:35Z
2023-11-22T23:19:34Z
2023-11-22T23:19:43Z
BUG: Fix error message for assigning a column with an empty DataFrame
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 280eb11abb781..a23270fba9c9e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -496,6 +496,7 @@ Other - Bug in :meth:`Dataframe.from_dict` which would always sort the rows of the created :class:`DataFra...
- [x] closes #55956 - [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/56120
2023-11-22T22:01:57Z
2023-11-22T23:20:37Z
2023-11-22T23:20:37Z
2023-11-22T23:20:41Z
TYP: dt64 unit in pytables tests
diff --git a/pandas/tests/io/pytables/test_put.py b/pandas/tests/io/pytables/test_put.py index 24ee0d28a1887..c109b72e9c239 100644 --- a/pandas/tests/io/pytables/test_put.py +++ b/pandas/tests/io/pytables/test_put.py @@ -1,4 +1,3 @@ -import datetime import re import numpy as np @@ -15,6 +14,7 @@ Series, _...
Aimed at trimming the diff in #55901
https://api.github.com/repos/pandas-dev/pandas/pulls/56118
2023-11-22T19:39:29Z
2023-11-22T20:50:23Z
2023-11-22T20:50:23Z
2023-11-22T21:00:12Z
BUG: DatetimeIndex.shift with non-nano
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index b1ac5a0b15a5e..80660298787e1 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -447,6 +447,7 @@ Datetimelike - Bug in :func:`testing.assert_extension_array_equal` that could use the wrong unit when comp...
- [ ] 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/56117
2023-11-22T18:53:43Z
2023-11-22T20:51:04Z
2023-11-22T20:51:04Z
2023-11-22T20:59:59Z
Backport PR #56109 on branch 2.1.x (CI: Ignore EncodingWarning in assert_produces_warning)
diff --git a/pandas/_testing/_warnings.py b/pandas/_testing/_warnings.py index 11cf60ef36a9c..c1c70605d9648 100644 --- a/pandas/_testing/_warnings.py +++ b/pandas/_testing/_warnings.py @@ -13,6 +13,8 @@ ) import warnings +from pandas.compat import PY311 + if TYPE_CHECKING: from collections.abc import ( ...
Backport PR #56109: CI: Ignore EncodingWarning in assert_produces_warning
https://api.github.com/repos/pandas-dev/pandas/pulls/56116
2023-11-22T18:13:36Z
2023-11-22T19:55:51Z
2023-11-22T19:55:51Z
2023-11-22T19:55:52Z
CLN: Get rid of PyArray_GetCastFunc
diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c index 22ffec51c82f1..89f101964aff7 100644 --- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c +++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c @@ -1280,13 +1280,7 @@ char **NpyArr_encodeLabe...
- [ ] closes #55996 (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/56114
2023-11-22T16:28:47Z
2023-11-26T16:46:37Z
2023-11-26T16:46:37Z
2023-12-04T04:39:12Z
Fixes BUG producing float64 dtype when Dataframe is initialized with array of shape (0, 0)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 8cb4b3f24d435..ceab41ba82e5e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -598,6 +598,7 @@ Other - Bug in :func:`infer_freq` and :meth:`DatetimeIndex.inferred_freq` with weekly frequencies and non-...
- [x] closes #55649 - [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/56113
2023-11-22T08:21:36Z
2023-12-27T19:16:40Z
null
2023-12-27T19:16:40Z
Backport PR #55993 on branch 2.1.x (TST update and simplify consortium api test)
diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py index c541c5792ec7c..8e3d7780224fe 100644 --- a/pandas/tests/test_downstream.py +++ b/pandas/tests/test_downstream.py @@ -348,11 +348,9 @@ def test_dataframe_consortium() -> None: expected_1 = ["a", "b"] assert result_1 == expected...
Backport PR #55993: TST update and simplify consortium api test
https://api.github.com/repos/pandas-dev/pandas/pulls/56112
2023-11-22T08:00:58Z
2023-11-22T09:42:25Z
2023-11-22T09:42:24Z
2023-11-22T09:42:25Z
BUG: outer join on equal indexes not sorting
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index cbf7dc5ba67d2..619ad3f4921b0 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -4653,9 +4653,8 @@ def _join_via_get_indexer( elif how == "inner": join_index = self.intersection(other, sort=sort...
- [x] closes #55992 - [ ] [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/56111
2023-11-22T01:17:27Z
2023-11-22T02:48:20Z
null
2023-11-22T21:19:47Z
PERF: Series.str.get_dummies for "string[pyarrow]" and "string[pyarrow_numpy]" dtypes
diff --git a/asv_bench/benchmarks/strings.py b/asv_bench/benchmarks/strings.py index d70d9d0aa5227..6682a60f42997 100644 --- a/asv_bench/benchmarks/strings.py +++ b/asv_bench/benchmarks/strings.py @@ -245,7 +245,8 @@ def time_extract_single_group(self, dtype, expand): class Dummies(Dtypes): def setup(self, dtype)...
- [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/56110
2023-11-22T00:55:26Z
2023-11-22T18:12:44Z
2023-11-22T18:12:44Z
2023-11-22T21:19:24Z
CI: Ignore EncodingWarning in assert_produces_warning
diff --git a/pandas/_testing/_warnings.py b/pandas/_testing/_warnings.py index 4b087c75f5d74..f11dc11f6ac0d 100644 --- a/pandas/_testing/_warnings.py +++ b/pandas/_testing/_warnings.py @@ -14,6 +14,8 @@ ) import warnings +from pandas.compat import PY311 + if TYPE_CHECKING: from collections.abc import ( ...
e.g. https://github.com/pandas-dev/pandas/actions/runs/6949641940/job/18908182456
https://api.github.com/repos/pandas-dev/pandas/pulls/56109
2023-11-22T00:46:54Z
2023-11-22T18:13:26Z
2023-11-22T18:13:26Z
2023-11-22T18:13:30Z
TST: Clean / make tests more performant
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index b76ad5268e76e..d12c2e7c4ae3b 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -90,6 +90,9 @@ from pandas.core.arrays import PeriodArray +_ITER_CHUNKSIZE = 10_000 + + def tz_to_dtype( ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56108
2023-11-22T00:43:22Z
2023-11-22T18:14:40Z
2023-11-22T18:14:40Z
2023-11-22T18:14:43Z
Adjust tests in Indexing folder for string option
diff --git a/pandas/tests/indexing/multiindex/test_loc.py b/pandas/tests/indexing/multiindex/test_loc.py index 873c4e3e60f4c..5508153322adb 100644 --- a/pandas/tests/indexing/multiindex/test_loc.py +++ b/pandas/tests/indexing/multiindex/test_loc.py @@ -566,7 +566,7 @@ def test_loc_setitem_single_column_slice(): tm...
- [ ] 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/56107
2023-11-21T23:41:13Z
2023-11-27T17:48:49Z
2023-11-27T17:48:49Z
2023-11-27T17:49:24Z
BUG: reindex not matching categoricals and new string dtypes
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index a273a2c054c90..79e632a4f8935 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -576,6 +576,7 @@ Strings ^^^^^^^ - Bug in :func:`pandas.api.types.is_string_dtype` while checking object array with no ele...
- [ ] 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/56106
2023-11-21T23:40:35Z
2023-12-09T01:08:03Z
2023-12-09T01:08:03Z
2023-12-09T01:08:10Z
ENH: all-NaT-> infer second resolution
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 8736b9d5ec8d6..da4eeaeb3b692 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -642,11 +642,16 @@ cpdef array_to_datetime( utc=utc, creso=state.creso, ) - - # Otherwise we can use t...
- [ ] 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/56103
2023-11-21T22:11:37Z
2023-11-22T19:05:37Z
2023-11-22T19:05:37Z
2023-11-22T19:08:41Z
DEPR: Disallow dtype inference when setting Index into DataFrame
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 919ac8b03f936..b7f4bd014bf0a 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -455,6 +455,7 @@ Other Deprecations - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_xml` except ``path_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/56102
2023-11-21T22:00:11Z
2023-12-09T19:26:10Z
2023-12-09T19:26:10Z
2023-12-17T20:27:38Z
BUG: cut with non-nano
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c73adc25cb1dd..7bfe92086c717 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -595,6 +595,7 @@ Styler Other ^^^^^ - Bug in :func:`DataFrame.describe` when formatting percentiles in the resulting perc...
- [ ] 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/56101
2023-11-21T21:11:02Z
2023-12-01T18:53:31Z
2023-12-01T18:53:30Z
2023-12-01T21:03:10Z
Backport PR #55639 on branch 2.1.x (BUG: setitem casting object Index to arrow strings)
diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst index d61714d9473c6..39cd6b39309cf 100644 --- a/doc/source/whatsnew/v2.1.4.rst +++ b/doc/source/whatsnew/v2.1.4.rst @@ -22,6 +22,8 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Bug in :meth:`DataFrame.apply` where passing ``raw=True`` ignored ...
#55639
https://api.github.com/repos/pandas-dev/pandas/pulls/56100
2023-11-21T20:33:07Z
2023-11-21T22:49:49Z
2023-11-21T22:49:49Z
2023-11-21T22:49:49Z
BUG: IntervalIndex.factorize with non-nano
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 9be54e95bf36f..0e613760f4927 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -404,6 +404,7 @@ Strings Interval ^^^^^^^^ - Bug in :class:`Interval` ``__repr__`` not displaying UTC offsets for :class:...
- [ ] 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/56099
2023-11-21T19:11:38Z
2023-11-21T21:13:51Z
2023-11-21T21:13:51Z
2023-11-21T21:17:22Z
TST: Skip more pyarrow csv tests that fail in pyarrow.csv.read_csv
diff --git a/pandas/tests/io/parser/common/test_read_errors.py b/pandas/tests/io/parser/common/test_read_errors.py index f3794c056a256..4a4ae2b259289 100644 --- a/pandas/tests/io/parser/common/test_read_errors.py +++ b/pandas/tests/io/parser/common/test_read_errors.py @@ -186,7 +186,8 @@ def test_error_bad_lines(all_pa...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56098
2023-11-21T15:42:44Z
2023-11-23T19:47:10Z
2023-11-23T19:47:10Z
2023-11-23T19:47:26Z
feat: add exception
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index 34a6e118733ae..b76ad5268e76e 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -2379,6 +2379,7 @@ def objects_to_datetime64( Raises ------ ValueError : if data cannot be converted to d...
- [X] closes #56087 (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/56095
2023-11-21T09:40:46Z
2023-11-21T15:39:06Z
2023-11-21T15:39:06Z
2023-11-21T15:39:13Z
Backport PR #56093 on branch 2.1.x (CI: Catch EncodingWarnings only in pandas)
diff --git a/pyproject.toml b/pyproject.toml index b3b991010f9da..77b49d4474334 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -481,7 +481,9 @@ filterwarnings = [ "error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning", # TODO(PY311-minimum): Specify EncodingWarning - "ignore:'encoding...
Backport PR #56093: CI: Catch EncodingWarnings only in pandas
https://api.github.com/repos/pandas-dev/pandas/pulls/56094
2023-11-21T02:36:27Z
2023-11-21T04:53:42Z
2023-11-21T04:53:42Z
2023-11-21T04:53:42Z
CI: Catch EncodingWarnings only in pandas
diff --git a/pyproject.toml b/pyproject.toml index 619a6b99e3ae5..38a22b2e7f90d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -487,7 +487,9 @@ filterwarnings = [ "error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning", # TODO(PY311-minimum): Specify EncodingWarning - "ignore:'encoding...
Follow up to https://github.com/pandas-dev/pandas/pull/56085
https://api.github.com/repos/pandas-dev/pandas/pulls/56093
2023-11-21T01:41:47Z
2023-11-21T02:36:20Z
2023-11-21T02:36:20Z
2023-11-21T02:36:22Z
DEPR offsets: rename ‘BY’ to ‘BYE'
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index ca57e68d76015..105d11b67c9bf 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -891,7 +891,7 @@ into ``freq`` keyword arguments. The available date offsets and associated frequ ...
xref #55792 Deprecated the alias denoting business year end frequency `'BY’` for offsets in favour of `'BYE'`. Renamed strings 'BY-DEC', 'BY-JAN', etc. denoting business yearly frequencies with various fiscal quarter ends to 'BYE-DEC', 'BYE-JAN', etc.
https://api.github.com/repos/pandas-dev/pandas/pulls/56092
2023-11-20T22:55:55Z
2023-11-22T09:58:45Z
2023-11-22T09:58:45Z
2023-11-22T09:58:46Z
CLN: plotting
diff --git a/pandas/plotting/_matplotlib/boxplot.py b/pandas/plotting/_matplotlib/boxplot.py index 05e6d2bcfb46a..d2b76decaa75d 100644 --- a/pandas/plotting/_matplotlib/boxplot.py +++ b/pandas/plotting/_matplotlib/boxplot.py @@ -15,6 +15,7 @@ from pandas.util._exceptions import find_stack_level from pandas.core.dty...
Nothing really important here, but it'll let me get rid of a stale branch
https://api.github.com/repos/pandas-dev/pandas/pulls/56091
2023-11-20T22:49:54Z
2023-11-21T20:54:41Z
2023-11-21T20:54:41Z
2023-11-21T21:19:30Z
TST: better exception messages with na_values and pyarrow engine
diff --git a/pandas/io/parsers/arrow_parser_wrapper.py b/pandas/io/parsers/arrow_parser_wrapper.py index 2dc88a5701033..5786073c9d9cc 100644 --- a/pandas/io/parsers/arrow_parser_wrapper.py +++ b/pandas/io/parsers/arrow_parser_wrapper.py @@ -250,6 +250,15 @@ def read(self) -> DataFrame: include = self.conve...
- [ ] 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/56090
2023-11-20T22:46:03Z
2023-11-21T19:46:49Z
2023-11-21T19:46:49Z
2023-11-21T20:16:19Z
PERF: get_dummies
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index fc990e6fc4b45..cf54af7a864ae 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -319,6 +319,7 @@ Performance improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - Performance improvement in :func:`.testing.assert_fra...
- [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/56089
2023-11-20T22:30:45Z
2023-11-21T01:58:16Z
2023-11-21T01:58:16Z
2023-11-22T01:59:40Z
TST: Clean pytest fixtures
diff --git a/pandas/conftest.py b/pandas/conftest.py index fb281cb9def81..b24606f8007d2 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -30,7 +30,6 @@ from decimal import Decimal import operator import os -from pathlib import Path from typing import ( TYPE_CHECKING, Callable, @@ -775,23 +774,6...
* Move sparsely used fixtures to where they are used (in the file or inlined) * Removed fixtures that had no use in `conftest.py` files
https://api.github.com/repos/pandas-dev/pandas/pulls/56088
2023-11-20T21:57:33Z
2023-11-21T19:46:19Z
2023-11-21T19:46:19Z
2023-11-21T19:46:23Z
Backport PR #56085 on branch 2.1.x (CI: Ignore EncodingWarnings from numpy)
diff --git a/pyproject.toml b/pyproject.toml index d7634894b4835..b3b991010f9da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -480,6 +480,8 @@ filterwarnings = [ "error:::pandas", "error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning", + # TODO(PY311-minimum): Specify EncodingWarning...
Backport PR #56085: CI: Ignore EncodingWarnings from numpy
https://api.github.com/repos/pandas-dev/pandas/pulls/56086
2023-11-20T21:34:55Z
2023-11-20T23:12:54Z
2023-11-20T23:12:54Z
2023-11-20T23:12:54Z
CI: Ignore EncodingWarnings from numpy
diff --git a/pyproject.toml b/pyproject.toml index 8ebd70762b2a5..619a6b99e3ae5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -486,6 +486,8 @@ filterwarnings = [ "error:::pandas", "error::ResourceWarning", "error::pytest.PytestUnraisableExceptionWarning", + # TODO(PY311-minimum): Specify EncodingWarning...
e.g. https://github.com/pandas-dev/pandas/actions/runs/6934928557/job/18864048556
https://api.github.com/repos/pandas-dev/pandas/pulls/56085
2023-11-20T20:31:15Z
2023-11-20T21:33:51Z
2023-11-20T21:33:50Z
2023-11-20T21:45:54Z
CI: Test clipboard on Linux via pyqt
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index e156b1e0aeca2..33b6e7a8c2340 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -88,7 +88,6 @@ jobs: name: ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }} env: ...
closes https://github.com/pandas-dev/pandas/issues/52129
https://api.github.com/repos/pandas-dev/pandas/pulls/56084
2023-11-20T18:54:44Z
2023-11-22T22:13:57Z
2023-11-22T22:13:57Z
2023-12-17T19:24:51Z
TYP: tighter typing in _apply_array
diff --git a/pandas/_libs/tslibs/offsets.pyi b/pandas/_libs/tslibs/offsets.pyi index aecc8cf681cf8..7eb8dc0813868 100644 --- a/pandas/_libs/tslibs/offsets.pyi +++ b/pandas/_libs/tslibs/offsets.pyi @@ -33,6 +33,7 @@ class ApplyTypeError(TypeError): ... class BaseOffset: n: int + normalize: bool def __ini...
And avoid a circular import
https://api.github.com/repos/pandas-dev/pandas/pulls/56083
2023-11-20T18:37:30Z
2023-11-25T21:02:54Z
2023-11-25T21:02:54Z
2023-11-27T20:16:48Z
CoW warning mode: clean-up some TODOs
diff --git a/pandas/tests/copy_view/test_core_functionalities.py b/pandas/tests/copy_view/test_core_functionalities.py index 97d77ef33d849..8dc80c5cc0e0e 100644 --- a/pandas/tests/copy_view/test_core_functionalities.py +++ b/pandas/tests/copy_view/test_core_functionalities.py @@ -51,7 +51,8 @@ def test_setitem_with_vie...
xref https://github.com/pandas-dev/pandas/issues/56019 Going through some of the TODOs, removing a few that have been tackled in the meantime and adding some more detail to others. Also went through every test in `pandas/tests/copy_view/test_indexing.py` and ensured that each test is correctly asserting a warning...
https://api.github.com/repos/pandas-dev/pandas/pulls/56080
2023-11-20T13:02:05Z
2023-11-20T21:31:45Z
2023-11-20T21:31:45Z
2023-11-27T11:34:47Z
PERF: Reduce Cyclomatic Complexity in sort_values()
diff --git a/pandas/core/series.py b/pandas/core/series.py index 1bbd10429ea22..bfaa975e3a068 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -3769,52 +3769,31 @@ def sort_values( dtype: int64 """ inplace = validate_bool_kwarg(inplace, "inplace") - # Validate the axis...
## Descripción del Pull Request **Cambios Realizados:** Realicé una refactorización en la función `sort_values()` para reducir la complejidad ciclomática y mejorar la legibilidad del código. **Detalles Adicionales:** - Simplifiqué la lógica utilizando operadores ternarios. - Eliminé redundancias en la estructu...
https://api.github.com/repos/pandas-dev/pandas/pulls/56078
2023-11-20T09:16:20Z
2023-11-20T17:51:58Z
null
2023-11-20T17:51:59Z
Bump actions/github-script from 6 to 7
diff --git a/.github/workflows/comment-commands.yml b/.github/workflows/comment-commands.yml index 55dd733d25b50..425abef850184 100644 --- a/.github/workflows/comment-commands.yml +++ b/.github/workflows/comment-commands.yml @@ -77,7 +77,7 @@ jobs: echo 'EOF' >> $GITHUB_ENV echo "REGEX=$REGEX" >> ...
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/github-script/releases">actions/github-script's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h2>What's Changed</h2> <ul> <li>Add...
https://api.github.com/repos/pandas-dev/pandas/pulls/56077
2023-11-20T08:36:15Z
2023-11-20T17:40:37Z
2023-11-20T17:40:37Z
2023-11-20T17:40:41Z
PERF: Reduce Cyclomatic Complexity in _rename()
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 46bcfe0a32210..64414bf249d2d 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1042,20 +1042,61 @@ def _rename( level: Level | None = None, errors: str = "ignore", ) -> Self | None: - # called by Series.r...
Modularized the _rename() function to improve readability and reduce cyclomatic complexity. Extracted code blocks into helper functions, making the code more understandable and maintaining the original structure.
https://api.github.com/repos/pandas-dev/pandas/pulls/56076
2023-11-20T07:58:58Z
2023-11-20T17:51:47Z
null
2023-11-20T17:51:47Z
PERF: Reduce Cyclomatic Complexity in from_records()
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 58d2b56e764f6..f27179c7f2cdf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -178,7 +178,6 @@ ndarray_to_mgr, nested_data_to_arrays, rec_array_to_mgr, - reorder_arrays, to_arrays, treat_as_nested, ) @@ -2261,29 +...
Modularized the from_records() function to improve readability and reduce cyclomatic complexity. Extracted code blocks into helper functions, making the code more understandable and maintaining the original structure.
https://api.github.com/repos/pandas-dev/pandas/pulls/56075
2023-11-20T07:08:43Z
2023-11-20T17:51:28Z
null
2023-11-20T17:51:28Z
Adjust Index specific tests for string option
diff --git a/pandas/conftest.py b/pandas/conftest.py index 003474b57c8e1..7c829ed4b8cb9 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1903,7 +1903,7 @@ def using_copy_on_write() -> bool: @pytest.fixture def warn_copy_on_write() -> bool: """ - Fixture to check if Copy-on-Write is enabled. + F...
- [ ] 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/56074
2023-11-20T00:03:45Z
2023-12-09T19:20:50Z
2023-12-09T19:20:50Z
2023-12-09T19:38:55Z
TST: collect Period tests
diff --git a/pandas/tests/arithmetic/test_period.py b/pandas/tests/arithmetic/test_period.py index 5af63258921ed..68d245bcffce2 100644 --- a/pandas/tests/arithmetic/test_period.py +++ b/pandas/tests/arithmetic/test_period.py @@ -1310,6 +1310,42 @@ def test_parr_add_sub_object_array(self): expected = PeriodInde...
- [ ] 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/56073
2023-11-19T23:35:46Z
2023-11-20T02:02:03Z
2023-11-20T02:02:03Z
2023-11-20T15:45:36Z
TST: collect Interval tests
diff --git a/pandas/tests/arrays/interval/test_interval.py b/pandas/tests/arrays/interval/test_interval.py index 024721896cc58..be4b2c3e7e74c 100644 --- a/pandas/tests/arrays/interval/test_interval.py +++ b/pandas/tests/arrays/interval/test_interval.py @@ -229,178 +229,3 @@ def test_min_max(self, left_right_dtypes, ind...
Follow the patterns we use elsewhere a bit better
https://api.github.com/repos/pandas-dev/pandas/pulls/56072
2023-11-19T22:58:54Z
2023-11-20T02:04:39Z
2023-11-20T02:04:39Z
2023-11-20T15:45:24Z
TST: de-xfail pyarrow parser tests
diff --git a/pandas/tests/io/parser/common/test_common_basic.py b/pandas/tests/io/parser/common/test_common_basic.py index 0c28db245de31..558fdb7632102 100644 --- a/pandas/tests/io/parser/common/test_common_basic.py +++ b/pandas/tests/io/parser/common/test_common_basic.py @@ -399,11 +399,16 @@ def test_escapechar(all_p...
- [ ] 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/56071
2023-11-19T21:30:04Z
2023-11-20T02:06:25Z
2023-11-20T02:06:25Z
2023-11-20T15:46:07Z
rank function returns int64 when float64 isn't necessary
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 46bcfe0a32210..4499dfef5e73a 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9874,7 +9874,10 @@ def ranker(data): data = self._get_numeric_data() else: data = self - + if method != "average"...
- [ ] closes #55598 - [ ] [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/56070
2023-11-19T21:11:24Z
2023-12-27T19:04:09Z
null
2023-12-27T19:04:09Z
Backport PR #56063 on branch 2.1.x (CI: Fix pyarrow nightly ci failure)
diff --git a/pandas/compat/pyarrow.py b/pandas/compat/pyarrow.py index 96501b47e07f6..be3a038d472ab 100644 --- a/pandas/compat/pyarrow.py +++ b/pandas/compat/pyarrow.py @@ -17,6 +17,7 @@ pa_version_under13p0 = _palv < Version("13.0.0") pa_version_under14p0 = _palv < Version("14.0.0") pa_version_under14p1...
Backport PR #56063: CI: Fix pyarrow nightly ci failure
https://api.github.com/repos/pandas-dev/pandas/pulls/56069
2023-11-19T19:18:11Z
2023-11-19T23:05:15Z
2023-11-19T23:05:15Z
2023-11-19T23:05:16Z
CoW: Add warning for update
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 58d2b56e764f6..9f16340d98e22 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -62,6 +62,7 @@ InvalidIndexError, _chained_assignment_method_msg, _chained_assignment_msg, + _chained_assignment_warning_method_msg, ) from pand...
- [ ] 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/56068
2023-11-19T16:47:20Z
2023-11-22T00:59:58Z
2023-11-22T00:59:58Z
2023-11-22T01:00:03Z
CoW: Add warning for mask, where and clip with inplace
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c832d9ca257f9..47d5bb9dbb055 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8902,6 +8902,18 @@ def clip( ChainedAssignmentError, stacklevel=2, ) + el...
xref https://github.com/pandas-dev/pandas/issues/56019
https://api.github.com/repos/pandas-dev/pandas/pulls/56067
2023-11-19T16:36:35Z
2023-11-27T20:49:07Z
2023-11-27T20:49:07Z
2023-11-27T20:49:36Z
CoW: Add warning for interpolate with inplace
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b23092e6f27e1..2363f3cda7da5 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7450,6 +7450,18 @@ def ffill( ChainedAssignmentError, stacklevel=2, ) + e...
xref https://github.com/pandas-dev/pandas/issues/56019
https://api.github.com/repos/pandas-dev/pandas/pulls/56066
2023-11-19T16:30:31Z
2023-11-22T00:59:30Z
2023-11-22T00:59:30Z
2023-11-22T00:59:34Z
CoW: Add warning for fillna with inplace
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b23092e6f27e1..d723eb622b7a5 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7180,6 +7180,18 @@ def fillna( ChainedAssignmentError, stacklevel=2, ) + ...
xref https://github.com/pandas-dev/pandas/issues/56019
https://api.github.com/repos/pandas-dev/pandas/pulls/56064
2023-11-19T16:17:52Z
2023-11-21T21:16:17Z
2023-11-21T21:16:17Z
2023-11-21T21:30:36Z
CI: Fix pyarrow nightly ci failure
diff --git a/pandas/compat/pyarrow.py b/pandas/compat/pyarrow.py index 8dcb2669aa663..beb4814914101 100644 --- a/pandas/compat/pyarrow.py +++ b/pandas/compat/pyarrow.py @@ -14,6 +14,7 @@ pa_version_under13p0 = _palv < Version("13.0.0") pa_version_under14p0 = _palv < Version("14.0.0") pa_version_under14p1...
- [ ] 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/56063
2023-11-19T16:05:58Z
2023-11-19T19:17:10Z
2023-11-19T19:17:10Z
2023-11-19T23:04:41Z
PERF: DataFrame.loc and Series.loc when key is a MultiIndex
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 8058b347383a7..4961722c0e9cd 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -306,6 +306,10 @@ def time_loc_null_slice_plus_slice(self, unique_levels): target = (self.tgt_null_slice, s...
- [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/56062
2023-11-19T15:57:20Z
2023-11-19T23:07:06Z
2023-11-19T23:07:06Z
2023-11-22T01:59:42Z
PERF: groupby.nunique
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index dce776755ad7e..16972ec1952a4 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -428,6 +428,7 @@ Performance improvements - Performance improvement in :meth:`Series.str.get_dummies` when dtype is ``"stri...
- [x] closes #55972 - [ ] [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/56061
2023-11-19T15:15:03Z
2023-11-29T17:56:34Z
2023-11-29T17:56:34Z
2023-12-01T21:25:14Z
CoW: Add warning for replace with inplace
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 46bcfe0a32210..b23092e6f27e1 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -100,6 +100,7 @@ SettingWithCopyError, SettingWithCopyWarning, _chained_assignment_method_msg, + _chained_assignment_warning_method_msg, ...
xref https://github.com/pandas-dev/pandas/issues/56019
https://api.github.com/repos/pandas-dev/pandas/pulls/56060
2023-11-19T15:00:53Z
2023-11-20T22:23:23Z
2023-11-20T22:23:23Z
2023-11-20T22:23:26Z
ENH: Add case_when method
diff --git a/doc/source/reference/series.rst b/doc/source/reference/series.rst index af262f9e6c336..a4ea0ec396ceb 100644 --- a/doc/source/reference/series.rst +++ b/doc/source/reference/series.rst @@ -177,6 +177,7 @@ Reindexing / selection / label manipulation :toctree: api/ Series.align + Series.case_when ...
- [x] closes #39154 - [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/56059
2023-11-19T07:23:38Z
2024-01-09T12:55:25Z
2024-01-09T12:55:25Z
2024-01-09T12:55:50Z
CI: Make is_ci_environment less necessary
diff --git a/asv_bench/benchmarks/io/csv.py b/asv_bench/benchmarks/io/csv.py index 1826291034dee..a45315f63d62e 100644 --- a/asv_bench/benchmarks/io/csv.py +++ b/asv_bench/benchmarks/io/csv.py @@ -621,4 +621,15 @@ def time_read_csv_index_col(self): ) +class ReadCSVCParserLowMemory: + # GH 16798 + def...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56058
2023-11-19T04:42:34Z
2023-11-20T18:34:54Z
2023-11-20T18:34:54Z
2023-11-20T18:34:57Z
TST: Make test_user_agent run in CI
diff --git a/pandas/tests/io/test_http_headers.py b/pandas/tests/io/test_http_headers.py new file mode 100644 index 0000000000000..2ca11ad1f74e6 --- /dev/null +++ b/pandas/tests/io/test_http_headers.py @@ -0,0 +1,172 @@ +""" +Tests for the pandas custom headers in http(s) requests +""" +from functools import partial +i...
Renames `test_user_agent.py` to more generically `test_http_headers.py` and uses the `httpserver` to make this test more reliably run in the CI
https://api.github.com/repos/pandas-dev/pandas/pulls/56057
2023-11-19T03:40:22Z
2023-11-20T19:32:33Z
2023-11-20T19:32:33Z
2023-11-20T19:32:37Z
TST: de-xfail pyarrow parser tests
diff --git a/pandas/tests/io/parser/test_encoding.py b/pandas/tests/io/parser/test_encoding.py index 36d7a19cf6781..cbd3917ba9c04 100644 --- a/pandas/tests/io/parser/test_encoding.py +++ b/pandas/tests/io/parser/test_encoding.py @@ -23,7 +23,6 @@ "ignore:Passing a BlockManager to DataFrame:DeprecationWarning" ) ...
- [ ] 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/56056
2023-11-19T02:06:03Z
2023-11-19T19:26:46Z
2023-11-19T19:26:45Z
2023-11-19T21:21:44Z
DEPR: Deprecate empty bool indexer for Index
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index b0f51751b027c..6c45e247f949e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -289,6 +289,7 @@ Other Deprecations - Deprecated automatic downcasting of object-dtype results in :meth:`Series.replace` an...
- [ ] closes #55820 (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/56055
2023-11-19T00:12:19Z
2023-11-20T18:37:51Z
2023-11-20T18:37:51Z
2023-11-20T21:29:30Z
DEPR: Deprecate Series.view
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 8893fe0ecd398..d7ee47dc82d89 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -362,6 +362,7 @@ Other Deprecations - Deprecated :func:`read_gbq` and :meth:`DataFrame.to_gbq`. Use ``pandas_gbq.read_gbq``...
- [ ] closes #20251 (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/56054
2023-11-18T23:59:26Z
2023-11-27T11:22:16Z
2023-11-27T11:22:16Z
2023-11-27T11:22:44Z
DEPR: Deprecate ravel
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index b30a11dca7c57..65271886c5769 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -362,6 +362,7 @@ Other Deprecations - Deprecated :func:`read_gbq` and :meth:`DataFrame.to_gbq`. Use ``pandas_gbq.read_gbq``...
- [ ] closes #52511 (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/56053
2023-11-18T23:55:00Z
2023-11-27T20:51:08Z
2023-11-27T20:51:07Z
2023-11-27T20:51:35Z
TST: parametrize over dt64 unit
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index 0aa2078f6a076..34a6e118733ae 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -2244,13 +2244,11 @@ def _sequence_to_dt64( if tz and inferred_tz: # two timezones: conve...
Aimed at trimming the diff in #55901
https://api.github.com/repos/pandas-dev/pandas/pulls/56052
2023-11-18T20:10:35Z
2023-11-18T23:37:00Z
2023-11-18T23:37:00Z
2023-11-19T01:26:12Z
BUG: nanoseconds and reso in dateutil paths
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index a33322aebab34..014e0c7a0a92e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -358,6 +358,8 @@ Datetimelike - Bug in creating a :class:`Index`, :class:`Series`, or :class:`DataFrame` with a non-nanosec...
- [x] closes #55737 (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/56051
2023-11-18T19:11:47Z
2023-11-20T17:55:30Z
2023-11-20T17:55:29Z
2023-11-20T17:56:39Z
DEPR offsets: rename 'SM' to 'SME'
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 22e3921bbf06b..ca57e68d76015 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -882,7 +882,7 @@ into ``freq`` keyword arguments. The available date offsets and associated frequ ...
xref #52064 Deprecated the alias denoting semi month end frequency ’SM’ for offsets in favour of ‘SME'
https://api.github.com/repos/pandas-dev/pandas/pulls/56050
2023-11-18T18:12:54Z
2023-11-19T19:00:51Z
2023-11-19T19:00:51Z
2023-11-19T19:00:51Z
REGR: sort_index with ascending as list of boolean
diff --git a/pandas/core/sorting.py b/pandas/core/sorting.py index 1b1d9d7640058..a431842218b3b 100644 --- a/pandas/core/sorting.py +++ b/pandas/core/sorting.py @@ -98,8 +98,8 @@ def get_indexer_indexer( sort_remaining=sort_remaining, na_position=na_position, ) - elif (ascending an...
No whatsnew as this was introduced in #54883 (2.2 milestone).
https://api.github.com/repos/pandas-dev/pandas/pulls/56049
2023-11-18T17:25:47Z
2023-11-18T23:38:07Z
2023-11-18T23:38:07Z
2023-11-22T01:59:44Z
PERF/REF: Construct series faster in numba apply
diff --git a/pandas/core/_numba/extensions.py b/pandas/core/_numba/extensions.py index ebe2a752a12f7..ee09c9380fb0f 100644 --- a/pandas/core/_numba/extensions.py +++ b/pandas/core/_numba/extensions.py @@ -37,6 +37,7 @@ from pandas.core.indexes.base import Index from pandas.core.indexing import _iLocIndexer +from pa...
- [ ] 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/56048
2023-11-18T14:09:17Z
2023-11-19T03:27:59Z
2023-11-19T03:27:59Z
2023-11-19T03:33:05Z
BUG: read_csv not respecting object dtype when option is set
diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst index 9cc79b7090499..57b83a294963b 100644 --- a/doc/source/whatsnew/v2.1.4.rst +++ b/doc/source/whatsnew/v2.1.4.rst @@ -24,6 +24,7 @@ Bug fixes - Bug in :class:`Series` when trying to cast date-like string inputs to :class:`ArrowDtype` of ``p...
- [ ] 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/56047
2023-11-18T13:33:28Z
2023-12-09T19:18:22Z
2023-12-09T19:18:22Z
2023-12-17T20:19:43Z
PERF: Improve conversion in read_csv when string option is set
diff --git a/pandas/io/parsers/arrow_parser_wrapper.py b/pandas/io/parsers/arrow_parser_wrapper.py index 5786073c9d9cc..037239e4ec83c 100644 --- a/pandas/io/parsers/arrow_parser_wrapper.py +++ b/pandas/io/parsers/arrow_parser_wrapper.py @@ -295,7 +295,15 @@ def read(self) -> DataFrame: dtype_mapping[pa.nul...
- [ ] 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/56046
2023-11-18T12:35:36Z
2023-11-30T21:07:14Z
2023-11-30T21:07:14Z
2023-11-30T21:23:30Z
TST: de-xfail pyarrow usecols tests
diff --git a/pandas/io/parsers/arrow_parser_wrapper.py b/pandas/io/parsers/arrow_parser_wrapper.py index a1d69deb6a21e..2dc88a5701033 100644 --- a/pandas/io/parsers/arrow_parser_wrapper.py +++ b/pandas/io/parsers/arrow_parser_wrapper.py @@ -218,6 +218,17 @@ def _finalize_pandas_output(self, frame: DataFrame) -> DataFra...
- [ ] 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/56045
2023-11-18T03:47:28Z
2023-11-18T23:40:56Z
2023-11-18T23:40:56Z
2023-11-19T01:28:12Z
DEPR: DatetimeArray/TimedeltaArray.__init__
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 8209525721b98..8fdf0d4aa4e5a 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -435,6 +435,7 @@ Other Deprecations - Deprecated :func:`pd.core.internals.api.make_block`, use public APIs instead (:issue:...
- [x] closes #55623 (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/56043
2023-11-18T02:59:57Z
2023-12-21T15:30:30Z
2023-12-21T15:30:30Z
2023-12-21T15:30:40Z
TST: slow pivot_table test
diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py index aecdf0a9c6975..4807840aab1c3 100644 --- a/pandas/tests/reshape/test_pivot.py +++ b/pandas/tests/reshape/test_pivot.py @@ -1712,39 +1712,38 @@ def test_pivot_dtaccessor(self): ) tm.assert_frame_equal(result, expe...
``` > pytest pandas/tests/reshape/test_pivot.py::TestPivotTable::test_daily 9.22s <- main 0.90s <- PR ```
https://api.github.com/repos/pandas-dev/pandas/pulls/56042
2023-11-18T02:43:49Z
2023-11-18T23:39:07Z
2023-11-18T23:39:07Z
2023-11-22T01:59:53Z
TST: de-xfail chunksize pyarrow tests
diff --git a/pandas/tests/io/parser/common/test_chunksize.py b/pandas/tests/io/parser/common/test_chunksize.py index 0f42aa81e4b37..baed74fc212e4 100644 --- a/pandas/tests/io/parser/common/test_chunksize.py +++ b/pandas/tests/io/parser/common/test_chunksize.py @@ -16,13 +16,11 @@ ) import pandas._testing as tm -xfa...
- [ ] 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/56041
2023-11-18T02:35:58Z
2023-11-18T23:42:10Z
2023-11-18T23:42:10Z
2023-11-19T01:27:19Z
TST: de-xfail pyarrow dialect tests
diff --git a/pandas/tests/io/parser/test_dialect.py b/pandas/tests/io/parser/test_dialect.py index fbea895435699..7a72e66996d43 100644 --- a/pandas/tests/io/parser/test_dialect.py +++ b/pandas/tests/io/parser/test_dialect.py @@ -16,7 +16,6 @@ pytestmark = pytest.mark.filterwarnings( "ignore:Passing a BlockManager...
- [ ] 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/56040
2023-11-18T02:05:58Z
2023-11-18T03:06:14Z
2023-11-18T03:06:14Z
2023-11-18T03:08:11Z
DEPR: to_clipboard, read_clipboard
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 3d34955a3baa5..29c768a24dd87 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -264,6 +264,7 @@ Other Deprecations - Changed :meth:`Timedelta.resolution_string` to return ``h``, ``min``, ``s``, ``ms``, ...
- [x] closes #52129 (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/56039
2023-11-18T01:50:27Z
2023-11-22T22:14:18Z
null
2023-11-22T23:43:07Z
DEPR: is_period, is_interval
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 98926712ac7ce..7c1d0fb81a530 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -262,6 +262,7 @@ For example: Other Deprecations ^^^^^^^^^^^^^^^^^^ - Changed :meth:`Timedelta.resolution_string` to retu...
- [x] closes #55264 (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/56038
2023-11-18T01:31:40Z
2023-11-18T02:35:02Z
2023-11-18T02:35:02Z
2023-11-18T02:44:36Z
BUG: to_datetime with floats and unit not matching Timestamp
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 9be54e95bf36f..2c7ef6ff30e77 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -370,6 +370,7 @@ Datetimelike - Bug in creating a :class:`Index`, :class:`Series`, or :class:`DataFrame` with a non-nanosec...
- [ ] 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/56037
2023-11-18T01:25:24Z
2023-11-22T19:11:53Z
2023-11-22T19:11:53Z
2024-02-21T03:39:20Z
DEPR: fractional periods in date_range, timedelta_range, period_range…
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 579d3a20506f3..0c5def97996c1 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -271,6 +271,7 @@ Other Deprecations - Deprecated :meth:`.DataFrameGroupBy.fillna` and :meth:`.SeriesGroupBy.fillna`; use :m...
…, interval_range - [ ] 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-doc...
https://api.github.com/repos/pandas-dev/pandas/pulls/56036
2023-11-18T01:15:08Z
2023-11-20T22:17:23Z
2023-11-20T22:17:23Z
2023-11-20T22:19:16Z
TST: de-xfail pyarrow parser tests
diff --git a/pandas/tests/io/parser/test_comment.py b/pandas/tests/io/parser/test_comment.py index 1724f3390ea46..4af03e5f3b1ec 100644 --- a/pandas/tests/io/parser/test_comment.py +++ b/pandas/tests/io/parser/test_comment.py @@ -10,10 +10,7 @@ from pandas import DataFrame import pandas._testing as tm -xfail_pyarrow...
- [ ] 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/56035
2023-11-18T01:05:03Z
2023-11-18T02:36:27Z
2023-11-18T02:36:27Z
2023-11-18T02:44:14Z
Removed dead code block
diff --git a/pandas/_libs/tslibs/np_datetime.pyx b/pandas/_libs/tslibs/np_datetime.pyx index 9958206c51b7a..ccba3fbe0cce1 100644 --- a/pandas/_libs/tslibs/np_datetime.pyx +++ b/pandas/_libs/tslibs/np_datetime.pyx @@ -24,8 +24,6 @@ PandasDateTime_IMPORT import operator -import numpy as np - cimport numpy as cnp ...
The pandas_datetimestruct_to_datetime call directly preceding this now raises Overflow error directly, so if I am reading correctly we don't actually hit this code
https://api.github.com/repos/pandas-dev/pandas/pulls/56034
2023-11-17T23:40:25Z
2023-11-18T00:10:43Z
null
2023-11-18T00:10:43Z
DOC: Add note for copy keywords for Copy-on-Write
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b23092e6f27e1..135c175519f03 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6429,6 +6429,18 @@ def astype( Return a copy when ``copy=True`` (be very careful setting ``copy=False`` as changes to values then...
- [ ] 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/56033
2023-11-17T23:33:37Z
2023-11-22T22:16:09Z
2023-11-22T22:16:09Z
2023-11-22T22:16:16Z
DOC: Add note to user guide that SettingWithCopyWarning won't be necessary anymore
diff --git a/doc/source/user_guide/copy_on_write.rst b/doc/source/user_guide/copy_on_write.rst index d0c57b56585db..fc6f62ec2a4bb 100644 --- a/doc/source/user_guide/copy_on_write.rst +++ b/doc/source/user_guide/copy_on_write.rst @@ -6,6 +6,12 @@ Copy-on-Write (CoW) ******************* +.. note:: + + Copy-on-Writ...
- [ ] 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/56032
2023-11-17T23:27:21Z
2023-11-20T21:33:00Z
2023-11-20T21:33:00Z
2023-11-20T21:33:03Z
DOC: Fix GH# in whatsnew not for DataFrameGroupBy.value_counts bugfix
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 3d34955a3baa5..ea02e1fe865ad 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -446,9 +446,9 @@ Groupby/resample/rolling - Bug in :meth:`DataFrame.resample` not respecting ``closed`` and ``label`` argum...
- [ ] 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/56031
2023-11-17T23:07:13Z
2023-11-18T01:40:51Z
2023-11-18T01:40:51Z
2023-11-18T01:41:42Z
ASV: Add benchmarks for groupby with multiple categories
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index 5e3eb7c7d4dac..202ba6e981b70 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -802,6 +802,51 @@ def time_groupby_extra_cat_nosort(self, observed): self.df_extra_cat.groupby("a", observed=ob...
- [ ] 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/56030
2023-11-17T22:49:07Z
2023-11-18T01:41:45Z
2023-11-18T01:41:45Z
2023-11-18T01:42:14Z
Avoid warning in DateOffset addition
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 699b8749e7580..69156ca561508 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -101,12 +101,6 @@ cdef bint is_tick_object(object obj): return isinstance(obj, Tick) -cdef datetime _as_datetim...
- [ ] 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/56029
2023-11-17T22:35:56Z
2023-11-18T01:42:30Z
2023-11-18T01:42:30Z
2023-11-18T01:56:38Z
REF: cython3 cleanups
diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx index b330b37aebd8d..dbe165b3ebec0 100644 --- a/pandas/_libs/algos.pyx +++ b/pandas/_libs/algos.pyx @@ -998,8 +998,7 @@ def rank_1d( N = len(values) if labels is not None: - # TODO(cython3): cast won't be necessary (#2992) - assert <...
- [ ] 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/56028
2023-11-17T20:08:59Z
2023-11-17T21:40:28Z
2023-11-17T21:40:28Z
2023-11-17T22:18:13Z
TST: Simplify and clarify test skipping
diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py index a62bebec61ada..fae0a7a0d95f8 100644 --- a/pandas/tests/arithmetic/test_datetime64.py +++ b/pandas/tests/arithmetic/test_datetime64.py @@ -414,7 +414,7 @@ def test_dti_cmp_datetimelike(self, other, tz_naive_fixture...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56027
2023-11-17T20:08:04Z
2023-11-17T22:52:13Z
2023-11-17T22:52:13Z
2023-11-17T22:52:30Z