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
clarify list type requirement
diff --git a/doc/source/user_guide/dsintro.rst b/doc/source/user_guide/dsintro.rst index 9757a72f13fa8..bf831dc7b2215 100644 --- a/doc/source/user_guide/dsintro.rst +++ b/doc/source/user_guide/dsintro.rst @@ -418,7 +418,7 @@ can be passed into the DataFrame constructor. Passing a list of dataclasses is equivalent to p...
- [X] closes #58222 - [Doc]
https://api.github.com/repos/pandas-dev/pandas/pulls/58276
2024-04-16T11:02:18Z
2024-04-16T17:00:43Z
null
2024-04-16T17:00:43Z
Avoid unnecessary re-opening of HDF5 files (Closes: #58248)
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 17328e6084cb4..237001df750c8 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -331,6 +331,7 @@ Performance improvements - Performance improvement in :meth:`RangeIndex.reindex` returning a :class:`Range...
- [X] closes #58248 (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/58275
2024-04-16T07:57:34Z
2024-04-16T18:49:46Z
2024-04-16T18:49:46Z
2024-04-16T19:06:56Z
Backport PR #58268 on branch 2.2.x (CI/TST: Unxfail test_slice_locs_negative_step Pyarrow test)
diff --git a/pandas/tests/indexes/object/test_indexing.py b/pandas/tests/indexes/object/test_indexing.py index 443cacf94d239..ebf9dac715f8d 100644 --- a/pandas/tests/indexes/object/test_indexing.py +++ b/pandas/tests/indexes/object/test_indexing.py @@ -7,7 +7,6 @@ NA, is_matching_na, ) -from pandas.compat im...
Backport PR #58268: CI/TST: Unxfail test_slice_locs_negative_step Pyarrow test
https://api.github.com/repos/pandas-dev/pandas/pulls/58269
2024-04-15T19:48:04Z
2024-04-15T21:01:12Z
2024-04-15T21:01:12Z
2024-04-15T21:01:12Z
CI/TST: Unxfail test_slice_locs_negative_step Pyarrow test
diff --git a/pandas/tests/indexes/object/test_indexing.py b/pandas/tests/indexes/object/test_indexing.py index 34cc8eab4d812..039836da75cd5 100644 --- a/pandas/tests/indexes/object/test_indexing.py +++ b/pandas/tests/indexes/object/test_indexing.py @@ -7,7 +7,6 @@ NA, is_matching_na, ) -from pandas.compat im...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/58268
2024-04-15T18:41:03Z
2024-04-15T19:47:31Z
2024-04-15T19:47:31Z
2024-04-15T19:47:34Z
REF: Clean up some iterator usages
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index e36abdf0ad971..107608ec9f606 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -219,8 +219,7 @@ cdef _get_calendar(weekmask, holidays, calendar): holidays = holidays + calendar.holidays().to...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/58267
2024-04-15T18:29:27Z
2024-04-16T18:28:30Z
2024-04-16T18:28:30Z
2024-04-16T18:28:33Z
DOC: Enforce Numpy Docstring Validation for pandas.Float32Dtype and pandas.Float64Dtype
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 01baadab67dbd..66f6bfd7195f9 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -153,8 +153,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DatetimeTZDtype SA01" \ -i "pandas.DatetimeTZDtype.tz SA01" \ -i "...
- [ ] xref #58067 - [ ] [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/58266
2024-04-15T18:18:59Z
2024-04-15T19:48:32Z
2024-04-15T19:48:32Z
2024-04-16T03:55:37Z
DOC: Move whatsnew 3.0 elements
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index ca0285ade466d..5493320f803f0 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -339,19 +339,6 @@ Performance improvements Bug fixes ~~~~~~~~~ -- Fixed bug in :class:`SparseDtype` for equal comparison...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/58265
2024-04-15T17:38:54Z
2024-04-15T18:41:50Z
2024-04-15T18:41:50Z
2024-04-15T18:41:53Z
DOC: Reference Excel reader installation in the read and write tabular data tutorial
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index 3cd9e030d6b3c..cf5f15ceb8344 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -269,6 +269,8 @@ SciPy 1.10.0 computation Miscellaneous ...
Created a link to the Excel file recommended installation section and referenced it in the `How do I read and write tabular data?` tutorial. - [x] closes #58246 The below are not applicable because I am just updating documentation. - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/deve...
https://api.github.com/repos/pandas-dev/pandas/pulls/58261
2024-04-15T04:51:29Z
2024-04-15T16:47:31Z
2024-04-15T16:47:31Z
2024-04-15T16:47:44Z
DOC: replace deprecated frequency alias
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index f4f076103d8c3..8ada9d88e08bc 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -1787,7 +1787,7 @@ def strftime(self, date_format: str) -> npt.NDArray[np.object_]: ---------- fre...
replace 'S' with 's' Dreprecated since version 2.2.0 https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#other-deprecations. See https://github.com/pandas-dev/pandas/issues/52536 - ~~[ ] closes #xxxx (Replace xxxx with the GitHub issue number)~~ - ~~[ ] [Tests added and passed](https://pandas.pydata.org/pand...
https://api.github.com/repos/pandas-dev/pandas/pulls/58256
2024-04-14T14:11:16Z
2024-04-16T17:12:19Z
2024-04-16T17:12:19Z
2024-04-16T17:12:29Z
DEPR: logical ops with dtype-less sequences
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 50643454bbcec..f709bec842c86 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -208,6 +208,7 @@ Removal of prior version deprecations/changes - :meth:`SeriesGroupBy.agg` no longer pins the name of the g...
- [ ] 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/58242
2024-04-12T21:20:54Z
2024-04-14T19:13:24Z
2024-04-14T19:13:24Z
2024-04-15T15:28:55Z
DEPR: object casting in Series logical ops in non-bool cases
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index e05cc87d1af14..50643454bbcec 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -208,6 +208,7 @@ Removal of prior version deprecations/changes - :meth:`SeriesGroupBy.agg` no longer pins the name of the g...
- [ ] 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/58241
2024-04-12T21:06:29Z
2024-04-13T00:14:38Z
2024-04-13T00:14:38Z
2024-04-13T14:49:50Z
API: Expose api.typing.FrozenList for typing
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index e05cc87d1af14..6e4fef387fdfb 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -28,6 +28,7 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ +- :class:`pandas.api.typing.FrozenList` is available ...
Since it was decided not to remove this in favor of `tuple` https://github.com/pandas-dev/pandas/pull/57788, exposing `FrozenList` in `.api.typing` instead
https://api.github.com/repos/pandas-dev/pandas/pulls/58237
2024-04-12T18:56:06Z
2024-04-15T20:40:52Z
2024-04-15T20:40:52Z
2024-04-15T20:42:02Z
DOC: Enforce Numpy Docstring Validation for pandas.ExcelFile, pandas.ExcelFile.parse and pandas.ExcelWriter
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 9c39fac13b230..70cc160cb4904 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -154,9 +154,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DatetimeTZDtype SA01" \ -i "pandas.DatetimeTZDtype.tz SA01" \ -i "...
- [ ] xref #58067 - [ ] [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). - [ ] A...
https://api.github.com/repos/pandas-dev/pandas/pulls/58235
2024-04-12T16:55:51Z
2024-04-15T16:29:03Z
2024-04-15T16:29:03Z
2024-04-15T18:27:28Z
ASV: benchmark for DataFrame.Update
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index ce31d63f0b70f..6a2ab24df26fe 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -862,4 +862,28 @@ def time_last_valid_index(self, dtype): self.df.last_valid_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/58228
2024-04-12T00:28:10Z
2024-04-15T21:16:32Z
2024-04-15T21:16:32Z
2024-04-15T21:16:40Z
REF: Use PyUnicode_AsUTF8AndSize instead of get_c_string_buf_and_size
diff --git a/pandas/_libs/hashtable_class_helper.pxi.in b/pandas/_libs/hashtable_class_helper.pxi.in index e3a9102fec395..5c6254c6a1ec7 100644 --- a/pandas/_libs/hashtable_class_helper.pxi.in +++ b/pandas/_libs/hashtable_class_helper.pxi.in @@ -3,7 +3,7 @@ Template for each `dtype` helper function for hashtable WARN...
cc @WillAyd
https://api.github.com/repos/pandas-dev/pandas/pulls/58227
2024-04-11T23:02:04Z
2024-04-12T00:51:06Z
2024-04-12T00:51:06Z
2024-04-12T00:52:55Z
BUG: Timestamp ignoring explicit tz=None
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index e05cc87d1af14..66f6c10e36bdc 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -357,6 +357,7 @@ Categorical Datetimelike ^^^^^^^^^^^^ +- Bug in :class:`Timestamp` constructor failing to raise when ``...
- [x] closes #48688(Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/58226
2024-04-11T22:24:18Z
2024-04-15T17:12:09Z
2024-04-15T17:12:09Z
2024-04-15T17:17:12Z
DOC: Pandas Case_When
diff --git a/.circleci/config.yml b/.circleci/config.yml index ea93575ac9430..6f134c9a7a7bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -72,10 +72,6 @@ jobs: no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that co...
- [ ] closes #57245 - [ ] [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/58224
2024-04-11T19:09:08Z
2024-04-11T19:11:39Z
null
2024-04-11T19:11:43Z
DOC: Fix docstring error for pandas.DataFrame.axes
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 9c39fac13b230..b76ef69efa9f2 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -83,7 +83,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.__iter__ SA01" \ -i "pandas.DataFrame.assign SA01" \ -i "p...
- Fixes docstring error for pandas.DataFrame.axes method (https://github.com/pandas-dev/pandas/issues/58065). - [ ] [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://pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/58223
2024-04-11T17:57:55Z
2024-04-11T19:10:12Z
2024-04-11T19:10:12Z
2024-04-11T19:10:19Z
Revert "CI: Pin blosc to fix pytables"
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 7402f6495c788..ed7dfe1a3c17e 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -24,8 +24,6 @@ dependencies: # optional dependencies - beautifulsoup4>=4.11.2 - # https://github.com/conda-forge/pytables-feedstock/issues/...
Reverts pandas-dev/pandas#58209
https://api.github.com/repos/pandas-dev/pandas/pulls/58218
2024-04-11T12:24:43Z
2024-04-11T15:21:49Z
2024-04-11T15:21:49Z
2024-04-11T15:22:15Z
BUG: pandas.Series.unique() does not return correct unique values on non UTF8 enodeable strings
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 66c209efb740b..42715127b6d29 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -458,6 +458,7 @@ Other - Bug in :meth:`DataFrame.sort_index` when passing ``axis="columns"`` and ``ignore_index=True`` and ...
- [ ] closes #45929 (Replace xxxx with the GitHub issue number) Revival of https://github.com/pandas-dev/pandas/pull/55530
https://api.github.com/repos/pandas-dev/pandas/pulls/58215
2024-04-10T22:30:52Z
2024-04-12T00:59:34Z
null
2024-04-12T13:12:24Z
DOC: update DatetimeTZDtype unit limitation
diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py index 2d8e490f02d52..98e689528744e 100644 --- a/pandas/core/dtypes/dtypes.py +++ b/pandas/core/dtypes/dtypes.py @@ -698,8 +698,8 @@ class DatetimeTZDtype(PandasExtensionDtype): Parameters ---------- unit : str, default "ns" - ...
- [x] closes #58212 - [ ] [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/58213
2024-04-10T17:44:15Z
2024-04-12T18:07:59Z
2024-04-12T18:07:59Z
2024-04-12T18:52:50Z
Backport PR #58209: CI: Pin blosc to fix pytables
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index a3e44e6373145..ea2336ae78f81 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -24,6 +24,8 @@ dependencies: # optional dependencies - beautifulsoup4>=4.11.2 + # https://github.com/conda-forge/pytables-feedstock/issues/...
- [ ] 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/58211
2024-04-10T15:38:55Z
2024-04-10T16:42:52Z
2024-04-10T16:42:52Z
2024-04-10T16:42:53Z
CI: Pin blosc to fix pytables
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index ed7dfe1a3c17e..7402f6495c788 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -24,6 +24,8 @@ dependencies: # optional dependencies - beautifulsoup4>=4.11.2 + # https://github.com/conda-forge/pytables-feedstock/issues/...
- [ ] 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/58209
2024-04-10T14:29:32Z
2024-04-10T15:36:29Z
2024-04-10T15:36:29Z
2024-04-11T07:59:40Z
Backport PR #58202: DOC/TST: Document numpy 2.0 support and add tests…
diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst index 0dac3660c76b2..856a31a5cf305 100644 --- a/doc/source/whatsnew/v2.2.2.rst +++ b/doc/source/whatsnew/v2.2.2.rst @@ -9,6 +9,21 @@ including other versions of pandas. {{ header }} .. ------------------------------------------------------...
… for string array - [ ] 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-do...
https://api.github.com/repos/pandas-dev/pandas/pulls/58208
2024-04-10T12:07:10Z
2024-04-10T13:01:08Z
2024-04-10T13:01:08Z
2024-04-10T13:01:09Z
Backport PR #58203 on branch 2.2.x (DOC: Add release date/contributors for 2.2.2)
diff --git a/doc/source/whatsnew/v2.2.1.rst b/doc/source/whatsnew/v2.2.1.rst index 310dd921e44f6..4db0069ec4b95 100644 --- a/doc/source/whatsnew/v2.2.1.rst +++ b/doc/source/whatsnew/v2.2.1.rst @@ -87,4 +87,4 @@ Other Contributors ~~~~~~~~~~~~ -.. contributors:: v2.2.0..v2.2.1|HEAD +.. contributors:: v2.2.0..v2.2.1 ...
Backport PR #58203: DOC: Add release date/contributors for 2.2.2
https://api.github.com/repos/pandas-dev/pandas/pulls/58206
2024-04-10T00:16:06Z
2024-04-10T12:06:47Z
2024-04-10T12:06:47Z
2024-04-10T12:06:47Z
GH: PDEP vote issue template
diff --git a/.github/ISSUE_TEMPLATE/pdep_vote.yaml b/.github/ISSUE_TEMPLATE/pdep_vote.yaml new file mode 100644 index 0000000000000..6dcbd76eb0f74 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/pdep_vote.yaml @@ -0,0 +1,74 @@ +name: PDEP Vote +description: Call for a vote on a PDEP +title: "VOTE: " +labels: [Vote] + +body:...
Continuation of https://github.com/pandas-dev/pandas/pull/54469 Feel free to preview this by opening an issue in my fork
https://api.github.com/repos/pandas-dev/pandas/pulls/58204
2024-04-09T23:02:01Z
2024-04-16T17:17:02Z
2024-04-16T17:17:02Z
2024-04-16T17:17:12Z
DOC: Add release date/contributors for 2.2.2
diff --git a/doc/source/whatsnew/v2.2.1.rst b/doc/source/whatsnew/v2.2.1.rst index 310dd921e44f6..4db0069ec4b95 100644 --- a/doc/source/whatsnew/v2.2.1.rst +++ b/doc/source/whatsnew/v2.2.1.rst @@ -87,4 +87,4 @@ Other Contributors ~~~~~~~~~~~~ -.. contributors:: v2.2.0..v2.2.1|HEAD +.. contributors:: v2.2.0..v2.2.1 ...
- [ ] 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/58203
2024-04-09T22:40:02Z
2024-04-10T00:15:38Z
2024-04-10T00:15:38Z
2024-04-10T00:15:39Z
DOC/TST: Document numpy 2.0 support and add tests for string array
diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst index 0dac3660c76b2..856a31a5cf305 100644 --- a/doc/source/whatsnew/v2.2.2.rst +++ b/doc/source/whatsnew/v2.2.2.rst @@ -9,6 +9,21 @@ including other versions of pandas. {{ header }} .. ------------------------------------------------------...
- [ ] closes #58104 (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/58202
2024-04-09T22:34:15Z
2024-04-10T11:48:25Z
2024-04-10T11:48:24Z
2024-04-10T12:32:01Z
CLN: Remove unused code
diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py index 239d78b3b8b7a..124730e1b5ca9 100644 --- a/pandas/core/groupby/grouper.py +++ b/pandas/core/groupby/grouper.py @@ -263,7 +263,6 @@ def __init__( self.sort = sort self.dropna = dropna - self._grouper_deprecated =...
This looks like a `mypy` error only, which passes now.
https://api.github.com/repos/pandas-dev/pandas/pulls/58201
2024-04-09T21:55:22Z
2024-04-09T22:53:31Z
2024-04-09T22:53:31Z
2024-04-09T22:54:15Z
CLN: Make iterators lazier
diff --git a/pandas/core/apply.py b/pandas/core/apply.py index e8df24850f7a8..832beeddcef3c 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -1710,9 +1710,9 @@ def normalize_keyword_aggregation( # TODO: aggspec type: typing.Dict[str, List[AggScalar]] aggspec = defaultdict(list) order = [] ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/58200
2024-04-09T17:30:18Z
2024-04-09T18:45:50Z
2024-04-09T18:45:50Z
2024-04-09T21:51:10Z
Fix ASV with virtualenv
diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json index e02ff26ba14e9..30c692115eab1 100644 --- a/asv_bench/asv.conf.json +++ b/asv_bench/asv.conf.json @@ -41,6 +41,7 @@ // pip (with all the conda available packages installed first, // followed by the pip installed packages). "matrix": { + ...
The default remains conda, but this is needed if you ever change the default locally. Otherwise you get STDERR --------> /home/willayd/clones/pandas/asv_bench/env/7e437c4d615a12609229592196e74215/bin/python: No module named build
https://api.github.com/repos/pandas-dev/pandas/pulls/58199
2024-04-09T16:33:56Z
2024-04-09T17:16:16Z
2024-04-09T17:16:16Z
2024-04-09T17:16:23Z
Remove unused tslib function
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index ee8ed762fdb6e..aecf9f2e46bd4 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -70,7 +70,6 @@ from pandas._libs.tslibs.conversion cimport ( from pandas._libs.tslibs.dtypes cimport npy_unit_to_abbrev from pandas._libs.tslibs.nattype c...
Flagged during compilation [22/27] Compiling C object pandas/_libs/tslib.cpython-310-x86_64-linux-gnu.so.p/meson-generated_pandas__libs_tslib.pyx.c.o pandas/_libs/tslib.cpython-310-x86_64-linux-gnu.so.p/pandas/_libs/tslib.pyx.c:27000:18: warning: '__pyx_f_6pandas_5_libs_5tslib__array_with_unit_to_datetime_object_...
https://api.github.com/repos/pandas-dev/pandas/pulls/58198
2024-04-09T16:28:14Z
2024-04-09T17:15:43Z
2024-04-09T17:15:43Z
2024-04-09T17:15:50Z
Add low-level create_dataframe_from_blocks helper function
diff --git a/pandas/api/internals.py b/pandas/api/internals.py new file mode 100644 index 0000000000000..03d8992a87575 --- /dev/null +++ b/pandas/api/internals.py @@ -0,0 +1,62 @@ +import numpy as np + +from pandas._typing import ArrayLike + +from pandas import ( + DataFrame, + Index, +) +from pandas.core.interna...
See my explanation at https://github.com/pandas-dev/pandas/issues/56815/ - [ ] 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 [c...
https://api.github.com/repos/pandas-dev/pandas/pulls/58197
2024-04-09T15:40:41Z
2024-04-15T17:37:16Z
2024-04-15T17:37:16Z
2024-04-15T19:21:52Z
TST: Add tests for reading Stata dta files saved in big-endian format
diff --git a/pandas/tests/io/data/stata/stata-compat-be-105.dta b/pandas/tests/io/data/stata/stata-compat-be-105.dta new file mode 100644 index 0000000000000..af75548c840d4 Binary files /dev/null and b/pandas/tests/io/data/stata/stata-compat-be-105.dta differ diff --git a/pandas/tests/io/data/stata/stata-compat-be-108....
- [x] closes #58194 - [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/58195
2024-04-09T13:48:34Z
2024-04-09T21:53:28Z
2024-04-09T21:53:28Z
2024-04-09T21:53:34Z
CLN: enforce deprecation `resample` with `PeriodIndex`
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 99462917599e1..46110772f5ed0 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8614,7 +8614,6 @@ def resample( rule, closed: Literal["right", "left"] | None = None, label: Literal["right", "left"] | None = N...
enforced deprecation of `resample` with `PeriodIndex`
https://api.github.com/repos/pandas-dev/pandas/pulls/58193
2024-04-09T13:11:08Z
2024-04-10T12:40:53Z
null
2024-04-10T12:40:53Z
TST: Match dta format used for Stata test files with that implied by their filenames
diff --git a/pandas/tests/io/data/stata/stata10_115.dta b/pandas/tests/io/data/stata/stata10_115.dta index b917dde5ad47d..bdca3b9b340c1 100644 Binary files a/pandas/tests/io/data/stata/stata10_115.dta and b/pandas/tests/io/data/stata/stata10_115.dta differ diff --git a/pandas/tests/io/data/stata/stata4_114.dta b/pandas...
- [x] closes #57693 - [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/58192
2024-04-09T12:46:24Z
2024-04-09T16:43:19Z
2024-04-09T16:43:19Z
2024-04-09T16:43:26Z
TST: catch exception for div/truediv operations between Timedelta and pd.NA
diff --git a/pandas/tests/scalar/timedelta/test_timedelta.py b/pandas/tests/scalar/timedelta/test_timedelta.py index 73b2da0f7dd50..01e7ba52e58aa 100644 --- a/pandas/tests/scalar/timedelta/test_timedelta.py +++ b/pandas/tests/scalar/timedelta/test_timedelta.py @@ -11,6 +11,7 @@ import pytest from pandas._libs impor...
- [x] closes #54315 - [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). - [No...
https://api.github.com/repos/pandas-dev/pandas/pulls/58188
2024-04-08T20:33:15Z
2024-04-15T17:13:21Z
2024-04-15T17:13:21Z
2024-04-16T20:34:17Z
Backport PR #58181 on branch 2.2.x (CI: correct error msg in test_view_index)
diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py index 1fa48f98942c2..b7204d7af1cbb 100644 --- a/pandas/tests/indexes/test_base.py +++ b/pandas/tests/indexes/test_base.py @@ -358,7 +358,10 @@ def test_view_with_args_object_array_raises(self, index): with pytest.raises(NotI...
Backport PR #58181: CI: correct error msg in test_view_index
https://api.github.com/repos/pandas-dev/pandas/pulls/58187
2024-04-08T20:19:29Z
2024-04-08T21:34:15Z
2024-04-08T21:34:15Z
2024-04-08T21:34:23Z
Backport PR #58181 on branch 2.2.x (CI: correct error msg in test_view_index)
diff --git a/.circleci/config.yml b/.circleci/config.yml index 90afb1ce29684..ea93575ac9430 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: test-arm: machine: - image: ubuntu-2004:2022.04.1 + image: default resource_class: arm.large envi...
Backport PR #58181: CI: correct error msg in test_view_index
https://api.github.com/repos/pandas-dev/pandas/pulls/58186
2024-04-08T20:08:20Z
2024-04-08T20:11:19Z
null
2024-04-08T20:11:19Z
CLN: union_indexes
diff --git a/pandas/_libs/lib.pyi b/pandas/_libs/lib.pyi index b39d32d069619..daaaacee3487d 100644 --- a/pandas/_libs/lib.pyi +++ b/pandas/_libs/lib.pyi @@ -67,7 +67,6 @@ def fast_multiget( default=..., ) -> ArrayLike: ... def fast_unique_multiple_list_gen(gen: Generator, sort: bool = ...) -> list: ... -def fast...
- Just used sets where appropriate - Added some typing - Split some helper functions to branches where they are used
https://api.github.com/repos/pandas-dev/pandas/pulls/58183
2024-04-08T18:57:52Z
2024-04-11T15:39:27Z
2024-04-11T15:39:27Z
2024-04-11T15:39:30Z
CI: correct error msg in `test_view_index`
diff --git a/pandas/tests/indexes/numeric/test_numeric.py b/pandas/tests/indexes/numeric/test_numeric.py index 088fcfcd7d75f..676d33d2b0f81 100644 --- a/pandas/tests/indexes/numeric/test_numeric.py +++ b/pandas/tests/indexes/numeric/test_numeric.py @@ -312,7 +312,10 @@ def test_cant_or_shouldnt_cast(self, dtype): ...
CI failed, the reason: `AssertionError: Regex pattern did not match.` Replaced error msg `'Cannot change data-type for object array'` with `'Cannot change data-type for array of references.'`
https://api.github.com/repos/pandas-dev/pandas/pulls/58181
2024-04-08T16:02:43Z
2024-04-08T18:23:00Z
2024-04-08T18:23:00Z
2024-04-08T21:34:31Z
Cleanup json_normalize documentation
diff --git a/pandas/io/json/_normalize.py b/pandas/io/json/_normalize.py index ef717dd9b7ef8..7d3eefae39679 100644 --- a/pandas/io/json/_normalize.py +++ b/pandas/io/json/_normalize.py @@ -289,10 +289,10 @@ def json_normalize( meta : list of paths (str or list of str), default None Fields to use as metada...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/58180
2024-04-08T14:09:37Z
2024-04-08T16:43:15Z
2024-04-08T16:43:15Z
2024-04-08T17:28:37Z
TST: Remove deprecation check from test_pyarrow_engine
diff --git a/pandas/tests/io/parser/test_unsupported.py b/pandas/tests/io/parser/test_unsupported.py index 8d4c28bd61fa1..44a55cf3be240 100644 --- a/pandas/tests/io/parser/test_unsupported.py +++ b/pandas/tests/io/parser/test_unsupported.py @@ -155,12 +155,8 @@ def test_pyarrow_engine(self): kwargs[def...
- [x] ref https://github.com/pandas-dev/pandas/issues/57966#issuecomment-2041619807_ - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-do...
https://api.github.com/repos/pandas-dev/pandas/pulls/58175
2024-04-07T21:56:08Z
2024-04-09T16:46:13Z
2024-04-09T16:46:13Z
2024-04-09T16:46:20Z
ENH: add numeric_only to Dataframe.cum* methods
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 19b448a1871c2..d189c4f4bf248 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -35,7 +35,7 @@ Other enhancements - Support passing a :class:`Series` input to :func:`json_normalize` that retains the :cla...
- [x] closes #53072 - [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/58172
2024-04-06T15:46:25Z
2024-04-11T15:20:49Z
2024-04-11T15:20:49Z
2024-04-11T15:24:01Z
REF: de-duplicate tzinfo-awareness mismatch checks
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index effd7f586f266..ee8ed762fdb6e 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -74,7 +74,6 @@ from pandas._libs.tslibs.nattype cimport ( c_nat_strings as nat_strings, ) from pandas._libs.tslibs.timestamps cimport _Timestamp -fro...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/58171
2024-04-06T15:44:29Z
2024-04-08T16:44:54Z
2024-04-08T16:44:54Z
2024-04-08T17:02:17Z
No longer produce test.tar/test.zip after running test suite
diff --git a/pandas/tests/frame/methods/test_to_csv.py b/pandas/tests/frame/methods/test_to_csv.py index f87fa4137d62d..66a35c6f486a4 100644 --- a/pandas/tests/frame/methods/test_to_csv.py +++ b/pandas/tests/frame/methods/test_to_csv.py @@ -1406,19 +1406,21 @@ def test_to_csv_categorical_and_interval(self): ex...
- [x] closes #58162 (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/58168
2024-04-05T21:45:59Z
2024-04-05T23:11:11Z
2024-04-05T23:11:11Z
2024-04-05T23:11:18Z
DEPR: enforce Sparse deprecations
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 983768e0f67da..190b515981098 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -208,6 +208,7 @@ Removal of prior version deprecations/changes - All arguments except ``name`` in :meth:`Index.rename` are ...
- [ ] 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/58167
2024-04-05T20:26:39Z
2024-04-05T21:40:31Z
2024-04-05T21:40:30Z
2024-04-06T00:13:37Z
TST: Use temp_file fixture over ensure_clean
diff --git a/pandas/tests/io/test_stata.py b/pandas/tests/io/test_stata.py index 0cc8018ea6213..1bd71768d226e 100644 --- a/pandas/tests/io/test_stata.py +++ b/pandas/tests/io/test_stata.py @@ -63,16 +63,16 @@ def read_csv(self, file): return read_csv(file, parse_dates=True) @pytest.mark.parametrize("ver...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/58166
2024-04-05T20:14:49Z
2024-04-09T13:11:36Z
2024-04-09T13:11:36Z
2024-04-09T16:32:00Z
STY: Add flake8-slots and flake8-raise rules
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8726e058a52b..8eec5d5515239 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,12 +30,6 @@ repos: files: ^pandas exclude: ^pandas/tests args: [--select, "ANN001,ANN2", --fix-only, --exit-non-zero-on-f...
Also moves `ICN001` to the main ruff linter
https://api.github.com/repos/pandas-dev/pandas/pulls/58161
2024-04-05T17:48:52Z
2024-04-08T16:45:42Z
2024-04-08T16:45:41Z
2024-04-08T16:45:45Z
DEPR: PandasArray alias
diff --git a/doc/redirects.csv b/doc/redirects.csv index e71a031bd67fd..c11e4e242f128 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -1422,7 +1422,6 @@ reference/api/pandas.Series.transpose,pandas.Series.T reference/api/pandas.Index.transpose,pandas.Index.T reference/api/pandas.Index.notnull,pandas.Index.n...
- [ ] 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/58158
2024-04-05T15:58:26Z
2024-04-05T17:01:56Z
2024-04-05T17:01:55Z
2024-04-05T18:02:17Z
DEPR: Categorical fastpath
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 983768e0f67da..bb1e0b33c2ab8 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -212,6 +212,7 @@ Removal of prior version deprecations/changes - Disallow passing a pandas type to :meth:`Index.view` (:iss...
- [ ] 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/58157
2024-04-05T15:56:26Z
2024-04-05T19:45:43Z
2024-04-05T19:45:43Z
2024-04-06T00:13:28Z
ENH: Add support for reading value labels from 108-format and prior Stata dta files
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 19b448a1871c2..0f71b52120a47 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -33,6 +33,7 @@ Other enhancements - :meth:`Styler.set_tooltips` provides alternative method to storing tooltips by using ti...
- [x] closes #58154 - [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/58155
2024-04-05T13:23:31Z
2024-04-09T16:55:40Z
2024-04-09T16:55:40Z
2024-04-09T16:55:47Z
BUG: Fix Index.sort_values with natsort_key raises
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index d2d5707f32bf3..46ecb8ac9db5d 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -448,6 +448,7 @@ Other - Bug in :func:`unique` on :class:`Index` not always returning :class:`Index` (:issue:`57043`) - Bu...
- [x] closes #56081 (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/58148
2024-04-04T12:09:08Z
2024-04-05T16:50:15Z
2024-04-05T16:50:15Z
2024-04-06T04:16:14Z
Backport PR #58138 on branch 2.2.x (BLD: Fix nightlies not building)
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 470c044d2e99e..b9bfc766fb45c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -139,8 +139,7 @@ jobs: shell: bash -el {0} run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" -...
Backport PR #58138: BLD: Fix nightlies not building
https://api.github.com/repos/pandas-dev/pandas/pulls/58140
2024-04-03T19:30:17Z
2024-04-03T22:02:48Z
2024-04-03T22:02:48Z
2024-04-03T22:02:48Z
BLD: Fix nightlies not building
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d6cfd3b0ad257..4bd9068e91b67 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -139,8 +139,7 @@ jobs: shell: bash -el {0} run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" -...
- [ ] 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/58138
2024-04-03T17:46:00Z
2024-04-03T19:29:37Z
2024-04-03T19:29:37Z
2024-04-03T19:30:43Z
Backport PR #58100 on branch 2.2.x (MNT: fix compatibility with beautifulsoup4 4.13.0b2)
diff --git a/pandas/io/html.py b/pandas/io/html.py index 26e71c9546ffd..4eeeb1b655f8a 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -591,14 +591,8 @@ class _BeautifulSoupHtml5LibFrameParser(_HtmlFrameParser): :class:`pandas.io.html._HtmlFrameParser`. """ - def __init__(self, *args, **kwargs) ...
Backport PR #58100: MNT: fix compatibility with beautifulsoup4 4.13.0b2
https://api.github.com/repos/pandas-dev/pandas/pulls/58137
2024-04-03T17:28:29Z
2024-04-03T19:29:53Z
2024-04-03T19:29:53Z
2024-04-03T19:29:53Z
DOC: Add return value for Index.slice_locs when label not found #32680
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 73e564f95cf65..feb58a4806047 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -6453,6 +6453,10 @@ def slice_locs(self, start=None, end=None, step=None) -> tuple[int, int]: >>> idx = pd.Index(list("abcd")) ...
- [ ] Add return value for Index.slice_locs when label not found #32680 - [ ] [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/dev...
https://api.github.com/repos/pandas-dev/pandas/pulls/58135
2024-04-03T16:38:26Z
2024-04-03T21:36:34Z
2024-04-03T21:36:34Z
2024-04-03T21:36:41Z
Backport PR #58126: BLD: Build wheels with numpy 2.0rc1
diff --git a/pyproject.toml b/pyproject.toml index c225ed80dcb10..b2764b137a1f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,12 +6,9 @@ requires = [ "meson==1.2.1", "wheel", "Cython==3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json - # Any NumPy version should be fine 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/58127
2024-04-03T02:04:55Z
2024-04-03T02:57:16Z
2024-04-03T02:57:16Z
2024-04-03T02:57:16Z
BLD: Build wheels with numpy 2.0rc1
diff --git a/pyproject.toml b/pyproject.toml index 259d003de92d5..c9180cf04e7f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,12 +6,9 @@ requires = [ "meson==1.2.1", "wheel", "Cython~=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json - # Any NumPy version should be fine 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/58126
2024-04-02T23:15:29Z
2024-04-03T00:23:49Z
2024-04-03T00:23:49Z
2024-04-03T02:04:15Z
DEPR: keyword-only arguments for DataFrame/Series statistical methods
diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst index eed3fc149263a..92799359a61d2 100644 --- a/doc/source/user_guide/basics.rst +++ b/doc/source/user_guide/basics.rst @@ -476,15 +476,15 @@ For example: .. ipython:: python df - df.mean(0) - df.mean(1) + df.mean(axis=0) + ...
- [x] closes #57087 (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/58122
2024-04-02T19:19:01Z
2024-04-09T16:58:28Z
2024-04-09T16:58:28Z
2024-04-09T16:58:36Z
PERF: concat([Series, DataFrame], axis=0) returns RangeIndex columns when possible
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 78ee359397df5..d2d5707f32bf3 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -298,6 +298,7 @@ Performance improvements - :attr:`Categorical.categories` returns a :class:`RangeIndex` columns instead of...
Discovered in #57441
https://api.github.com/repos/pandas-dev/pandas/pulls/58119
2024-04-02T18:13:03Z
2024-04-03T20:14:07Z
2024-04-03T20:14:07Z
2024-04-03T20:15:11Z
PERF: Series(dict) returns RangeIndex when possible
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 4debd41de213f..78ee359397df5 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -297,6 +297,7 @@ Performance improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - :attr:`Categorical.categories` returns a :class:`Rang...
Discovered in https://github.com/pandas-dev/pandas/pull/57441
https://api.github.com/repos/pandas-dev/pandas/pulls/58118
2024-04-02T17:24:14Z
2024-04-03T18:42:13Z
2024-04-03T18:42:13Z
2024-04-03T18:59:18Z
PERF: groupby returns a RangeIndex from groups when possible
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 4debd41de213f..65db6ee499616 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -296,6 +296,7 @@ Removal of prior version deprecations/changes Performance improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - :attr:...
Discovered in #57441
https://api.github.com/repos/pandas-dev/pandas/pulls/58117
2024-04-02T17:11:16Z
2024-04-09T17:33:12Z
null
2024-04-09T17:33:17Z
Add note for name field in groupby
diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index 7f957a8b16787..8c222aff52fd7 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -416,6 +416,12 @@ You can also include the grouping columns if you want to operate on them. grouped[["A", ...
- [x] closes #58024 - [N/A] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [...
https://api.github.com/repos/pandas-dev/pandas/pulls/58114
2024-04-02T02:53:32Z
2024-04-02T18:18:58Z
2024-04-02T18:18:58Z
2024-04-02T19:25:27Z
Pixee branch
diff --git a/.github/pixeebot.yaml b/.github/pixeebot.yaml new file mode 100644 index 0000000000000..90590a58f907c --- /dev/null +++ b/.github/pixeebot.yaml @@ -0,0 +1,32 @@ +name: Format Pixeebot PRs + +on: + pull_request: + types: [opened, synchronize] + +jobs: + apply-black: + if: github.event.pull_request.u...
- [ ] 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/58112
2024-04-01T20:45:31Z
2024-04-01T20:47:25Z
null
2024-04-01T20:47:25Z
Pixee branch
diff --git a/README.md b/README.md index e5329d66c2d89..6672193e06b8f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + <picture align="center"> <source media="(prefers-color-scheme: dark)" srcset="https://pandas.pydata.org/static/img/pandas_white.svg"> <img alt="Pandas Logo" src="https://pandas.pydata.or...
- [ ] 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/58111
2024-04-01T20:34:08Z
2024-04-01T20:43:09Z
null
2024-04-01T20:43:09Z
DEPR: rename startingMonth to starting_month (argument in BQuarterBegin)
null
https://api.github.com/repos/pandas-dev/pandas/pulls/58109
2024-04-01T18:37:14Z
2024-04-01T18:37:30Z
null
2024-04-01T18:39:48Z
BUG: Remove "Mean of empty slice" warning in nanmedian
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index a124e8679ae8e..2bc5f031ce69d 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -745,6 +745,10 @@ def nanmedian(values, *, axis: AxisInt | None = None, skipna: bool = True, mask= >>> s = pd.Series([1, np.nan, 2, 2]) >>> nanops.nan...
This PR supresses a warning when calculating the `median` of a `pd.Series` that is full of `NA`s. The warning is just letting you know that `numpy` got an empty array but correctly returns `np.nan`. The warning is issued as follows: 1. When the series has `NA`s and you try to calculate the `median`, `nanops.nanmedi...
https://api.github.com/repos/pandas-dev/pandas/pulls/58107
2024-04-01T18:21:54Z
2024-04-01T22:40:49Z
2024-04-01T22:40:49Z
2024-04-01T22:40:55Z
BUG: Timestamp.unit is now reflecting changes in components after Timestamp.replace
diff --git a/.circleci/config.yml b/.circleci/config.yml index ea93575ac9430..6f134c9a7a7bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -72,10 +72,6 @@ jobs: no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that co...
Sorry for the inconvenience. Closed because of a hiccup with the commits. I'll open another requesting the same changes soon.
https://api.github.com/repos/pandas-dev/pandas/pulls/58106
2024-04-01T18:03:13Z
2024-04-01T21:00:07Z
null
2024-04-01T21:20:51Z
Backport PR #58087 on branch 2.2.x (BLD: Build wheels using numpy 2.0rc1)
diff --git a/.circleci/config.yml b/.circleci/config.yml index ea93575ac9430..6f134c9a7a7bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -72,10 +72,6 @@ jobs: no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that co...
Backport PR #58087: BLD: Build wheels using numpy 2.0rc1
https://api.github.com/repos/pandas-dev/pandas/pulls/58105
2024-04-01T17:37:14Z
2024-04-09T22:40:19Z
2024-04-09T22:40:19Z
2024-04-09T22:40:20Z
[pre-commit.ci] pre-commit autoupdate
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 41f1c4c6892a3..b8726e058a52b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ ci: skip: [pylint, pyright, mypy] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.1 + rev: v0.3.4 ...
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.1 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.1...v0.3.4) - [github.com/jendrikseipp/vulture: v2.10 → v2.11](https://github.com/jendrikseipp/vulture/compare/v2.10...v2.11) - [github.com/pylint-dev/pylint: v3.0.1 → ...
https://api.github.com/repos/pandas-dev/pandas/pulls/58103
2024-04-01T16:29:30Z
2024-04-01T20:45:20Z
2024-04-01T20:45:20Z
2024-04-01T20:45:23Z
DOC: Fix docstring error for pandas.DataFrame.axes
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 76df5c82e6239..c176532c8269d 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -995,6 +995,11 @@ def axes(self) -> list[Index]: It has the row axis labels and column axis labels as the only members. They are returned in that ...
- Fixes docstring error for pandas.DataFrame.axes method (https://github.com/pandas-dev/pandas/issues/58065). - [ ] [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://pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/58102
2024-04-01T13:59:02Z
2024-04-11T16:59:32Z
null
2024-04-11T16:59:33Z
DOC: fix docstring for DataFrame.to_period, pandas.DataFrame.to_timestamp, pandas.DataFrame.tz_convert #58065
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f4ea0a1e2bc28..49f93a8589ac4 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -121,9 +121,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.to_feather SA01" \ -i "pandas.DataFrame.to_markdown SA01" \ ...
Fixes docstring errorrs for DataFrame and Series for methods `pandas.DataFrame.to_period` ,`pandas.DataFrame.to_timestamp` ,`pandas.DataFrame.tz_convert`. (issue #58065) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or ad...
https://api.github.com/repos/pandas-dev/pandas/pulls/58101
2024-04-01T13:39:31Z
2024-04-01T18:54:45Z
2024-04-01T18:54:44Z
2024-04-01T18:54:51Z
MNT: fix compatibility with beautifulsoup4 4.13.0b2
diff --git a/pandas/io/html.py b/pandas/io/html.py index b4f6a5508726b..42f5266e7649b 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -584,14 +584,8 @@ class _BeautifulSoupHtml5LibFrameParser(_HtmlFrameParser): :class:`pandas.io.html._HtmlFrameParser`. """ - def __init__(self, *args, **kwargs) ...
Closes #58086 - [x] 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/de...
https://api.github.com/repos/pandas-dev/pandas/pulls/58100
2024-04-01T12:26:18Z
2024-04-01T17:08:54Z
2024-04-01T17:08:53Z
2024-04-03T19:55:22Z
DOC: Fix docstring errors for pandas.DataFrame.unstack, pandas.DataFrame.value_counts and pandas.DataFrame.tz_localize
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 0c4e6641444f1..a9f69ee4f6c57 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -127,9 +127,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.to_period SA01" \ -i "pandas.DataFrame.to_timestamp SA01" \ ...
- Fixes docstring erros for following methods (https://github.com/pandas-dev/pandas/issues/58065): `pandas.DataFrame.unstack`, `pandas.DataFrame.value_counts` and `pandas.DataFrame.tz_localize` - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tes...
https://api.github.com/repos/pandas-dev/pandas/pulls/58097
2024-03-31T23:12:27Z
2024-04-01T17:11:43Z
2024-04-01T17:11:43Z
2024-04-01T17:11:51Z
Remove 'Not implemented for Series' from _num_doc in generic.py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 858d2ba82a969..b5cdafeb57134 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -11712,7 +11712,7 @@ def last_valid_index(self) -> Hashable: skipna : bool, default True Exclude NA/null values when computing the result. numeric_on...
Documentation fix in `generic.py` line 11715: Removed 'Not implemented for Series' in _num_doc given that `numeric_only` is now implemented for Series in all the methods min, max, mean, median, skew, kurt - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.p...
https://api.github.com/repos/pandas-dev/pandas/pulls/58096
2024-03-31T22:27:34Z
2024-04-01T17:19:57Z
2024-04-01T17:19:57Z
2024-04-01T17:20:04Z
DOC: read_sql_query docstring contraine wrong examples #58094
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index aa9d0d88ae69a..8c4c4bac884e5 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -473,8 +473,9 @@ def read_sql_query( -------- >>> from sqlalchemy import create_engine # doctest: +SKIP >>> engine = create_engine("sqlite:///database.db") # docte...
- [x] closes #58094 - [ ] [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/58095
2024-03-31T20:07:44Z
2024-04-02T01:41:32Z
2024-04-02T01:41:32Z
2024-04-02T01:41:40Z
Revert "BLD: Pin numpy on 2.2.x"
diff --git a/pyproject.toml b/pyproject.toml index b2764b137a1f8..778146bbcd909 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,9 +27,9 @@ authors = [ license = {file = 'LICENSE'} requires-python = '>=3.9' dependencies = [ - "numpy>=1.22.4,<2; python_version<'3.11'", - "numpy>=1.23.2,<2; python_version=='3...
Reverts pandas-dev/pandas#56812 Waiting for #58087 to be merged and backported
https://api.github.com/repos/pandas-dev/pandas/pulls/58093
2024-03-31T15:06:52Z
2024-04-03T17:28:27Z
2024-04-03T17:28:27Z
2024-04-03T17:28:30Z
DOC: Changed ndim to 1, modified doc as suggested. #57088
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 50a93994dc76b..932344ae91eab 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -11494,7 +11494,7 @@ def any( **kwargs, ) -> Series | bool: ... - @doc(make_doc("any", ndim=2)) + @doc(make_doc("any", ndim=1)) def any( ...
- [ ] closes #57088
https://api.github.com/repos/pandas-dev/pandas/pulls/58091
2024-03-31T01:28:35Z
2024-04-01T17:32:02Z
2024-04-01T17:32:02Z
2024-04-01T17:32:08Z
CI: Remove deprecated methods from code_checks.sh
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 0c4e6641444f1..3cdbbc2b93a01 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -84,7 +84,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.assign SA01" \ -i "pandas.DataFrame.at_time PR01" \ -i "pa...
- [ ] xref #58065 - [ ] [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/58090
2024-03-31T00:22:21Z
2024-04-01T17:27:25Z
2024-04-01T17:27:25Z
2024-04-01T17:27:31Z
BLD: Build wheels using numpy 2.0rc1
diff --git a/.circleci/config.yml b/.circleci/config.yml index ea93575ac9430..6f134c9a7a7bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -72,10 +72,6 @@ jobs: no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that co...
- [ ] closes #55519 (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/58087
2024-03-30T17:21:12Z
2024-04-01T17:36:41Z
2024-04-01T17:36:41Z
2024-04-02T02:45:12Z
ENH: Enable fillna(value=None)
diff --git a/doc/source/user_guide/missing_data.rst b/doc/source/user_guide/missing_data.rst index 2e104ac06f9f4..5149bd30dbbef 100644 --- a/doc/source/user_guide/missing_data.rst +++ b/doc/source/user_guide/missing_data.rst @@ -386,6 +386,27 @@ Replace NA with a scalar value df df.fillna(0) +When the data ha...
- [x] closes #57723 (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/58085
2024-03-30T14:14:53Z
2024-04-15T17:22:40Z
2024-04-15T17:22:40Z
2024-04-15T20:32:33Z
CLN: move raising TypeError for `interpolate` with `object` dtype to Block
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 858d2ba82a969..c6f7e6296bc13 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7749,11 +7749,6 @@ def interpolate( raise ValueError("'method' should be a string, not None.") obj, should_transpose = (self.T, Tru...
xref #57820 moved raising `TypeError` for `interpolate` with object dtype from ``NDFrame`` to ``Block``
https://api.github.com/repos/pandas-dev/pandas/pulls/58083
2024-03-30T00:45:24Z
2024-04-01T20:49:57Z
2024-04-01T20:49:57Z
2024-04-01T20:50:04Z
ENH: Implement round dunder methods for Timestamp and Timedelta
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 74a19472ec835..5d49e12627838 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -35,6 +35,7 @@ Other enhancements - Support passing a :class:`Series` input to :func:`json_normalize` that retains the :cla...
- [x] closes #58071 - [ ] [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/58081
2024-03-29T22:02:44Z
2024-04-01T18:11:25Z
null
2024-04-08T13:36:39Z
Backport PR #58075 on branch 2.2.x (DOC: whatsnew note for #57553)
diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst index 9e1a883d47cf8..0dac3660c76b2 100644 --- a/doc/source/whatsnew/v2.2.2.rst +++ b/doc/source/whatsnew/v2.2.2.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - :meth:`DataFrame.__dataframe__` was producing incorrect data buffers ...
Backport PR #58075: DOC: whatsnew note for #57553
https://api.github.com/repos/pandas-dev/pandas/pulls/58080
2024-03-29T21:40:25Z
2024-04-01T21:23:48Z
2024-04-01T21:23:48Z
2024-04-01T21:23:50Z
CLN: Remove unnecessary block in apply_str
diff --git a/pandas/core/apply.py b/pandas/core/apply.py index de2fd9394e2fa..e8df24850f7a8 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -564,22 +564,10 @@ def apply_str(self) -> DataFrame | Series: "axis" not in arg_names or func in ("corrwith", "skew") ): ...
- [ ] 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/58077
2024-03-29T19:30:21Z
2024-03-29T21:39:18Z
2024-03-29T21:39:18Z
2024-03-29T22:07:23Z
DOC: docstring fix for pandas.DataFrame.where method
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 0c4e6641444f1..3521c44eda312 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -99,7 +99,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.kurt RT03,SA01" \ -i "pandas.DataFrame.kurtosis RT03,SA01" \ ...
- [x] xref #58065 (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/58076
2024-03-29T18:54:10Z
2024-04-01T17:53:03Z
2024-04-01T17:53:03Z
2024-04-01T17:53:10Z
DOC: whatsnew note for #57553
diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst index 9e1a883d47cf8..0dac3660c76b2 100644 --- a/doc/source/whatsnew/v2.2.2.rst +++ b/doc/source/whatsnew/v2.2.2.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - :meth:`DataFrame.__dataframe__` was producing incorrect data buffers ...
- [ ] 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/58075
2024-03-29T18:37:58Z
2024-03-29T21:39:56Z
2024-03-29T21:39:56Z
2024-03-29T21:42:48Z
Pandas dev main
diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst index 9e1a883d47cf8..b7330e4b1cbb6 100644 --- a/doc/source/whatsnew/v2.2.2.rst +++ b/doc/source/whatsnew/v2.2.2.rst @@ -22,10 +22,12 @@ Fixed regressions Bug fixes ~~~~~~~~~ + - :meth:`DataFrame.__dataframe__` was producing incorrect data...
- [ ] 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/58073
2024-03-29T15:08:28Z
2024-03-29T15:08:56Z
null
2024-03-29T15:09:01Z
DEPR: unsupported dt64/td64 dtypes in pd.array
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 2ebd6fb62b424..7ee31fdf88082 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -207,6 +207,7 @@ Removal of prior version deprecations/changes - All arguments except ``name`` in :meth:`Index.rename` are ...
- [ ] 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/58060
2024-03-29T02:29:08Z
2024-03-29T18:16:10Z
2024-03-29T18:16:10Z
2024-03-29T18:35:49Z
DEPR: Index.insert dtype inference
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index c91cc6ab7acdb..ccac930d533fd 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -209,6 +209,7 @@ Removal of prior version deprecations/changes - Removed "freq" keyword from :class:`PeriodArray` construct...
- [ ] 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/58059
2024-03-29T02:06:49Z
2024-03-29T18:17:51Z
2024-03-29T18:17:51Z
2024-03-29T18:35:38Z
DEPR: allowing non-standard types in unique, factorize, isin
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 98b497bd6988b..bd1610cab1ecd 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -206,6 +206,7 @@ Removal of prior version deprecations/changes - :meth:`SeriesGroupBy.agg` no longer pins the name of the g...
- [ ] 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/58058
2024-03-29T01:48:32Z
2024-03-29T18:20:16Z
2024-03-29T18:20:16Z
2024-03-29T18:35:27Z
BUG: Allow using numpy in `DataFrame.eval` and `DataFrame.query` via @-notation
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 2ebd6fb62b424..8d0adccfd480d 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -325,6 +325,7 @@ Bug fixes - Fixed bug in :class:`SparseDtype` for equal comparison with na fill value. (:issue:`54770`) -...
- [x] closes #58041 - [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/58057
2024-03-28T23:01:38Z
2024-04-08T16:48:31Z
2024-04-08T16:48:31Z
2024-04-09T08:35:24Z
DEPR: ignoring empty entries in pd.concat
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 98b497bd6988b..3a2cadd6b1cd5 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -200,6 +200,7 @@ Other Deprecations Removal of prior version deprecations/changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
- [ ] 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/58056
2024-03-28T22:32:00Z
2024-03-29T18:22:44Z
2024-03-29T18:22:44Z
2024-03-29T18:22:53Z
DEPR: remove deprecated extension test classes
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 98b497bd6988b..947edc0cd119e 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -209,6 +209,7 @@ Removal of prior version deprecations/changes - Disallow passing a pandas type to :meth:`Index.view` (:iss...
- [ ] 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/58053
2024-03-28T20:08:09Z
2024-03-29T18:23:43Z
2024-03-29T18:23:43Z
2024-03-29T18:35:16Z
BUG: fixed to_numeric loss in precision when converting decimal type to integer
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 98b497bd6988b..5dec933eb4407 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -332,6 +332,7 @@ Bug fixes - Fixed bug in :meth:`Series.diff` allowing non-integer values for the ``periods`` argument. (:i...
- [X] closes #57213 - [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/58051
2024-03-28T18:59:54Z
2024-03-28T19:49:05Z
null
2024-03-28T20:15:32Z
Backport PR #57974 on branch 2.2.x (BUG: Fixed ADBC to_sql creation of table when using public schema)
diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst index d0f8951ac07ad..9e1a883d47cf8 100644 --- a/doc/source/whatsnew/v2.2.2.rst +++ b/doc/source/whatsnew/v2.2.2.rst @@ -25,6 +25,7 @@ Bug fixes - :meth:`DataFrame.__dataframe__` was producing incorrect data buffers when the column's type was ...
Backport PR #57974: BUG: Fixed ADBC to_sql creation of table when using public schema
https://api.github.com/repos/pandas-dev/pandas/pulls/58050
2024-03-28T17:56:24Z
2024-03-28T22:26:08Z
2024-03-28T22:26:08Z
2024-03-28T22:26:08Z
DEPR: passing pandas type to Index.view
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index e798f19bc1a23..d770054da5040 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -206,6 +206,7 @@ Removal of prior version deprecations/changes - :meth:`SeriesGroupBy.agg` no longer pins the name of the g...
- [ ] 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/58047
2024-03-28T15:33:00Z
2024-03-28T18:05:56Z
2024-03-28T18:05:56Z
2024-03-28T20:08:43Z
read_csv(engine="pyarrow") fails with unknown column count
diff --git a/pandas/io/parsers/arrow_parser_wrapper.py b/pandas/io/parsers/arrow_parser_wrapper.py index f8263a65ef5c7..7ee6f844e8e45 100644 --- a/pandas/io/parsers/arrow_parser_wrapper.py +++ b/pandas/io/parsers/arrow_parser_wrapper.py @@ -139,12 +139,15 @@ def handle_warning(invalid_row) -> str: ] ...
``` >>> pd.read_csv(StringIO("1,2"), engine="pyarrow", dtype_backend="pyarrow", names=["A", "B"], header=None) Traceback (most recent call last): File "D:\ps_env_02_20\Lib\site-packages\pandas\io\parsers\arrow_parser_wrapper.py", line 266, in read table = pyarrow_csv.read_csv( ^^^^^^^^^^^^^^^^^^^...
https://api.github.com/repos/pandas-dev/pandas/pulls/58045
2024-03-28T14:35:38Z
2024-03-28T16:26:19Z
null
2024-03-28T16:26:19Z
BUG: DataFrame slice selection treated as hashable in Python 3.12 #57500
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index f709bec842c86..27e7abe333d6f 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -395,7 +395,7 @@ Interval Indexing ^^^^^^^^ -- +- Bug in :meth:`DataFrame.__getitem__` returning modified columns when c...
- [X] closes #57500 - [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/58043
2024-03-28T13:32:28Z
2024-04-16T17:16:02Z
2024-04-16T17:16:02Z
2024-04-16T17:16:08Z