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
CLN: assorted
diff --git a/pandas/core/array_algos/take.py b/pandas/core/array_algos/take.py index 8ea70e2694d92..ac674e31586e7 100644 --- a/pandas/core/array_algos/take.py +++ b/pandas/core/array_algos/take.py @@ -66,8 +66,7 @@ def take_nd( """ Specialized Cython take which sets NaN values in one pass - This dispatch...
- [ ] 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/54673
2023-08-21T21:04:15Z
2023-08-22T18:43:01Z
2023-08-22T18:43:01Z
2023-08-22T19:19:29Z
Backport PR #54496 on branch 2.1.x (Fix inference for fixed with numpy strings with arrow string option)
diff --git a/pandas/core/construction.py b/pandas/core/construction.py index 5757c69bb6ec7..f733ba3b445fd 100644 --- a/pandas/core/construction.py +++ b/pandas/core/construction.py @@ -19,6 +19,8 @@ import numpy as np from numpy import ma +from pandas._config import using_pyarrow_string_dtype + from pandas._libs i...
Backport PR #54496: Fix inference for fixed with numpy strings with arrow string option
https://api.github.com/repos/pandas-dev/pandas/pulls/54672
2023-08-21T19:59:34Z
2023-08-21T23:06:13Z
2023-08-21T23:06:13Z
2023-08-21T23:06:14Z
BUG: drop_duplicates raising for boolean arrow dtype with missing values
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..bff026d27dbce 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -626,6 +626,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.transpose` when transposing a DataF...
- [x] closes #54667 (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/54670
2023-08-21T19:33:16Z
2023-08-22T18:48:23Z
2023-08-22T18:48:23Z
2023-08-22T18:50:31Z
Backport PR #54641 on branch 2.1.x (BUG: getitem indexing wrong axis)
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index ca0b1705b5c38..a2871f364f092 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -985,8 +985,9 @@ def _getitem_tuple_same_dim(self, tup: tuple): """ retval = self.obj # Selecting columns before rows is sign...
Backport PR #54641: BUG: getitem indexing wrong axis
https://api.github.com/repos/pandas-dev/pandas/pulls/54669
2023-08-21T18:44:31Z
2023-08-21T20:25:03Z
2023-08-21T20:25:03Z
2023-08-21T20:25:03Z
ENH: numba engine in df.apply
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index a795514aa31f8..3a4f9576eb135 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -28,7 +28,7 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ -- +- DataFrame.apply now allows the usage of numba (v...
- [ ] 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/54666
2023-08-21T17:33:45Z
2023-09-11T16:34:04Z
2023-09-11T16:34:04Z
2023-09-11T19:25:46Z
REF: use can_use_libjoin more consistently, docstring for it
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index ee36a3515c4b3..96ff25a6bc423 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -373,9 +373,6 @@ def _left_indexer_unique(self, other: Self) -> npt.NDArray[np.intp]: # Caller is responsible for ensuring othe...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54664
2023-08-21T16:34:06Z
2023-08-21T18:46:32Z
2023-08-21T18:46:32Z
2023-08-21T18:46:38Z
DEPR: BaseNoReduceTests
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 6fdffb4d78341..38c2956d1b137 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -100,7 +100,7 @@ Deprecations - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_pickle` except ``path``. (...
I'm really not interested in writing tests for the tests
https://api.github.com/repos/pandas-dev/pandas/pulls/54663
2023-08-21T15:39:59Z
2023-08-22T16:56:14Z
2023-08-22T16:56:14Z
2023-08-22T19:20:00Z
REF: remove is_simple_frame from json code
diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c index 4a22de886742c..30b940726af0a 100644 --- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c +++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c @@ -262,21 +262,6 @@ static Py_ssize_t get_attr...
cc @WillAyd the simple_frame path is kludgy, I expect fragile to non-numpy blocks. This just rips it out to simplify the code.
https://api.github.com/repos/pandas-dev/pandas/pulls/54662
2023-08-21T15:21:05Z
2023-08-21T20:26:51Z
2023-08-21T20:26:51Z
2023-08-21T20:28:27Z
Backport PR #54586 on branch 2.1.x (REF: Refactor conversion of na value)
diff --git a/pandas/tests/strings/__init__.py b/pandas/tests/strings/__init__.py index 9a7622b4f1cd8..496a2d095d85b 100644 --- a/pandas/tests/strings/__init__.py +++ b/pandas/tests/strings/__init__.py @@ -1,2 +1,12 @@ # Needed for new arrow string dtype + +import pandas as pd + object_pyarrow_numpy = ("object",) + + ...
Backport PR #54586: REF: Refactor conversion of na value
https://api.github.com/repos/pandas-dev/pandas/pulls/54658
2023-08-21T09:18:37Z
2023-08-21T17:57:50Z
2023-08-21T17:57:50Z
2023-08-21T17:57:50Z
BUG: _apply_rule() ignores tz info on an empty list of observances
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index b90563ba43d83..e122d06c75a71 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -113,6 +113,7 @@ Performance improvements Bug fixes ~~~~~~~~~ +- Bug in :class:`AbstractHolidayCalendar` where timezone ...
- [x] closes #54580 - [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/54655
2023-08-21T02:20:55Z
2023-08-22T22:51:54Z
2023-08-22T22:51:54Z
2023-08-22T22:52:01Z
DOC: fix build failure with sphinx 7 and SOURCE_DATE_EPOCH
diff --git a/doc/source/conf.py b/doc/source/conf.py index accbff596b12d..86d2494707ce2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -162,7 +162,7 @@ # General information about the project. project = "pandas" # We have our custom "pandas_footer.html" template, using copyright for the current year -co...
When SOURCE_DATE_EPOCH is set (which is the default when building Debian packages), Sphinx 7 [**requires** a space or comma after the year in 'copyright'](https://sources.debian.org/src/sphinx/7.1.2-2/sphinx/config.py/#L444). [Debian bug report, with failure log](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=104...
https://api.github.com/repos/pandas-dev/pandas/pulls/54653
2023-08-20T21:30:35Z
2023-09-22T17:02:03Z
2023-09-22T17:02:03Z
2023-09-22T17:02:12Z
Removes None type from max_info_rows
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index 27e9bf8958ab0..1dc09388b698f 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -265,7 +265,7 @@ def use_numba_cb(key) -> None: """ pc_max_info_rows_doc = """ -: int or None +: int df.info() will usually show nu...
`max_info_rows` doesn't support `None` type. - [x] closes #54600 (Replace xxxx with the GitHub issue number)
https://api.github.com/repos/pandas-dev/pandas/pulls/54652
2023-08-20T18:42:53Z
2023-08-22T16:36:39Z
2023-08-22T16:36:39Z
2023-08-22T16:36:45Z
ENH: Add on_bad_lines for pyarrow
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 8eab623a2b5f7..85cf59dc7135b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -73,6 +73,8 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ + +- :func:`read_csv` now supports ``on_bad_lines`` pa...
- [x] closes #54480 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Update documentation This adds the `on_bad_lines` argument to the `pyarrow` engine for the `from_csv` parser that closely follows the behaviour of the `python` eng...
https://api.github.com/repos/pandas-dev/pandas/pulls/54643
2023-08-19T18:39:40Z
2023-09-22T23:46:32Z
2023-09-22T23:46:32Z
2023-09-22T23:46:39Z
BUG: getitem indexing wrong axis
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index ca0b1705b5c38..a2871f364f092 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -985,8 +985,9 @@ def _getitem_tuple_same_dim(self, tup: tuple): """ retval = self.obj # Selecting columns before rows is sign...
- [x] closes #54622 (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/54641
2023-08-19T14:54:10Z
2023-08-21T18:44:23Z
2023-08-21T18:44:23Z
2023-08-21T18:45:23Z
Rewording a sentance in tech docs
diff --git a/doc/source/user_guide/dsintro.rst b/doc/source/user_guide/dsintro.rst index d60532f5f4027..d1e981ee1bbdc 100644 --- a/doc/source/user_guide/dsintro.rst +++ b/doc/source/user_guide/dsintro.rst @@ -308,7 +308,7 @@ The row and column labels can be accessed respectively by accessing the From dict of ndarrays ...
I fixed a sentence grammatically to sound better. - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](http...
https://api.github.com/repos/pandas-dev/pandas/pulls/54640
2023-08-19T13:25:36Z
2023-08-21T19:16:26Z
2023-08-21T19:16:26Z
2023-08-21T19:16:33Z
Updated `ruff pre-commit` version and modified few lines according to it.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1bda47e0631a0..9f9bcd78c07b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.284 + rev: v0.0.285 ...
#### Ruff 0.0.285 has been released (https://github.com/astral-sh/ruff-pre-commit). So, I have updated the ruff version in `.pre-commit-config.yaml` file, ran `ruff .` and corrected few files according to the errors it showed. - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/54639
2023-08-19T10:54:09Z
2023-08-21T18:37:01Z
2023-08-21T18:37:01Z
2023-08-21T18:37:08Z
Backport PR #54633 on branch 2.1.x (DEP: remove python-snappy and brotli as optional dependencies (no longer used))
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index ffa7732c604a0..638aaedecf2b5 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -27,7 +27,6 @@ dependencies: - beautifulsoup4>=4.11.1 - blosc>=1.21.0 - bottleneck>=1.3.4 - - brotlipy>=0.7.0 - fastparquet>=0.8.1 -...
Backport PR #54633: DEP: remove python-snappy and brotli as optional dependencies (no longer used)
https://api.github.com/repos/pandas-dev/pandas/pulls/54637
2023-08-19T07:46:38Z
2023-08-21T18:26:27Z
2023-08-21T18:26:27Z
2023-08-21T18:26:28Z
DOC: add missing parameters n\normalize\offset to offsets classes
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 958fe1181d309..d17ec6031f978 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -1621,6 +1621,8 @@ cdef class BusinessDay(BusinessMixin): The number of days represented. normalize : bool...
xref #52431 added missing parameters `"n" \ "normalize" \ "offset"` to `Week` , `LastWeekOfMonth`, `BusinessDay`, and `CustomBusinessHour`
https://api.github.com/repos/pandas-dev/pandas/pulls/54635
2023-08-18T20:12:15Z
2023-08-21T19:18:08Z
2023-08-21T19:18:08Z
2023-08-21T19:18:14Z
DEPR: make arguments keyword only in to_clipboard
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d8b63a6d1395d..7384c512f180b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,6 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ +- Deprecated allowing non-keyword arguments in :meth:`DataFr...
- [x] xref #54229 - [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/54634
2023-08-18T20:03:26Z
2023-08-22T18:57:21Z
2023-08-22T18:57:21Z
2023-08-22T20:01:38Z
DEP: remove python-snappy and brotli as optional dependencies (no longer used)
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index ffa7732c604a0..638aaedecf2b5 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -27,7 +27,6 @@ dependencies: - beautifulsoup4>=4.11.1 - blosc>=1.21.0 - bottleneck>=1.3.4 - - brotlipy>=0.7.0 - fastparquet>=0.8.1 -...
See https://github.com/pandas-dev/pandas/issues/32417#issuecomment-1684356585 for context. The `python-snappy` and `brotli` packages were in the past a dependency of fastparquet, but that is no longer the case (https://github.com/dask/fastparquet/commit/2e657224a7250d49aa2e4b8c457a98e008687c21, replaced by `cramjam`...
https://api.github.com/repos/pandas-dev/pandas/pulls/54633
2023-08-18T19:50:48Z
2023-08-19T07:45:34Z
2023-08-19T07:45:34Z
2023-08-19T07:45:41Z
DEPR: deprecated nonkeyword arguments in to_csv
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 6fdffb4d78341..d8b63a6d1395d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,6 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ +- Deprecated allowing non-keyword arguments in :meth:`DataFr...
- [x] xref #54229 - [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/54632
2023-08-18T19:46:39Z
2023-08-21T23:20:42Z
2023-08-21T23:20:42Z
2023-08-21T23:20:48Z
DEPR: deprecated nonkeyword arguments in to_parquet
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d8b63a6d1395d..430f61ee6827b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -98,6 +98,7 @@ Deprecations - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_json` except ``path_or_buf``...
- [x] xref #54229 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/54631
2023-08-18T19:38:03Z
2023-08-22T16:39:18Z
2023-08-22T16:39:17Z
2023-08-22T16:49:06Z
DEPR: make arguments keyword only in to_dict
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d8b63a6d1395d..105efe38cccf6 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 - [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/54630
2023-08-18T19:23:45Z
2023-08-22T18:59:42Z
2023-08-22T18:59:42Z
2023-08-22T20:01:59Z
BUG: Fix error in printing timezone series
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..7a1a61bed826a 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -664,6 +664,7 @@ Datetimelike - Bug in constructing a :class:`Timestamp` from a string representing a time without a date i...
- [x] closes #54623 - [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/54625
2023-08-18T14:24:22Z
2023-08-22T23:55:27Z
2023-08-22T23:55:27Z
2023-08-24T12:01:18Z
Backport PR #54615 on branch 2.1.x (DOC: Update build instructions in the README)
diff --git a/README.md b/README.md index 8ea473beb107e..6fa20d237babe 100644 --- a/README.md +++ b/README.md @@ -130,23 +130,17 @@ In the `pandas` directory (same one where you found this file after cloning the git repo), execute: ```sh -python setup.py install +pip install . ``` or for installing in [developme...
Backport PR #54615: DOC: Update build instructions in the README
https://api.github.com/repos/pandas-dev/pandas/pulls/54619
2023-08-18T10:25:10Z
2023-08-18T12:42:26Z
2023-08-18T12:42:26Z
2023-08-18T12:42:26Z
DOC: Add information on fetching tags for contributors building pandas.
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index c06c0f8703d11..41f4b4d5783ea 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -754,7 +754,7 @@ install pandas) by typing:: yo...
- [N/A] closes #xxxx (Replace xxxx with the GitHub issue number) - [N/A] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [N/A] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/developme...
https://api.github.com/repos/pandas-dev/pandas/pulls/54618
2023-08-18T09:54:28Z
2023-08-18T20:29:05Z
2023-08-18T20:29:05Z
2023-08-21T13:09:59Z
DOC: Convert docstring to numpydoc.
diff --git a/pandas/core/common.py b/pandas/core/common.py index 6d419098bf279..1679e01ff9fe1 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -531,17 +531,24 @@ def convert_to_list_like( def temp_setattr( obj, attr: str, value, condition: bool = True ) -> Generator[None, None, None]: - """Te...
- [N/A] closes #xxxx (Replace xxxx with the GitHub issue number) https://github.com/jorisvandenbossche/euroscipy-2023-pandas-sprint/issues/7 - [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 - [ ] Al...
https://api.github.com/repos/pandas-dev/pandas/pulls/54617
2023-08-18T09:34:47Z
2023-08-18T16:49:39Z
2023-08-18T16:49:39Z
2023-08-21T12:59:36Z
DOC: Update build instructions in the README
diff --git a/README.md b/README.md index 8ea473beb107e..6fa20d237babe 100644 --- a/README.md +++ b/README.md @@ -130,23 +130,17 @@ In the `pandas` directory (same one where you found this file after cloning the git repo), execute: ```sh -python setup.py install +pip install . ``` or for installing in [developme...
- [ ] 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/54615
2023-08-18T07:46:53Z
2023-08-18T10:25:02Z
2023-08-18T10:25:02Z
2023-08-18T10:25:03Z
Backport PR #54587 on branch 2.1.x (CI: Enable MacOS Python Dev tests)
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 66d8320206429..030c9546fecca 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -77,16 +77,12 @@ jobs: env_file: actions-311-numpydev.yaml pattern: "not slow and not netw...
Backport PR #54587: CI: Enable MacOS Python Dev tests
https://api.github.com/repos/pandas-dev/pandas/pulls/54614
2023-08-18T07:31:51Z
2023-08-18T12:48:45Z
2023-08-18T12:48:45Z
2023-08-18T12:48:45Z
DEPR: deprecated nonkeyword arguments in to_json
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 4ad450c965464..2a51f2fa1cc50 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/54613
2023-08-18T06:00:57Z
2023-08-18T16:50:44Z
2023-08-18T16:50:44Z
2023-08-18T19:16:22Z
DEPR: deprecated nonkeyword arguments in to_html
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index b90563ba43d83..0c4008a6ba48c 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 - [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/54612
2023-08-18T05:34:25Z
2023-08-21T18:35:26Z
2023-08-21T18:35:26Z
2023-08-21T18:35:52Z
BUG: merge not always following documented sort behavior
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index e8e2b8d0ef908..abc3f5f5cb135 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -39,10 +39,49 @@ Notable bug fixes These are bug fixes that might have notable behavior changes. -.. _whatsnew_220.nota...
- [x] closes #18776 - [x] closes #24730 - [x] closes #33554 - [x] closes #40608 - [x] closes #48021 - [x] closes #53157 - [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 pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/54611
2023-08-18T03:21:38Z
2023-08-23T00:30:46Z
2023-08-23T00:30:46Z
2023-09-06T00:54:01Z
DOC: add examples to offsets classes: FY5253, FY5253Quarter
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 958fe1181d309..9be582be3caa8 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -3540,6 +3540,9 @@ cdef class FY5253(FY5253Mixin): Parameters ---------- n : int + The number of f...
xref #52431 added examples, see also section, and missing parameters to offsets classes `FY5253,` `FY5253Quarter`
https://api.github.com/repos/pandas-dev/pandas/pulls/54608
2023-08-17T21:59:04Z
2023-08-21T19:23:04Z
2023-08-21T19:23:04Z
2023-08-21T19:23:11Z
STY: Enable ruff's flynt, flake8-logging-format
diff --git a/pandas/io/formats/html.py b/pandas/io/formats/html.py index ce59985b8f352..b1a3504d46b27 100644 --- a/pandas/io/formats/html.py +++ b/pandas/io/formats/html.py @@ -633,7 +633,7 @@ def write_style(self) -> None: else: element_props.append(("thead th", "text-align", "right")) t...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54607
2023-08-17T21:51:53Z
2023-08-21T19:22:20Z
2023-08-21T19:22:20Z
2023-08-21T19:22:23Z
CLN: Simplify merging.rst
diff --git a/doc/source/user_guide/categorical.rst b/doc/source/user_guide/categorical.rst index 9efa7df3ff669..34d04745ccdb5 100644 --- a/doc/source/user_guide/categorical.rst +++ b/doc/source/user_guide/categorical.rst @@ -832,9 +832,6 @@ The following table summarizes the results of merging ``Categoricals``: | cate...
* Added more sphinx references * Added summary section in the beginning of method overviews * Ensured merging data is printed in ipython and not just plotted * Removed sections that were identical to the docstrings
https://api.github.com/repos/pandas-dev/pandas/pulls/54606
2023-08-17T21:15:20Z
2023-08-21T19:21:48Z
2023-08-21T19:21:48Z
2023-08-21T19:21:51Z
DEPR: deprecated nonkeyword arguments in to_markdown
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 4ad450c965464..1ccbd292a5441 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -94,6 +94,7 @@ Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_hdf` except ``...
- [x] xref #54229 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/54605
2023-08-17T20:50:37Z
2023-08-18T16:58:21Z
2023-08-18T16:58:21Z
2023-08-18T19:18:51Z
Backport PR #54574 on branch 2.1.x (ENH: add cummax/cummin/cumprod support for arrow dtypes)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index a8004dfd506b0..43a64a79e691b 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -265,6 +265,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
Backport PR #54574: ENH: add cummax/cummin/cumprod support for arrow dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/54603
2023-08-17T15:54:22Z
2023-08-17T17:16:58Z
2023-08-17T17:16:58Z
2023-08-17T17:16:59Z
DEPR: Nonkeyword arguments in to_latex
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d520aacf3e85c..af224b277d87d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 (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/cont...
https://api.github.com/repos/pandas-dev/pandas/pulls/54601
2023-08-17T12:10:45Z
2023-08-17T23:22:01Z
2023-08-17T23:22:01Z
2023-08-17T23:22:08Z
DEPR: Nonkeyword arguments in to_pickle
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c35473b852eb9..9295ad6cb9aa6 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,7 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ -- +- Deprecated allowing non-keyword arguments in :meth:`Dat...
- [x] xref #54229 - [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/54599
2023-08-17T10:44:09Z
2023-08-17T18:26:43Z
2023-08-17T18:26:42Z
2023-08-17T20:05:34Z
DEPR: deprecated nonkeyword arguments for to_string
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d520aacf3e85c..7019eb8da964e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -94,6 +94,7 @@ Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_hdf` except ``...
- [x] xref #54229 (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/54597
2023-08-17T10:11:34Z
2023-08-17T23:23:02Z
2023-08-17T23:23:02Z
2023-08-17T23:23:09Z
Backport PR #54535 on branch 2.1.x (REF: Replace "pyarrow" string storage checks with variable)
diff --git a/pandas/conftest.py b/pandas/conftest.py index 757ca817d1b85..5210e727aeb3c 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1996,3 +1996,8 @@ def warsaw(request) -> str: tzinfo for Europe/Warsaw using pytz, dateutil, or zoneinfo. """ return request.param + + +@pytest.fixture() +d...
Backport PR #54535: REF: Replace "pyarrow" string storage checks with variable
https://api.github.com/repos/pandas-dev/pandas/pulls/54594
2023-08-17T08:42:45Z
2023-08-17T15:05:04Z
2023-08-17T15:05:04Z
2023-08-17T15:05:05Z
Implement any and all for pyarrow numpy strings
diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py index 1df0be12a8127..cc3bc5900c4c2 100644 --- a/pandas/core/arrays/string_arrow.py +++ b/pandas/core/arrays/string_arrow.py @@ -554,3 +554,16 @@ def value_counts(self, dropna: bool = True): return Series( result._...
This should work if we want to follow NumPy semantics as close as possible. I think this should work in general, but that's a discussion for another day
https://api.github.com/repos/pandas-dev/pandas/pulls/54591
2023-08-16T22:33:46Z
2023-08-28T11:16:59Z
2023-08-28T11:16:59Z
2023-08-28T20:43:45Z
Backport PR #54545 on branch 2.1.x (DOC: whatsnew 2.1.0 refinements)
diff --git a/doc/source/reference/series.rst b/doc/source/reference/series.rst index 5a43e5796d1d9..41705620d4bc7 100644 --- a/doc/source/reference/series.rst +++ b/doc/source/reference/series.rst @@ -314,6 +314,7 @@ Datetime properties Series.dt.weekday Series.dt.dayofyear Series.dt.day_of_year + Series....
Backport PR #54545: DOC: whatsnew 2.1.0 refinements
https://api.github.com/repos/pandas-dev/pandas/pulls/54588
2023-08-16T21:57:58Z
2023-08-16T23:24:53Z
2023-08-16T23:24:52Z
2023-08-16T23:24:53Z
CI: Enable MacOS Python Dev tests
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 66d8320206429..030c9546fecca 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -77,16 +77,12 @@ jobs: env_file: actions-311-numpydev.yaml pattern: "not slow and not netw...
Made some other small cleanups too
https://api.github.com/repos/pandas-dev/pandas/pulls/54587
2023-08-16T21:36:52Z
2023-08-18T07:30:39Z
2023-08-18T07:30:39Z
2023-08-18T16:31:20Z
REF: Refactor conversion of na value
diff --git a/pandas/tests/strings/__init__.py b/pandas/tests/strings/__init__.py index 9a7622b4f1cd8..496a2d095d85b 100644 --- a/pandas/tests/strings/__init__.py +++ b/pandas/tests/strings/__init__.py @@ -1,2 +1,12 @@ # Needed for new arrow string dtype + +import pandas as pd + object_pyarrow_numpy = ("object",) + + ...
precursor for #54585
https://api.github.com/repos/pandas-dev/pandas/pulls/54586
2023-08-16T21:16:29Z
2023-08-21T09:17:33Z
2023-08-21T09:17:33Z
2023-08-21T09:17:36Z
Use NaN as na_value for new pyarrow_numpy StringDtype
diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py index f0e1d194cd88f..2394b9af2015e 100644 --- a/pandas/core/arrays/string_.py +++ b/pandas/core/arrays/string_.py @@ -101,10 +101,14 @@ class StringDtype(StorageExtensionDtype): # base class "StorageExtensionDtype") with class variable ...
- [ ] 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/54585
2023-08-16T21:11:15Z
2023-08-26T10:40:39Z
2023-08-26T10:40:38Z
2023-08-28T09:47:24Z
Backport PR #54579 on branch 2.1.x (ENH: Reflect changes from `numpy` namespace refactor Part 3)
diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py index ac79ab65cea81..92797425b2c30 100644 --- a/asv_bench/benchmarks/algos/isin.py +++ b/asv_bench/benchmarks/algos/isin.py @@ -247,7 +247,7 @@ def setup(self, series_type, vals_type): elif series_type == "long": ...
Backport PR #54579: ENH: Reflect changes from `numpy` namespace refactor Part 3
https://api.github.com/repos/pandas-dev/pandas/pulls/54583
2023-08-16T20:21:44Z
2023-08-16T22:01:17Z
2023-08-16T22:01:17Z
2023-08-16T22:01:18Z
REF: ujson cleanups
diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c index 1fa82215179a8..4a22de886742c 100644 --- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c +++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c @@ -1318,6 +1318,7 @@ char **NpyArr_encodeLabel...
- [ ] 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/54581
2023-08-16T17:40:29Z
2023-08-17T15:37:59Z
2023-08-17T15:37:59Z
2024-01-23T15:46:36Z
ENH: Reflect changes from `numpy` namespace refactor Part 3
diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py index ac79ab65cea81..92797425b2c30 100644 --- a/asv_bench/benchmarks/algos/isin.py +++ b/asv_bench/benchmarks/algos/isin.py @@ -247,7 +247,7 @@ def setup(self, series_type, vals_type): elif series_type == "long": ...
Hi! Due to NumPy's main namespace being changed in https://github.com/numpy/numpy/pull/24376, here I update NumPy's imports/aliases: e.g. `np.NaN` and `np.infty` won't be available anymore. Also, a canonical name for NumPy's `float` and `complex` should be used, which are `np.float64` and `np.complex128`. `sctypes`...
https://api.github.com/repos/pandas-dev/pandas/pulls/54579
2023-08-16T13:21:18Z
2023-08-16T20:20:36Z
2023-08-16T20:20:36Z
2023-08-16T20:21:13Z
TST: annotations, fix test_invert
diff --git a/pandas/tests/extension/base/ops.py b/pandas/tests/extension/base/ops.py index 064242f3649f4..d5eb65ec9d35d 100644 --- a/pandas/tests/extension/base/ops.py +++ b/pandas/tests/extension/base/ops.py @@ -239,9 +239,23 @@ def test_compare_array(self, data, comparison_op): class BaseUnaryOpsTests(BaseOpsUtil): ...
- [ ] 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/54576
2023-08-16T03:39:16Z
2023-08-17T15:52:51Z
2023-08-17T15:52:51Z
2023-08-21T16:05:39Z
ENH: add cummax/cummin/cumprod support for arrow dtypes
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index d1a689dc60830..8a9f786fa87b2 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -264,6 +264,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
- [x] closes #52085 - [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/54574
2023-08-16T00:47:17Z
2023-08-17T15:54:13Z
2023-08-17T15:54:13Z
2023-09-06T00:54:08Z
TST: use single-class pattern for Arrow, Masked tests
diff --git a/pandas/tests/extension/test_arrow.py b/pandas/tests/extension/test_arrow.py index dd1ff925adf5f..4c05049ddfcf5 100644 --- a/pandas/tests/extension/test_arrow.py +++ b/pandas/tests/extension/test_arrow.py @@ -265,7 +265,7 @@ def data_for_twos(data): # TODO: skip otherwise? -class TestBaseCasting(ba...
- [ ] 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/54573
2023-08-15T23:35:11Z
2023-08-16T18:07:21Z
2023-08-16T18:07:21Z
2023-08-16T18:26:09Z
TST: unskip test_close_file_handle_on_invalid_usecols #45566
diff --git a/pandas/tests/io/parser/test_unsupported.py b/pandas/tests/io/parser/test_unsupported.py index f5a0bcd2c00fd..ac171568187cd 100644 --- a/pandas/tests/io/parser/test_unsupported.py +++ b/pandas/tests/io/parser/test_unsupported.py @@ -12,11 +12,6 @@ import pytest -from pandas.compat import ( - is_ci_e...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54572
2023-08-15T23:23:49Z
2023-08-22T22:53:18Z
2023-08-22T22:53:18Z
2023-09-11T20:35:56Z
TST: use single-class pattern for Categorical tests
diff --git a/pandas/tests/extension/base/groupby.py b/pandas/tests/extension/base/groupby.py index 6f72a6c2b04ae..489f43729a004 100644 --- a/pandas/tests/extension/base/groupby.py +++ b/pandas/tests/extension/base/groupby.py @@ -13,6 +13,9 @@ import pandas._testing as tm +@pytest.mark.filterwarnings( + "ignore:...
- [ ] 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/54570
2023-08-15T23:00:46Z
2023-08-16T20:04:42Z
2023-08-16T20:04:42Z
2023-08-16T20:57:42Z
REF: remove unnecessary Block specialization
diff --git a/pandas/_libs/internals.pyi b/pandas/_libs/internals.pyi index ce112413f8a64..ffe6c7730bcdc 100644 --- a/pandas/_libs/internals.pyi +++ b/pandas/_libs/internals.pyi @@ -15,7 +15,6 @@ from pandas._typing import ( ) from pandas import Index -from pandas.core.arrays._mixins import NDArrayBackedExtensionArr...
- [ ] 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/54568
2023-08-15T22:01:33Z
2023-08-16T21:54:08Z
2023-08-16T21:54:08Z
2023-08-16T21:55:23Z
fix #54564
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c35473b852eb9..d8f94608b0b7b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -166,8 +166,7 @@ MultiIndex I/O ^^^ -- -- +- Bug in :func:`read_excel`, with ``engine="xlrd"`` (``xls`` files) erroring ...
- [x] closes #54564 - [x] Tests added and passed - [x] All code checks passed - [x] Added type annotations to new arguments/methods/functions: *No new functions.* - [x] Added an entry in the latest `doc/source/whatsnew/v2.1.0.rst` file: *-> may this fix make it into a potential v2.0.4 instead?*
https://api.github.com/repos/pandas-dev/pandas/pulls/54567
2023-08-15T21:58:33Z
2023-08-21T18:40:15Z
2023-08-21T18:40:15Z
2023-08-21T18:40:22Z
ENH: support Index.any/all with float, timedelta64 dtypes
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..d5c8a4974345c 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -265,6 +265,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
- [ ] 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/54566
2023-08-15T21:17:24Z
2023-08-22T19:08:41Z
2023-08-22T19:08:41Z
2023-08-22T19:18:04Z
Backport PR #54493 on branch 2.1.x (DOC: updated required dependencies list)
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index 1896dffa9a105..0ab0391ac78a9 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -206,6 +206,7 @@ Package Minimum su...
Backport PR #54493: DOC: updated required dependencies list
https://api.github.com/repos/pandas-dev/pandas/pulls/54562
2023-08-15T19:46:26Z
2023-08-15T21:32:51Z
2023-08-15T21:32:51Z
2023-08-15T21:32:51Z
update from 2022 to 2024 image
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...
- [x] closes #57719 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
https://api.github.com/repos/pandas-dev/pandas/pulls/57721
2024-03-04T13:29:47Z
2024-03-04T21:44:35Z
2024-03-04T21:44:35Z
2024-03-29T07:59:02Z
DOC: Remove references to `bfill`, `ffill`, `pad`, and `backfill` in `limit_direction`
diff --git a/pandas/core/resample.py b/pandas/core/resample.py index 4a5feb92c02f9..4c87af9ff14c7 100644 --- a/pandas/core/resample.py +++ b/pandas/core/resample.py @@ -819,20 +819,6 @@ def interpolate( limit_direction : {{'forward', 'backward', 'both'}}, Optional Consecutive NaNs will be filled i...
Picked up issue #57092. This removes references to `bfill`, `ffill`, `pad`, `backfill` from `limit_direction` as they aren't supported. Also references `bfill` and `ffill` in the "See Also" section. Up to date with latest commit. - [X] closes #57092 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-d...
https://api.github.com/repos/pandas-dev/pandas/pulls/57720
2024-03-04T13:23:07Z
2024-03-05T02:50:35Z
2024-03-05T02:50:35Z
2024-03-05T02:50:41Z
CLN: remove references to `is_anchored` from ci/code_checks.sh
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 998e48d96d6b3..5bbad800b7aa9 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -173,14 +173,12 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.Timestamp.tzinfo\ pandas.Timestamp.value\ pandas.Timestamp.year\ - ...
xref# #57473 removed references to removed method `is_anchored` from `ci/code_checks.sh`
https://api.github.com/repos/pandas-dev/pandas/pulls/57715
2024-03-03T22:29:12Z
2024-03-04T18:25:51Z
2024-03-04T18:25:51Z
2024-03-04T18:25:52Z
TST: Add test for `grouby` after `dropna` agg `nunique` and `unique`
diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py index d02e22c29159f..686279f25939a 100644 --- a/pandas/tests/groupby/test_groupby.py +++ b/pandas/tests/groupby/test_groupby.py @@ -2945,3 +2945,23 @@ def test_decimal_na_sort(test_series): result = gb._grouper.result_index ...
- [x] closes #42016 (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/57711
2024-03-03T02:43:59Z
2024-03-05T00:47:10Z
2024-03-05T00:47:10Z
2024-03-05T01:09:48Z
REF: Remove dynamic docstrings from option methods
diff --git a/pandas/_config/config.py b/pandas/_config/config.py index 8ad1da732a449..9decc7eecf033 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -50,17 +50,12 @@ from __future__ import annotations -from contextlib import ( - ContextDecorator, - contextmanager, -) -from inspect impo...
xref https://github.com/pandas-dev/pandas/issues/57578#issuecomment-1960937283 These methods have complex docstrings in an attempt to display all option within the docstring. This makes these docstrings hard to automatically validate and [renders the internal implementation](https://pandas.pydata.org/pandas-docs/sta...
https://api.github.com/repos/pandas-dev/pandas/pulls/57710
2024-03-02T23:09:36Z
2024-03-06T22:00:53Z
2024-03-06T22:00:52Z
2024-03-06T22:00:56Z
REF: Avoid importing xlrd
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 8a287beac7afd..c38ced573531e 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -43,6 +43,7 @@ from pandas.core.dtypes.common import ( is_bool, + is_file_like, is_float, is_integer, is_list_like, @@ -15...
- [x] closes #56692 (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/57708
2024-03-02T20:12:22Z
2024-03-05T00:29:17Z
2024-03-05T00:29:17Z
2024-03-05T00:32:15Z
Backport PR #57668 on branch 2.2.x (CLN: More numpy 2 stuff)
diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c index 74ca8ead3d936..fa91db5fe34e3 100644 --- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c +++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c @@ -74,7 +74,6 @@ typedef struct __NpyArrContex...
Backport PR #57668: CLN: More numpy 2 stuff
https://api.github.com/repos/pandas-dev/pandas/pulls/57707
2024-03-02T19:52:37Z
2024-03-03T12:54:00Z
2024-03-03T12:54:00Z
2024-03-03T12:54:00Z
Cython guard against [c|m|re]alloc failures
diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx index e70ac26a2c28e..e2e93c5242b24 100644 --- a/pandas/_libs/algos.pyx +++ b/pandas/_libs/algos.pyx @@ -180,6 +180,8 @@ def is_lexsorted(list_of_arrays: list) -> bool: n = len(list_of_arrays[0]) cdef int64_t **vecs = <int64_t**>malloc(nlevels * si...
Not sure if these are testable but in the case of the system being exhausted for resources these should explicitly throw a MemoryError instead of allow undefined behavior @MarcoGorelli don't know how difficult it would be but would be cool to have the cython linter catch uses of any low-level allocation function and...
https://api.github.com/repos/pandas-dev/pandas/pulls/57705
2024-03-02T17:42:22Z
2024-03-20T17:00:00Z
2024-03-20T17:00:00Z
2024-03-21T23:20:55Z
CLN: Hashtable rename struct members
diff --git a/pandas/_libs/hashtable.pxd b/pandas/_libs/hashtable.pxd index 22b923580c491..29ace4a339ced 100644 --- a/pandas/_libs/hashtable.pxd +++ b/pandas/_libs/hashtable.pxd @@ -174,7 +174,7 @@ cdef class StringHashTable(HashTable): cdef struct Int64VectorData: int64_t *data - Py_ssize_t n, m + Py_ssiz...
Should help with readability
https://api.github.com/repos/pandas-dev/pandas/pulls/57704
2024-03-02T17:34:06Z
2024-03-20T17:48:17Z
2024-03-20T17:48:17Z
2024-03-20T17:52:49Z
Less Heap Usage in Hashtable
diff --git a/pandas/_libs/hashtable.pxd b/pandas/_libs/hashtable.pxd index eaec9e8462450..22b923580c491 100644 --- a/pandas/_libs/hashtable.pxd +++ b/pandas/_libs/hashtable.pxd @@ -180,7 +180,7 @@ cdef class Vector: cdef bint external_view_exists cdef class Int64Vector(Vector): - cdef Int64VectorData *data +...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/57701
2024-03-01T22:43:53Z
2024-03-05T00:45:30Z
2024-03-05T00:45:30Z
2024-03-12T02:31:20Z
DEPR: remove deprecated freqs/abbrevs 'A', 'A-DEC', 'A-JAN', etc.
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 0f0e6271d8329..0f38d90e18616 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -1327,8 +1327,8 @@ frequencies. We will refer to these aliases as *period aliases*. .. deprecated...
xref #55252 remove deprecated string 'A', 'A-DEC', etc. denoting timedelta abbreviations and timeseries frequencies
https://api.github.com/repos/pandas-dev/pandas/pulls/57699
2024-03-01T22:26:56Z
2024-03-08T18:30:25Z
2024-03-08T18:30:25Z
2024-03-08T18:30:33Z
BUG: Fix empty MultiIndex DataFrame xlsx export
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index a95f0485abd5f..6b412f5427811 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -324,6 +324,7 @@ MultiIndex I/O ^^^ +- Bug in :meth:`DataFrame.to_excel` when writing empty :class:`DataFrame` with :cla...
Fix Excel xlsx export of empty (zero rows) DataFrame with MultiIndex on both axes. - [x] closes #57696 - [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...
https://api.github.com/repos/pandas-dev/pandas/pulls/57697
2024-03-01T19:46:53Z
2024-03-02T12:04:19Z
2024-03-02T12:04:19Z
2024-03-02T12:37:32Z
Use memcpy / realloc more effectively in hashtable
diff --git a/pandas/_libs/hashtable.pxd b/pandas/_libs/hashtable.pxd index 29ace4a339ced..a5a3edad63403 100644 --- a/pandas/_libs/hashtable.pxd +++ b/pandas/_libs/hashtable.pxd @@ -183,7 +183,7 @@ cdef class Int64Vector(Vector): cdef Int64VectorData data cdef ndarray ao - cdef resize(self) + cdef resi...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/57695
2024-03-01T18:25:14Z
2024-03-21T18:29:27Z
2024-03-21T18:29:27Z
2024-03-21T18:29:30Z
Backport PR #57689 on branch 2.2.x (CI: fix ci (calamine typing))
diff --git a/pandas/io/excel/_calamine.py b/pandas/io/excel/_calamine.py index 4f65acf1aa40e..5259469f7a569 100644 --- a/pandas/io/excel/_calamine.py +++ b/pandas/io/excel/_calamine.py @@ -74,9 +74,7 @@ def load_workbook( ) -> CalamineWorkbook: from python_calamine import load_workbook - return l...
- [ ] 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/57692
2024-03-01T13:47:28Z
2024-03-01T15:36:48Z
2024-03-01T15:36:48Z
2024-03-01T15:36:48Z
CI: fix ci (calamine typing)
diff --git a/pandas/io/excel/_calamine.py b/pandas/io/excel/_calamine.py index 1f721c65982d4..b8994e679d4b1 100644 --- a/pandas/io/excel/_calamine.py +++ b/pandas/io/excel/_calamine.py @@ -75,7 +75,7 @@ def load_workbook( from python_calamine import load_workbook return load_workbook( - 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/57689
2024-03-01T12:14:35Z
2024-03-01T13:42:31Z
2024-03-01T13:42:31Z
2024-03-01T13:47:52Z
CLN: Enforce deprecation of axis=None in DataFrame reductions
diff --git a/asv_bench/benchmarks/stat_ops.py b/asv_bench/benchmarks/stat_ops.py index 89bda81ccf08c..8913293dfa20e 100644 --- a/asv_bench/benchmarks/stat_ops.py +++ b/asv_bench/benchmarks/stat_ops.py @@ -33,6 +33,7 @@ def setup(self, op, axis): ("median", 1), ("median", None), ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/57684
2024-02-29T21:28:18Z
2024-03-05T23:04:38Z
2024-03-05T23:04:38Z
2024-03-05T23:09:23Z
BUG: pd.unique(Index) now returns Index as Index.unique
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index 9812521fe2767..cc8f26bf95a2f 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -390,6 +390,7 @@ Other ^^^^^ - Bug in :class:`DataFrame` when passing a ``dict`` with a NA scalar and ``columns`` that wou...
Some old tests are adjusted for consistency. - [x] closes #57043(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://p...
https://api.github.com/repos/pandas-dev/pandas/pulls/57679
2024-02-29T14:49:53Z
2024-03-12T17:26:38Z
2024-03-12T17:26:38Z
2024-03-13T03:58:37Z
DOC: Extended the documentation for `DataFrame.sort_values()`
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index f530466c0fc30..b64aaf8537ad9 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6819,7 +6819,9 @@ def sort_values( 4 D 7 2 e 5 C 4 3 F - Sort by col1 + **Sort by a single column** +...
The current docstring for [`DataFrame.sort_values()`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.sort_values.html) is lacking clarity, and also contains links that are not converted to hyperlinks. I extended and rephrased part of the documentation for this method. In particular: - Added further ex...
https://api.github.com/repos/pandas-dev/pandas/pulls/57678
2024-02-29T12:11:25Z
2024-03-05T20:50:32Z
2024-03-05T20:50:32Z
2024-03-05T20:50:40Z
WEB: Remove unmaintained projects from Ecosystem
diff --git a/web/pandas/community/ecosystem.md b/web/pandas/community/ecosystem.md index 58c5da67bcd74..715a2fafbe87a 100644 --- a/web/pandas/community/ecosystem.md +++ b/web/pandas/community/ecosystem.md @@ -21,10 +21,6 @@ please let us know. ## Statistics and machine learning -### [pandas-tfrecords](https://pypi...
Lots of projects in our Ecosystem page seem to be obsolete and irrelevant now. There are few more that could probably be removed to help users find the relevant ones faster and easier, but I'm just removing the ones that didn't have any commit for at least two years.
https://api.github.com/repos/pandas-dev/pandas/pulls/57675
2024-02-29T09:51:32Z
2024-03-05T00:53:52Z
2024-03-05T00:53:52Z
2024-03-05T00:53:59Z
CI: avoid `guess_datetime_format` failure on 29th of Feburary
diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx index ad723df485ba6..94c549cbd3db0 100644 --- a/pandas/_libs/tslibs/parsing.pyx +++ b/pandas/_libs/tslibs/parsing.pyx @@ -936,8 +936,10 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None: datetime_attrs_to_...
- [ ] closes #57672 (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/57674
2024-02-29T09:19:22Z
2024-03-05T20:14:53Z
2024-03-05T20:14:53Z
2024-03-05T20:15:00Z
CLN: Enforce deprecation of pinning name in SeriesGroupBy.agg
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index a95f0485abd5f..d16d3fa85bc1b 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -191,6 +191,7 @@ Removal of prior version deprecations/changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :func:`read...
- [ ] 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/57671
2024-02-29T04:24:12Z
2024-03-05T00:40:27Z
2024-03-05T00:40:27Z
2024-03-05T00:46:31Z
DOC: Update drop duplicates documentation to specify method limitation
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index f530466c0fc30..da354cbfc80dd 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6506,6 +6506,11 @@ def drop_duplicates( DataFrame or None DataFrame with duplicates removed or None if ``inplace=True``. + Notes + ...
- [x] closes #56784
https://api.github.com/repos/pandas-dev/pandas/pulls/57670
2024-02-29T03:11:19Z
2024-03-05T00:55:24Z
2024-03-05T00:55:24Z
2024-03-05T01:45:57Z
CLN: More numpy 2 stuff
diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c index 74ca8ead3d936..fa91db5fe34e3 100644 --- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c +++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c @@ -74,7 +74,6 @@ typedef struct __NpyArrContex...
- [ ] 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/57668
2024-02-28T23:30:02Z
2024-03-02T19:52:12Z
2024-03-02T19:52:12Z
2024-03-02T19:52:13Z
ENH: Report how far off the formatting is
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 6fa23ef94d200..8a287beac7afd 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -1327,7 +1327,8 @@ def _value_with_fmt( # xref https://support.microsoft.com/en-au/office/excel-specifications-and-limits-1672b34d-7043...
- [ ] 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/57667
2024-02-28T20:34:52Z
2024-02-28T22:21:32Z
2024-02-28T22:21:32Z
2024-02-28T22:56:28Z
BUG: interchange protocol with nullable datatypes a non-null validity
diff --git a/doc/source/whatsnew/v2.2.2.rst b/doc/source/whatsnew/v2.2.2.rst index 058f7aebcd538..96f210ce6b7b9 100644 --- a/doc/source/whatsnew/v2.2.2.rst +++ b/doc/source/whatsnew/v2.2.2.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- :meth:`DataFrame.__dataframe__...
- [ ] closes #57643 (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/57665
2024-02-28T19:56:04Z
2024-03-07T19:55:05Z
2024-03-07T19:55:05Z
2024-04-10T12:07:45Z
REF: simplify pytables _set_tz
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index c7ee1cac2e14a..c835a7365d158 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -21,7 +21,6 @@ Final, Literal, cast, - overload, ) import warnings @@ -85,6 +84,7 @@ DatetimeArray, PeriodArray, ) +from pandas...
yak-shaving aimed at pieces of the Ice Cream Agreement.
https://api.github.com/repos/pandas-dev/pandas/pulls/57654
2024-02-27T23:01:49Z
2024-02-28T00:25:21Z
2024-02-28T00:25:21Z
2024-02-28T00:39:40Z
CLN: unify error message when parsing datetimes with mixed time zones with utc=False
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index a09f4321c0d3c..d320bfdbe3022 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -598,7 +598,8 @@ cpdef array_to_datetime( is_same_offsets = len(out_tzoffset_vals) == 1 if not is_same_offsets: raise ValueEr...
xref #57275, #55793 unified ValueError message when parsing datetimes with mixed time zones with utc=False so far we get two different ValueError messages: ``` import pandas as pd from datetime import datetime import pytz str_my ="2020-10-26 00:00:00+06:00" ts = pd.Timestamp("2018-01-01", tz="US/Pacific") ...
https://api.github.com/repos/pandas-dev/pandas/pulls/57653
2024-02-27T22:18:28Z
2024-02-28T16:42:10Z
2024-02-28T16:42:10Z
2024-02-28T16:42:18Z
TST: fix test_complibs on mac
diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py index ed5f8cde7db7b..d8f38e9cdad1f 100644 --- a/pandas/tests/io/pytables/test_file_handling.py +++ b/pandas/tests/io/pytables/test_file_handling.py @@ -8,6 +8,7 @@ is_ci_environment, is_platform_linux,...
- [ ] 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/57652
2024-02-27T22:03:16Z
2024-02-27T23:24:40Z
2024-02-27T23:24:40Z
2024-02-28T00:40:01Z
PERF: Return RangeIndex from RangeIndex.join when possible
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index a95f0485abd5f..fa148a2f4a4d8 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -253,6 +253,7 @@ Performance improvements - Performance improvement in :meth:`Index.take` when ``indices`` is a full range ...
Discovered in https://github.com/pandas-dev/pandas/pull/57441
https://api.github.com/repos/pandas-dev/pandas/pulls/57651
2024-02-27T20:08:44Z
2024-03-05T00:57:57Z
2024-03-05T00:57:57Z
2024-03-05T00:58:01Z
DOC: RT03 fix for read_sql_query, read_feather
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 322942acb429c..c6e8ac43fdc8c 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -878,11 +878,9 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.plotting.parallel_coordinates\ pandas.plotting.radviz\ pandas.plottin...
- [x] xref #57416 (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/57649
2024-02-27T18:09:11Z
2024-02-28T16:41:09Z
2024-02-28T16:41:08Z
2024-02-28T16:41:16Z
DOC: Add clarification to groupby docs regarding hashes and equality
diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 787a03471cf6e..06621f7127da3 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -178,6 +178,12 @@ <https://pandas.pydata.org/pandas-docs/stable/groupby.html>`__ for more detailed usage and examples, including splitting...
closes #57526
https://api.github.com/repos/pandas-dev/pandas/pulls/57648
2024-02-27T18:03:37Z
2024-03-06T21:48:04Z
2024-03-06T21:48:04Z
2024-03-06T21:48:13Z
PERF: Return RangeIndex from RangeIndex.reindex when possible
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index fae7edba057ec..23ae0f3ea1bc7 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -256,6 +256,7 @@ Performance improvements - Performance improvement in :meth:`RangeIndex.__getitem__` with a boolean mask r...
Discovered in https://github.com/pandas-dev/pandas/pull/57441
https://api.github.com/repos/pandas-dev/pandas/pulls/57647
2024-02-27T17:33:32Z
2024-03-05T23:03:34Z
2024-03-05T23:03:34Z
2024-03-05T23:03:36Z
DOC: RT03 fix for read_sql method
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 875e328110aaf..9d773ade8cd8d 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -1092,7 +1092,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.read_orc\ pandas.read_sas\ pandas.read_spss\ - pandas.read_sq...
- [x] xref #57416 (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/57638
2024-02-27T04:23:06Z
2024-02-27T17:00:30Z
2024-02-27T17:00:30Z
2024-02-27T17:03:12Z
BUG: Fix dataframe.update not updating dtype #55509 v2
diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst index a95f0485abd5f..6cba1806d3274 100644 --- a/doc/source/whatsnew/v3.0.0.rst +++ b/doc/source/whatsnew/v3.0.0.rst @@ -265,6 +265,7 @@ Bug fixes ~~~~~~~~~ - Fixed bug in :meth:`DataFrame.join` inconsistently setting result index name (:issu...
- [x] closes #55509. - [x] 3 Tests added and passed. - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added an entry in the latest `doc/source/whatsnew/v3.0.rst`. (?) A new PR was opened to replace the previous one (#55634) because...
https://api.github.com/repos/pandas-dev/pandas/pulls/57637
2024-02-27T02:56:34Z
2024-03-02T18:57:28Z
2024-03-02T18:57:28Z
2024-03-05T11:57:44Z
Compile take functions for uint dtypes
diff --git a/pandas/_libs/algos.pyi b/pandas/_libs/algos.pyi index caf5425dfc7b4..0a6be851e1efd 100644 --- a/pandas/_libs/algos.pyi +++ b/pandas/_libs/algos.pyi @@ -165,6 +165,15 @@ def take_1d_int32_float64( def take_1d_int64_int64( values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=....
Not sure why this wasn't compiled before, maybe because of wheel size? We should at least compile the exact matching, not averse to skipping the cross product with different itemsizes
https://api.github.com/repos/pandas-dev/pandas/pulls/57632
2024-02-26T18:18:13Z
2024-03-16T17:47:44Z
2024-03-16T17:47:43Z
2024-03-16T23:38:34Z
DOC: fix PR01/SA01 errors for pandas.tseries.offsets.*.is_(month|quarter|year)_(end|start)
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 875e328110aaf..b4a03eaae2aef 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -506,217 +506,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.melt\ pandas.option_context\ pandas.read_fwf\ - pandas.reset_...
- [x] xref #57438 (Replace xxxx with the GitHub issue number) - [x] xref #57417 (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 pas...
https://api.github.com/repos/pandas-dev/pandas/pulls/57630
2024-02-26T15:14:39Z
2024-02-27T16:54:13Z
2024-02-27T16:54:13Z
2024-02-28T04:34:41Z
DEPR: remove deprecated units ‘H’, ’T’, and smaller from Timedelta, TimedeltaIndex
diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py index 8e1deb99a66a4..06f488f7baaaf 100644 --- a/asv_bench/benchmarks/timeseries.py +++ b/asv_bench/benchmarks/timeseries.py @@ -183,7 +183,7 @@ def setup(self): self.dt_ts = Series(5, rng3, dtype="datetime64[ns]") def t...
xref #54061 removed deprecated units `"H", "T", "S", "t", "L", "l", "U", "u", "N", "n"` from Timedelta, TimedeltaIndex UPDATE: - Enforced deprecation of strings ``T, t``, ``L, l``, ``U, u``, and ``N, n`` denoting frequencies in classes`Minute`, `Milli` `Micro`, and `Nano` - Enforced deprecation of strings ``T, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/57627
2024-02-25T22:55:17Z
2024-03-21T19:17:20Z
2024-03-21T19:17:20Z
2024-03-21T21:02:04Z
remove check to enforce ES01 errors
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 47a2cf93a4f89..d8c3690632283 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -414,1048 +414,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.tseries.offsets.YearEnd.rule_code # There should be no backslash in the final line, p...
- [x] closes https://github.com/pandas-dev/pandas/issues/57440 - [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/57625
2024-02-25T22:04:10Z
2024-02-26T17:56:33Z
2024-02-26T17:56:33Z
2024-02-26T18:19:29Z
Remove inline from khash_python
diff --git a/pandas/_libs/include/pandas/vendored/klib/khash_python.h b/pandas/_libs/include/pandas/vendored/klib/khash_python.h index 8bb3f84369b0b..811fdd139de2c 100644 --- a/pandas/_libs/include/pandas/vendored/klib/khash_python.h +++ b/pandas/_libs/include/pandas/vendored/klib/khash_python.h @@ -16,7 +16,7 @@ typed...
@DeaMariaLeon noted that #57575 caused a slight regression in the benchmarks. This is the only thing from that PR that could reasonably affect performance in any way
https://api.github.com/repos/pandas-dev/pandas/pulls/57618
2024-02-25T15:33:34Z
2024-02-26T11:32:24Z
2024-02-26T11:32:24Z
2024-02-26T15:59:41Z
Doc: resolve GL08 for pandas.Timedelta.microseconds, unit & value
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 231d40e17c0c0..a8d1c9d8df056 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -165,9 +165,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.Series.dt.qyear\ pandas.Series.dt.unit\ pandas.Series.empty\ - ...
- [x] xref #57443 - [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/57616
2024-02-25T09:54:14Z
2024-02-28T17:34:29Z
2024-02-28T17:34:29Z
2024-02-28T17:34:36Z
Doc: fixing RT03 errors for pandas.DataFrame.expanding
diff --git a/pandas/core/window/expanding.py b/pandas/core/window/expanding.py index c3ee53c1b4551..abe853a8aa259 100644 --- a/pandas/core/window/expanding.py +++ b/pandas/core/window/expanding.py @@ -51,6 +51,9 @@ class Expanding(RollingAndExpandingMixin): """ Provide expanding window calculations. + An...
All RT03 Errors resolved in the following cases: 1. scripts/validate_docstrings.py --format=actions --errors=RT03 pandas.DataFrame.expanding - [x] xref https://github.com/pandas-dev/pandas/issues/57416 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html...
https://api.github.com/repos/pandas-dev/pandas/pulls/57615
2024-02-25T09:31:13Z
2024-02-26T23:05:05Z
2024-02-26T23:05:05Z
2024-03-10T20:00:29Z
DOC: Add `DataFrame.isetitem` method
diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst index 31a1c6008bce8..7680c8b434866 100644 --- a/doc/source/reference/frame.rst +++ b/doc/source/reference/frame.rst @@ -74,6 +74,7 @@ Indexing, iteration DataFrame.where DataFrame.mask DataFrame.query + DataFrame.isetitem For ...
- [x] closes #57602 (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/57614
2024-02-25T09:10:37Z
2024-02-27T16:52:07Z
2024-02-27T16:52:07Z
2024-02-28T03:23:23Z