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/CLN: Tests parametrizations 3
diff --git a/pandas/tests/plotting/frame/test_frame.py b/pandas/tests/plotting/frame/test_frame.py index 45dc612148f40..7e0b8dc7282e4 100644 --- a/pandas/tests/plotting/frame/test_frame.py +++ b/pandas/tests/plotting/frame/test_frame.py @@ -1199,12 +1199,10 @@ def test_hist_df_orientation(self): axes = df.plot...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56745
2024-01-05T18:18:48Z
2024-01-10T21:51:18Z
2024-01-10T21:51:18Z
2024-01-10T21:51:21Z
Backport PR #56677 on branch 2.2.x (Fix integral truediv and floordiv for pyarrow types with large divisor and avoid floating points for floordiv)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 4222de8ce324f..0b04a1d313a6d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -786,6 +786,7 @@ Timezones Numeric ^^^^^^^ - Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding errors fo...
Backport PR #56677: Fix integral truediv and floordiv for pyarrow types with large divisor and avoid floating points for floordiv
https://api.github.com/repos/pandas-dev/pandas/pulls/56744
2024-01-05T18:09:24Z
2024-01-05T18:56:14Z
2024-01-05T18:56:14Z
2024-01-05T18:56:14Z
DOC: Modified docstring of DataFrame.to_dict() to make the usage of orient='records' more clear
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 6851955d693bc..8db437ccec389 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2066,7 +2066,9 @@ def to_dict( index : bool, default True Whether to include the index item (and index_names item if `orient` is...
Modified documentation for parameter `index` as is mentioned in #56483. However, I don't think this should be the final solution to this issue. The current behavior remains counter-intuitive and will confuse users who haven't checked the doc. closes #56483
https://api.github.com/repos/pandas-dev/pandas/pulls/56743
2024-01-05T12:24:58Z
2024-01-05T18:03:29Z
2024-01-05T18:03:29Z
2024-01-05T18:03:36Z
ENH: enable server side cursors when chunksize is set
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 9024961688c6b..5a5702bf36587 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -1636,6 +1636,8 @@ def run_transaction(self): def execute(self, sql: str | Select | TextClause, params=None): """Simple passthrough to SQLAlchemy connectable""" ...
Please look at the previous attempts in #40796 and #46166. A lot of changes have happened since that PR. Since `SQLTable` (or `PandasSQL`) seems polymorphic, I did not want to change the function signature of `execute()` and noticed the use of `self.returns_generator` which can be used to use server-side cursors or no...
https://api.github.com/repos/pandas-dev/pandas/pulls/56742
2024-01-05T11:37:47Z
2024-02-28T17:51:21Z
null
2024-02-29T09:09:38Z
TYP: mostly DataFrame return overloads
diff --git a/pandas/core/base.py b/pandas/core/base.py index a1484d9ad032b..492986faba4d3 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -8,6 +8,7 @@ from typing import ( TYPE_CHECKING, Any, + Callable, Generic, Literal, cast, @@ -106,7 +107,7 @@ class PandasObject(DirNamesMi...
- `DataFrame.any/bool` return `bool` when `axis=None` and `Series` otherwise - `DataFrame.sum/prod` currently always returns a `Series` (but will return anything when `axis=None` in the future) - `DataFrame.mean/median/var/std/skew/kurt` return `Series` when `axis` is not `None` and potentially anything when `axis=No...
https://api.github.com/repos/pandas-dev/pandas/pulls/56739
2024-01-05T01:56:12Z
2024-02-13T01:22:05Z
2024-02-13T01:22:05Z
2024-04-07T10:59:30Z
TST/CLN: Test parametrizations 2
diff --git a/pandas/tests/indexes/base_class/test_setops.py b/pandas/tests/indexes/base_class/test_setops.py index 3ef3f3ad4d3a2..49c6a91236db7 100644 --- a/pandas/tests/indexes/base_class/test_setops.py +++ b/pandas/tests/indexes/base_class/test_setops.py @@ -149,13 +149,13 @@ def test_intersection_str_dates(self, sor...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56738
2024-01-05T01:12:19Z
2024-01-10T21:50:17Z
2024-01-10T21:50:17Z
2024-01-10T21:50:20Z
TST/CLN: Test parametrizations
diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py index 75259cb7e2f05..2dafaf277be8f 100644 --- a/pandas/tests/arithmetic/test_datetime64.py +++ b/pandas/tests/arithmetic/test_datetime64.py @@ -182,12 +182,12 @@ class TestDatetime64SeriesComparison: @pytest.mark.p...
Moves similar parametrization setup to test bodies
https://api.github.com/repos/pandas-dev/pandas/pulls/56737
2024-01-04T22:52:46Z
2024-01-06T15:11:31Z
2024-01-06T15:11:31Z
2024-01-08T00:06:11Z
#56696 Added Cheatsheet Section and cheatsheet link to pandas home page
diff --git a/doc/source/_static/cheatsheet.jpg b/doc/source/_static/cheatsheet.jpg new file mode 100644 index 0000000000000..147fce4536971 Binary files /dev/null and b/doc/source/_static/cheatsheet.jpg differ diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index d9cb1de14aded..2...
- [x] closes #56696 (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/56736
2024-01-04T20:17:46Z
2024-01-29T05:08:55Z
null
2024-01-29T05:08:55Z
fix: add pytest-qt deps to dockerfile
diff --git a/Dockerfile b/Dockerfile index 7230dcab20f6e..c697f0c1c66c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ RUN apt-get update && apt-get -y upgrade RUN apt-get install -y build-essential # hdf5 needed for pytables installation -RUN apt-get install -y libhdf5-dev +# libgles2-mesa needed for pyt...
- [ ] 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/56731
2024-01-04T04:21:10Z
2024-01-04T16:13:43Z
2024-01-04T16:13:43Z
2024-01-04T16:13:50Z
Backport PR #56543 on branch 2.2.x (DOC: Update docstring for read_excel)
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 6148086452d54..b3ad23e0d4104 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -3471,20 +3471,15 @@ saving a ``DataFrame`` to Excel. Generally the semantics are similar to working with :ref:`csv<io.read_csv_ta...
Backport PR #56543: DOC: Update docstring for read_excel
https://api.github.com/repos/pandas-dev/pandas/pulls/56730
2024-01-04T03:30:29Z
2024-01-04T08:21:26Z
2024-01-04T08:21:26Z
2024-01-04T08:21:27Z
TST/CLN: Reuse more fixtures
diff --git a/pandas/tests/base/test_misc.py b/pandas/tests/base/test_misc.py index 65e234e799353..f6a4396ca5be0 100644 --- a/pandas/tests/base/test_misc.py +++ b/pandas/tests/base/test_misc.py @@ -17,7 +17,6 @@ Index, Series, ) -import pandas._testing as tm def test_isnull_notnull_docstrings(): @@ -130,...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56726
2024-01-04T00:37:34Z
2024-01-04T19:52:12Z
2024-01-04T19:52:12Z
2024-01-04T22:52:55Z
Backport PR #56721 on branch 2.2.x (DOC: Fixup read_csv docstring)
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index a9b41b45aba2f..e26e7e7470461 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -396,7 +396,7 @@ - Callable, function with signature as described in `pyarrow documentation <https://...
Backport PR #56721: DOC: Fixup read_csv docstring
https://api.github.com/repos/pandas-dev/pandas/pulls/56725
2024-01-03T23:31:50Z
2024-01-03T23:33:36Z
2024-01-03T23:33:36Z
2024-01-03T23:33:37Z
TST: Don't ignore tolerance for integer series
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index d0f38c85868d4..3de982498e996 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -10,6 +10,7 @@ import numpy as np +from pandas._libs import lib from pandas._libs.missing import is_matching_na from pandas._...
- [ ] closes #56646 (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/56724
2024-01-03T23:00:57Z
2024-01-08T21:40:05Z
2024-01-08T21:40:05Z
2024-01-08T21:40:08Z
Backport PR #56672 on branch 2.2.x (BUG: dictionary type astype categorical using dictionary as categories)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 043646457f604..7df6e7d0e3166 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -740,6 +740,7 @@ Categorical ^^^^^^^^^^^ - :meth:`Categorical.isin` raising ``InvalidIndexError`` for categorical containi...
Backport PR #56672: BUG: dictionary type astype categorical using dictionary as categories
https://api.github.com/repos/pandas-dev/pandas/pulls/56723
2024-01-03T22:49:08Z
2024-01-03T23:48:10Z
2024-01-03T23:48:10Z
2024-01-03T23:48:11Z
Fix for #56716: Use assert_produces_warning instead of pytest.raises to show FutureWarning
diff --git a/doc/source/whatsnew/v2.3.0.rst b/doc/source/whatsnew/v2.3.0.rst index 1f1b0c7d7195a..b6de33002251b 100644 --- a/doc/source/whatsnew/v2.3.0.rst +++ b/doc/source/whatsnew/v2.3.0.rst @@ -108,6 +108,7 @@ Performance improvements Bug fixes ~~~~~~~~~ +Fixed bug in :meth:`Series.diff` and :meth:`algorithms.di...
- [1] closes #56716 - [2] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [3] Replaced FutureWarning using pytest: pytest.raises(FutureWarning, match=msg): with tm.assert_produces_warning
https://api.github.com/repos/pandas-dev/pandas/pulls/56722
2024-01-03T22:38:00Z
2024-01-23T17:56:19Z
null
2024-01-29T19:03:08Z
DOC: Fixup read_csv docstring
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index a9b41b45aba2f..e26e7e7470461 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -396,7 +396,7 @@ - Callable, function with signature as described in `pyarrow documentation <https://...
- [ ] 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/56721
2024-01-03T22:35:06Z
2024-01-03T23:31:42Z
2024-01-03T23:31:42Z
2024-01-04T08:21:53Z
Backport PR #56616 on branch 2.2.x (BUG: Add limit_area to EA ffill/bfill)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 043646457f604..75ba7c9f72c1b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -321,7 +321,7 @@ Other enhancements - :meth:`DataFrame.apply` now allows the usage of numba (via ``engine="numba"``) to JIT...
Backport PR #56616: BUG: Add limit_area to EA ffill/bfill
https://api.github.com/repos/pandas-dev/pandas/pulls/56720
2024-01-03T22:14:40Z
2024-01-03T23:31:08Z
2024-01-03T23:31:08Z
2024-01-03T23:31:08Z
Backport PR #56699 on branch 2.2.x (DOC: Corrected typo in warning on coerce)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 51b4c4f297b07..d4eb5742ef928 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -432,7 +432,7 @@ In a future version, these will raise an error and you should cast to a common d In [3]: ser[0] = 'not...
Backport PR #56699: DOC: Corrected typo in warning on coerce
https://api.github.com/repos/pandas-dev/pandas/pulls/56719
2024-01-03T21:38:13Z
2024-01-03T22:16:56Z
2024-01-03T22:16:56Z
2024-01-03T22:16:56Z
Backport PR #56691 on branch 2.2.x (Bug pyarrow implementation of str.fullmatch matches partial string. issue #56652)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 15e98cbb2a4d7..043646457f604 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -805,6 +805,7 @@ Strings - Bug in :meth:`Series.str.replace` when ``n < 0`` for :class:`ArrowDtype` with ``pyarrow.string``...
xref https://github.com/pandas-dev/pandas/pull/56691
https://api.github.com/repos/pandas-dev/pandas/pulls/56715
2024-01-03T18:51:14Z
2024-01-03T21:38:27Z
2024-01-03T21:38:27Z
2024-01-03T21:38:32Z
test Floordiv integral promote
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 129f5cedb86c2..75971f4ca109e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -776,6 +776,7 @@ Timezones Numeric ^^^^^^^ - Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding errors fo...
- [ ] 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/56711
2024-01-03T06:11:13Z
2024-01-03T07:10:23Z
null
2024-01-03T07:10:23Z
TST/CLN: Reuse more existing fixtures
diff --git a/pandas/tests/arrays/test_timedeltas.py b/pandas/tests/arrays/test_timedeltas.py index a3f15467feb14..bcc52f197ee51 100644 --- a/pandas/tests/arrays/test_timedeltas.py +++ b/pandas/tests/arrays/test_timedeltas.py @@ -194,18 +194,17 @@ def test_add_timedeltaarraylike(self, tda): class TestTimedeltaArray...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56709
2024-01-03T02:44:37Z
2024-01-03T19:16:11Z
2024-01-03T19:16:11Z
2024-01-03T19:18:47Z
TST/CLN: Use more shared fixtures
diff --git a/pandas/tests/arithmetic/test_numeric.py b/pandas/tests/arithmetic/test_numeric.py index 121bfb78fe5c8..1b8ad1922b9d2 100644 --- a/pandas/tests/arithmetic/test_numeric.py +++ b/pandas/tests/arithmetic/test_numeric.py @@ -1116,11 +1116,10 @@ def test_ufunc_compat(self, holder, dtype): tm.assert_equa...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56708
2024-01-03T01:34:01Z
2024-01-03T19:12:25Z
2024-01-03T19:12:25Z
2024-01-03T19:18:33Z
Fix integral truediv and floordiv for pyarrow types with large divisors
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 129f5cedb86c2..75971f4ca109e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -776,6 +776,7 @@ Timezones Numeric ^^^^^^^ - Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding errors fo...
- [ ] closes #56706(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/56707
2024-01-03T00:49:41Z
2024-01-03T03:57:16Z
null
2024-01-03T03:57:16Z
STY: Use ruff instead of black for formatting
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b02ad7cf886f..6033bda99e8c8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,11 +18,6 @@ ci: # manual stage hooks skip: [pylint, pyright, mypy] repos: -- repo: https://github.com/hauntsaninja/black-pre-commit-mir...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56704
2024-01-02T22:23:12Z
2024-01-04T00:49:24Z
2024-01-04T00:49:24Z
2024-01-04T00:51:12Z
DOC: Corrected typo in warning on coerce
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 51b4c4f297b07..d4eb5742ef928 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -432,7 +432,7 @@ In a future version, these will raise an error and you should cast to a common d In [3]: ser[0] = 'not...
Low priority. I encountered this warning message: > "Setting an item of incompatible dtype is deprecated and will raise in a future **error** of pandas." Which I believe should read: > "Setting an item of incompatible dtype is deprecated and will raise **an error** in a future **version** of pandas."
https://api.github.com/repos/pandas-dev/pandas/pulls/56699
2024-01-02T20:44:54Z
2024-01-03T21:37:12Z
2024-01-03T21:37:12Z
2024-01-03T21:42:25Z
Backport PR #56167 on branch 2.2.x ([ENH]: Expand types allowed in Series.struct.field)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 649ad37a56b35..15e98cbb2a4d7 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -251,6 +251,14 @@ DataFrame. (:issue:`54938`) ) series.struct.explode() +Use :meth:`Series.struct.field` to inde...
Backport PR #56167: [ENH]: Expand types allowed in Series.struct.field
https://api.github.com/repos/pandas-dev/pandas/pulls/56698
2024-01-02T19:16:37Z
2024-01-02T20:39:07Z
2024-01-02T20:39:07Z
2024-01-02T20:39:07Z
[pre-commit.ci] pre-commit autoupdate
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b02ad7cf886f..34386c6042077 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,11 +20,11 @@ ci: repos: - repo: https://github.com/hauntsaninja/black-pre-commit-mirror # black compiled with mypyc - rev: 23.11.0 + ...
<!--pre-commit.ci start--> updates: - [github.com/hauntsaninja/black-pre-commit-mirror: 23.11.0 → 23.12.1](https://github.com/hauntsaninja/black-pre-commit-mirror/compare/23.11.0...23.12.1) - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.6...v0.1.9) - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/56695
2024-01-01T16:29:34Z
2024-01-08T21:22:44Z
null
2024-01-08T21:22:52Z
implement mod and divmod for pyarrow types
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 129f5cedb86c2..e0507991d82ad 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -777,6 +777,7 @@ Numeric ^^^^^^^ - Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding errors for large int...
- [ ] closes #56693(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/56694
2024-01-01T06:30:56Z
2024-01-01T06:51:44Z
null
2024-01-01T06:51:45Z
Bug pyarrow implementation of str.fullmatch matches partial string. issue #56652
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 15e98cbb2a4d7..043646457f604 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -805,6 +805,7 @@ Strings - Bug in :meth:`Series.str.replace` when ``n < 0`` for :class:`ArrowDtype` with ``pyarrow.string``...
- [x] closes #56652 - [x] Tests updated and passed - [x] All code checks passed Changed array.py: Makes Series(["abc$abc]).str.fullmatch("abc\\$") give the same result as when dtype = pyarrow.string as opposed to dtype = str. Issue reporter (Issue-[#56652](https://github.com/pandas-dev/pandas/issues/56652)) req...
https://api.github.com/repos/pandas-dev/pandas/pulls/56691
2023-12-31T15:18:41Z
2024-01-03T18:41:23Z
2024-01-03T18:41:23Z
2024-01-17T22:28:22Z
TYP: mostly Hashtable and ArrowExtensionArray
diff --git a/pandas/_libs/hashtable.pyi b/pandas/_libs/hashtable.pyi index 555ec73acd9b2..3bb957812f0ed 100644 --- a/pandas/_libs/hashtable.pyi +++ b/pandas/_libs/hashtable.pyi @@ -2,6 +2,7 @@ from typing import ( Any, Hashable, Literal, + overload, ) import numpy as np @@ -180,18 +181,30 @@ class...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56689
2023-12-30T23:56:23Z
2024-01-02T21:23:01Z
2024-01-02T21:23:00Z
2024-01-17T02:49:41Z
Added validation check for integer value for series.df
diff --git a/doc/source/whatsnew/v2.3.0.rst b/doc/source/whatsnew/v2.3.0.rst index 1f1b0c7d7195a..c0692dba32a72 100644 --- a/doc/source/whatsnew/v2.3.0.rst +++ b/doc/source/whatsnew/v2.3.0.rst @@ -108,6 +108,8 @@ Performance improvements Bug fixes ~~~~~~~~~ +- Fixed bug in :meth:`Series.diff` allowing non-integer v...
- [1] closes #56607 - [2] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [3 ] Imported is_float from from pandas.core.dtypes.common for the check and added an if statement to raise the ValueError.
https://api.github.com/repos/pandas-dev/pandas/pulls/56688
2023-12-30T20:16:41Z
2024-01-07T16:18:47Z
2024-01-07T16:18:47Z
2024-01-07T16:18:47Z
Backport PR #56312 on branch 2.2.x (DOC: Add whatsnew for concat regression)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 129f5cedb86c2..649ad37a56b35 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -761,6 +761,7 @@ Datetimelike - Bug in parsing datetime strings with nanosecond resolution with non-ISO8601 formats incorre...
Backport PR #56312: DOC: Add whatsnew for concat regression
https://api.github.com/repos/pandas-dev/pandas/pulls/56686
2023-12-30T15:33:57Z
2023-12-30T19:05:18Z
2023-12-30T19:05:18Z
2023-12-30T19:05:18Z
add test for concating tzaware series with empty series. Issue: #34174
diff --git a/pandas/tests/dtypes/test_concat.py b/pandas/tests/dtypes/test_concat.py index 97718386dabb7..4f7ae6fa2a0a0 100644 --- a/pandas/tests/dtypes/test_concat.py +++ b/pandas/tests/dtypes/test_concat.py @@ -49,3 +49,20 @@ def test_concat_periodarray_2d(): with pytest.raises(ValueError, match=msg): ...
- [x] closes #34174 - [ ] [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/56685
2023-12-30T15:04:26Z
2024-01-03T18:37:37Z
2024-01-03T18:37:37Z
2024-01-03T18:37:43Z
Backport PR #56682 on branch 2.2.x (CLN: NEP 50 followups)
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 12e645dc9da81..dd5d090e098b0 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -92,7 +92,7 @@ jobs: - name: "Numpy Dev" env_file: actions-311-numpydev.yaml pa...
Backport PR #56682: CLN: NEP 50 followups
https://api.github.com/repos/pandas-dev/pandas/pulls/56684
2023-12-29T22:59:27Z
2023-12-29T23:47:36Z
2023-12-29T23:47:36Z
2023-12-29T23:47:36Z
Backport PR #56666 on branch 2.2.x (STY: Use ruff instead of pygrep check for future annotation import)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7f3fc95ce00cc..4b02ad7cf886f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -358,18 +358,6 @@ repos: files: ^pandas/ exclude: ^(pandas/_libs/|pandas/tests/|pandas/errors/__init__.py$|pandas/_version.py) ...
Backport PR #56666: STY: Use ruff instead of pygrep check for future annotation import
https://api.github.com/repos/pandas-dev/pandas/pulls/56683
2023-12-29T21:54:07Z
2023-12-29T22:58:59Z
2023-12-29T22:58:59Z
2023-12-29T22:58:59Z
CLN: NEP 50 followups
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 6ca4d19196874..293cf3a6a9bac 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -92,7 +92,7 @@ jobs: - name: "Numpy Dev" env_file: actions-311-numpydev.yaml 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/56682
2023-12-29T18:52:52Z
2023-12-29T22:59:21Z
2023-12-29T22:59:20Z
2024-03-16T17:12:32Z
DEPR: utcnow, utcfromtimestamp
diff --git a/doc/source/whatsnew/v2.3.0.rst b/doc/source/whatsnew/v2.3.0.rst index 1f1b0c7d7195a..bba1ab68d9d05 100644 --- a/doc/source/whatsnew/v2.3.0.rst +++ b/doc/source/whatsnew/v2.3.0.rst @@ -92,7 +92,8 @@ Other API changes Deprecations ~~~~~~~~~~~~ -- +- Deprecated :meth:`Timestamp.utcfromtimestamp`, use ``Ti...
- [ ] 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/56680
2023-12-29T17:47:56Z
2024-01-08T21:23:54Z
2024-01-08T21:23:54Z
2024-01-11T00:05:19Z
Fix integral truediv and floordiv for pyarrow types with large divisor and avoid floating points for floordiv
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 129f5cedb86c2..75971f4ca109e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -776,6 +776,7 @@ Timezones Numeric ^^^^^^^ - Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding errors fo...
- [x] closes #56676(Replace xxxx with the GitHub issue number) - [x] closes #56706(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 p...
https://api.github.com/repos/pandas-dev/pandas/pulls/56677
2023-12-29T04:29:31Z
2024-01-05T18:08:22Z
2024-01-05T18:08:22Z
2024-01-05T22:44:52Z
TYP: more misc annotations
diff --git a/pandas/_config/config.py b/pandas/_config/config.py index c391939d22491..73d69105541d8 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -75,6 +75,7 @@ from collections.abc import ( Generator, Iterable, + Sequence, ) @@ -853,7 +854,7 @@ def inner...
- [ ] 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/56675
2023-12-29T03:56:55Z
2023-12-29T19:51:08Z
2023-12-29T19:51:08Z
2023-12-29T19:51:15Z
BUG: dictionary type astype categorical using dictionary as categories
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 129f5cedb86c2..df899469d1b2d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -732,6 +732,7 @@ Categorical ^^^^^^^^^^^ - :meth:`Categorical.isin` raising ``InvalidIndexError`` for categorical containi...
Currently, we use a dictionary array as categories, which is weird, this just uses the underlying dictionary and extracts the codes, which should be fine for us. The dictionary array causes all kinds of trouble when sorting and doing similar things
https://api.github.com/repos/pandas-dev/pandas/pulls/56672
2023-12-28T22:39:39Z
2024-01-03T22:49:01Z
2024-01-03T22:49:00Z
2024-01-03T22:49:04Z
STY: Enable ruff pytest checks
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6033bda99e8c8..73ac14f1ed5ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -272,13 +272,6 @@ repos: language: python types: [rst] files: ^doc/source/(development|reference)/ - - id: unwanted-patt...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56671
2023-12-28T22:26:00Z
2024-01-05T20:23:52Z
2024-01-05T20:23:52Z
2024-01-05T20:23:56Z
Backport PR #56664 on branch 2.2.x (CI: Run jobs on 2.2.x branch)
diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index b49b9a67c4743..8e29d56f47dcf 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -4,11 +4,11 @@ on: push: branches: - main - - 2.1.x + - 2.2.x pull_request: bra...
Backport PR #56664: CI: Run jobs on 2.2.x branch
https://api.github.com/repos/pandas-dev/pandas/pulls/56669
2023-12-28T21:45:24Z
2023-12-28T22:43:47Z
2023-12-28T22:43:47Z
2023-12-28T22:43:47Z
Backport PR #56654 on branch 2.2.x (BUG: assert_series_equal not properly respecting check-dtype)
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index 800b03707540f..d0f38c85868d4 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -949,9 +949,15 @@ def assert_series_equal( obj=str(obj), ) else: + # convert both ...
Backport PR #56654: BUG: assert_series_equal not properly respecting check-dtype
https://api.github.com/repos/pandas-dev/pandas/pulls/56668
2023-12-28T21:44:11Z
2023-12-28T22:17:15Z
2023-12-28T22:17:15Z
2023-12-28T22:17:15Z
TYP: misc annotations
diff --git a/pandas/_testing/_warnings.py b/pandas/_testing/_warnings.py index f11dc11f6ac0d..f9cf390ba59de 100644 --- a/pandas/_testing/_warnings.py +++ b/pandas/_testing/_warnings.py @@ -1,6 +1,7 @@ from __future__ import annotations from contextlib import ( + AbstractContextManager, contextmanager, ...
- [ ] 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/56667
2023-12-28T21:08:14Z
2023-12-29T00:41:42Z
2023-12-29T00:41:42Z
2024-01-17T02:49:48Z
STY: Use ruff instead of pygrep check for future annotation import
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7f3fc95ce00cc..4b02ad7cf886f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -358,18 +358,6 @@ repos: files: ^pandas/ exclude: ^(pandas/_libs/|pandas/tests/|pandas/errors/__init__.py$|pandas/_version.py) ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56666
2023-12-28T20:05:38Z
2023-12-29T21:53:09Z
2023-12-29T21:53:09Z
2023-12-29T22:58:39Z
Backport PR #56370 on branch 2.2.x (BUG: rolling with datetime ArrowDtype)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 1da18cd9be8f9..129f5cedb86c2 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -865,6 +865,7 @@ Groupby/resample/rolling - Bug in :meth:`DataFrame.resample` when resampling on a :class:`ArrowDtype` of `...
Backport PR #56370: BUG: rolling with datetime ArrowDtype
https://api.github.com/repos/pandas-dev/pandas/pulls/56665
2023-12-28T19:32:08Z
2023-12-28T21:44:56Z
2023-12-28T21:44:56Z
2023-12-28T21:44:56Z
CI: Run jobs on 2.2.x branch
diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index b49b9a67c4743..8e29d56f47dcf 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -4,11 +4,11 @@ on: push: branches: - main - - 2.1.x + - 2.2.x pull_request: bra...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56664
2023-12-28T19:27:52Z
2023-12-28T21:45:17Z
2023-12-28T21:45:17Z
2023-12-28T22:28:08Z
Pyarrow stringmatch fix
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index b1164301e6d79..14acbae2b1f4e 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -2277,7 +2277,7 @@ def _str_match( def _str_fullmatch( self, pat, case: bool = True, flags: int = ...
closes #56652 Added the change for partial string matching.
https://api.github.com/repos/pandas-dev/pandas/pulls/56663
2023-12-28T19:06:14Z
2024-01-03T18:41:53Z
null
2024-01-03T18:41:53Z
Backport PR #56641 on branch 2.2.x (DOC: Add optional dependencies table in 2.2 whatsnew)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d60dbefd83195..2ad5717bc0320 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -417,15 +417,63 @@ Backwards incompatible API changes Increased minimum versions for dependencies ^^^^^^^^^^^^^^^^^^^^^^...
Backport PR #56641: DOC: Add optional dependencies table in 2.2 whatsnew
https://api.github.com/repos/pandas-dev/pandas/pulls/56662
2023-12-28T19:04:00Z
2023-12-28T19:23:31Z
2023-12-28T19:23:31Z
2023-12-28T19:23:31Z
added instance check for the periods argument
diff --git a/pandas/core/series.py b/pandas/core/series.py index e3b401cd3c88b..0080eb13f1703 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -3102,6 +3102,9 @@ def diff(self, periods: int = 1) -> Series: -------- {examples} """ + if not isinstance(periods, int): + ...
This Pull Request addresses the issue #56607, Changes Made: - added a simple instance check before algorithms.diff() Screenshot after change <img width="374" alt="image" src="https://github.com/pandas-dev/pandas/assets/34889400/8e18821b-4a8d-4067-9357-03dc187bea15">
https://api.github.com/repos/pandas-dev/pandas/pulls/56661
2023-12-28T18:57:14Z
2024-01-01T00:41:49Z
null
2024-01-01T00:41:49Z
Backport PR #56635 on branch 2.2.x (CoW: Boolean indexer in MultiIndex raising read-only error)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 34c9c142d3870..cbce6717fef51 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -761,6 +761,7 @@ Interval Indexing ^^^^^^^^ +- Bug in :meth:`DataFrame.loc` mutating a boolean indexer when :class:`Data...
Backport PR #56635: CoW: Boolean indexer in MultiIndex raising read-only error
https://api.github.com/repos/pandas-dev/pandas/pulls/56660
2023-12-28T18:48:32Z
2023-12-28T19:22:59Z
2023-12-28T19:22:59Z
2023-12-28T19:22:59Z
added validation for series datatypes
diff --git a/pandas/core/series.py b/pandas/core/series.py index e3b401cd3c88b..6d47e52cd99a4 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -73,6 +73,7 @@ from pandas.core.dtypes.common import ( is_dict_like, is_integer, + is_float, is_iterator, is_list_like, is_object_d...
closes #56607 This fix makes sure Series.diff validates and throws an exception based on the datatype. Changes made: - import "is_float" from pandas - Checking if the input periods are integers/float or not before calling "algorithms.diff" Behaviour after the changes: <img width="480" alt="image" src="https:...
https://api.github.com/repos/pandas-dev/pandas/pulls/56659
2023-12-28T18:48:06Z
2024-01-01T00:41:59Z
null
2024-01-01T00:41:59Z
Backport PR #56613 on branch 2.2.x (BUG: Added raising when merging datetime columns with timedelta columns)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 34c9c142d3870..d60dbefd83195 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -824,6 +824,7 @@ Reshaping - Bug in :func:`merge_asof` raising ``TypeError`` when ``by`` dtype is not ``object``, ``int64``...
Backport PR #56613: BUG: Added raising when merging datetime columns with timedelta columns
https://api.github.com/repos/pandas-dev/pandas/pulls/56658
2023-12-28T17:33:33Z
2023-12-28T18:52:44Z
2023-12-28T18:52:44Z
2023-12-28T18:52:44Z
testing
diff --git a/README.md b/README.md index 6fa20d237babe..d7a95825c143b 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ ----------------- -# pandas: powerful Python data analysis toolkit - +# pandas: Unlock the full potential of data analysis with the most powerful and flexible open-source Python toolkit. | ...
Just For Testing please consider it.
https://api.github.com/repos/pandas-dev/pandas/pulls/56657
2023-12-28T16:12:49Z
2023-12-28T16:16:18Z
null
2023-12-28T16:16:19Z
Backport PR #56650 on branch 2.2.x (ENH: Implement dt methods for pyarrow duration types)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..f7e1cc9cbe36d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -316,6 +316,7 @@ Other enhancements - :meth:`Series.ffill`, :meth:`Series.bfill`, :meth:`DataFrame.ffill`, and :meth:`DataF...
Backport PR #56650: ENH: Implement dt methods for pyarrow duration types
https://api.github.com/repos/pandas-dev/pandas/pulls/56656
2023-12-28T15:46:58Z
2023-12-28T16:16:27Z
2023-12-28T16:16:27Z
2023-12-28T16:16:27Z
Backport PR #56647 on branch 2.2.x (floordiv fix for large values)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..2fcab46c9e229 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -727,6 +727,7 @@ Timezones Numeric ^^^^^^^ - Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding errors fo...
Backport PR #56647: floordiv fix for large values
https://api.github.com/repos/pandas-dev/pandas/pulls/56655
2023-12-28T15:38:51Z
2023-12-28T16:16:37Z
2023-12-28T16:16:37Z
2023-12-28T16:16:37Z
BUG: assert_series_equal not properly respecting check-dtype
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index 800b03707540f..d0f38c85868d4 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -949,9 +949,15 @@ def assert_series_equal( obj=str(obj), ) else: + # convert both ...
- [ ] closes #56651 (Replace xxxx with the GitHub issue number) - [ ] closes #56340 - [ ] closes #56131 - [ ] [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://panda...
https://api.github.com/repos/pandas-dev/pandas/pulls/56654
2023-12-28T15:34:16Z
2023-12-28T21:44:04Z
2023-12-28T21:44:04Z
2023-12-28T21:44:07Z
BUG: bar and line plots are not aligned on the x-axis/xticks
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d9ab0452c8334..3d228cd2bc609 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -882,6 +882,7 @@ Plotting ^^^^^^^^ - Bug in :meth:`DataFrame.plot.box` with ``vert=False`` and a Matplotlib ``Axes`` creat...
- [x] closes #56460 - [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/56653
2023-12-28T14:34:33Z
2024-02-04T14:29:52Z
null
2024-02-04T14:29:52Z
ENH: Implement dt methods for pyarrow duration types
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..f7e1cc9cbe36d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -316,6 +316,7 @@ Other enhancements - :meth:`Series.ffill`, :meth:`Series.bfill`, :meth:`DataFrame.ffill`, and :meth:`DataF...
- [x] closes #52284 (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/56650
2023-12-28T01:23:14Z
2023-12-28T15:46:51Z
2023-12-28T15:46:51Z
2023-12-28T18:46:16Z
Backport PR #56644 on branch 2.2.x (BUG: Series.to_numpy raising for arrow floats to numpy floats)
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index 23b5448029dd9..de1ed9ecfdaf1 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -37,6 +37,7 @@ CategoricalDtype, is_array_like, is_bool_dtype, + is_float_dtype, is_integ...
Backport PR #56644: BUG: Series.to_numpy raising for arrow floats to numpy floats
https://api.github.com/repos/pandas-dev/pandas/pulls/56648
2023-12-28T00:02:47Z
2023-12-28T01:25:53Z
2023-12-28T01:25:53Z
2023-12-28T01:25:53Z
floordiv fix for large values
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..2fcab46c9e229 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -727,6 +727,7 @@ Timezones Numeric ^^^^^^^ - Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding errors fo...
- [ ] closes #56645 (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/56647
2023-12-27T23:47:02Z
2023-12-28T15:37:53Z
2023-12-28T15:37:53Z
2023-12-28T16:41:33Z
BUG: Series.to_numpy raising for arrow floats to numpy floats
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index 23b5448029dd9..de1ed9ecfdaf1 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -37,6 +37,7 @@ CategoricalDtype, is_array_like, is_bool_dtype, + is_float_dtype, is_integ...
- [ ] xref #56267 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont...
https://api.github.com/repos/pandas-dev/pandas/pulls/56644
2023-12-27T21:36:29Z
2023-12-28T00:02:39Z
2023-12-28T00:02:39Z
2023-12-28T15:22:37Z
TYP: Fix some PythonParser and Plotting types
diff --git a/pandas/core/interchange/from_dataframe.py b/pandas/core/interchange/from_dataframe.py index d45ae37890ba7..73f492c83c2ff 100644 --- a/pandas/core/interchange/from_dataframe.py +++ b/pandas/core/interchange/from_dataframe.py @@ -2,7 +2,10 @@ import ctypes import re -from typing import Any +from typing i...
and a few misc types.
https://api.github.com/repos/pandas-dev/pandas/pulls/56643
2023-12-27T21:32:44Z
2023-12-27T23:38:23Z
2023-12-27T23:38:23Z
2024-01-17T02:49:50Z
DOC: Add optional dependencies table in 2.2 whatsnew
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..5a3a7c8a30e9f 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -416,15 +416,63 @@ Backwards incompatible API changes Increased minimum versions for dependencies ^^^^^^^^^^^^^^^^^^^^^^...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56641
2023-12-27T19:54:04Z
2023-12-28T19:03:52Z
2023-12-28T19:03:52Z
2023-12-28T19:03:55Z
Backport PR #56632 on branch 2.2.x (DOC: Minor fixups for 2.2.0 whatsnew)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5ee94b74c527e..5b955aa45219a 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -123,7 +123,7 @@ nullability handling. with pg_dbapi.connect(uri) as conn: df.to_sql("pandas_table", conn, index...
Backport PR #56632: DOC: Minor fixups for 2.2.0 whatsnew
https://api.github.com/repos/pandas-dev/pandas/pulls/56640
2023-12-27T19:19:32Z
2023-12-27T19:55:20Z
2023-12-27T19:55:20Z
2023-12-27T19:55:20Z
Backport PR #56636 on branch 2.2.x (DOC: Fixup CoW userguide)
diff --git a/doc/source/user_guide/copy_on_write.rst b/doc/source/user_guide/copy_on_write.rst index 050c3901c3420..a083297925007 100644 --- a/doc/source/user_guide/copy_on_write.rst +++ b/doc/source/user_guide/copy_on_write.rst @@ -317,7 +317,7 @@ you are modifying one object inplace. .. ipython:: python df = ...
Backport PR #56636: DOC: Fixup CoW userguide
https://api.github.com/repos/pandas-dev/pandas/pulls/56639
2023-12-27T19:03:55Z
2023-12-27T19:43:09Z
2023-12-27T19:43:09Z
2023-12-27T19:43:09Z
PERF: resolution, is_normalized
diff --git a/pandas/_libs/tslibs/vectorized.pyx b/pandas/_libs/tslibs/vectorized.pyx index 0a19092f57706..1e09874639d4f 100644 --- a/pandas/_libs/tslibs/vectorized.pyx +++ b/pandas/_libs/tslibs/vectorized.pyx @@ -234,7 +234,7 @@ def get_resolution( for i in range(n): # Analogous to: utc_val = stamps[i] ...
``` dti = pd.date_range("2016-01-01", periods=10_000) dta = dti._data In [4]: %timeit dta.is_normalized 354 µs ± 3.62 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) # <- main 122 µs ± 2.71 µs per loop (mean ± std. dev. of 7 runs, 10,000 loops each) # <- PR In [5]: %timeit dta.resolution 493 µs...
https://api.github.com/repos/pandas-dev/pandas/pulls/56637
2023-12-27T17:31:47Z
2023-12-27T18:52:01Z
2023-12-27T18:52:01Z
2023-12-27T23:43:38Z
DOC: Fixup CoW userguide
diff --git a/doc/source/user_guide/copy_on_write.rst b/doc/source/user_guide/copy_on_write.rst index 050c3901c3420..a083297925007 100644 --- a/doc/source/user_guide/copy_on_write.rst +++ b/doc/source/user_guide/copy_on_write.rst @@ -317,7 +317,7 @@ you are modifying one object inplace. .. ipython:: python df = ...
- [ ] closes #56622 (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/56636
2023-12-27T16:31:28Z
2023-12-27T19:02:55Z
2023-12-27T19:02:55Z
2023-12-27T19:18:30Z
CoW: Boolean indexer in MultiIndex raising read-only error
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5ee94b74c527e..38e82d43b3e92 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -773,6 +773,7 @@ Interval Indexing ^^^^^^^^ +- Bug in :meth:`DataFrame.loc` mutating a boolean indexer when :class:`Data...
Found this while going through the docs
https://api.github.com/repos/pandas-dev/pandas/pulls/56635
2023-12-27T16:14:39Z
2023-12-28T18:48:25Z
2023-12-28T18:48:25Z
2023-12-28T18:48:49Z
DOC: Add whatsnew for 2.3.0
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index ec024f36d78b1..09d1ae08df57a 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -10,6 +10,15 @@ This is the list of changes to pandas between each release. For full details, see the `commit logs <https://git...
- [ ] 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/56634
2023-12-27T16:06:11Z
2023-12-28T16:25:57Z
2023-12-28T16:25:57Z
2024-01-11T00:05:18Z
CoW: Enable CoW by default and remove warning build
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index a3cffb4b03b93..2b09aa9343b79 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -73,18 +73,6 @@ jobs: env_file: actions-312.yaml pattern: "not slow and not network and no...
I'd prefer to go this way in enabling CoW. Having it on makes it easier to enforce the change step by step rather than doing it all at once.
https://api.github.com/repos/pandas-dev/pandas/pulls/56633
2023-12-27T15:50:11Z
2024-02-01T09:04:05Z
2024-02-01T09:04:05Z
2024-02-01T09:04:09Z
DOC: Minor fixups for 2.2.0 whatsnew
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5ee94b74c527e..5b955aa45219a 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -123,7 +123,7 @@ nullability handling. with pg_dbapi.connect(uri) as conn: df.to_sql("pandas_table", conn, index...
- [ ] 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/56632
2023-12-27T14:50:41Z
2023-12-27T19:19:25Z
2023-12-27T19:19:25Z
2023-12-27T19:36:08Z
TYP: more simple return types from ruff
diff --git a/pandas/core/apply.py b/pandas/core/apply.py index 25a71ce5b5f4f..784e11415ade6 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -827,7 +827,7 @@ def generate_numba_apply_func( def apply_with_numba(self): pass - def validate_values_for_numba(self): + def validate_values_...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56628
2023-12-26T21:39:19Z
2023-12-27T18:54:54Z
2023-12-27T18:54:54Z
2024-01-17T02:50:00Z
added negative value support in pct_changes of generic.py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index de25a02c6b37c..fddb4b207c8d3 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -11975,6 +11975,7 @@ def pct_change( fill_method: FillnaOptions | None | lib.NoDefault = lib.no_default, limit: int | None | lib.NoDefault...
closes #56618
https://api.github.com/repos/pandas-dev/pandas/pulls/56627
2023-12-26T20:05:33Z
2024-01-08T21:26:22Z
null
2024-01-08T21:26:23Z
TST: Remove arraymanager markers
diff --git a/pandas/tests/copy_view/test_astype.py b/pandas/tests/copy_view/test_astype.py index d462ce3d3187d..3c1a157dd2c6a 100644 --- a/pandas/tests/copy_view/test_astype.py +++ b/pandas/tests/copy_view/test_astype.py @@ -4,7 +4,6 @@ import pytest from pandas.compat.pyarrow import pa_version_under12p0 -import pa...
No longer really necessary since we don't test this in the CI anymore
https://api.github.com/repos/pandas-dev/pandas/pulls/56626
2023-12-26T19:46:45Z
2023-12-27T15:30:31Z
2023-12-27T15:30:31Z
2023-12-27T18:08:27Z
TST/CLN: Remove more seldom used fixtures
diff --git a/pandas/conftest.py b/pandas/conftest.py index c325a268fe418..4a3fb5c2916c6 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1838,16 +1838,6 @@ def ip(): return InteractiveShell(config=c) -@pytest.fixture(params=["bsr", "coo", "csc", "csr", "dia", "dok", "lil"]) -def spmatrix(request): ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56625
2023-12-26T19:42:27Z
2024-01-03T00:49:57Z
2024-01-03T00:49:57Z
2024-01-03T00:50:00Z
Backport PR #56617 on branch 2.2.x (TYP: some return types from ruff)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a070e9a49b97..7f3fc95ce00cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,6 +32,8 @@ repos: # TODO: remove autofixe-only rules when they are checked by ruff name: ruff-selected-autofixes alias: r...
Backport PR #56617: TYP: some return types from ruff
https://api.github.com/repos/pandas-dev/pandas/pulls/56624
2023-12-26T19:38:30Z
2023-12-26T23:50:48Z
2023-12-26T23:50:48Z
2023-12-26T23:50:48Z
DEPR: Remove array manager branches from tests
diff --git a/pandas/conftest.py b/pandas/conftest.py index 983272d79081e..046cda259eefd 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1877,14 +1877,6 @@ def indexer_ial(request): return request.param -@pytest.fixture -def using_array_manager() -> bool: - """ - Fixture to check if the array...
This started annoying me while adjusting tests for CoW, so ripping it out already
https://api.github.com/repos/pandas-dev/pandas/pulls/56621
2023-12-25T23:45:06Z
2023-12-26T19:35:02Z
2023-12-26T19:35:02Z
2023-12-26T19:41:25Z
Backport PR #56615 on branch 2.2.x (CI: Fix deprecation warnings)
diff --git a/pandas/tests/io/parser/common/test_chunksize.py b/pandas/tests/io/parser/common/test_chunksize.py index 5e47bcc1c5b0e..9660b283a491b 100644 --- a/pandas/tests/io/parser/common/test_chunksize.py +++ b/pandas/tests/io/parser/common/test_chunksize.py @@ -223,7 +223,7 @@ def test_chunks_have_consistent_numeric...
Backport PR #56615: CI: Fix deprecation warnings
https://api.github.com/repos/pandas-dev/pandas/pulls/56620
2023-12-25T20:36:19Z
2023-12-26T19:32:53Z
2023-12-26T19:32:53Z
2023-12-26T19:32:53Z
TYP: some return types from ruff
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a070e9a49b97..7f3fc95ce00cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,6 +32,8 @@ repos: # TODO: remove autofixe-only rules when they are checked by ruff name: ruff-selected-autofixes alias: 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/56617
2023-12-25T16:43:41Z
2023-12-26T19:37:35Z
2023-12-26T19:37:35Z
2024-01-17T02:49:58Z
BUG: Add limit_area to EA ffill/bfill
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 15e98cbb2a4d7..a1ecbe586483e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -321,7 +321,7 @@ Other enhancements - :meth:`DataFrame.apply` now allows the usage of numba (via ``engine="numba"``) to JIT...
- [x] closes #41813 (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/56616
2023-12-25T14:00:50Z
2024-01-03T22:14:32Z
2024-01-03T22:14:32Z
2024-01-04T03:27:34Z
CI: Fix deprecation warnings
diff --git a/pandas/tests/io/parser/common/test_chunksize.py b/pandas/tests/io/parser/common/test_chunksize.py index 5e47bcc1c5b0e..9660b283a491b 100644 --- a/pandas/tests/io/parser/common/test_chunksize.py +++ b/pandas/tests/io/parser/common/test_chunksize.py @@ -223,7 +223,7 @@ def test_chunks_have_consistent_numeric...
- [ ] 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/56615
2023-12-24T18:23:39Z
2023-12-25T20:35:20Z
2023-12-25T20:35:20Z
2023-12-25T20:35:23Z
DEPR: Remove SettingWithCopyWarning
diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst index a5d61703aceed..1f164d1aa98b4 100644 --- a/doc/source/reference/testing.rst +++ b/doc/source/reference/testing.rst @@ -58,8 +58,6 @@ Exceptions and warnings errors.PossiblePrecisionLoss errors.PyperclipException errors.Pyp...
🥳 We shouldn't merge before the actual release is out **`_item_cache` removal** closes #50547 closes #29411 closes #21391 **SettingWIthCopyWarning removal** closes #18752 closes #9767 closes #14150 closes #16550 closes #17505 closes #38270 closes #39418 closes #39448 closes #41891 closes #45513 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/56614
2023-12-24T18:17:19Z
2024-02-04T15:18:21Z
2024-02-04T15:18:21Z
2024-02-05T07:50:34Z
BUG: Added raising when merging datetime columns with timedelta columns
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..e13c81b59de20 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -822,6 +822,7 @@ Reshaping - Bug in :func:`merge_asof` raising ``TypeError`` when ``by`` dtype is not ``object``, ``int64``...
- [x] closes #56455 - [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/56613
2023-12-24T15:05:23Z
2023-12-28T17:33:26Z
2023-12-28T17:33:26Z
2023-12-28T17:33:36Z
Backport PR #56595 on branch 2.2.x (TST/CLN: Inline seldom used fixture)
diff --git a/pandas/tests/arrays/categorical/conftest.py b/pandas/tests/arrays/categorical/conftest.py deleted file mode 100644 index 37249210f28f4..0000000000000 --- a/pandas/tests/arrays/categorical/conftest.py +++ /dev/null @@ -1,9 +0,0 @@ -import pytest - -from pandas import Categorical - - -@pytest.fixture -def fa...
Backport PR #56595: TST/CLN: Inline seldom used fixture
https://api.github.com/repos/pandas-dev/pandas/pulls/56612
2023-12-24T14:20:09Z
2023-12-24T16:46:25Z
2023-12-24T16:46:25Z
2023-12-24T16:46:25Z
Closed: fork was outdated
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..2b961f88b6e75 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -797,6 +797,7 @@ Plotting ^^^^^^^^ - Bug in :meth:`DataFrame.plot.box` with ``vert=False`` and a Matplotlib ``Axes`` creat...
- [X] closes #xxxxx - [ ] [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/56611
2023-12-24T09:33:15Z
2023-12-28T13:54:43Z
null
2023-12-29T05:24:11Z
CLN/TST: Resample fixtures
diff --git a/pandas/tests/resample/conftest.py b/pandas/tests/resample/conftest.py index 1033d908eb22d..6c45ece5d8fb9 100644 --- a/pandas/tests/resample/conftest.py +++ b/pandas/tests/resample/conftest.py @@ -1,13 +1,5 @@ -from datetime import datetime - -import numpy as np import pytest -from pandas import ( - D...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56608
2023-12-23T03:44:04Z
2023-12-28T19:05:57Z
2023-12-28T19:05:57Z
2023-12-28T19:06:00Z
Start 2.3.0
- [ ] 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/56603
2023-12-22T19:13:57Z
2023-12-22T19:14:56Z
2023-12-22T19:14:56Z
2023-12-22T19:14:57Z
BUG: Fix inconsistency when constructing a Series with large integers
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5de5bd58bd35f..2f6e97dd3db50 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -928,6 +928,17 @@ Reshaping Sparse ^^^^^^ - Bug in :meth:`SparseArray.take` when using a different fill value than the ar...
- [x] closes #56566 - [x] [Tests added and passed - [x] All [code checks passed] - [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions. - [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if...
https://api.github.com/repos/pandas-dev/pandas/pulls/56598
2023-12-22T10:04:31Z
2024-01-23T09:54:22Z
null
2024-01-23T09:54:22Z
CI: Move target for the deprecations bot
diff --git a/.github/workflows/deprecation-tracking-bot.yml b/.github/workflows/deprecation-tracking-bot.yml index ec71daf6f84ab..3d4cab7be09c5 100644 --- a/.github/workflows/deprecation-tracking-bot.yml +++ b/.github/workflows/deprecation-tracking-bot.yml @@ -19,7 +19,7 @@ jobs: issues: write runs-on: ubun...
cc @lithomas1 for after the rc Just making sure that we don't forget this
https://api.github.com/repos/pandas-dev/pandas/pulls/56597
2023-12-22T09:59:46Z
2023-12-23T18:56:41Z
2023-12-23T18:56:41Z
2023-12-23T18:56:44Z
TST/CLN: Inline seldom used fixture
diff --git a/pandas/tests/arrays/categorical/conftest.py b/pandas/tests/arrays/categorical/conftest.py deleted file mode 100644 index 37249210f28f4..0000000000000 --- a/pandas/tests/arrays/categorical/conftest.py +++ /dev/null @@ -1,9 +0,0 @@ -import pytest - -from pandas import Categorical - - -@pytest.fixture -def fa...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56595
2023-12-22T01:09:35Z
2023-12-24T14:19:14Z
2023-12-24T14:19:14Z
2023-12-24T19:56:28Z
DEPR: the method is_anchored() for offsets
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 5b955aa45219a..3ef1abff53d18 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -587,11 +587,13 @@ Other Deprecations - Deprecated :func:`pd.core.internals.api.make_block`, use public APIs instead (:issu...
- [x] closes #55388 deprecated the method `is_anchored()` for offsets classes: `Tick, Week, QuarterOffset, FY5253Mixin, BaseOffset`
https://api.github.com/repos/pandas-dev/pandas/pulls/56594
2023-12-21T22:55:53Z
2024-01-10T16:39:02Z
2024-01-10T16:39:02Z
2024-01-12T17:16:41Z
DOC: Move deprecation note
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 535704a27169c..d1481639ca5a0 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -571,6 +571,9 @@ These methods are: - :meth:`DataFrame.fillna`, :meth:`Series.fillna` - :meth:`DataFrame.ffill`, :meth:`Se...
- [ ] 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/56593
2023-12-21T21:43:08Z
2023-12-22T00:07:36Z
2023-12-22T00:07:36Z
2023-12-22T00:07:43Z
BLD: Add wheel builds for musllinux on aarch64
diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c70debca0caf..90afb1ce29684 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,29 @@ jobs: PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3/condabin:$PATH LD_PRELOAD=$HOME/miniconda3/envs/pandas-dev/l...
- [ ] closes #55645 (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/56590
2023-12-21T19:53:36Z
2023-12-22T15:24:08Z
2023-12-22T15:24:08Z
2023-12-22T15:24:10Z
ENH: Update CFF with publication reference, Zenodo DOI, and other details
diff --git a/CITATION.cff b/CITATION.cff index 741e7e7ac8c85..11f45b0d87ec7 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,12 +3,50 @@ title: 'pandas-dev/pandas: Pandas' message: 'If you use this software, please cite it as below.' authors: - name: "The pandas development team" + website: "https://pandas.py...
Continuing in the spirit of #54241, this PR adds some further information to the CITATION.cff file, including a reference to [McKinney (2010)](https://doi.org/10.25080/Majora-92bf1922-00a), the DOI of the software itself ([10.5281/zenodo.3509134](https://doi.org/10.5281/zenodo.3509134)), a link to the [team page](https...
https://api.github.com/repos/pandas-dev/pandas/pulls/56589
2023-12-21T18:23:17Z
2023-12-27T18:59:53Z
2023-12-27T18:59:53Z
2023-12-27T19:13:44Z
ENH: support the Arrow PyCapsule Interface on pandas.DataFrame (export)
diff --git a/pandas/compat/_optional.py b/pandas/compat/_optional.py index 3cdeae52a25ba..064ae473652d2 100644 --- a/pandas/compat/_optional.py +++ b/pandas/compat/_optional.py @@ -147,9 +147,8 @@ def import_optional_dependency( The imported module, when found and the version is correct. None is retur...
See https://github.com/apache/arrow/issues/39195 for some context, and https://arrow.apache.org/docs/dev/format/CDataInterface/PyCapsuleInterface.html for the new Arrow specification. For now this PR just implements the stream support on DataFrame (using pyarrow under the hood to do the actual conversion). We should...
https://api.github.com/repos/pandas-dev/pandas/pulls/56587
2023-12-21T16:38:04Z
2024-01-18T19:23:06Z
2024-01-18T19:23:06Z
2024-01-18T22:10:13Z
BUG: convert_dtypes raising when preserving object dtype
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 1af2d9e739038..20eff9315bc80 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -746,7 +746,7 @@ def astype( Block """ values = self.values - if squeeze and values.nd...
- [ ] closes #56581 (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/56585
2023-12-21T00:27:13Z
2023-12-21T01:30:49Z
2023-12-21T01:30:49Z
2023-12-21T01:34:31Z
CI: Disable linkecheck
diff --git a/.github/workflows/broken-linkcheck.yml b/.github/workflows/broken-linkcheck.yml index 10ab5b08a4437..191252cccf1c3 100644 --- a/.github/workflows/broken-linkcheck.yml +++ b/.github/workflows/broken-linkcheck.yml @@ -9,6 +9,7 @@ on: - "doc/make.py" jobs: linkcheck: + if: false runs-on: ub...
Since this job is not fully ready yet, going to disable as it can "fail" if the right files were modified
https://api.github.com/repos/pandas-dev/pandas/pulls/56584
2023-12-20T23:51:40Z
2023-12-21T01:32:18Z
2023-12-21T01:32:18Z
2023-12-21T01:32:21Z
TST/CLN: Reuse top level fixtures instead of parametrizations
diff --git a/pandas/conftest.py b/pandas/conftest.py index 046cda259eefd..c325a268fe418 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -281,17 +281,6 @@ def axis(request): return request.param -axis_frame = axis - - -@pytest.fixture(params=[1, "columns"], ids=lambda x: f"axis={repr(x)}") -def axis...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/56583
2023-12-20T23:34:59Z
2024-01-02T19:17:08Z
2024-01-02T19:17:08Z
2024-01-03T21:56:29Z
BUG: stack changes NA values in the index
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 8c475791df64d..5382e56544907 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -686,6 +686,7 @@ Reshaping - Bug in :meth:`DataFrame.melt` where it would not preserve the datetime (:issue:`55254`) - Bug...
- [x] closes #56573 (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/56582
2023-12-20T22:54:02Z
2023-12-21T20:59:20Z
2023-12-21T20:59:20Z
2024-02-14T01:30:52Z