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
Backport PR #54974 on branch 2.1.x (Include pyarrow_numpy string in efficient merge implementation)
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 4eda8d2d75408..d36ceff800c56 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -2417,7 +2417,8 @@ def _factorize_keys( elif isinstance(lk, ExtensionArray) and lk.dtype == rk.dtype: if (isinstance...
Backport PR #54974: Include pyarrow_numpy string in efficient merge implementation
https://api.github.com/repos/pandas-dev/pandas/pulls/55021
2023-09-05T22:32:45Z
2023-09-06T01:01:36Z
2023-09-06T01:01:36Z
2023-09-06T01:01:36Z
Backport PR #55013 on branch 2.1.x (CI: Ignore hypothesis differing executors)
diff --git a/pandas/conftest.py b/pandas/conftest.py index 10826f50d1fe1..b1b35448af134 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -71,6 +71,7 @@ Index, MultiIndex, ) +from pandas.util.version import Version if TYPE_CHECKING: from collections.abc import ( @@ -190,6 +191,10 @@ def pyt...
Backport PR #55013: CI: Ignore hypothesis differing executors
https://api.github.com/repos/pandas-dev/pandas/pulls/55019
2023-09-05T20:07:20Z
2023-09-05T21:57:43Z
2023-09-05T21:57:43Z
2023-09-05T21:57:44Z
Backport PR #54914 on branch 2.1.x (REGR: concat raising for 2 different ea dtypes)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..6702f28187483 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Fixed regression in :func:`con...
Backport PR #54914: REGR: concat raising for 2 different ea dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/55018
2023-09-05T18:45:51Z
2023-09-05T23:50:40Z
2023-09-05T23:50:40Z
2023-09-05T23:50:40Z
Backport PR #54927 on branch 2.1.x (REGR: interpolate raising if fill_value is given)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..9dcc829ba7db3 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -21,6 +21,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.to_sql` not roundtripping datetime columns correctl...
Backport PR #54927: REGR: interpolate raising if fill_value is given
https://api.github.com/repos/pandas-dev/pandas/pulls/55017
2023-09-05T18:43:34Z
2023-09-05T23:50:28Z
2023-09-05T23:50:28Z
2023-09-05T23:50:28Z
Backport PR #55000 on branch 2.1.x (BUG: ArrowDtype raising for fixed size list)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..64d7481117e8e 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -29,6 +29,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ +- Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`...
Backport PR #55000: BUG: ArrowDtype raising for fixed size list
https://api.github.com/repos/pandas-dev/pandas/pulls/55016
2023-09-05T18:08:29Z
2023-09-05T23:49:57Z
2023-09-05T23:49:57Z
2023-09-05T23:49:57Z
CI: Ignore hypothesis differing executors
diff --git a/pandas/conftest.py b/pandas/conftest.py index a4f58e99d8bcc..ac0275bf695d4 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -71,6 +71,7 @@ Index, MultiIndex, ) +from pandas.util.version import Version if TYPE_CHECKING: from collections.abc import ( @@ -191,6 +192,10 @@ def pyt...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/55013
2023-09-05T16:48:34Z
2023-09-05T20:07:09Z
2023-09-05T20:07:09Z
2023-09-05T22:32:02Z
BLD: Build wheels for Python 3.12
diff --git a/.circleci/config.yml b/.circleci/config.yml index 50f6a116a6630..ba124533e953a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,7 +48,7 @@ jobs: name: Build aarch64 wheels no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doe...
- [ ] closes #54447 (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/55010
2023-09-05T15:09:21Z
2023-09-07T16:28:46Z
2023-09-07T16:28:46Z
2023-09-07T16:29:09Z
CoW: Clear dead references every time we add a new one
diff --git a/pandas/_libs/internals.pyx b/pandas/_libs/internals.pyx index 7a9a3b84fd69f..3b1a6bc7436c3 100644 --- a/pandas/_libs/internals.pyx +++ b/pandas/_libs/internals.pyx @@ -897,6 +897,11 @@ cdef class BlockValuesRefs: else: self.referenced_blocks = [] + def _clear_dead_references(self...
- [x] closes #54352 (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/55008
2023-09-05T12:37:23Z
2023-09-15T09:10:52Z
2023-09-15T09:10:52Z
2023-10-19T07:50:57Z
[pre-commit.ci] pre-commit autoupdate
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f9bcd78c07b0..c01bf65818167 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.285 + rev: v0.0.287 ...
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.287](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.285...v0.0.287) - [github.com/jendrikseipp/vulture: v2.7 → v2.9.1](https://github.com/jendrikseipp/vulture/compare/v2.7...v2.9.1) - [github.com/pylint-dev/pylint: v...
https://api.github.com/repos/pandas-dev/pandas/pulls/55004
2023-09-04T16:43:04Z
2023-09-04T23:52:19Z
2023-09-04T23:52:19Z
2023-09-05T22:38:16Z
TYP: Add typing.overload signatures to DataFrame/Series.clip
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b9407ebe6624a..6d38f5f9c61e1 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8607,6 +8607,42 @@ def _clip_with_one_bound(self, threshold, method, axis, inplace): # GH 40420 return self.where(subset, threshold, axis...
This adds overloads so that a type checker can determine whether clip returns a Series/DataFrame or None based on the value of the inplace argument.
https://api.github.com/repos/pandas-dev/pandas/pulls/55002
2023-09-04T14:43:29Z
2023-09-04T17:23:33Z
2023-09-04T17:23:33Z
2023-09-04T19:05:38Z
BUG: ArrowDtype raising for fixed size list
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 11b19b1508a71..64d7481117e8e 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -29,6 +29,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ +- Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`...
- [ ] 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/55000
2023-09-04T12:08:55Z
2023-09-05T18:07:21Z
2023-09-05T18:07:21Z
2023-09-05T18:15:14Z
TYP: Add typing.overload signatures to DataFrame/Series.interpolate
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b9407ebe6624a..671cfc11df597 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7938,6 +7938,51 @@ def replace( else: return result.__finalize__(self, method="replace") + @overload + def interpolate( + ...
This adds overloads so that a type checker can determine whether interpolate returns DataFrame/Series or None based on the value of the inplace argument. This is more of the same thing that was done in [this pull](https://github.com/pandas-dev/pandas/pull/54281).
https://api.github.com/repos/pandas-dev/pandas/pulls/54999
2023-09-04T12:05:08Z
2023-09-04T14:31:58Z
2023-09-04T14:31:58Z
2023-09-04T14:32:06Z
ENH: add calamine excel reader (close #50395)
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 2190136220c6c..927003b13d6be 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -46,6 +46,7 @@ dependencies: - pymysql>=1.0.2 - pyreadstat>=1.1.5 - pytables>=3.7.0 + - python-calamine>=0.1.6 - pyxlsb>=1.0.9 - s3f...
- [x] closes #50395 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotations](https://pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/54998
2023-09-04T12:03:34Z
2023-09-12T20:34:57Z
2023-09-12T20:34:57Z
2023-09-13T00:58:17Z
BUG: is_string_dtype(pd.Index([], dtype='O')) returns False
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index fa3cef6d9457d..2198a3107d297 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -253,6 +253,7 @@ Bug fixes ~~~~~~~~~ - Bug in :class:`AbstractHolidayCalendar` where timezone data was not propagated when...
- [x] closes #54661 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [x] Added an entry in `doc/source/whatsnew/v...
https://api.github.com/repos/pandas-dev/pandas/pulls/54997
2023-09-04T11:23:34Z
2023-10-04T15:46:01Z
2023-10-04T15:46:01Z
2023-10-04T15:46:08Z
BUG: boolean/string value in OdsWriter (#54994)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 249f08c7e387b..08ba9e7437f04 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -248,6 +248,7 @@ I/O ^^^ - Bug in :func:`read_csv` where ``on_bad_lines="warn"`` would write to ``stderr`` instead of rais...
- [x] closes #54994 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ] Added [type annotations](https://pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/54996
2023-09-04T11:22:46Z
2023-09-13T20:05:09Z
2023-09-13T20:05:09Z
2023-09-14T11:25:20Z
Backport PR #54985 on branch 2.1.x (REGR: rountripping datetime through sqlite doesn't work)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index a6848dad6e3cd..11b19b1508a71 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -18,6 +18,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``delim_whitespace`` is True (:issue:`54918`, ...
Backport PR #54985: REGR: rountripping datetime through sqlite doesn't work
https://api.github.com/repos/pandas-dev/pandas/pulls/54993
2023-09-04T09:11:38Z
2023-09-05T18:07:52Z
2023-09-05T18:07:52Z
2023-09-05T18:07:52Z
DOC: Grammatically updated the tech docs
diff --git a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst b/doc/source/getting_started/intro_tutorials/01_table_oriented.rst index 2dcc8b0abe3b8..caaff3557ae40 100644 --- a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst +++ b/doc/source/getting_started/intro_tutorials/01_table_orie...
-Added an entry in doc/source/getting_started/into_tutorials/01_table_oriented.rst -Changed highlighted part in attached screenshot. ![image](https://github.com/pandas-dev/pandas/assets/139927657/e00708d4-eb7d-480e-998b-e48d788c423c)
https://api.github.com/repos/pandas-dev/pandas/pulls/54989
2023-09-04T02:00:13Z
2023-09-05T18:09:45Z
2023-09-05T18:09:45Z
2023-09-05T18:09:53Z
DOC: expanded pandas.DataFrame.to_sql docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b9407ebe6624a..d4cb04d7b6ead 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2847,7 +2847,7 @@ def to_sql( index : bool, default True Write DataFrame index as a column. Uses `index_label` as the column - ...
- [x] closes #54712 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Implements the suggested fix from @mattatark to `pandas.DataFrame.to_sql`
https://api.github.com/repos/pandas-dev/pandas/pulls/54988
2023-09-03T23:22:19Z
2023-09-05T18:12:13Z
2023-09-05T18:12:13Z
2023-09-05T18:12:20Z
DOC: fix an example in whatsnew/v0.15.2.rst
diff --git a/doc/source/whatsnew/v0.15.2.rst b/doc/source/whatsnew/v0.15.2.rst index bb7beef449d93..acc5409b86d09 100644 --- a/doc/source/whatsnew/v0.15.2.rst +++ b/doc/source/whatsnew/v0.15.2.rst @@ -24,25 +24,61 @@ API changes - Indexing in ``MultiIndex`` beyond lex-sort depth is now supported, though a lexically...
Fix an example in doc/source/whatsnew/v0.15.2.rst, which raises an AttributeError (see https://pandas.pydata.org/docs/dev/whatsnew/v0.15.2.html#api-changes)
https://api.github.com/repos/pandas-dev/pandas/pulls/54986
2023-09-03T19:06:16Z
2023-09-04T09:52:00Z
2023-09-04T09:52:00Z
2023-09-04T09:52:01Z
REGR: rountripping datetime through sqlite doesn't work
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index a6848dad6e3cd..11b19b1508a71 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -18,6 +18,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``delim_whitespace`` is True (:issue:`54918`, ...
- [ ] closes #54877 (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/54985
2023-09-03T18:49:06Z
2023-09-04T09:09:41Z
2023-09-04T09:09:41Z
2023-09-04T09:09:45Z
ENH: Implement masked algorithm for value_counts
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 07be496a95adc..06f0f6d046026 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -29,6 +29,7 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ - DataFrame.apply now allows the usage of numba (via ``...
- [ ] 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/54984
2023-09-03T17:54:23Z
2023-09-30T18:18:59Z
2023-09-30T18:18:59Z
2023-10-21T15:38:29Z
BUG: pct_change showing unnecessary FutureWarning
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index b9bdb36fe0ed3..fe511b5cdec67 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -34,6 +34,7 @@ Bug fixes ~~~~~~~~~ - Fixed bug for :class:`ArrowDtype` raising ``NotImplementedError`` for fixed-size list...
- [ ] closes #54981 (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/54983
2023-09-03T14:57:39Z
2023-09-06T22:40:24Z
2023-09-06T22:40:24Z
2023-09-06T22:40:59Z
REG: filter not respecting the order of labels
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 258f05d4277bd..b9bdb36fe0ed3 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -19,6 +19,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``delim_whitespace`` is True (:issue:`54918`, ...
- [ ] closes #54980 (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/54982
2023-09-03T14:34:30Z
2023-09-05T22:41:52Z
2023-09-05T22:41:52Z
2023-09-05T22:41:56Z
ENH: add Series.struct accessor for ArrowDtype[struct]
diff --git a/doc/source/reference/series.rst b/doc/source/reference/series.rst index 58351bab07b22..9acbab7a42800 100644 --- a/doc/source/reference/series.rst +++ b/doc/source/reference/series.rst @@ -525,6 +525,29 @@ Sparse-dtype specific methods and attributes are provided under the Series.sparse.from_coo Ser...
Features: * Series.struct.dtypes -- see dtypes and field names * Series.struct.field(name_or_index) -- extract a field as a Series * Series.struct.to_frame() -- convert all fields into a DataFrame - [x] closes #54938 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pyda...
https://api.github.com/repos/pandas-dev/pandas/pulls/54977
2023-09-03T02:39:36Z
2023-09-18T16:15:09Z
2023-09-18T16:15:09Z
2023-09-18T16:50:51Z
TYP: fix a few types
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 4bfa8a4415785..a731cdbf99b0e 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1926,11 +1926,17 @@ def to_dict( self, orient: Literal["dict", "list", "series", "split", "tight", "index"] = ..., into: type[dict] = .....
I fixed a few type issues discovered by using the pandas-stubs type tests with the pandas annotations (there are many errors). I'm surprised that the two Excel-classes being marked as abstract wasn't detected by the CI, they are clearly meant to be instantiated, so they cannot be abstract.
https://api.github.com/repos/pandas-dev/pandas/pulls/54976
2023-09-03T00:53:55Z
2023-09-06T17:16:27Z
2023-09-06T17:16:27Z
2023-09-06T17:16:34Z
Include pyarrow_numpy string in efficient merge implementation
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 8ef3943ab0d8d..5b07a0010acdd 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -2421,7 +2421,8 @@ def _factorize_keys( elif isinstance(lk, ExtensionArray) and lk.dtype == rk.dtype: if (isinstance...
- [ ] 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/54974
2023-09-02T23:31:08Z
2023-09-05T22:32:36Z
2023-09-05T22:32:36Z
2023-09-05T22:39:11Z
BUG: Fix BaseWindowGroupby.aggregate where as_index is ignored
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index bd15d5fa085e9..09a4cf762da6b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -169,6 +169,7 @@ Bug fixes ~~~~~~~~~ - Bug in :class:`AbstractHolidayCalendar` where timezone data was not propagated when...
- [x] closes #31007 - [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/54973
2023-09-02T23:12:38Z
2023-09-16T19:17:26Z
null
2023-09-16T19:17:26Z
Enable Arrow implementation for removeprefix
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index 4d887ecd1510f..83ed54c42a23c 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -2192,11 +2192,11 @@ def _str_rstrip(self, to_strip=None): return type(self)(result) def _str_re...
- [ ] 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/54972
2023-09-02T22:01:15Z
2023-09-06T09:00:59Z
2023-09-06T09:00:59Z
2023-09-06T09:01:02Z
Backport PR #54962 on branch 2.1.x (BUG: DataFrame.stack with future_stack=True failing when columns are tuples)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 3848353187cde..a6848dad6e3cd 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -28,7 +28,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ -- +- Fixed bug in :meth:`DataFrame.stack` with ``future_stack=True...
Backport PR #54962: BUG: DataFrame.stack with future_stack=True failing when columns are tuples
https://api.github.com/repos/pandas-dev/pandas/pulls/54971
2023-09-02T21:32:28Z
2023-09-02T23:43:06Z
2023-09-02T23:43:06Z
2023-09-02T23:43:06Z
Backport PR #54826 on branch 2.1.x (Infer large_string type as pyarrow_numpy strings)
diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py index 87dd48b3569d8..cae975c96d61f 100644 --- a/pandas/core/arrays/string_arrow.py +++ b/pandas/core/arrays/string_arrow.py @@ -448,6 +448,15 @@ def _str_rstrip(self, to_strip=None): class ArrowStringArrayNumpySemantics(ArrowStringArr...
Backport PR #54826: Infer large_string type as pyarrow_numpy strings
https://api.github.com/repos/pandas-dev/pandas/pulls/54969
2023-09-02T18:15:59Z
2023-09-02T21:30:50Z
2023-09-02T21:30:50Z
2023-09-02T21:30:50Z
Backport PR #54945 on branch 2.1.x (REGR: MultiIndex.append raising for overlapping IntervalIndex levels)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index e7bfda82494a3..d0c9b33b719b4 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``usecols`` is given and ``dtypes`` is a dict ...
Backport PR #54945: REGR: MultiIndex.append raising for overlapping IntervalIndex levels
https://api.github.com/repos/pandas-dev/pandas/pulls/54968
2023-09-02T18:14:48Z
2023-09-02T21:31:01Z
2023-09-02T21:31:01Z
2023-09-02T21:31:02Z
Backport PR #54954 on branch 2.1.x (REGR: read_csv splitting on comma with delim_whitespace)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index e7bfda82494a3..d0882bdf094ad 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :func:`merge` when merging over a PyArrow string ...
Backport PR #54954: REGR: read_csv splitting on comma with delim_whitespace
https://api.github.com/repos/pandas-dev/pandas/pulls/54967
2023-09-02T18:14:12Z
2023-09-02T21:30:42Z
2023-09-02T21:30:42Z
2023-09-02T21:30:43Z
TST: add test case of ngroup with NaN value
diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py index 1e6d220199e22..999a03d18644d 100644 --- a/pandas/tests/groupby/test_groupby.py +++ b/pandas/tests/groupby/test_groupby.py @@ -3189,6 +3189,14 @@ def test_depr_get_group_len_1_list_likes(test_series, kwarg, value, name, warn):...
- [x] closes #50100 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests). - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added new tests to `GroupBy.ngroup` me...
https://api.github.com/repos/pandas-dev/pandas/pulls/54966
2023-09-02T18:12:30Z
2023-09-06T17:17:33Z
2023-09-06T17:17:33Z
2023-09-06T17:17:40Z
Backport PR #54958 on branch 2.1.x (BLD: Fix race condition)
diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build index f302c649bc7bd..c0a9d1ad8ee4a 100644 --- a/pandas/_libs/meson.build +++ b/pandas/_libs/meson.build @@ -69,7 +69,8 @@ libs_sources = { 'index': {'sources': ['index.pyx', _index_class_helper]}, 'indexing': {'sources': ['indexing.pyx']}, ...
Backport PR #54958: BLD: Fix race condition
https://api.github.com/repos/pandas-dev/pandas/pulls/54965
2023-09-02T17:01:43Z
2023-09-02T21:31:14Z
2023-09-02T21:31:14Z
2023-09-02T21:31:14Z
BUG: IntervalIndex.get_indexer incorrectly matching ints to datetimes
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 0fc4afc95a2ce..0e1a4d671ba2f 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -261,6 +261,8 @@ Strings Interval ^^^^^^^^ - Bug in :class:`Interval` ``__repr__`` not displaying UTC offsets for :class:...
- [x] closes #47772 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/54964
2023-09-02T16:55:31Z
2023-09-20T17:04:24Z
2023-09-20T17:04:24Z
2023-10-20T20:28:37Z
BUG: DataFrame.stack with future_stack=True failing when columns are tuples
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 8b4833f6ce043..16bf7f413fcf7 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -25,7 +25,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ -- +- Fixed bug in :meth:`DataFrame.stack` with ``future_stack=True...
- [x] closes #54948 (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/54962
2023-09-02T15:44:41Z
2023-09-02T21:32:20Z
2023-09-02T21:32:20Z
2023-09-03T13:34:20Z
ENH: Implement more string accessors through PyArrow
diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py index f438f75707265..0fd0979103c44 100644 --- a/pandas/core/arrays/string_arrow.py +++ b/pandas/core/arrays/string_arrow.py @@ -47,6 +47,8 @@ if TYPE_CHECKING: + from collections.abc import Sequence + from pandas._typing i...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/54960
2023-09-02T12:59:28Z
2023-09-06T22:42:37Z
2023-09-06T22:42:37Z
2023-09-06T22:42:40Z
BUG: replace na_rep for pd.NA values in `to_string`
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 09c43822e11e4..c87c2dc534f36 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1254,7 +1254,7 @@ def to_string( col_space: int | list[int] | dict[Hashable, int] | None = None, header: bool | SequenceNotStr[str] = True, ...
- [x] xref #54872 - [ ] [Tests added 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/54959
2023-09-02T12:47:00Z
2023-11-07T00:55:23Z
null
2023-11-07T00:55:23Z
BLD: Fix race condition
diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build index f302c649bc7bd..c0a9d1ad8ee4a 100644 --- a/pandas/_libs/meson.build +++ b/pandas/_libs/meson.build @@ -69,7 +69,8 @@ libs_sources = { 'index': {'sources': ['index.pyx', _index_class_helper]}, 'indexing': {'sources': ['indexing.pyx']}, ...
- [ ] closes #54889 (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/54958
2023-09-02T12:41:30Z
2023-09-02T17:01:34Z
2023-09-02T17:01:34Z
2023-09-02T17:01:35Z
ENH: Use more arrow compute functions for string[pyarrow] dtype
diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py index f438f75707265..43331639b3744 100644 --- a/pandas/core/arrays/string_arrow.py +++ b/pandas/core/arrays/string_arrow.py @@ -417,7 +417,7 @@ def _str_isupper(self): def _str_len(self): result = pc.utf8_length(self._p...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/54957
2023-09-02T12:26:25Z
2023-09-05T18:29:51Z
2023-09-05T18:29:51Z
2023-09-05T20:04:54Z
Backport PR #54882 on branch 2.1.x (REGR: get_group raising with axis=1)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index fa83c8ee400c2..8b4833f6ce043 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :func:`merge` when merging over a PyArrow string ...
#54882
https://api.github.com/repos/pandas-dev/pandas/pulls/54956
2023-09-02T12:10:00Z
2023-09-02T17:42:49Z
2023-09-02T17:42:49Z
2023-09-30T21:24:37Z
Backport PR #54913 on branch 2.1.x (REGR: drop_duplicates raising for arrow strings)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index fa83c8ee400c2..8570a4eacfcc9 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -16,6 +16,7 @@ Fixed regressions - Fixed regression in :func:`merge` when merging over a PyArrow string index (:issue:`5489...
Backport PR #54913: REGR: drop_duplicates raising for arrow strings
https://api.github.com/repos/pandas-dev/pandas/pulls/54955
2023-09-02T12:08:23Z
2023-09-02T17:41:23Z
2023-09-02T17:41:23Z
2023-09-02T17:41:23Z
REGR: read_csv splitting on comma with delim_whitespace
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 8b4833f6ce043..9968eb0fcc623 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :func:`merge` when merging over a PyArrow string ...
- [ ] closes #54931 (Replace xxxx with the GitHub issue number) - [ ] closes #54918 (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...
https://api.github.com/repos/pandas-dev/pandas/pulls/54954
2023-09-02T12:06:50Z
2023-09-02T18:14:05Z
2023-09-02T18:14:05Z
2023-09-02T18:14:07Z
REGR: Arrow backed objects not propagating exceptions
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 6d5da7cdff3b3..13de1d5e2ea52 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -26,6 +26,7 @@ Fixed regressions - Fixed regression in :meth:`Series.drop_duplicates` for PyArrow strings (:issue:`54904`) ...
- [ ] closes #54944 (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/54952
2023-09-02T11:30:33Z
2023-09-20T01:50:03Z
2023-09-20T01:50:03Z
2023-09-20T01:50:11Z
BUG: Categorical.isin raising for overlapping intervals
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 17abb3debe3e7..89b4d102fcf04 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -171,7 +171,7 @@ Bug fixes Categorical ^^^^^^^^^^^ -- +- :meth:`Categorical.isin` raising ``InvalidIndexError`` for cate...
- [x] closes #34974 - [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/54951
2023-09-02T10:56:59Z
2023-09-02T21:33:09Z
2023-09-02T21:33:09Z
2023-09-06T00:53:45Z
DEPR: DataFrameGroupBy.apply operating on the group keys
diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index c0d2a14507383..002e88533ab93 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -459,7 +459,7 @@ Unlike agg, apply's callable is passed a sub-DataFrame which gives you access to df ...
- [x] closes #7155 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/54950
2023-09-02T10:24:40Z
2023-09-07T15:59:58Z
2023-09-07T15:59:58Z
2024-01-19T21:19:33Z
BLD: improvements to meson.build files
diff --git a/generate_version.py b/generate_version.py index 46e9f52bfc5de..06e38ce0fd978 100644 --- a/generate_version.py +++ b/generate_version.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + # Note: This file has to live next to setup.py or versioneer will not work import argparse import os diff --git a/meson.build ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/54949
2023-09-02T09:59:16Z
2023-09-08T14:31:07Z
2023-09-08T14:31:07Z
2023-09-08T14:47:54Z
TST: Use (unused) window parameter of test_freq_window_not_implemented
diff --git a/pandas/tests/window/test_rolling.py b/pandas/tests/window/test_rolling.py index f4d903dc19fb7..01a202dd1d4b6 100644 --- a/pandas/tests/window/test_rolling.py +++ b/pandas/tests/window/test_rolling.py @@ -100,9 +100,9 @@ def test_freq_window_not_implemented(window): index=date_range("2015-12-24", p...
Realized that `window` parameter is unused so this is fixing it. Calling `sum` function as the exception is only raised when a function is called with `VariableOffsetWindowIndexer`. Not sure if I need to add an entry to whatsnew for this - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/develo...
https://api.github.com/repos/pandas-dev/pandas/pulls/54947
2023-09-02T03:07:18Z
2023-09-06T17:19:30Z
2023-09-06T17:19:30Z
2023-09-06T17:19:36Z
REGR: MultiIndex.append raising for overlapping IntervalIndex levels
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index e7bfda82494a3..d0c9b33b719b4 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``usecols`` is given and ``dtypes`` is a dict ...
- [x] closes #54934 - [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/54945
2023-09-02T01:48:46Z
2023-09-02T18:14:39Z
2023-09-02T18:14:39Z
2023-09-06T00:53:47Z
BUG fix for str.startswith and str.endswith with tuple arg for `"string[pyarrow]"` dtype (GH#54942)
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 9eb5bbc8f07d5..73139287f61bb 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -332,7 +332,7 @@ Conversion Strings ^^^^^^^ - Bug in :func:`pandas.api.types.is_string_dtype` while checking object array...
- [x] closes #54942 - [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/54943
2023-09-01T21:48:39Z
2023-10-23T17:32:02Z
2023-10-23T17:32:02Z
2023-10-24T08:45:22Z
BUG df.plot.box handles matplotlib Axes with sharey=True
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 17abb3debe3e7..f05f1fc4cf5ad 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -235,7 +235,7 @@ Period Plotting ^^^^^^^^ -- +- Bug in :meth:`DataFrame.plot.box` with ``vert=False`` and a matplotlib `...
- [x] closes #54941 - [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/54940
2023-09-01T20:54:12Z
2023-09-18T16:56:11Z
2023-09-18T16:56:11Z
2023-09-18T16:56:18Z
DEPR: deprecate string H, BH, CBH in offsets frequencies, resolution abbreviations, _attrname_to_abbrevs
diff --git a/doc/source/user_guide/advanced.rst b/doc/source/user_guide/advanced.rst index 682fa4c9b4fcc..453536098cfbb 100644 --- a/doc/source/user_guide/advanced.rst +++ b/doc/source/user_guide/advanced.rst @@ -976,7 +976,7 @@ of :ref:`frequency aliases <timeseries.offset_aliases>` with datetime-like inter pd.i...
xref #54061 - deprecated for Timedelta units 'H' in favour of 'h' - deprecated for time series frequencies aliases 'H', 'BH', 'CBH' in favour of 'h', 'bh', 'cbh' - deprecated resolution 'H' for Timedelta.resolution_string in favour of 'h'
https://api.github.com/repos/pandas-dev/pandas/pulls/54939
2023-09-01T20:49:39Z
2023-10-08T13:57:46Z
2023-10-08T13:57:46Z
2023-10-08T13:57:46Z
ENH: use shutil.which() instead of external which(1)
diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py index 806d42381afc6..6491849925e86 100644 --- a/pandas/io/clipboard/__init__.py +++ b/pandas/io/clipboard/__init__.py @@ -17,9 +17,12 @@ On Windows, no additional modules are needed. On Mac, the pyobjc module is used, falling back to the p...
Use the `shutil.which()` function to determine whether executables exist rather than calling the external `which(1)` or `where` program. This program is not a part of POSIX base system, and modern Linux distributions are working towards making it completely optional. The builtin `shutil.which()` is available since Pyth...
https://api.github.com/repos/pandas-dev/pandas/pulls/54937
2023-09-01T18:25:47Z
2023-09-08T17:12:33Z
2023-09-08T17:12:32Z
2023-09-08T17:14:37Z
Convert test_sql to pytest idiom
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 2b139f8ca527c..0788d9da06eb9 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -138,7 +138,7 @@ def _parse_date_columns(data_frame, parse_dates): if isinstance(df_col.dtype, DatetimeTZDtype) or col_name in parse_dates: try: ...
Should make onboarding the new ADBC drivers a little easier. This can be done in a few phases/PRs @jorisvandenbossche
https://api.github.com/repos/pandas-dev/pandas/pulls/54936
2023-09-01T18:20:31Z
2023-09-07T16:30:50Z
2023-09-07T16:30:50Z
2023-09-07T18:19:57Z
DOC: fixes Sphinx parallel build error on `doc/source/whatsnew/v0.24.0.rst`
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index 4ad5f4e7b5c3d..b013d03b2d68c 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -286,6 +286,7 @@ value. (:issue:`17054`) .. ipython:: python + from io import StringIO result = pd.read_htm...
- Solves #54782 - Adding `from io import StringIO` in line 289 in `doc/source/whatsnew/v0.24.0.rst` solves Sphinx parallel build error when running `python make.py html` (or just `python make.py --single whatsnew/v0.24.0.rst`) I'm new here and would like to contribute. Any advice would be very much appreciated! Thi...
https://api.github.com/repos/pandas-dev/pandas/pulls/54935
2023-09-01T16:46:45Z
2023-09-01T17:49:58Z
2023-09-01T17:49:58Z
2023-09-01T18:16:34Z
Backport PR #54895 on branch 2.1.x (REGR: Merge raising when left merging on arrow string index)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index b7e45d043d869..4c548d94a0d59 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Fixed regression in :func:`mer...
Backport PR #54895: REGR: Merge raising when left merging on arrow string index
https://api.github.com/repos/pandas-dev/pandas/pulls/54933
2023-09-01T16:19:15Z
2023-09-01T17:49:10Z
2023-09-01T17:49:10Z
2023-09-01T17:49:10Z
Backport PR #54884 on branch 2.1.x (REGR: value_counts raises with bins)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index b7e45d043d869..a624b888cd789 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :func:`read_csv` when ``usecols`` is given and ``...
Backport PR #54884: REGR: value_counts raises with bins
https://api.github.com/repos/pandas-dev/pandas/pulls/54932
2023-09-01T16:19:06Z
2023-09-01T17:48:58Z
2023-09-01T17:48:58Z
2023-09-01T17:48:59Z
Revert "REF: remove unnecessary na_value fixture"
diff --git a/pandas/tests/extension/base/constructors.py b/pandas/tests/extension/base/constructors.py index 7215e910365cf..8828f33b7c62c 100644 --- a/pandas/tests/extension/base/constructors.py +++ b/pandas/tests/extension/base/constructors.py @@ -35,8 +35,7 @@ def test_series_constructor(self, data): if hasa...
This reverts one of the four commits of https://github.com/pandas-dev/pandas/pull/54719. While this was certainly a logical change to make (it's superfluous for our tests), it can give problems for downstream EAs (we got several failures in the geopandas' CI with pandas nightly), if they use `None` as their missing...
https://api.github.com/repos/pandas-dev/pandas/pulls/54930
2023-09-01T12:56:44Z
2023-11-20T21:17:35Z
2023-11-20T21:17:35Z
2023-11-20T21:17:40Z
new pandas cheat sheet fomats
diff --git a/doc/cheatsheet/README.md b/doc/cheatsheet/README.md new file mode 100644 index 0000000000000..6c33de104ed90 --- /dev/null +++ b/doc/cheatsheet/README.md @@ -0,0 +1,22 @@ +# Pandas Cheat Sheet + +The Pandas Cheat Sheet was created using Microsoft Powerpoint 2013. +To create the PDF version, within Powerpoin...
- [x] closes #54910 - [x] Added an entry in the latest `doc/cheatsheet/` file if fixing a bug or adding a new feature.
https://api.github.com/repos/pandas-dev/pandas/pulls/54928
2023-09-01T11:57:31Z
2023-09-03T20:42:14Z
2023-09-03T20:42:14Z
2023-09-03T20:42:15Z
REGR: interpolate raising if fill_value is given
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index a6848dad6e3cd..9418baabeeb05 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -20,6 +20,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.__setitem__` raising ``AssertionError`` when settin...
- [ ] closes #54920 (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/54927
2023-09-01T11:39:46Z
2023-09-05T18:43:26Z
2023-09-05T18:43:26Z
2023-09-05T20:05:07Z
Backport PR #54881 on branch 2.1.x (REGR: read_csv raising when dtypes is specified with usecols)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index f5aa0968ae362..1ef60960a51c3 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Fixed regression in :func:`rea...
#54881
https://api.github.com/repos/pandas-dev/pandas/pulls/54926
2023-09-01T11:17:44Z
2023-09-01T16:17:24Z
2023-09-01T16:17:24Z
2023-09-01T16:17:27Z
Backport PR #54880 on branch 2.1.x (REGR: comparing datetime vs None raises)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index f5aa0968ae362..f5e4446c927f9 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -14,6 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataF...
Backport PR #54880: REGR: comparing datetime vs None raises
https://api.github.com/repos/pandas-dev/pandas/pulls/54925
2023-09-01T11:15:16Z
2023-09-01T16:17:12Z
2023-09-01T16:17:12Z
2023-09-01T16:17:13Z
DOC: add missing periods in JSON section
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index cfacc0280e97f..ecd547c5ff4d6 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -1811,8 +1811,8 @@ Writing JSON A ``Series`` or ``DataFrame`` can be converted to a valid JSON string. Use ``to_json`` with option...
Hello, I am new here and this is my first contribution (following the advice on how to start contributing from [here](https://blog.afeld.me/contributing-to-pandas-1a68692c4d47)). I just added 2 periods that were missing in the JSON section of the user guide.
https://api.github.com/repos/pandas-dev/pandas/pulls/54924
2023-09-01T10:55:41Z
2023-09-01T17:02:24Z
2023-09-01T17:02:24Z
2023-09-01T18:15:56Z
REGR: Restore _constructor_from_mgr to pass manager object to constructor
diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst index 1d2d89e7eadd1..a59cadde422b9 100644 --- a/doc/source/whatsnew/v2.1.2.rst +++ b/doc/source/whatsnew/v2.1.2.rst @@ -29,6 +29,7 @@ Fixed regressions - Fixed performance regression with wide DataFrames, typically involving methods where all...
See https://github.com/pandas-dev/pandas/pull/53871#discussion_r1251901671 for context. This reverts the refactoring changes of the `_constructor_.._from_mgr` methods of https://github.com/pandas-dev/pandas/pull/53871 to the state of the original PR https://github.com/pandas-dev/pandas/pull/52132 that added those new m...
https://api.github.com/repos/pandas-dev/pandas/pulls/54922
2023-09-01T08:52:29Z
2023-10-26T12:50:24Z
2023-10-26T12:50:24Z
2023-10-26T13:05:34Z
Shinyp
diff --git a/docs/examples/pandas/pandas.ipynb b/docs/examples/pandas/pandas.ipynb new file mode 100644 index 0000000000000..2586ca4abc6d6 --- /dev/null +++ b/docs/examples/pandas/pandas.ipynb @@ -0,0 +1,2212 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "ae90d978", + "metadata": { + ...
-DOC: Pandas Cheatsheet Improve using Google Colab. -Added an Explanation about DataFrame under DataFrame title. _ Added a line of code to Grab a single columns using DataFrame.
https://api.github.com/repos/pandas-dev/pandas/pulls/54921
2023-09-01T06:00:46Z
2023-09-01T06:15:50Z
null
2023-09-01T06:16:03Z
REF: cast x and bins to Index early in cut, qcut
diff --git a/pandas/core/reshape/tile.py b/pandas/core/reshape/tile.py index 43eea7c669ce7..126f589f5df71 100644 --- a/pandas/core/reshape/tile.py +++ b/pandas/core/reshape/tile.py @@ -43,7 +43,6 @@ to_datetime, to_timedelta, ) -from pandas.core import nanops import pandas.core.algorithms as algos if TYP...
Preliminary to a PR that avoids a bunch of dt64/td64 casting which is needed in order to fix #47772
https://api.github.com/repos/pandas-dev/pandas/pulls/54919
2023-09-01T02:53:22Z
2023-09-01T17:05:18Z
2023-09-01T17:05:18Z
2023-09-01T17:19:47Z
BUG: Fix Rolling where duplicate datetimelike indexes are treated as consecutive rather than equal with closed='left' and closed='neither'
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 17abb3debe3e7..5fc4c5e0b04aa 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -168,6 +168,7 @@ Performance improvements Bug fixes ~~~~~~~~~ - Bug in :class:`AbstractHolidayCalendar` where timezone da...
- [x] closes #20712 - [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/54917
2023-09-01T00:04:06Z
2023-09-05T18:44:58Z
2023-09-05T18:44:58Z
2023-09-05T18:45:05Z
DOC: Mark contributors.py as not parallel safe
diff --git a/doc/sphinxext/contributors.py b/doc/sphinxext/contributors.py index c2b21e40cadad..5d0995a2bcf6b 100644 --- a/doc/sphinxext/contributors.py +++ b/doc/sphinxext/contributors.py @@ -54,4 +54,4 @@ def run(self): def setup(app): app.add_directive("contributors", ContributorsDirective) - return {"ver...
Looks like the doc build has been timing out recently. From the logs it appears to get stuck around the whatsnew files.
https://api.github.com/repos/pandas-dev/pandas/pulls/54916
2023-09-01T00:01:35Z
2023-09-05T16:50:44Z
null
2023-09-05T16:50:48Z
DEPR: deprecate element-wise operations in (Series|DataFrame).transform
diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst index 2e299da5e5794..340d2e7acfe36 100644 --- a/doc/source/user_guide/basics.rst +++ b/doc/source/user_guide/basics.rst @@ -1112,14 +1112,14 @@ will be the names of the transforming functions. .. ipython:: python - tsdf.transform([n...
- [x] closes #54906 - [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/54915
2023-08-31T21:53:23Z
2024-01-31T18:54:39Z
null
2024-01-31T18:54:39Z
REGR: concat raising for 2 different ea dtypes
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 8b4833f6ce043..068f8026e8c43 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Fixed regression in :func:`con...
- [ ] closes #54848 (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/54914
2023-08-31T21:41:45Z
2023-09-05T18:45:43Z
2023-09-05T18:45:43Z
2023-09-05T20:04:47Z
REGR: drop_duplicates raising for arrow strings
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 8b4833f6ce043..e7bfda82494a3 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Fixed regression in :func:`read_csv` when ``usecols`` is given and ``dtypes`` is a dict ...
- [ ] closes #54904 (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/54913
2023-08-31T21:27:37Z
2023-09-02T12:07:16Z
2023-09-02T12:07:16Z
2023-09-02T12:07:18Z
Backport PR #54896 on branch 2.1.x (DOC: updated docstring for deprecation of axis=1 in groupby)
diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 7579f816d0ace..ba793b9c11c27 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -113,6 +113,12 @@ axis : {0 or 'index', 1 or 'columns'}, default 0 Split along rows (0) or columns (1). For `Series` this parameter ...
Backport PR #54896: DOC: updated docstring for deprecation of axis=1 in groupby
https://api.github.com/repos/pandas-dev/pandas/pulls/54912
2023-08-31T20:17:36Z
2023-08-31T23:58:14Z
2023-08-31T23:58:13Z
2023-08-31T23:58:14Z
Backport PR #54894 on branch 2.1.x (MAINT: Reflect changes from `numpy` namespace refactor Part 5)
diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py index de99f828d604f..7117e34b23ca4 100644 --- a/pandas/core/dtypes/missing.py +++ b/pandas/core/dtypes/missing.py @@ -285,7 +285,7 @@ def _isna_array(values: ArrayLike, inf_as_na: bool = False): # "Union[ndarray[Any, Any], Extension...
Backport PR #54894: MAINT: Reflect changes from `numpy` namespace refactor Part 5
https://api.github.com/repos/pandas-dev/pandas/pulls/54905
2023-08-31T16:21:15Z
2023-08-31T18:59:03Z
2023-08-31T18:59:03Z
2023-08-31T18:59:03Z
Backport PR #54885 on branch 2.1.x (REGR: setitem with part of a MultiIndex raises)
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 66f6d59d08cb2..f5aa0968ae362 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,7 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- +- Fixed regression in :meth:`...
Backport PR #54885: REGR: setitem with part of a MultiIndex raises
https://api.github.com/repos/pandas-dev/pandas/pulls/54899
2023-08-31T13:54:15Z
2023-08-31T15:58:32Z
2023-08-31T15:58:32Z
2023-08-31T15:58:33Z
DOC: updated docstring for deprecation of axis=1 in groupby
diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 1fc63dd503467..9da103e13f691 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -113,6 +113,12 @@ axis : {0 or 'index', 1 or 'columns'}, default 0 Split along rows (0) or columns (1). For `Series` this parameter ...
- [x] closes #54873 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
https://api.github.com/repos/pandas-dev/pandas/pulls/54896
2023-08-31T11:21:21Z
2023-08-31T20:17:28Z
2023-08-31T20:17:28Z
2023-08-31T20:26:33Z
REGR: Merge raising when left merging on arrow string index
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index b7e45d043d869..4c548d94a0d59 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Fixed regression in :func:`mer...
- [ ] 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/54895
2023-08-31T09:34:51Z
2023-09-01T16:18:15Z
2023-09-01T16:18:15Z
2023-09-01T16:18:18Z
MAINT: Reflect changes from `numpy` namespace refactor Part 5
diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py index de99f828d604f..7117e34b23ca4 100644 --- a/pandas/core/dtypes/missing.py +++ b/pandas/core/dtypes/missing.py @@ -285,7 +285,7 @@ def _isna_array(values: ArrayLike, inf_as_na: bool = False): # "Union[ndarray[Any, Any], Extension...
Hi! Here's a PR that reflects changes introduced in https://github.com/numpy/numpy/pull/24587. (The only item that needs to be modified in pandas is `np.recarray` access)
https://api.github.com/repos/pandas-dev/pandas/pulls/54894
2023-08-31T09:32:19Z
2023-08-31T16:21:05Z
2023-08-31T16:21:05Z
2023-08-31T18:45:44Z
Update warning message for consistency
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index 3db36fc50e343..b00c470ca173f 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -498,7 +498,7 @@ def is_categorical_dtype(arr_or_dtype) -> bool: # GH#52527 warnings.warn( "is_categorical_dtype ...
- [ ] closes #54892 (Replace #54892 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/...
https://api.github.com/repos/pandas-dev/pandas/pulls/54893
2023-08-31T08:48:43Z
2023-08-31T16:23:08Z
2023-08-31T16:23:07Z
2023-08-31T16:23:15Z
Backport PR #54879 on branch 2.1.x (DOC: Add release notes for 2.1.1)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index fc225d0f44497..c21fbc28ae68f 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 2.1 .. toctree:: :maxdepth: 2 + v2.1.1 v2.1.0 Version 2.0 diff --git a/doc/source/whatsne...
Backport PR #54879: DOC: Add release notes for 2.1.1
https://api.github.com/repos/pandas-dev/pandas/pulls/54891
2023-08-31T08:24:21Z
2023-08-31T10:46:28Z
2023-08-31T10:46:28Z
2023-08-31T10:46:29Z
WEB: fix 2.1 url in versions.json
diff --git a/web/pandas/versions.json b/web/pandas/versions.json index 3b302dde5baea..43efaf8ebe259 100644 --- a/web/pandas/versions.json +++ b/web/pandas/versions.json @@ -12,7 +12,7 @@ { "name": "2.0", "version": "2.0", - "url": "https://pandas.pydata.org/pandas-docs/version/2.0" + ...
Small follow-up on https://github.com/pandas-dev/pandas/pull/54874
https://api.github.com/repos/pandas-dev/pandas/pulls/54890
2023-08-31T08:16:07Z
2023-08-31T08:16:43Z
2023-08-31T08:16:43Z
2023-08-31T08:16:46Z
Backport PR #54874 on branch 2.1.x (WEB: Add 2.1 to the switcher)
diff --git a/web/pandas/versions.json b/web/pandas/versions.json index 4be8f10a88334..3b302dde5baea 100644 --- a/web/pandas/versions.json +++ b/web/pandas/versions.json @@ -5,10 +5,15 @@ "url": "https://pandas.pydata.org/docs/dev/" }, { - "name": "2.0 (stable)", - "version": "2.0", + ...
Backport PR #54874: WEB: Add 2.1 to the switcher
https://api.github.com/repos/pandas-dev/pandas/pulls/54887
2023-08-31T02:14:30Z
2023-08-31T08:13:16Z
null
2023-08-31T08:13:25Z
DOC: fix a typo in development doc
diff --git a/doc/source/development/debugging_extensions.rst b/doc/source/development/debugging_extensions.rst index dffc9deadd347..27f812b65e261 100644 --- a/doc/source/development/debugging_extensions.rst +++ b/doc/source/development/debugging_extensions.rst @@ -30,7 +30,7 @@ By specifying ``builddir="debug"`` all of...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54886
2023-08-31T00:31:40Z
2023-08-31T01:47:43Z
2023-08-31T01:47:43Z
2023-08-31T01:48:17Z
REGR: setitem with part of a MultiIndex raises
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index 66f6d59d08cb2..f5aa0968ae362 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,7 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- +- Fixed regression in :meth:`...
- [x] closes #54875 - [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/54885
2023-08-30T23:32:25Z
2023-08-31T13:54:06Z
2023-08-31T13:54:06Z
2023-09-06T00:53:48Z
REGR: value_counts raises with bins
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index b7e45d043d869..a624b888cd789 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :func:`read_csv` when ``usecols`` is given and ``...
- [ ] closes #54857 (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/54884
2023-08-30T23:06:09Z
2023-09-01T16:17:55Z
2023-09-01T16:17:55Z
2023-09-01T16:17:58Z
PERF: sort_index with an already monotonic MultiIndex
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 8e0bffd7b8ece..e56fbf1d8c32f 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -694,22 +694,28 @@ def time_frame_sort_values(self, ascending): class SortMultiKey: - de...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotati...
https://api.github.com/repos/pandas-dev/pandas/pulls/54883
2023-08-30T23:01:46Z
2023-08-31T16:26:29Z
2023-08-31T16:26:29Z
2023-09-06T00:53:49Z
REGR: get_group raising with axis=1
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index b7e45d043d869..e31d161993824 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -14,6 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :func:`read_...
- [ ] closes #54858 (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/54882
2023-08-30T22:48:24Z
2023-09-01T16:17:40Z
2023-09-01T16:17:40Z
2023-09-02T12:09:28Z
REGR: read_csv raising when dtypes is specified with usecols
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index f5aa0968ae362..1ef60960a51c3 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Fixed regression in :func:`rea...
- [ ] closes #54868 (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/54881
2023-08-30T22:39:11Z
2023-09-01T00:12:54Z
2023-09-01T00:12:54Z
2023-09-01T11:16:44Z
REGR: comparing datetime vs None raises
diff --git a/doc/source/whatsnew/v2.1.1.rst b/doc/source/whatsnew/v2.1.1.rst index f5aa0968ae362..f5e4446c927f9 100644 --- a/doc/source/whatsnew/v2.1.1.rst +++ b/doc/source/whatsnew/v2.1.1.rst @@ -14,6 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataF...
- [ ] closes #54870 (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/54880
2023-08-30T22:30:32Z
2023-09-01T11:14:11Z
2023-09-01T11:14:11Z
2023-09-01T11:14:14Z
DOC: Add release notes for 2.1.1
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index e933b3e84c481..1f12859e4081e 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 2.1 .. toctree:: :maxdepth: 2 + v2.1.1 v2.1.0 Version 2.0 diff --git a/doc/source/whatsne...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54879
2023-08-30T22:15:59Z
2023-08-31T08:24:12Z
2023-08-31T08:24:12Z
2023-09-06T00:53:57Z
BUG: read_parquet from public parquet file with AWS credentials in environment gives OSError
diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index f51b98a929440..ff065ad9490ed 100644 --- a/pandas/io/parquet.py +++ b/pandas/io/parquet.py @@ -114,8 +114,16 @@ def _get_path_or_handle( try: fs, path_or_handle = pa_fs.FileSystem.from_uri(path) + # retry with a...
- [x] closes #53701 - [ ] [Tests added and passed] - [x] 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. Added retry mechanism so...
https://api.github.com/repos/pandas-dev/pandas/pulls/54878
2023-08-30T21:38:50Z
2023-09-25T20:43:56Z
null
2023-09-25T20:43:56Z
WEB: Add 2.1 to the switcher
diff --git a/web/pandas/versions.json b/web/pandas/versions.json index 4be8f10a88334..3b302dde5baea 100644 --- a/web/pandas/versions.json +++ b/web/pandas/versions.json @@ -5,10 +5,15 @@ "url": "https://pandas.pydata.org/docs/dev/" }, { - "name": "2.0 (stable)", - "version": "2.0", + ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/54874
2023-08-30T19:39:40Z
2023-08-31T02:13:23Z
2023-08-31T02:13:23Z
2023-08-31T08:16:16Z
RLS: 2.1.0
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/54866
2023-08-30T11:23:44Z
2023-08-30T11:24:00Z
2023-08-30T11:24:00Z
2023-08-30T11:24:01Z
Backport PR #54850 on branch 2.1.x (DOC: Add date for v2.1.0)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 0928569641b5b..1f627af02dc75 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -1,6 +1,6 @@ .. _whatsnew_210: -What's new in 2.1.0 (Aug 11, 2023) +What's new in 2.1.0 (Aug 30, 2023) -----------------...
Backport PR #54850: DOC: Add date for v2.1.0
https://api.github.com/repos/pandas-dev/pandas/pulls/54864
2023-08-29T20:30:17Z
2023-08-29T22:06:15Z
2023-08-29T22:06:15Z
2023-08-29T22:06:15Z
Backport PR #54856 on branch 2.1.x (BUG: ArrowExtensionArray.factorize with chunked dictionary array)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 0928569641b5b..e153cb30caef3 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -847,6 +847,7 @@ ExtensionArray - Bug in :meth:`Series.rank` returning wrong order for small values with ``Float64`` dtype ...
Backport PR #54856: BUG: ArrowExtensionArray.factorize with chunked dictionary array
https://api.github.com/repos/pandas-dev/pandas/pulls/54863
2023-08-29T20:30:06Z
2023-08-29T22:25:48Z
2023-08-29T22:25:48Z
2023-08-29T22:25:48Z
DOC: Add note about using conda to generate debug builds
diff --git a/doc/source/development/debugging_extensions.rst b/doc/source/development/debugging_extensions.rst index 9ac4cf4083475..dffc9deadd347 100644 --- a/doc/source/development/debugging_extensions.rst +++ b/doc/source/development/debugging_extensions.rst @@ -21,6 +21,10 @@ By default building pandas from source w...
Noted from discussion in https://github.com/mesonbuild/meson-python/issues/459#issuecomment-1692971600
https://api.github.com/repos/pandas-dev/pandas/pulls/54860
2023-08-29T18:47:15Z
2023-08-30T16:57:20Z
2023-08-30T16:57:20Z
2023-08-30T16:57:26Z
DOC issue 54822: per @DavidToneian recommendation, I used a specific …
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index fb3e1ba32228c..cfacc0280e97f 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2619,7 +2619,7 @@ columns to strings. .. code-block:: python - url_mcc = "https://en.wikipedia.org/wiki/Mobile_country_code"...
…version of the wikipedia source page for the example of reading HTML content. - [ ] closes #54822 - [ ] [Tests added 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.pyd...
https://api.github.com/repos/pandas-dev/pandas/pulls/54859
2023-08-29T18:23:44Z
2023-08-29T19:58:04Z
2023-08-29T19:58:04Z
2023-08-29T20:00:50Z
BUG: ArrowExtensionArray.factorize with chunked dictionary array
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 0928569641b5b..e153cb30caef3 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -847,6 +847,7 @@ ExtensionArray - Bug in :meth:`Series.rank` returning wrong order for small values with ``Float64`` dtype ...
- [x] closes #54844 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/54856
2023-08-29T17:23:52Z
2023-08-29T20:29:57Z
2023-08-29T20:29:57Z
2023-08-29T20:38:39Z
CI: add empty line in `no-bool-in-generic` to avoid `black` complaining
diff --git a/scripts/no_bool_in_generic.py b/scripts/no_bool_in_generic.py index c483d221a4266..15bc2247469c7 100644 --- a/scripts/no_bool_in_generic.py +++ b/scripts/no_bool_in_generic.py @@ -65,7 +65,7 @@ def replace_bool_with_bool_t(to_replace, content: str) -> str: + replaced_line[col_offset + ...
*No reference issues (I ran into this during another contribution).*
https://api.github.com/repos/pandas-dev/pandas/pulls/54855
2023-08-29T16:55:23Z
2023-08-31T16:03:54Z
2023-08-31T16:03:54Z
2023-09-23T13:47:10Z
Fix GH #54853: BUG: DeprecationWarning for frontend.OptionParser when building docs
diff --git a/doc/make.py b/doc/make.py index 937b2638fb098..9db4ea406bc1f 100755 --- a/doc/make.py +++ b/doc/make.py @@ -159,10 +159,10 @@ def _get_page_title(self, page): Open the rst file `page` and extract its title. """ fname = os.path.join(SOURCE_PATH, f"{page}.rst") - option_pars...
- [x] closes #54853 (Replace xxxx with the GitHub issue number) - [x] 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. See https://...
https://api.github.com/repos/pandas-dev/pandas/pulls/54854
2023-08-29T16:47:41Z
2023-08-30T19:23:45Z
2023-08-30T19:23:45Z
2023-08-31T08:39:39Z
Backport PR #54815 on branch 2.1.x (DOC: added docstring for `storage_options` in `read_html`)
diff --git a/pandas/io/html.py b/pandas/io/html.py index 8a73c786825e3..10701be4f7e0b 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -23,6 +23,7 @@ AbstractMethodError, EmptyDataError, ) +from pandas.util._decorators import doc from pandas.util._exceptions import find_stack_level from pandas.uti...
Backport PR #54815: DOC: added docstring for `storage_options` in `read_html`
https://api.github.com/repos/pandas-dev/pandas/pulls/54852
2023-08-29T16:07:24Z
2023-08-29T17:54:40Z
2023-08-29T17:54:40Z
2023-08-29T17:54:41Z