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
REF: helper for merge casting
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index e68277c38063e..cfaa5a1fdad64 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -2067,6 +2067,32 @@ def _validate_tolerance(self, left_join_keys: list[ArrayLike]) -> None: else: rais...
- [ ] 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/53976
2023-07-02T21:46:56Z
2023-07-06T20:06:44Z
2023-07-06T20:06:44Z
2023-07-06T20:28:43Z
DEPR: GroupBy.quantile with bool dtype
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index ebbdbcb0f61f5..a3023c7432cba 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -296,6 +296,7 @@ Deprecations - Deprecated :meth:`Series.interpolate` and :meth:`DataFrame.interpolate` for object-dtype (:...
- [x] closes #51424 (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/53975
2023-07-02T19:18:27Z
2023-07-05T14:26:12Z
2023-07-05T14:26:12Z
2023-07-05T15:00:32Z
DEPR: Replacing builtin and NumPy funcs in agg/apply/transform
diff --git a/doc/source/getting_started/comparison/comparison_with_r.rst b/doc/source/getting_started/comparison/comparison_with_r.rst index 767779b0f58a8..25ba237e8caf3 100644 --- a/doc/source/getting_started/comparison/comparison_with_r.rst +++ b/doc/source/getting_started/comparison/comparison_with_r.rst @@ -246,7 +...
- [x] closes #53425 (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/53974
2023-07-02T19:10:44Z
2023-07-07T17:05:12Z
2023-07-07T17:05:12Z
2023-07-08T11:31:12Z
ENH: Allow to assign/create custom body_style and header_style property to an instance of ExcelFormatter used in method df.to_excel()
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index ec0e7d0636b07..bcb03eade8fcf 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -3880,6 +3880,19 @@ The look and feel of Excel worksheets created from pandas can be modified using * ``float_format`` : Format str...
- [X] closes #52369 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ...
https://api.github.com/repos/pandas-dev/pandas/pulls/53973
2023-07-02T19:05:22Z
2023-07-29T01:43:58Z
null
2023-07-30T00:37:51Z
DOC: Added note for `corr`
diff --git a/pandas/core/series.py b/pandas/core/series.py index e59a4cfc3fcc1..164b1a61b006c 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2783,6 +2783,9 @@ def corr( * `Kendall rank correlation coefficient <https://en.wikipedia.org/wiki/Kendall_rank_correlation_coefficient>`_ * ...
- [ ] closes #49939 - [ ] 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/53972
2023-07-02T14:51:51Z
2023-07-05T17:21:00Z
2023-07-05T17:21:00Z
2023-07-05T17:21:01Z
DOC: fix pandas-coverage link
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index 4631e5dc8d0ca..f3ff5b70d4aac 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -764,7 +764,7 @@ install pandas) by typing:: yo...
it's back up and running, with the notebook adjusted for meson, but heroku have changed their url scheme, so I'm updating the docs link
https://api.github.com/repos/pandas-dev/pandas/pulls/53971
2023-07-02T14:48:44Z
2023-07-02T20:24:27Z
2023-07-02T20:24:27Z
2023-07-02T20:24:28Z
Support uncertainties as EA Dtype
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 64d874a31c428..09616cc38212b 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -3272,7 +3272,10 @@ def first(x: Series): """Helper function for first item that isn't NA.""" ...
In parallel with Pint and Pint-Pandas, changes to support uncertainties as an EA Dtype. See https://github.com/hgrecco/pint/pull/1615 and https://github.com/hgrecco/pint-pandas/pull/140 - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/53970
2023-07-02T14:06:56Z
2023-07-29T16:11:27Z
null
2023-07-29T16:12:00Z
BUG: pd.replace changes dtype when using a dict to replace values even when there are no matches
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index ebbdbcb0f61f5..ee5db92796169 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -546,6 +546,7 @@ Other - Bug in :func:`assert_almost_equal` now throwing assertion error for two unequal sets (:issue:`5172...
- [x] closes #53539 (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/53968
2023-07-02T09:11:41Z
2023-07-06T21:06:27Z
null
2023-10-03T15:48:35Z
BUG: Changed function signature to replace args and kwargs
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a469f4965117b..b8dd4f235e85c 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -11146,12 +11146,28 @@ def cummax(self, axis: Axis | None = None, skipna: bool = True, *args, **kwargs) return NDFrame.cummax(self, axis, skipna, *args, **...
- [ ] closes #53071 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [ ] 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/53965
2023-07-01T18:57:05Z
2023-08-11T01:04:59Z
null
2023-08-11T01:04:59Z
applying dedup_names func
diff --git a/pandas/io/parsers/python_parser.py b/pandas/io/parsers/python_parser.py index f2c9be66c0905..373a35f3102ef 100644 --- a/pandas/io/parsers/python_parser.py +++ b/pandas/io/parsers/python_parser.py @@ -17,6 +17,9 @@ from typing import ( IO, TYPE_CHECKING, + Hashable, + Iterator, + List, ...
- [ ] closes #50371 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [ ] 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/53964
2023-07-01T17:06:38Z
2023-08-01T17:38:28Z
null
2023-08-01T17:38:29Z
BUG: JSON serialization with orient split fails roundtrip on MultiIndex
diff --git a/pandas/io/json/_json.py b/pandas/io/json/_json.py index ec0469a393873..dc56b330f7f9d 100644 --- a/pandas/io/json/_json.py +++ b/pandas/io/json/_json.py @@ -204,6 +204,20 @@ def to_json( indent=indent, ).write() + if orient == "split" and isinstance(obj, DataFrame): + if isinstance...
- [ ] closes #50456 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ...
https://api.github.com/repos/pandas-dev/pandas/pulls/53963
2023-07-01T07:26:52Z
2023-08-01T17:36:40Z
null
2023-08-01T17:36:40Z
BUG: `interpolate` with fillna methods fail to fill across multiblocks
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 0f669beaa036f..ad84058d2b75a 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -446,6 +446,7 @@ Indexing Missing ^^^^^^^ +- Bug in :meth:`DataFrame.interpolate` failing to fill across multiblock data...
- [ ] Closes #53898 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [ ] 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...
https://api.github.com/repos/pandas-dev/pandas/pulls/53962
2023-07-01T07:17:42Z
2023-07-10T17:36:13Z
2023-07-10T17:36:13Z
2023-09-02T02:37:29Z
DOC: Added note and example for pyarrow storage
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 4d4b9e086e9e5..3865089703c71 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -5464,6 +5464,25 @@ The above example creates a partitioned dataset that may look like: except OSError: pass +.. note:...
- [x] closes #42664 - [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/53961
2023-07-01T07:06:02Z
2023-08-01T17:38:15Z
null
2023-08-01T17:38:15Z
DOC: Updated pandas extension list
diff --git a/web/pandas/community/ecosystem.md b/web/pandas/community/ecosystem.md index 957a8d38b204c..15715bb96e8f2 100644 --- a/web/pandas/community/ecosystem.md +++ b/web/pandas/community/ecosystem.md @@ -525,6 +525,13 @@ Pandas-Genomics provides an extension type and extension array for working with genomics dat...
- [x] closes #49046 - [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/53960
2023-07-01T06:47:17Z
2023-07-06T21:09:58Z
2023-07-06T21:09:58Z
2023-07-06T21:10:09Z
PERF: speed up data frame comparison when shape differs
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b806ddbaa89ba..d71f8e487b6c9 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1445,6 +1445,8 @@ def equals(self, other: object) -> bool_t: if not (isinstance(other, type(self)) or isinstance(self, type(other))): ...
- [ ] closes #53945 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Speed up data frame (or series) comparison when shapes are different. A noticeable improvement is observed. The following scripts: ``` >>> import pandas as pd >>> impor...
https://api.github.com/repos/pandas-dev/pandas/pulls/53959
2023-07-01T05:20:20Z
2023-08-01T16:57:46Z
null
2023-08-01T16:57:46Z
API: add `NaTType` and `NAType` to `pandas.api.typing`
diff --git a/pandas/api/typing/__init__.py b/pandas/api/typing/__init__.py index 4c535bf81d3b6..9b5d2cb06b523 100644 --- a/pandas/api/typing/__init__.py +++ b/pandas/api/typing/__init__.py @@ -2,6 +2,9 @@ Public API classes that store intermediate results useful for type-hinting. """ +from pandas._libs import NaTTy...
- [x] Closes #53934 - [x] *I assume that no tests are needed for this* - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [x] *I assume that no changelog entry is needed for this*
https://api.github.com/repos/pandas-dev/pandas/pulls/53958
2023-07-01T05:03:50Z
2023-07-06T21:11:18Z
2023-07-06T21:11:18Z
2023-09-23T13:46:37Z
DOC: EX01 (part of ExtensionArray)
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 756096a7fe345..730105ac6fe83 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -134,12 +134,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.api.extensions.ExtensionArray._from_sequence_of_strings \ pandas.api.extension...
- [x] Towards #37875 `ExtensionArray` is kind of tricky, I don't know what kind of example should we put here. Currently I'm providing some (not directly runnable) example implementation for each method. Alternatively we can provide a fully implemented example in `ExtensionArray`, and link to that example in each me...
https://api.github.com/repos/pandas-dev/pandas/pulls/53957
2023-07-01T04:49:24Z
2023-07-13T11:06:24Z
2023-07-13T11:06:24Z
2023-09-23T13:46:31Z
DEPR: downcast keyword in Index.fillna
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index ebbdbcb0f61f5..079047b75a745 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -241,6 +241,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated 'broadcast_axis' keyword in :meth:`Series.align...
- [ ] 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/53956
2023-07-01T00:51:31Z
2023-07-06T21:13:00Z
2023-07-06T21:12:59Z
2023-07-06T21:58:16Z
PERF: MultiIndex set and indexing operations
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 0f669beaa036f..1ba0981780ff2 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -359,6 +359,7 @@ Performance improvements - Performance improvement in :meth:`Series.to_numpy` when dtype is a numpy float ...
- [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/53955
2023-07-01T00:18:23Z
2023-07-10T17:51:38Z
2023-07-10T17:51:38Z
2023-07-12T00:12:37Z
DOC/WEB: update Google Analytics id
diff --git a/doc/source/conf.py b/doc/source/conf.py index 66fca61c2c6e5..31893bdf929d8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -240,7 +240,7 @@ "footer_start": ["pandas_footer", "sphinx-version"], "github_url": "https://github.com/pandas-dev/pandas", "twitter_url": "https://twitter.c...
I want to propose to move away from Google Analytics (and for example use the Plausible instance from Scientific Python), but to keep it working on the short term, need to update the ID for GA.
https://api.github.com/repos/pandas-dev/pandas/pulls/53954
2023-06-30T20:48:28Z
2023-07-01T06:36:11Z
2023-07-01T06:36:11Z
2023-07-01T06:36:20Z
Updated read_excel docstring to match style guide formatting
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index f4782dcfcc08d..10f2422a9df1c 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -79,7 +79,7 @@ ) _read_excel_doc = ( """ -Read an Excel file into a pandas DataFrame. +Read an Excel file into a ``pandas`` DataFrame. ...
Fixes `read_excel()` docstring to match docstring formatting style guide: - Issue: https://github.com/pandas-dev/pandas/issues/53674. - Style Guide: https://pandas.pydata.org/docs/development/contributing_docstring.html
https://api.github.com/repos/pandas-dev/pandas/pulls/53953
2023-06-30T20:32:05Z
2023-08-11T01:04:35Z
null
2023-08-11T01:04:35Z
PERF: ffill/bfill with non-numpy dtypes
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index ebbdbcb0f61f5..6390fbeed8548 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -342,6 +342,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.loc` when selecting rows and column...
Implement ffill/bfill in terms of 'take', avoiding an object cast. ``` ser = pd.Series(range(10**5), dtype="int64[pyarrow]") ser[5000] = pd.NA %timeit ser.ffill() 609 µs ± 25.9 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) # <- branch 5.49 ms ± 158 µs per loop (mean ± std. dev. of 7 runs, 100 lo...
https://api.github.com/repos/pandas-dev/pandas/pulls/53950
2023-06-30T16:59:32Z
2023-07-02T21:27:54Z
2023-07-02T21:27:54Z
2023-07-02T21:42:01Z
TST: Concatenating categorical datetime columns
diff --git a/pandas/tests/reshape/concat/test_categorical.py b/pandas/tests/reshape/concat/test_categorical.py index 14c559db4b0b5..2730b2ffcc4e3 100644 --- a/pandas/tests/reshape/concat/test_categorical.py +++ b/pandas/tests/reshape/concat/test_categorical.py @@ -1,3 +1,5 @@ +from datetime import datetime + import nu...
- [x] closes #39443 - [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/53949
2023-06-30T16:42:20Z
2023-06-30T19:59:22Z
2023-06-30T19:59:22Z
2023-06-30T21:08:28Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index a67dc66b26d34..7a5dbb45636d2 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -110,10 +110,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas_object \ pandas.api.interchange.from_dataframe \ pandas.DatetimeIndex...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53948
2023-06-30T15:10:33Z
2023-07-05T07:36:32Z
2023-07-05T07:36:32Z
2023-07-05T07:55:31Z
CLN : Removed unnecessary numba-compat code
diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py index 20cc83e86b435..59f30cd4e6e8f 100644 --- a/pandas/util/_test_decorators.py +++ b/pandas/util/_test_decorators.py @@ -69,13 +69,6 @@ def safe_import(mod_name: str, min_version: str | None = None): mod = __import__(mod_name) ...
- [x] closes ##50392 (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/c...
https://api.github.com/repos/pandas-dev/pandas/pulls/53947
2023-06-30T11:27:22Z
2023-06-30T17:48:50Z
2023-06-30T17:48:50Z
2023-06-30T17:48:51Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index a0fb7ab6e411d..bb5bc200c6fa7 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -118,10 +118,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.io.stata.StataReader.value_labels \ pandas.io.stata.StataReader.variable_label...
[x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53946
2023-06-30T11:17:03Z
2023-06-30T17:45:21Z
2023-06-30T17:45:21Z
2023-06-30T17:46:40Z
Remove the unused param
diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index 1b36659944561..139809e0baa51 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -217,7 +217,7 @@ def __init__(self, name: str, accessor) -> None: self._name = name self._accessor = accessor - def __get__(self,...
- [ ] 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/53944
2023-06-30T08:00:17Z
2023-06-30T08:06:12Z
null
2023-06-30T08:06:12Z
BUG: test_series_groupby_value_counts on Windows
diff --git a/pandas/tests/groupby/test_value_counts.py b/pandas/tests/groupby/test_value_counts.py index 78c8b6b236b65..997b8ba2275b4 100644 --- a/pandas/tests/groupby/test_value_counts.py +++ b/pandas/tests/groupby/test_value_counts.py @@ -82,7 +82,6 @@ def seed_df(seed_nans, n, m): ids.append(f"{k}-{n}-{...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/53943
2023-06-30T02:06:54Z
2023-07-06T14:33:26Z
null
2023-11-26T13:42:20Z
REF: remove axis keyword from PandasArray.pad_or_backfill
diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py index 990b55cb40366..570e48344c961 100644 --- a/pandas/core/arrays/numpy_.py +++ b/pandas/core/arrays/numpy_.py @@ -233,13 +233,12 @@ def pad_or_backfill( self, *, method: FillnaOptions, - axis: int, limi...
This will make it easier to share with a soon-to-be-implemented EA.pad_or_backfill
https://api.github.com/repos/pandas-dev/pandas/pulls/53941
2023-06-29T22:42:12Z
2023-06-30T18:39:07Z
2023-06-30T18:39:07Z
2023-06-30T19:14:13Z
TST: add test with freq=2M to increase coverage of to_period
diff --git a/pandas/tests/indexes/datetimes/methods/test_to_period.py b/pandas/tests/indexes/datetimes/methods/test_to_period.py index e4f8aef277f87..6c41b76aa113c 100644 --- a/pandas/tests/indexes/datetimes/methods/test_to_period.py +++ b/pandas/tests/indexes/datetimes/methods/test_to_period.py @@ -6,6 +6,7 @@ import...
xref #52064 added a test in pandas/tests/indexes/datetimes/methods/test_to_period.py, which covers cases `freq=“2M"` and `freq=MonthEnd(2)` for `to_period` from DatetimeIndex. The reason: existing tests were all for `"freq='M'"`, rather than for `"freq='2M'"`.
https://api.github.com/repos/pandas-dev/pandas/pulls/53940
2023-06-29T22:14:08Z
2023-06-30T07:57:42Z
2023-06-30T07:57:42Z
2023-06-30T07:57:43Z
BUG: Timestamp origin takes no effect in resample for 'MS' frequency
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index f2bf446c3bb6d..35b4b4544cce7 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -554,6 +554,7 @@ Plotting Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ +- Bug in :meth:`DataFrame.resample` and :me...
- [x] closes #53662 - [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/53938
2023-06-29T20:41:34Z
2023-07-25T07:29:00Z
2023-07-25T07:29:00Z
2023-07-25T16:25:40Z
CI: Bump 32 bit and musl linux jobs to PY3.11
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index bd104af4a8d9e..bd8f2ab6521e2 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -227,7 +227,7 @@ jobs: fi - name: Build environment and Run Tests run: | - /opt/...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53937
2023-06-29T20:21:08Z
2023-06-29T22:06:38Z
2023-06-29T22:06:38Z
2023-06-29T22:06:42Z
CLN: assorted
diff --git a/pandas/_libs/lib.pyi b/pandas/_libs/lib.pyi index e9d4e45c07925..4a2c7a874238a 100644 --- a/pandas/_libs/lib.pyi +++ b/pandas/_libs/lib.pyi @@ -36,7 +36,7 @@ NoDefault = Literal[_NoDefault.no_default] i8max: int u8max: int -def is_np_dtype(dtype: object, kinds: str | None = ...) -> bool: ... +def is_np...
- [ ] 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/53932
2023-06-29T18:17:10Z
2023-06-29T22:07:25Z
2023-06-29T22:07:25Z
2023-06-29T22:11:10Z
CI/TST: Misc test cleanups
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index bd8f2ab6521e2..d608654b510d1 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -81,7 +81,7 @@ jobs: ENV_FILE: ci/deps/${{ matrix.env_file }} PATTERN: ${{ matrix.pattern }} EX...
* Potentially remove unnecessary settings in `ci/run_tests.sh` * Update some config settings
https://api.github.com/repos/pandas-dev/pandas/pulls/53931
2023-06-29T17:44:54Z
2023-06-30T17:46:57Z
2023-06-30T17:46:57Z
2023-06-30T17:47:00Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index cc7c64f001809..a0fb7ab6e411d 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -118,14 +118,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.io.stata.StataReader.value_labels \ pandas.io.stata.StataReader.variable_label...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53930
2023-06-29T17:41:11Z
2023-06-30T09:46:38Z
2023-06-30T09:46:38Z
2023-06-30T09:53:30Z
TST: Always close figures in plotting tests
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index fbbdfa4b8a5bf..ddb3acb7397e6 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -50,7 +50,6 @@ bdate_range, ) from pandas._testing._io import ( - close, round_trip_localpath, round_trip_pathlib, ...
Now that the plotting tests are more-or-less isolated and testing one topic, we can use the `mpl_cleanup` autouse fixture to close all figures per test and remove the need for `tm.close`
https://api.github.com/repos/pandas-dev/pandas/pulls/53929
2023-06-29T17:00:23Z
2023-06-30T19:57:51Z
2023-06-30T19:57:51Z
2023-06-30T19:57:54Z
DOC: Changed M to MS in examples
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 30f5f21f03658..498e66ad00da9 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -764,8 +764,8 @@ def groups(self) -> dict[Hashable, np.ndarray]: 2023-02-01 3 2023-02-15 4 ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875 This was done after this conversation: https://github.com/pandas-dev/pandas/pull/53909#:~:text=any%20chance%20we%20could%20make%20a...
https://api.github.com/repos/pandas-dev/pandas/pulls/53927
2023-06-29T12:44:16Z
2023-06-29T14:08:45Z
2023-06-29T14:08:45Z
2023-06-29T14:15:30Z
DOC: EX01 ({Categorical, Interval, Multi, Datetime, Timedelta}-Index)
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 3aa78804b6dde..cc7c64f001809 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -138,25 +138,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.util.hash_pandas_object \ pandas_object \ pandas.api.interchange.from...
- [x] Towards #37875. Also removing some items from `ci/code_checks.sh` that have already had examples on the main branch.
https://api.github.com/repos/pandas-dev/pandas/pulls/53925
2023-06-29T09:31:46Z
2023-06-30T07:50:11Z
2023-06-30T07:50:11Z
2023-06-30T09:36:35Z
DOC: remove unnecessary note about EA values_for_factorize from 2.0.3 whatsnew
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index a52143c32618b..3e2dc1b92c779 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -16,7 +16,6 @@ Fixed regressions - Bug in :meth:`Timestamp.weekday`` was returning incorrect results before ``'0000-02-29'`...
See https://github.com/pandas-dev/pandas/pull/53475#issuecomment-1611999192
https://api.github.com/repos/pandas-dev/pandas/pulls/53923
2023-06-29T07:20:48Z
2023-06-29T13:48:20Z
2023-06-29T13:48:20Z
2023-06-29T16:10:22Z
ENH: Add new implementation of DataFrame.stack
diff --git a/doc/source/getting_started/comparison/comparison_with_r.rst b/doc/source/getting_started/comparison/comparison_with_r.rst index 25ba237e8caf3..a6cfcd4614984 100644 --- a/doc/source/getting_started/comparison/comparison_with_r.rst +++ b/doc/source/getting_started/comparison/comparison_with_r.rst @@ -438,7 +...
- [ ] 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/53921
2023-06-29T03:22:48Z
2023-08-02T15:53:11Z
2023-08-02T15:53:11Z
2023-08-03T01:38:43Z
DOC: EX01 (`Index` and `RangeIndex`)
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 3927b91fe05c0..3958b3fedb6b8 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -145,13 +145,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.util.hash_pandas_object \ pandas_object \ pandas.api.interchange.from...
- [x] Towards #37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53920
2023-06-29T02:57:38Z
2023-06-29T15:59:29Z
2023-06-29T15:59:29Z
2023-09-23T13:46:18Z
CI: Don't rebuild pandas before running tests
diff --git a/.github/actions/build_pandas/action.yml b/.github/actions/build_pandas/action.yml index b1829e651443b..2d6b0aada4abd 100644 --- a/.github/actions/build_pandas/action.yml +++ b/.github/actions/build_pandas/action.yml @@ -14,6 +14,13 @@ runs: micromamba list shell: bash -el {0} + - name:...
It appears some unit test jobs are rebuilding pandas before running `pytest`. Meson might be rebuilding pandas because an optional dependency installed pandas before the initial build, so trying to uninstall pandas before the initial build cc @lithomas1
https://api.github.com/repos/pandas-dev/pandas/pulls/53919
2023-06-29T01:14:34Z
2023-06-29T02:51:47Z
2023-06-29T02:51:46Z
2023-06-29T02:51:49Z
REF: separate Block.pad_or_backfill from interpolate
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 434f8d62fcdd5..74d4397847f6c 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -1346,32 +1346,44 @@ def fillna( def pad_or_backfill( self, *, - method: FillnaOptions = "...
- [ ] 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/53918
2023-06-28T23:17:19Z
2023-06-29T18:47:29Z
2023-06-29T18:47:29Z
2023-06-29T18:54:59Z
TST: Clean plotting tests
diff --git a/pandas/tests/plotting/test_boxplot_method.py b/pandas/tests/plotting/test_boxplot_method.py index 075243603e9cd..9a73a394d0466 100644 --- a/pandas/tests/plotting/test_boxplot_method.py +++ b/pandas/tests/plotting/test_boxplot_method.py @@ -28,6 +28,12 @@ mpl = pytest.importorskip("matplotlib") +def _c...
Splitting/parameterizing tests in this file to try to test only 1 thing per test
https://api.github.com/repos/pandas-dev/pandas/pulls/53917
2023-06-28T23:08:08Z
2023-06-29T02:52:11Z
2023-06-29T02:52:11Z
2023-06-29T02:52:14Z
TST: add the parameter MonthEnd(2) to 2 tests with freq= 2M
diff --git a/pandas/tests/arrays/period/test_constructors.py b/pandas/tests/arrays/period/test_constructors.py index 4e8ab56435749..ecc9ee745bad8 100644 --- a/pandas/tests/arrays/period/test_constructors.py +++ b/pandas/tests/arrays/period/test_constructors.py @@ -2,6 +2,7 @@ import pytest from pandas._libs.tslibs ...
xref #52064 added parametrization to 2 tests in which we pass `freq = '2M'` to check if they work correctly not only with str, but with offsets (`MonthEnd(2)`) as well.
https://api.github.com/repos/pandas-dev/pandas/pulls/53916
2023-06-28T21:54:03Z
2023-06-29T09:06:17Z
2023-06-29T09:06:17Z
2023-06-29T09:06:18Z
TST: Clean tests/plotting/test_frame.py misc
diff --git a/pandas/tests/plotting/frame/test_frame_legend.py b/pandas/tests/plotting/frame/test_frame_legend.py index 5914300b00434..13c31a6a202d7 100644 --- a/pandas/tests/plotting/frame/test_frame_legend.py +++ b/pandas/tests/plotting/frame/test_frame_legend.py @@ -26,7 +26,6 @@ class TestFrameLegend: ) de...
Split or parameterized large tests in these files
https://api.github.com/repos/pandas-dev/pandas/pulls/53914
2023-06-28T18:25:09Z
2023-06-28T21:51:11Z
2023-06-28T21:51:11Z
2023-06-28T21:51:14Z
Backport PR #53897: DOC: Update release date for 2.0.3
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 8cfced2ee385a..3e2dc1b92c779 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -1,6 +1,6 @@ .. _whatsnew_203: -What's new in 2.0.3 (July XX, 2023) +What's new in 2.0.3 (June 28, 2023) ---------------...
- [ ] 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/53913
2023-06-28T18:21:39Z
2023-06-28T20:11:23Z
2023-06-28T20:11:23Z
2023-06-28T20:11:24Z
Revert addition of 'None' to default na_values of the parser
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 0084e885db2b5..1e078f154ced4 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -1149,7 +1149,7 @@ To completely override the default values that are recognized as missing, specif .. _io.navaluesconst: The de...
Running the tests for https://github.com/pandas-dev/pandas/issues/52493 - [ ] 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 [co...
https://api.github.com/repos/pandas-dev/pandas/pulls/53912
2023-06-28T18:00:17Z
2023-10-12T16:46:01Z
null
2023-10-12T16:46:01Z
REF: use CoW helpers more
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 80069f1fcacbd..5a0546d8976a9 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -1083,11 +1083,8 @@ def setitem(self, indexer, value, using_cow: bool = False) -> Block: # test_il...
- [ ] 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/53911
2023-06-28T16:47:50Z
2023-07-13T20:38:01Z
2023-07-13T20:38:01Z
2023-07-13T20:55:33Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 3927b91fe05c0..d614b8229ef12 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -118,13 +118,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.io.stata.StataReader.value_labels \ pandas.io.stata.StataReader.variable_label...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53909
2023-06-28T15:51:36Z
2023-06-29T14:09:43Z
2023-06-29T14:09:43Z
2023-06-29T14:14:57Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f4a0488581606..8155d398d4d88 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -106,8 +106,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.test \ pandas.NaT \ pandas.io.formats.style.Styler.to_html \ - ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875 Note: the examples for `pandas.HDFStore.groups` and `pandas.HDFStore.walk` were done [here](https://github.com/pandas-dev/pandas/pu...
https://api.github.com/repos/pandas-dev/pandas/pulls/53906
2023-06-28T13:37:06Z
2023-06-28T17:30:20Z
2023-06-28T17:30:20Z
2023-06-28T17:31:42Z
ENH: Support scalar condition in `Series.where` and `DataFrame.where`
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 517baa648d805..1cc9ab0bff5f5 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -109,6 +109,7 @@ Other enhancements - :meth:`DataFrameGroupby.agg` and :meth:`DataFrameGroupby.transform` now support group...
- [x] closes #53903 - [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 - added/updated tests in `series/indexing/test_where.py`, `series/indexing/test_where.py`, `series/indexing/test_mask.py` - [x...
https://api.github.com/repos/pandas-dev/pandas/pulls/53905
2023-06-28T11:13:08Z
2023-08-16T18:31:11Z
null
2023-08-16T18:31:12Z
DOC: fix asv test results link in contributors doc
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index 00f9fd74e01ca..4631e5dc8d0ca 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -861,7 +861,7 @@ performance regressions. pandas is ...
- [x] Closes #53851 - [ ] [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/53902
2023-06-28T05:51:28Z
2023-06-28T10:17:54Z
2023-06-28T10:17:54Z
2023-09-23T13:46:09Z
CI: linting check to ensure `lib.NoDefault` is only used for typing
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 220465a1d2847..4379220c33687 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -339,6 +339,11 @@ repos: language: python entry: python scripts/validate_unwanted_patterns.py --validation-type="strings_with_wrong_pl...
- [x] See https://github.com/pandas-dev/pandas/pull/53877#issuecomment-1609917156 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#...
https://api.github.com/repos/pandas-dev/pandas/pulls/53901
2023-06-28T05:36:56Z
2023-06-29T16:13:52Z
2023-06-29T16:13:52Z
2023-09-23T13:46:02Z
REF: de-duplicate CoW helpers
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 832e1560ae55e..80069f1fcacbd 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -583,20 +583,6 @@ def _maybe_copy(self, using_cow: bool, inplace: bool) -> Self: blk = self if inplace else...
- [ ] 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/53899
2023-06-28T04:37:25Z
2023-06-28T16:04:58Z
2023-06-28T16:04:57Z
2023-06-28T16:13:05Z
DOC: Update release date for 2.0.3
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 14e65e9e577ce..a52143c32618b 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -1,6 +1,6 @@ .. _whatsnew_203: -What's new in 2.0.3 (July XX, 2023) +What's new in 2.0.3 (June 28, 2023) ---------------...
- [ ] 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/53897
2023-06-28T04:25:06Z
2023-06-28T18:07:23Z
2023-06-28T18:07:23Z
2023-06-28T18:41:43Z
BUG: read_parquet from public parquet file with AWS credentials in environment gives OSError
diff --git a/doc/source/reference/extensions 2.rst b/doc/source/reference/extensions 2.rst new file mode 100644 index 0000000000000..b33efd388bd60 --- /dev/null +++ b/doc/source/reference/extensions 2.rst @@ -0,0 +1,79 @@ +{{ header }} + +.. _api.extensions: + +========== +Extensions +========== +.. currentmodule:: pa...
- [ ] [Tests added and passed](https://github.com/pandas-dev/pandas/issues/53701 if fixing a bug or adding a new feature Added the retry mechanism found in common.py([here](https://github.com/pandas-dev/pandas/blob/0bc16da1e53e9a4d637cf81c770e6517da65a029/pandas/io/common.py#L395-L397)) for file handling when read_p...
https://api.github.com/repos/pandas-dev/pandas/pulls/53895
2023-06-28T01:07:15Z
2023-08-01T17:47:27Z
null
2023-08-01T17:47:27Z
TST: Clean plotting/frame/test_frame.color.py
diff --git a/pandas/tests/plotting/frame/test_frame_color.py b/pandas/tests/plotting/frame/test_frame_color.py index e7370375ba27b..7de3262bfe6cf 100644 --- a/pandas/tests/plotting/frame/test_frame_color.py +++ b/pandas/tests/plotting/frame/test_frame_color.py @@ -17,6 +17,18 @@ from pandas.util.version import Version...
Splitting or parameterize large tests in this file
https://api.github.com/repos/pandas-dev/pandas/pulls/53894
2023-06-28T00:41:45Z
2023-06-28T16:07:14Z
2023-06-28T16:07:14Z
2023-06-28T16:07:18Z
BUG: join changes index type when doing join on empty dataframes
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 198a7155e1a1e..d4f25e159bdfb 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -512,6 +512,7 @@ Reshaping - Bug in :meth:`DataFrame.stack` sorting index lexicographically in rare cases (:issue:`53824`) ...
- [X] closes #52777 - [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/53893
2023-06-27T23:25:03Z
2023-07-10T17:50:13Z
2023-07-10T17:50:13Z
2023-07-10T18:02:33Z
Backport PR #53888 on branch 2.0.x (CI: Fix pytest scripts and doc failure)
diff --git a/doc/source/whatsnew/v0.10.0.rst b/doc/source/whatsnew/v0.10.0.rst index bd47e6e4bc025..4806f88924baa 100644 --- a/doc/source/whatsnew/v0.10.0.rst +++ b/doc/source/whatsnew/v0.10.0.rst @@ -181,7 +181,7 @@ labeled the aggregated group with the end of the interval: the next day). ``X0``, ``X1``, ...) can b...
Backport PR #53888: CI: Fix pytest scripts and doc failure
https://api.github.com/repos/pandas-dev/pandas/pulls/53892
2023-06-27T22:07:31Z
2023-06-28T01:39:53Z
2023-06-28T01:39:53Z
2023-06-28T01:39:54Z
TST: Refactor slow tests
diff --git a/pandas/_libs/parsers.pyi b/pandas/_libs/parsers.pyi index 3b6e4dca47b14..253bb7303cefb 100644 --- a/pandas/_libs/parsers.pyi +++ b/pandas/_libs/parsers.pyi @@ -12,6 +12,7 @@ from pandas._typing import ( ) STR_NA_VALUES: set[str] +DEFAULT_BUFFER_HEURISTIC: int def sanitize_objects( values: npt.N...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53891
2023-06-27T22:04:39Z
2023-06-28T18:26:26Z
2023-06-28T18:26:26Z
2023-06-28T18:33:16Z
TST: add test with freq=2M for period_array from datetime64
diff --git a/pandas/tests/arrays/period/test_constructors.py b/pandas/tests/arrays/period/test_constructors.py index 8c3c2bd095adf..4e8ab56435749 100644 --- a/pandas/tests/arrays/period/test_constructors.py +++ b/pandas/tests/arrays/period/test_constructors.py @@ -56,6 +56,15 @@ def test_from_datetime64_freq_changes():...
xref #52064 added a test in `pandas/tests/arrays/period/test_constructors.py`, which covers a case `freq='2M'` for period_array from datetime64. The reason: existing tests were all for `"freq='M'"`, rather then for `"freq='2M'"`.
https://api.github.com/repos/pandas-dev/pandas/pulls/53890
2023-06-27T19:42:31Z
2023-06-28T07:40:41Z
2023-06-28T07:40:40Z
2023-06-28T07:40:42Z
DOC: Fixing EX01 - Added examples
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index c37f2ba5114c4..a67ff5274e0f7 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -1476,6 +1476,17 @@ def groups(self) -> list: ------- list List of objects. + + Examples + -------- + >>> df...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875 Note: I'll remove them from code_checks tomorrow to avoid merge conflict with a PR being tested now.
https://api.github.com/repos/pandas-dev/pandas/pulls/53889
2023-06-27T19:25:50Z
2023-06-27T22:07:46Z
2023-06-27T22:07:46Z
2023-06-28T13:27:02Z
CI: Fix pytest scripts and doc failure
diff --git a/doc/source/whatsnew/v0.10.0.rst b/doc/source/whatsnew/v0.10.0.rst index c7802749e1d75..3425986a37743 100644 --- a/doc/source/whatsnew/v0.10.0.rst +++ b/doc/source/whatsnew/v0.10.0.rst @@ -181,7 +181,7 @@ labeled the aggregated group with the end of the interval: the next day). ``X0``, ``X1``, ...) can b...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53888
2023-06-27T19:10:31Z
2023-06-27T22:06:20Z
2023-06-27T22:06:20Z
2023-06-28T07:27:24Z
REF: de-duplicate methods, remove unused kwd
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 3dac13df6b670..746c555edc989 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -11502,7 +11502,7 @@ def quantile( f"Invalid method: {method}. Method must be in {valid_method}." ) if method == "single": - ...
- [ ] 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/53886
2023-06-27T17:38:50Z
2023-06-27T20:22:31Z
2023-06-27T20:22:31Z
2023-06-28T03:47:21Z
Backport PR #53795 on branch 2.0.x (BUG: fixes weekday for dates before 1752)
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index a1acc9d92c694..8cfced2ee385a 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Bug in :meth:`Timestamp.weekda...
- [ ] 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/53884
2023-06-27T16:14:28Z
2023-06-27T18:26:35Z
2023-06-27T18:26:35Z
2023-06-27T18:26:36Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 5870a9ad8d60b..9453edb0c88d8 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -108,14 +108,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.read_clipboard \ pandas.ExcelFile \ pandas.ExcelFile.parse \ - ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53883
2023-06-27T14:49:09Z
2023-06-27T16:43:45Z
2023-06-27T16:43:45Z
2023-06-27T18:48:58Z
REF: helpers to de-duplicate CoW checks
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 9f1767befd18a..cb4b4d44d0139 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -571,6 +571,43 @@ def copy(self, deep: bool = True) -> Self: refs = self.refs return type(self)(va...
- [ ] 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/53882
2023-06-27T14:42:54Z
2023-06-27T17:19:19Z
2023-06-27T17:19:19Z
2023-06-28T10:23:38Z
DOC: factor out multiple instances of `dtype_backend` parameter descriptions into `_shared_docs`
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b806ddbaa89ba..6498db74a78ea 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6694,6 +6694,7 @@ def infer_objects(self, copy: bool_t | None = None) -> Self: return res.__finalize__(self, method="infer_objects") @final...
- [x] closes #53878 - [ ] 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/53881
2023-06-27T13:31:35Z
2023-07-13T08:54:43Z
null
2023-07-13T21:45:38Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 9453edb0c88d8..f4a0488581606 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -105,9 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.errors.UnsupportedFunctionCall \ pandas.test \ pandas.NaT \ - p...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53880
2023-06-27T12:52:05Z
2023-06-28T07:28:13Z
2023-06-28T07:28:13Z
2023-06-28T11:38:22Z
DOC: Updated docstring for Period class
diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index 2edb93e998255..d4997b5f00975 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -2674,7 +2674,7 @@ class Period(_Period): freq : str, default None One of pandas period strings or correspondi...
- [ ] closes #38859 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ...
https://api.github.com/repos/pandas-dev/pandas/pulls/53879
2023-06-27T08:42:22Z
2023-06-27T09:36:45Z
2023-06-27T09:36:45Z
2023-06-27T09:36:46Z
CLN: use `lib.no_default` instead of `lib.NoDefault` in `.pivot`
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c7e8f74ff7849..e877680b3bb8d 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -47,11 +47,7 @@ properties, ) from pandas._libs.hashtable import duplicated -from pandas._libs.lib import ( - NoDefault, - is_range_indexer, - no_de...
- [x] Closes #53826 - [x] *No additional tests needed, it suffices to require all existing tests to pass* - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [x] *I assume that this does not need a changelog entry*
https://api.github.com/repos/pandas-dev/pandas/pulls/53877
2023-06-27T06:17:05Z
2023-06-27T17:08:04Z
2023-06-27T17:08:04Z
2023-06-28T05:39:49Z
DOC Remove incorrect line from dropna docs
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c7e8f74ff7849..72e57724ab7bc 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6164,7 +6164,6 @@ def dropna( * 0, or 'index' : Drop rows which contain missing values. * 1, or 'columns' : Drop columns which contain mi...
Remove incorrect line "Pass tuple or list to drop on multiple axes. " from dropna docs, as the ability to drop on multiple axes has been depreciated.
https://api.github.com/repos/pandas-dev/pandas/pulls/53876
2023-06-27T05:17:16Z
2023-06-27T17:09:16Z
2023-06-27T17:09:16Z
2023-06-28T03:28:50Z
DOC: Remove incorrect line from dropna docs
Remove incorrect line "Pass tuple or list to drop on multiple axes. " from dropna, as the ability to drop on multiple axes has been depreciated.
https://api.github.com/repos/pandas-dev/pandas/pulls/53875
2023-06-27T05:10:21Z
2023-06-27T05:12:38Z
null
2023-06-27T05:12:38Z
REF: de-duplicate _gotitem helper
diff --git a/pandas/core/base.py b/pandas/core/base.py index d4a808f4d7dd1..3710a644c7826 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -77,6 +77,7 @@ ) from pandas import ( + DataFrame, Index, Series, ) @@ -254,6 +255,21 @@ def _gotitem(self, key, ndim: int, su...
- [ ] 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/53874
2023-06-27T01:57:09Z
2023-06-27T20:23:48Z
2023-06-27T20:23:48Z
2023-06-28T03:47:02Z
TST: Clean plotting/frame/test_frame.py
diff --git a/pandas/tests/plotting/frame/test_frame.py b/pandas/tests/plotting/frame/test_frame.py index 52fbfc23ef66c..f79d651384c56 100644 --- a/pandas/tests/plotting/frame/test_frame.py +++ b/pandas/tests/plotting/frame/test_frame.py @@ -50,16 +50,21 @@ class TestDataFramePlots: - @pytest.mark.xfail(reason="...
Split or parameterized slow tests in this file
https://api.github.com/repos/pandas-dev/pandas/pulls/53873
2023-06-27T00:22:23Z
2023-06-27T17:01:44Z
2023-06-27T17:01:44Z
2023-06-27T17:01:47Z
CLN: unused args in pad_or_backfill
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 48c9305cf2ccc..f13a5e8b560a4 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -2239,7 +2239,6 @@ def interpolate( limit, limit_direction, limit_area, - ...
- [ ] 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/53872
2023-06-26T23:09:17Z
2023-06-27T17:02:39Z
2023-06-27T17:02:39Z
2023-06-27T17:11:04Z
REF: simplify _from_mgr constructors, use in more places
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c7e8f74ff7849..2225312742744 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -638,12 +638,14 @@ def _constructor(self) -> Callable[..., DataFrame]: return DataFrame def _constructor_from_mgr(self, mgr, axes): - if self...
Largely split off from #52419
https://api.github.com/repos/pandas-dev/pandas/pulls/53871
2023-06-26T22:25:37Z
2023-06-27T17:15:22Z
2023-06-27T17:15:21Z
2023-07-04T19:02:12Z
BUG: merge with mismatched index dtypes failing to raise
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 6a0470b839843..ee1f1b7be1b86 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -495,6 +495,7 @@ Reshaping - Bug in :func:`crosstab` when ``dropna=False`` would not keep ``np.nan`` in the result (:issue:...
- [ ] 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/53870
2023-06-26T21:46:45Z
2023-06-27T00:55:09Z
2023-06-27T00:55:09Z
2023-10-20T18:17:21Z
Add SQL Support for ADBC Drivers
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 94652e8586d77..f03ee2d321529 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -56,5 +56,7 @@ dependencies: - zstandard>=0.19.0 - pip: + - adbc-driver-postgresql>=0.8.0 + - adbc-driver-sqlite>=0.8.0 - pyqt5>=...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53869
2023-06-26T20:27:24Z
2023-11-22T18:19:44Z
2023-11-22T18:19:44Z
2023-11-22T18:20:02Z
TYP: Fix pad_or_backfill limit_area type
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index c292e3cec4978..9f1767befd18a 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -1352,7 +1352,7 @@ def pad_or_backfill( inplace: bool = False, limit: int | None = None, limi...
Post https://github.com/pandas-dev/pandas/pull/53827 maybe
https://api.github.com/repos/pandas-dev/pandas/pulls/53866
2023-06-26T19:14:47Z
2023-06-26T20:20:26Z
2023-06-26T20:20:26Z
2023-06-26T20:20:30Z
TST: Clean plotting/test_series
diff --git a/pandas/tests/plotting/test_series.py b/pandas/tests/plotting/test_series.py index c2dffdb6f7e47..8186fcc9300e5 100644 --- a/pandas/tests/plotting/test_series.py +++ b/pandas/tests/plotting/test_series.py @@ -32,6 +32,7 @@ ) mpl = pytest.importorskip("matplotlib") +plt = pytest.importorskip("matplotlib....
Splits or parameterizes slow plotting tests
https://api.github.com/repos/pandas-dev/pandas/pulls/53865
2023-06-26T18:37:59Z
2023-06-26T23:12:32Z
2023-06-26T23:12:32Z
2023-06-26T23:12:35Z
TST: Clean plotting/test_misc.py
diff --git a/pandas/tests/plotting/test_misc.py b/pandas/tests/plotting/test_misc.py index 9c5de2918b9a4..53219e0d20b6d 100644 --- a/pandas/tests/plotting/test_misc.py +++ b/pandas/tests/plotting/test_misc.py @@ -117,12 +117,21 @@ def test_scatter_matrix_axis(self, pass_axis): ax=ax, ) ...
Splits or parameterizes large plotting tests
https://api.github.com/repos/pandas-dev/pandas/pulls/53864
2023-06-26T18:35:04Z
2023-06-26T23:12:45Z
2023-06-26T23:12:45Z
2023-06-26T23:12:48Z
CLN: Consolidate Dependencies
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4379220c33687..c9cd7528bcd2f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,18 +15,11 @@ default_stages: [ ci: autofix_prs: false repos: -- repo: local +- repo: https://github.com/hauntsaninja/black-pre-commit-mir...
Since pre-commit is the way we check for various style checks, we can remove other libraries that are contained in pre-commit. Also simplifies a pylint check
https://api.github.com/repos/pandas-dev/pandas/pulls/53863
2023-06-26T18:32:32Z
2023-07-06T20:19:17Z
2023-07-06T20:19:17Z
2023-07-06T20:19:21Z
TST: Simplify more slow tests
diff --git a/pandas/tests/arithmetic/test_numeric.py b/pandas/tests/arithmetic/test_numeric.py index a03c69d8e849c..455cae084b7c6 100644 --- a/pandas/tests/arithmetic/test_numeric.py +++ b/pandas/tests/arithmetic/test_numeric.py @@ -104,21 +104,24 @@ def test_compare_invalid(self): b.name = pd.Timestamp("2000-...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53862
2023-06-26T18:28:36Z
2023-06-26T23:15:17Z
2023-06-26T23:15:17Z
2023-06-26T23:15:20Z
TST: increase coverage of asfreq
diff --git a/pandas/tests/frame/methods/test_asfreq.py b/pandas/tests/frame/methods/test_asfreq.py index 47cebd31451e3..42997de78ecaa 100644 --- a/pandas/tests/frame/methods/test_asfreq.py +++ b/pandas/tests/frame/methods/test_asfreq.py @@ -211,3 +211,12 @@ def test_asfreq_after_normalize(self, unit): ) ...
In order to increase coverage of `asfreq` a test is added, in which we pass `freq = '2M'` to `asfreq`. There's no test which has a number with the frequency yet.
https://api.github.com/repos/pandas-dev/pandas/pulls/53861
2023-06-26T17:48:45Z
2023-06-27T08:21:44Z
2023-06-27T08:21:44Z
2023-06-27T08:24:15Z
Backport PR #53855: BUG: Fix string formatting
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 8e2b1dc315725..a1acc9d92c694 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -14,6 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed performance regression in ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53860
2023-06-26T17:29:50Z
2023-06-26T19:08:54Z
2023-06-26T19:08:54Z
2023-06-26T19:08:58Z
REF: share methods AM/BM
diff --git a/pandas/core/internals/array_manager.py b/pandas/core/internals/array_manager.py index 6e6b521ae7d74..a9bf24784d405 100644 --- a/pandas/core/internals/array_manager.py +++ b/pandas/core/internals/array_manager.py @@ -6,7 +6,6 @@ import itertools from typing import ( TYPE_CHECKING, - Any, Call...
- [ ] 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/53859
2023-06-26T15:25:34Z
2023-06-27T00:56:41Z
2023-06-27T00:56:41Z
2023-06-27T01:45:15Z
BUG: Fix pandas compatibility with Python installations lacking bzip2 headers
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 517baa648d805..8d3ee7824919c 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -453,6 +453,7 @@ I/O - Bug in :func:`read_html`, tail texts were removed together with elements containing ``display:none``...
- [x] Fixes #53857 - [x] Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature. This simple change makes the `bz2` import optional. Some Python installations do not contain bzip2 headers, so unless you are working with bzip compression, there is no reason for pand...
https://api.github.com/repos/pandas-dev/pandas/pulls/53858
2023-06-26T12:30:05Z
2023-07-07T19:08:43Z
2023-07-07T19:08:43Z
2023-07-07T19:08:51Z
BUG: to_sql fails for pyarrow date dtype (#53854)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 7b9efd7f593dd..fbcb4b05ae34a 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -364,12 +364,14 @@ Datetimelike - :meth:`DatetimeIndex.map` with ``na_action="ignore"`` now works as expected. (:issue:`516...
- [x] closes #53854 - [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/53856
2023-06-26T12:15:12Z
2023-06-26T20:18:50Z
2023-06-26T20:18:50Z
2023-06-26T20:18:57Z
BUG: Fix string formatting
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 3e12af946e661..8aab1e7b58f5e 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -14,6 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed performance regression in ...
- [x] closes #52690 - [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/53855
2023-06-26T11:28:57Z
2023-06-26T17:24:42Z
2023-06-26T17:24:42Z
2023-06-26T17:28:14Z
DOC: Remove incorrect line "Pass tuple or list to drop on multiple axes." from dropna docs
diff --git a/.circleci/config.yml b/.circleci/config.yml index ac28728685ce4..e704c37df3e45 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: test-arm: machine: - image: ubuntu-2004:202101-01 + image: ubuntu-2004:2022.04.1 resource_class: arm.la...
Remove incorrect line "Pass tuple or list to drop on multiple axes." from `dropna` docs, as the ability to drop on multiple axes has been depreciated.
https://api.github.com/repos/pandas-dev/pandas/pulls/53852
2023-06-26T07:14:00Z
2023-06-27T04:55:34Z
null
2023-06-27T04:55:42Z
Backport PR #52150 on branch 2.0.x (Fix/mpl37 compat)
diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py index 754cc94b6ded6..88244018079d2 100644 --- a/pandas/plotting/_matplotlib/core.py +++ b/pandas/plotting/_matplotlib/core.py @@ -1112,7 +1112,9 @@ def _get_subplots(self): from matplotlib.axes import Subplot retu...
Backport PR #52150: Fix/mpl37 compat closes #53553
https://api.github.com/repos/pandas-dev/pandas/pulls/53850
2023-06-25T23:49:03Z
2023-06-26T04:04:49Z
2023-06-26T04:04:49Z
2023-06-26T04:05:16Z
CI: Backport changes to fix unreliable tests on ARM
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py index 998ac9c8395ce..bdd54b5cf9ede 100644 --- a/pandas/tests/frame/indexing/test_setitem.py +++ b/pandas/tests/frame/indexing/test_setitem.py @@ -61,7 +61,7 @@ class mystring(str): "dtype", ["int32", "int64",...
- [ ] closes #53791 (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/53849
2023-06-25T22:27:06Z
2023-06-26T03:06:47Z
2023-06-26T03:06:47Z
2023-06-26T03:06:49Z
DOC: parameterize "See Also" content in `read_table` and `read_csv` so that only the other function appears
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index 153899e023137..d6dec01372e74 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -427,7 +427,7 @@ See Also -------- DataFrame.to_csv : Write DataFrame to a comma-separated values (csv) file. -read_csv : Read a ...
- [x] closes #53847 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Note: this was the least invasive way to update it and I think it's probably sufficient. The only duplication introduced would be repeating the "summary" lines for each of...
https://api.github.com/repos/pandas-dev/pandas/pulls/53848
2023-06-25T21:43:19Z
2023-06-26T17:32:36Z
2023-06-26T17:32:36Z
2023-06-26T22:20:23Z
REF: remove axis keyword from Manager/Block.shift
diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py index 0100c17805d76..f586de3d2bdee 100644 --- a/pandas/core/arrays/_mixins.py +++ b/pandas/core/arrays/_mixins.py @@ -238,7 +238,9 @@ def searchsorted( return self._ndarray.searchsorted(npvalue, side=side, sorter=sorter) @doc(Ext...
This adds an assertion to NDFrame.shift that won't be Technically Correct until #53832 is merged.
https://api.github.com/repos/pandas-dev/pandas/pulls/53845
2023-06-25T19:08:29Z
2023-06-27T17:25:41Z
2023-06-27T17:25:41Z
2023-06-27T17:26:47Z
BUG: complex Series/DataFrame display all complex nans as `nan+0j`
diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py index 6cc00ffc8889c..2fd284323fc5e 100644 --- a/pandas/io/formats/format.py +++ b/pandas/io/formats/format.py @@ -1492,6 +1492,35 @@ def format_with_na_rep(values: ArrayLike, formatter: Callable, na_rep: str): ).reshape(values.shape) ...
- [x] Closes #53841 - [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] *I assume that this does not need a chan...
https://api.github.com/repos/pandas-dev/pandas/pulls/53844
2023-06-25T16:43:00Z
2023-06-26T17:46:48Z
2023-06-26T17:46:48Z
2023-06-28T05:40:15Z
ENH: Improving Index Page
diff --git a/web/pandas/index.html b/web/pandas/index.html index 3d2e5363a2a2d..e467edc3c92e2 100644 --- a/web/pandas/index.html +++ b/web/pandas/index.html @@ -6,11 +6,11 @@ <section class="h-30 p-5 bg-light border rounded-3 text-center mb-4"> <h1>pandas</h1> ...
- [✅ ] closes #53840 - [✅] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [✅] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ...
https://api.github.com/repos/pandas-dev/pandas/pulls/53842
2023-06-25T13:21:57Z
2023-06-26T16:49:32Z
null
2023-06-26T16:49:33Z
DOC: update `read_clipboard` docstring to have proper formatting and all required sections.
diff --git a/pandas/io/clipboards.py b/pandas/io/clipboards.py index c25e184680f44..72ece9cd68be4 100644 --- a/pandas/io/clipboards.py +++ b/pandas/io/clipboards.py @@ -26,31 +26,44 @@ def read_clipboard( **kwargs, ): # pragma: no cover r""" - Read text from clipboard and pass to read_csv. + Read text...
- [x] closes #53837 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Added code formatting, function and class references, as well as 'see also' and 'examples' sections.
https://api.github.com/repos/pandas-dev/pandas/pulls/53838
2023-06-25T05:30:05Z
2023-06-26T17:41:23Z
2023-06-26T17:41:23Z
2023-06-26T22:21:35Z
DOC: Add description to `read_csv` chunksize parameter regarding number of lines in chunk
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index 153899e023137..63364331e89f9 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -293,7 +293,8 @@ ``TextFileReader`` is a context manager. chunksize : int, optional - Return ``TextFileReader`` object...
- [x] closes #53835 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Added one sentence to describe the meaning of `chunksize`.
https://api.github.com/repos/pandas-dev/pandas/pulls/53836
2023-06-25T04:41:34Z
2023-06-26T17:42:14Z
2023-06-26T17:42:14Z
2023-06-27T05:00:26Z