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
Add test for #32108 (error with groupby on series with period index)
diff --git a/pandas/tests/groupby/test_timegrouper.py b/pandas/tests/groupby/test_timegrouper.py index 06a83f4c000cf..84fd7a1bdfb05 100644 --- a/pandas/tests/groupby/test_timegrouper.py +++ b/pandas/tests/groupby/test_timegrouper.py @@ -769,3 +769,17 @@ def test_scalar_call_versus_list_call(self): expected = g...
- [ ] closes #32108
https://api.github.com/repos/pandas-dev/pandas/pulls/33105
2020-03-28T20:22:26Z
2020-06-24T22:36:00Z
2020-06-24T22:35:59Z
2020-06-24T22:36:04Z
Check error message for raised exception
diff --git a/pandas/core/arrays/period.py b/pandas/core/arrays/period.py index c24b0b5fa64b8..be9cc53d33d6f 100644 --- a/pandas/core/arrays/period.py +++ b/pandas/core/arrays/period.py @@ -166,7 +166,8 @@ def __init__(self, values, freq=None, dtype=None, copy=False): @classmethod def _simple_new(cls, values: ...
- [x] xref #30999 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/33103
2020-03-28T18:01:58Z
2020-03-29T15:25:46Z
2020-03-29T15:25:46Z
2020-03-29T15:25:50Z
PERF: fix performance regression in memory_usage(deep=True) for object dtype
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 2187668c96ca4..a3aff45afa116 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -619,4 +619,17 @@ def time_select_dtypes(self, n): self.df.select_dtypes(include="int")...
- [x] closes #33012 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The pull request is to update lib.memory_usage_of_objects from taking self.arrays to self._values. An ASV included to benchmark with and without o...
https://api.github.com/repos/pandas-dev/pandas/pulls/33102
2020-03-28T16:02:20Z
2020-03-31T00:11:46Z
2020-03-31T00:11:46Z
2020-03-31T00:25:23Z
TYP: require Index objects earlier in internals
diff --git a/pandas/core/internals/__init__.py b/pandas/core/internals/__init__.py index e70652b81c42f..bc45b7c74ecc1 100644 --- a/pandas/core/internals/__init__.py +++ b/pandas/core/internals/__init__.py @@ -18,8 +18,6 @@ BlockManager, SingleBlockManager, concatenate_block_managers, - create_block_ma...
https://api.github.com/repos/pandas-dev/pandas/pulls/33100
2020-03-28T14:54:30Z
2020-04-04T00:21:32Z
2020-04-04T00:21:32Z
2020-04-04T00:43:59Z
DOC iris.csv file has moved
diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index 47a4fd8ff0e95..0d24a785b0be2 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -359,7 +359,7 @@ def parallel_coordinates( -------- >>> from matplotlib import pyplot as plt >>> df = pd.read_csv('https://raw.github...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/33099
2020-03-28T14:47:04Z
2020-03-30T03:52:35Z
2020-03-30T03:52:35Z
2020-04-14T02:14:36Z
TST: GroupBy(..., as_index=True).agg() drops index
diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index 962288d5d59e1..1b726860eeb66 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -809,7 +809,17 @@ def test_aggregate_mixed_types(): ...
- [x] closes #28641 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` While searching for related issue for my other pull request, I found that this issue must have been fixed with another commit in the past (don't know when this issue was ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33098
2020-03-28T13:19:45Z
2020-06-15T22:53:27Z
2020-06-15T22:53:27Z
2020-06-16T07:29:21Z
STYLE: fix pylint self-assigning-variable warnings
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index a5641465b0be0..0c99ae4b8e03d 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -877,7 +877,7 @@ def assert_series_equal( ) if check_like: - left, right = left.reindex_like(right), right + ...
Related to https://github.com/pandas-dev/pandas/issues/48855 - [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/contr...
https://api.github.com/repos/pandas-dev/pandas/pulls/49919
2022-11-26T20:01:30Z
2022-11-26T22:11:56Z
2022-11-26T22:11:56Z
2022-11-26T22:11:56Z
DOC: Table Visualization gets Error for cell #49874
diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb index 43021fcbc13fb..fc0ba116dcb3f 100644 --- a/doc/source/user_guide/style.ipynb +++ b/doc/source/user_guide/style.ipynb @@ -76,7 +76,7 @@ "source": [ "# Hidden cell to just create the below example: code is covered throughout ...
- [x] closes #49874 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Building the documentation passes locally.
https://api.github.com/repos/pandas-dev/pandas/pulls/49918
2022-11-26T19:41:11Z
2022-11-27T18:10:41Z
2022-11-27T18:10:41Z
2022-11-27T18:10:41Z
BLD: Move options to pyproject.toml
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc6875589c691..6c8e068b5565c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -270,6 +270,7 @@ repos: entry: python scripts/validate_min_versions_in_sync.py language: python files: ^(ci/deps/actions-.*-m...
- [ ] 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/49917
2022-11-26T17:38:36Z
2022-11-29T18:59:37Z
2022-11-29T18:59:37Z
2023-01-23T01:01:10Z
DEPR: Change default of numeric_only to False in Resampler methods
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index bc922bace053a..97ee96d8be25d 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -573,6 +573,7 @@ Removal of prior version deprecations/changes - Changed default of ``numeric_only`` to ``False`` in :meth:...
- [ ] 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/49915
2022-11-26T13:51:39Z
2022-11-26T16:20:57Z
2022-11-26T16:20:57Z
2022-11-27T14:49:19Z
DOC: update running the test suite documentation
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index 08339b8c068ea..91f3d51460f99 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -777,6 +777,14 @@ install pandas) by typing:: ...
- [x] closes #48060 - [ ] [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/49914
2022-11-26T12:28:30Z
2022-11-28T20:29:06Z
2022-11-28T20:29:06Z
2022-12-01T12:13:57Z
Fix some little-endian assumptions in the tests
diff --git a/pandas/tests/arrays/floating/test_arithmetic.py b/pandas/tests/arrays/floating/test_arithmetic.py index ec7419d6346a8..f207540a76f2a 100644 --- a/pandas/tests/arrays/floating/test_arithmetic.py +++ b/pandas/tests/arrays/floating/test_arithmetic.py @@ -162,7 +162,10 @@ def test_error_invalid_values(data, al...
See previous [PR#46681](https://github.com/pandas-dev/pandas/pull/46681). - [ ] closes #xxxx **N/A** - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature **N/A, fixes some existing test failures on s390...
https://api.github.com/repos/pandas-dev/pandas/pulls/49913
2022-11-25T17:45:59Z
2022-11-28T21:17:42Z
2022-11-28T21:17:42Z
2022-11-28T21:17:52Z
API: various .value_counts() result in different names / indices
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 4039276caa0af..7d9b648887f1a 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -330,6 +330,36 @@ a supported dtype: pd.Series(["2016-01-01"], dtype="datetime64[D]") +.. _whatsnew_200.api_breaking...
- [ ] closes #49497 (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/49912
2022-11-25T17:12:05Z
2023-02-01T16:06:21Z
2023-02-01T16:06:21Z
2023-02-01T16:06:22Z
STYLE: Enable unnecessary list index lookup
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 8246d3a7e5c96..09cd989b5ca9d 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -4368,7 +4368,7 @@ def write_data(self, chunksize: int | None, dropna: bool = False) -> None: bvalues = [] for i, v in enumerate(values): ...
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Associated with #48855. Enables the Pylint type "R" warning `unnecessary-list-index-lookup`. Also updates the list of intentionally disabled checks.
https://api.github.com/repos/pandas-dev/pandas/pulls/49911
2022-11-25T17:10:50Z
2022-11-28T16:58:53Z
2022-11-28T16:58:53Z
2022-11-28T17:04:00Z
BUG: SeriesGroupBy.apply sets name attribute if result is DataFrame
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index e7428956c50b5..e0bcd81805cc1 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -16,6 +16,7 @@ Fixed regressions - Fixed performance regression in :meth:`Series.isin` when ``values`` is empty (:issue:`49...
- [ ] closes #49907 (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/49908
2022-11-25T14:50:54Z
2022-11-27T16:05:17Z
2022-11-27T16:05:16Z
2022-11-27T16:05:34Z
manual backport of DEPR Enforce reversion of Size color aliases
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index d65446604a83f..e7428956c50b5 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed performance regression in :meth:`Series.isin` when ``values`` 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/49895
2022-11-24T15:34:22Z
2022-11-24T17:20:08Z
2022-11-24T17:20:08Z
2022-11-24T17:20:08Z
BUG: Do not fail when parsing pydatetime objects in pd.to_datetime
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 1fb9a81e85a83..2a2941c7ff9a5 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -637,6 +637,7 @@ Datetimelike - Bug in subtracting a ``datetime`` scalar from :class:`DatetimeIndex` failing to retain the ...
- [x] closes #49298 (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/49893
2022-11-24T14:34:21Z
2022-12-01T19:56:45Z
2022-12-01T19:56:45Z
2022-12-05T19:58:55Z
DEPR: Change numeric_only to False in various groupby ops
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 97ee96d8be25d..3833d5ebbdedb 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -572,7 +572,7 @@ Removal of prior version deprecations/changes - Changed default of ``numeric_only`` to ``False`` in all Da...
- [ ] 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/49892
2022-11-24T14:33:53Z
2022-11-28T22:52:55Z
2022-11-28T22:52:55Z
2022-11-28T23:47:41Z
BUG: Series(nullable).tolist() -> numpy scalars
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 42170aaa09978..dad7249de64d8 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -761,6 +761,7 @@ Sparse ExtensionArray ^^^^^^^^^^^^^^ - Bug in :meth:`Series.mean` overflowing unnecessarily with nullabl...
- [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/49890
2022-11-24T14:18:47Z
2022-11-29T20:51:41Z
2022-11-29T20:51:41Z
2022-12-20T00:46:25Z
Backport PR #49886 on branch 1.5.x (CI: Remove deprecated numpy dtype aliases)
diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py index d871f907232f5..10390cb4493cd 100644 --- a/asv_bench/benchmarks/sparse.py +++ b/asv_bench/benchmarks/sparse.py @@ -219,12 +219,12 @@ def setup(self, fill_value): d = 1e-5 arr = make_array(N, d, np.nan, np.float64) ...
Backport PR #49886: CI: Remove deprecated numpy dtype aliases
https://api.github.com/repos/pandas-dev/pandas/pulls/49887
2022-11-24T11:59:17Z
2022-11-24T14:06:03Z
2022-11-24T14:06:03Z
2022-11-24T14:06:03Z
CI: Remove deprecated numpy dtype aliases
diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py index d871f907232f5..10390cb4493cd 100644 --- a/asv_bench/benchmarks/sparse.py +++ b/asv_bench/benchmarks/sparse.py @@ -219,12 +219,12 @@ def setup(self, fill_value): d = 1e-5 arr = make_array(N, d, np.nan, np.float64) ...
- [ ] 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/49886
2022-11-24T10:00:16Z
2022-11-24T11:58:42Z
2022-11-24T11:58:42Z
2022-11-24T12:00:12Z
REF: remove _time_shift
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index d32d664aae22b..be20d825b0c80 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -70,7 +70,6 @@ from pandas.errors import ( AbstractMethodError, InvalidComparison, - NullFrequ...
One of a number of steps to getting `freq` out of DTA/TDA. Only user-facing change is a slightly-improved exception message for PeriodIndex.shift
https://api.github.com/repos/pandas-dev/pandas/pulls/49882
2022-11-24T00:44:18Z
2022-11-24T14:10:57Z
2022-11-24T14:10:57Z
2022-11-24T15:37:25Z
48855 style fix pylint issues pointless string statement
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 64bd66bb5fe0d..9772788fe2b9d 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -587,20 +587,18 @@ def _dtype_to_subclass(cls, dtype: DtypeObj): raise NotImplementedError(dtype) - """ - NOTE for ne...
- [ ] Accomplishes a task for #48855 - [ ] [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#pr...
https://api.github.com/repos/pandas-dev/pandas/pulls/49880
2022-11-24T00:03:11Z
2022-11-29T08:12:36Z
2022-11-29T08:12:36Z
2022-11-29T08:12:37Z
CLN: move coverage config to pyproject.toml
diff --git a/pyproject.toml b/pyproject.toml index 74779e181abc4..7b4c9425d557c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -306,3 +306,32 @@ reportOptionalOperand = false reportOptionalSubscript = false reportPrivateImportUsage = false reportUnboundVariable = false + +[tool.coverage.run] +branch = true +omi...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/49879
2022-11-23T23:52:11Z
2022-11-24T14:53:24Z
2022-11-24T14:53:24Z
2022-11-27T00:14:35Z
BUG: MultiIndex.join losing dtype
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 42170aaa09978..973c51307ed9c 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -705,6 +705,7 @@ MultiIndex - Bug in :meth:`MultiIndex.union` not sorting when sort=None and index contains missing values ...
- [x] closes #49830 (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/49877
2022-11-23T23:12:29Z
2022-11-29T22:43:07Z
2022-11-29T22:43:07Z
2022-11-30T23:01:28Z
ENH: Add support for ea dtypes in merge
diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py index d9fb3c8a8ff89..fdbf325dcf997 100644 --- a/asv_bench/benchmarks/join_merge.py +++ b/asv_bench/benchmarks/join_merge.py @@ -273,6 +273,38 @@ def time_merge_dataframes_cross(self, sort): merge(self.left.loc[:2000], self.rig...
- [x] closes #44240 (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/49876
2022-11-23T22:40:14Z
2022-11-29T23:00:24Z
2022-11-29T23:00:24Z
2022-11-30T23:01:42Z
BUG: constructors
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index be81e462c30ea..cfd5ceacf012d 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -622,6 +622,8 @@ Categorical ^^^^^^^^^^^ - Bug in :meth:`Categorical.set_categories` losing dtype information (:issue:`488...
- [x] closes #49292 (Replace xxxx with the GitHub issue number) - [x] closes #44917 (Replace xxxx with the GitHub issue number) - [x] closes #49309 (Replace xxxx with the GitHub issue number) - [x] closes #41805 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pan...
https://api.github.com/repos/pandas-dev/pandas/pulls/49875
2022-11-23T22:11:03Z
2022-11-29T04:11:56Z
2022-11-29T04:11:56Z
2022-11-29T15:40:54Z
Remove inline from cython classes
diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx index fcd30ab1faec8..7fcba58772ac4 100644 --- a/pandas/_libs/algos.pyx +++ b/pandas/_libs/algos.pyx @@ -70,7 +70,7 @@ tiebreakers = { } -cdef inline bint are_diff(object left, object right): +cdef bint are_diff(object left, object right): try: ...
Part of #33926 adding `-Winline` to the compiler options for me generates a 14 MB file with 157,000 lines of warnings about how functions aren't getting inlined. I doubt that any of our Cython inline functions actually get inlined, but figured these are easiest to start with. The cython documentation itself states t...
https://api.github.com/repos/pandas-dev/pandas/pulls/49873
2022-11-23T21:07:19Z
2022-12-06T17:17:42Z
2022-12-06T17:17:42Z
2023-04-12T20:16:56Z
CI/BENCH: Make CategoricalIndexIndexing benchmark less flaky
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 3efc39c7e1efe..1c9da3f1ed9df 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -3,8 +3,6 @@ lower-level methods directly on Index and subclasses, see index_object.py, indexing_engine.py, and in...
Resizing `data_unique` to be the same length as `data` which maybe is some source of flakiness since `data_unique` was 3x `data`
https://api.github.com/repos/pandas-dev/pandas/pulls/49870
2022-11-23T19:43:23Z
2022-11-26T16:10:15Z
2022-11-26T16:10:15Z
2022-11-27T01:24:56Z
Backport PR #49864 on branch 1.5.x (REGR: DataFrameGroupBy.transform with reducer and as_index=False returns null values)
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index d35d3bf8b89ca..d65446604a83f 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -14,6 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed performance regression in ...
Backport PR #49864: REGR: DataFrameGroupBy.transform with reducer and as_index=False returns null values
https://api.github.com/repos/pandas-dev/pandas/pulls/49868
2022-11-23T18:03:20Z
2022-11-24T16:46:31Z
2022-11-24T16:46:31Z
2022-11-24T16:46:31Z
REF factor out parse_pydatetime from array_to_datetime
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index e01de6b70470e..5679ea9306c72 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -50,7 +50,9 @@ from pandas._libs.tslibs.conversion cimport ( _TSObject, cast_from_unit, convert_datetime_to_tsobject, + convert_timezone, ...
- [ ] 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/49866
2022-11-23T15:51:54Z
2022-11-24T08:05:42Z
2022-11-24T08:05:42Z
2022-11-24T08:05:42Z
REGR: DataFrameGroupBy.transform with reducer and as_index=False returns null values
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index d35d3bf8b89ca..d65446604a83f 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -14,6 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed performance regression in ...
- [x] closes #49834 (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/49864
2022-11-23T13:25:58Z
2022-11-23T18:03:06Z
2022-11-23T18:03:06Z
2022-11-24T12:56:07Z
CLN Simplify tz / utc arguments
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index 4ea6b9ceee833..0c90011d28a60 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -2134,7 +2134,7 @@ def objects_to_datetime64ns( dayfirst : bool yearfirst : bool utc : bool, default Fals...
- [ ] 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/49863
2022-11-23T11:10:29Z
2022-11-23T17:22:31Z
2022-11-23T17:22:31Z
2022-11-23T17:22:37Z
Backport PR #49839 on branch 1.5.x (PERF: Fix performance regression in isin for empty values)
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index 405b46db88360..d35d3bf8b89ca 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -13,7 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- +- Fixed performance regressio...
Backport PR #49839: PERF: Fix performance regression in isin for empty values
https://api.github.com/repos/pandas-dev/pandas/pulls/49860
2022-11-23T09:07:59Z
2022-11-23T11:11:17Z
2022-11-23T11:11:17Z
2022-11-23T12:14:02Z
WEB: Formalize workgroups
diff --git a/web/pandas/about/team.md b/web/pandas/about/team.md index 261d577b2abc1..c3e5ef0a968eb 100644 --- a/web/pandas/about/team.md +++ b/web/pandas/about/team.md @@ -44,22 +44,26 @@ Wes McKinney is the Benevolent Dictator for Life (BDFL). The project governance is available in the [project governance page](go...
Adding to our `Team` page the different workgroups we more or less already have, with their responsibilities. So, things become more formal, and it's easier to manage expectations. I wonder if it'd be useful to add the email addresses to contact the different workgroups here. Open to opinions. CC: @pandas-dev/pan...
https://api.github.com/repos/pandas-dev/pandas/pulls/49859
2022-11-23T06:41:52Z
2022-12-27T05:59:16Z
2022-12-27T05:59:16Z
2022-12-27T05:59:16Z
DOC: Add release process to the docs
diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst index df557585c6156..9e32e43f30dfc 100644 --- a/doc/source/development/maintaining.rst +++ b/doc/source/development/maintaining.rst @@ -345,7 +345,148 @@ The benchmarks are scheduled by Airflow. It has a dashboard for viewing a...
This was in a branch in the release repo, and not fully updated. I expect to automate some of the tasks shortly, but having the current release process here while things are improved is still helpful. The final testing before the release is not added here. I think that's the first thing to move to the CI. CC: @li...
https://api.github.com/repos/pandas-dev/pandas/pulls/49858
2022-11-23T06:24:53Z
2022-11-25T19:13:30Z
2022-11-25T19:13:30Z
2022-11-25T19:13:42Z
Revert "Vendored klib quadatric probing (#49197)"
diff --git a/pandas/_libs/src/klib/khash.h b/pandas/_libs/src/klib/khash.h index 6bc560c5ce576..e17d82d51f0fb 100644 --- a/pandas/_libs/src/klib/khash.h +++ b/pandas/_libs/src/klib/khash.h @@ -47,16 +47,6 @@ int main() { */ /* - 2013-05-02 (0.2.8): - * Use quadratic probing. When the capacity is power of 2, steppi...
This reverts commit 2317bf08ed172048a66a0533645ebc1886939417. @rhshadrach
https://api.github.com/repos/pandas-dev/pandas/pulls/49855
2022-11-23T03:37:19Z
2022-11-23T18:11:30Z
2022-11-23T18:11:30Z
2022-11-23T21:43:48Z
Fix STYLE #49656: concat.py and merge.py
diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py index 0592db8ad608d..d1a252f727e90 100644 --- a/pandas/core/internals/concat.py +++ b/pandas/core/internals/concat.py @@ -1,6 +1,6 @@ from __future__ import annotations -import copy +import copy as cp import itertools from typing import...
- [x] xref #49656 - [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). - [ ] A...
https://api.github.com/repos/pandas-dev/pandas/pulls/49853
2022-11-23T02:45:05Z
2022-11-23T08:48:04Z
2022-11-23T08:48:04Z
2022-11-23T08:48:05Z
DOC/REF: Clarify pip extras dependencies & cleanups
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index d4d7ee5efcbb0..8e8f61c1d503f 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -139,6 +139,16 @@ pandas can be installed via pip from pip install pandas +pandas c...
Clarifying that https://github.com/pandas-dev/pandas/pull/47336 is specifically for managing `pip` installation of optional dependencies
https://api.github.com/repos/pandas-dev/pandas/pulls/49852
2022-11-23T02:36:05Z
2022-11-24T18:03:41Z
2022-11-24T18:03:41Z
2022-11-24T18:03:45Z
PERF: BaseMaskedArray.__iter__
diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py index 18c5be3b421f9..d535e37c89648 100644 --- a/asv_bench/benchmarks/series_methods.py +++ b/asv_bench/benchmarks/series_methods.py @@ -348,4 +348,37 @@ def time_rank(self, dtype): self.s.rank() +class Iter: + + ...
- [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/49851
2022-11-23T01:29:51Z
2022-11-23T18:43:56Z
2022-11-23T18:43:56Z
2022-12-20T00:46:23Z
CLN: assorted
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index be81e462c30ea..1dd163d2d6039 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -467,12 +467,12 @@ Removal of prior version deprecations/changes - Disallow passing non-keyword arguments to :meth:`DataFra...
- [ ] 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/49850
2022-11-23T00:55:33Z
2022-11-23T22:57:44Z
2022-11-23T22:57:44Z
2022-12-24T03:54:41Z
BUG: MultiIndex.putmask losing ea dtype
diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py index 97c710be6d5a1..de55268e0407b 100644 --- a/asv_bench/benchmarks/multiindex_object.py +++ b/asv_bench/benchmarks/multiindex_object.py @@ -379,4 +379,26 @@ def time_isin_large(self, dtype): self.midx.isin(self...
- [x] xref #49830 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont...
https://api.github.com/repos/pandas-dev/pandas/pulls/49847
2022-11-22T23:04:30Z
2022-11-24T00:53:23Z
2022-11-24T00:53:23Z
2022-11-24T00:53:29Z
Backport PR #49843 on branch 1.5.x (DOC: Add whatsnew for 1.5.3)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 1050951ba1b5a..e2f3b45d47bef 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 1.5 .. toctree:: :maxdepth: 2 + v1.5.3 v1.5.2 v1.5.1 v1.5.0 diff --git a/doc/source/...
Backport PR #49843: DOC: Add whatsnew for 1.5.3
https://api.github.com/repos/pandas-dev/pandas/pulls/49846
2022-11-22T22:59:39Z
2022-11-23T09:06:07Z
2022-11-23T09:06:07Z
2022-11-23T09:06:07Z
STYLE: fix pylint redefined-outer-name warning for file
diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py index 6a8c63fe8c5fe..97d054df8287f 100644 --- a/pandas/core/tools/datetimes.py +++ b/pandas/core/tools/datetimes.py @@ -26,7 +26,7 @@ iNaT, nat_strings, parsing, - timezones, + timezones as libtimezones, ) from pandas._l...
Associated with [#49656](https://github.com/pandas-dev/pandas/issues/49656). Fixes pylint warnings for `redefined-outer-name` on the following files: `pandas/core/tools/datetimes.py` - [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/49844
2022-11-22T21:19:15Z
2022-11-23T21:09:15Z
2022-11-23T21:09:15Z
2022-11-23T21:10:32Z
DOC: Add whatsnew for 1.5.3
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 8996bf8ba7de7..821f77dbba3e2 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.5 .. toctree:: :maxdepth: 2 + v1.5.3 v1.5.2 v1.5.1 v1.5.0 diff --git a/doc/source/...
cc @MarcoGorelli @datapythonista
https://api.github.com/repos/pandas-dev/pandas/pulls/49843
2022-11-22T20:52:08Z
2022-11-22T22:59:29Z
2022-11-22T22:59:29Z
2022-11-23T00:25:40Z
DEPR/API: DataFrame.shift(axis=1, fill_value=inty)
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 4d5c676e941ea..bac404496fa53 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -348,6 +348,7 @@ Other API changes - Changed behavior of :class:`Index` constructor with sequence containing at least one `...
- [ ] 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/49842
2022-11-22T19:09:49Z
2022-11-23T02:51:28Z
2022-11-23T02:51:28Z
2022-11-23T02:52:49Z
Backport PR #49811 on branch 1.5.x (DOC: Fix the Styler user guide table width issues)
diff --git a/doc/source/_static/css/pandas.css b/doc/source/_static/css/pandas.css index 25153b6a8ad5d..a08be3301edda 100644 --- a/doc/source/_static/css/pandas.css +++ b/doc/source/_static/css/pandas.css @@ -5,6 +5,10 @@ --pst-color-info: 23, 162, 184; } +table { + width: auto; /* Override fit-content which bre...
Backport PR #49811: DOC: Fix the Styler user guide table width issues
https://api.github.com/repos/pandas-dev/pandas/pulls/49841
2022-11-22T15:25:49Z
2022-11-22T18:10:49Z
2022-11-22T18:10:49Z
2022-11-22T18:10:49Z
PERF: Fix performance regression in isin for empty values
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index 405b46db88360..d35d3bf8b89ca 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -13,7 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- +- Fixed performance regressio...
- [ ] 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/49839
2022-11-22T14:53:17Z
2022-11-23T02:52:34Z
2022-11-23T02:52:34Z
2022-11-23T09:08:46Z
DEPR Enforce reversion of Size color aliases
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index d65446604a83f..e7428956c50b5 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed performance regression in :meth:`Series.isin` when ``values`` i...
- [ ] closes #49732 (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/49836
2022-11-22T10:50:31Z
2022-11-23T22:09:11Z
2022-11-23T22:09:11Z
2023-01-12T11:52:12Z
STYLE enable pylint: not-callable
diff --git a/pandas/core/base.py b/pandas/core/base.py index 4dbe755a20b0f..fb563fd640cfd 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -134,7 +134,7 @@ def __sizeof__(self) -> int: """ memory_usage = getattr(self, "memory_usage", None) if memory_usage: - mem = memo...
Issue #48855. This PR enables pylint warning: `not-callable` - [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/49833
2022-11-22T09:32:38Z
2022-11-22T10:16:09Z
2022-11-22T10:16:09Z
2022-11-22T10:16:10Z
DEPR: Enforce numeric_only=False in groupby sum/mean
diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py index 9c043e8db9389..9eeaaf97d8ac6 100644 --- a/asv_bench/benchmarks/reshape.py +++ b/asv_bench/benchmarks/reshape.py @@ -210,7 +210,7 @@ def time_pivot_table_categorical_observed(self): ) def time_pivot_table_margins_only_co...
- [ ] 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/49829
2022-11-22T03:01:21Z
2022-11-23T18:48:51Z
2022-11-23T18:48:51Z
2022-11-24T12:55:56Z
ENH: Add use_nullable_dtypes and nullable_backend global option to read_orc
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 6a63058dfab94..6e9dfdc1263b3 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -33,7 +33,7 @@ sql-other, html, xml, plot, output_formatting, clipboard, compression, test]`` ( Configuration option, ``io....
- [x] xref #https://github.com/pandas-dev/pandas/issues/48957 (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...
https://api.github.com/repos/pandas-dev/pandas/pulls/49827
2022-11-22T01:56:36Z
2022-11-23T00:00:30Z
2022-11-23T00:00:30Z
2022-11-23T00:00:32Z
PERF: ArrowExtensionArray.__iter__
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 20e99d007c798..6a63058dfab94 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -600,6 +600,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.join` when joining on a subset of a...
- [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/49825
2022-11-22T00:56:20Z
2022-11-22T18:26:10Z
2022-11-22T18:26:10Z
2022-12-20T00:46:22Z
ENH: timedelta_range unit keyword
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0e6d1029d352b..0f6029b00d9e2 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -62,6 +62,7 @@ Other enhancements - Fix ``test`` optional_extra by adding missing test package ``pytest-asyncio`` (: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/49824
2022-11-21T21:07:00Z
2022-11-22T02:07:17Z
2022-11-22T02:07:17Z
2022-11-22T02:56:47Z
DOC: Add Git documentation in resources to learn
diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index b230516c9c3e5..d0bda0ba42bd7 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -114,6 +114,7 @@ version control to allow many people to work together on the project. ...
Add Git documentation as one of the great resources to learn Git in `contributing.rst`.
https://api.github.com/repos/pandas-dev/pandas/pulls/49823
2022-11-21T20:19:19Z
2022-11-22T02:18:52Z
2022-11-22T02:18:52Z
2022-11-22T02:18:59Z
STYLE: fix pylint redefined-outer-name warnings
diff --git a/pandas/util/_decorators.py b/pandas/util/_decorators.py index 8fef3a231a748..571c065c53351 100644 --- a/pandas/util/_decorators.py +++ b/pandas/util/_decorators.py @@ -77,7 +77,7 @@ def wrapper(*args, **kwargs) -> Callable[..., Any]: if alternative.__doc__: if alternative.__doc__.count("\n") ...
Fixed `redefined-outer-name` linting issue in the following files (Towards #49656) - `pandas/util/_decorators.py` - `pandas/util/_doctools.py` - `pandas/util/_test_decorators.py`
https://api.github.com/repos/pandas-dev/pandas/pulls/49822
2022-11-21T19:33:01Z
2022-11-22T08:57:59Z
2022-11-22T08:57:59Z
2022-11-22T17:34:55Z
TST: troubleshoot strict=False xfails
diff --git a/pandas/tests/base/test_unique.py b/pandas/tests/base/test_unique.py index 66cc000b9f458..b1b0479f397b1 100644 --- a/pandas/tests/base/test_unique.py +++ b/pandas/tests/base/test_unique.py @@ -105,9 +105,6 @@ def test_nunique_null(null_obj, index_or_series_obj): @pytest.mark.single_cpu -@pytest.mark.xf...
- [ ] 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/49820
2022-11-21T17:57:46Z
2022-12-13T16:16:28Z
2022-12-13T16:16:28Z
2022-12-13T16:16:35Z
STYLE enable pylint: non-parent-init-called
diff --git a/pandas/plotting/_matplotlib/boxplot.py b/pandas/plotting/_matplotlib/boxplot.py index dca477f388bbb..5060e48484fb5 100644 --- a/pandas/plotting/_matplotlib/boxplot.py +++ b/pandas/plotting/_matplotlib/boxplot.py @@ -53,12 +53,12 @@ class BP(NamedTuple): lines: dict[str, list[Line2D]] def __...
Issue #48855. This PR enables pylint type "W" warning: `non-parent-init-called` - [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/49819
2022-11-21T17:46:32Z
2022-11-22T10:17:41Z
2022-11-22T10:17:41Z
2022-11-22T10:17:41Z
API: NumericIndex([1 2, 3]).dtype should be int64 on 32-bit systems
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index c24c94a786068..0bc568fb122ed 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -4962,14 +4962,6 @@ def _raise_scalar_data_error(cls, data): f"kind, {repr(data)} was passed" ) - @final - ...
- [x] closes #49813 - [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/49815
2022-11-21T13:31:47Z
2022-11-22T21:24:11Z
2022-11-22T21:24:11Z
2022-11-22T22:34:27Z
DOC: Fix indendation in docstring sort_values 'by' parameter
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 7b181a3e8e391..a422c6a33d2d7 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -247,13 +247,13 @@ inplace : bool, default False Whether to modify the DataFrame rather than creating a new one.""", "optional_by": """ - ...
- [ ] 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/49812
2022-11-21T11:51:46Z
2022-11-25T19:16:25Z
2022-11-25T19:16:25Z
2022-11-25T19:16:31Z
DOC: Fix the Styler user guide table width issues
diff --git a/doc/source/_static/css/pandas.css b/doc/source/_static/css/pandas.css index 25153b6a8ad5d..a08be3301edda 100644 --- a/doc/source/_static/css/pandas.css +++ b/doc/source/_static/css/pandas.css @@ -5,6 +5,10 @@ --pst-color-info: 23, 162, 184; } +table { + width: auto; /* Override fit-content which bre...
Not sure if this has any other unintended consequences. Note that "auto" is the default table width setting in CSS when unspecified. This was the previous setting until 1.5.0 and an update to pydata-sphinx-theme seems to have changed this setting. Would like to check the rendered output to make sure this affects as ...
https://api.github.com/repos/pandas-dev/pandas/pulls/49811
2022-11-21T09:26:16Z
2022-11-22T15:21:55Z
2022-11-22T15:21:55Z
2022-11-22T17:25:09Z
Backport PR #49806 on branch 1.5.x (DOC: Update what's new notes for 1.5.2 release)
diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst index f2a61e9cd4e05..6397016d827f2 100644 --- a/doc/source/whatsnew/v1.5.2.rst +++ b/doc/source/whatsnew/v1.5.2.rst @@ -1,6 +1,6 @@ .. _whatsnew_152: -What's new in 1.5.2 (November ??, 2022) +What's new in 1.5.2 (November 21, 2022) -------...
Backport PR #49806: DOC: Update what's new notes for 1.5.2 release
https://api.github.com/repos/pandas-dev/pandas/pulls/49809
2022-11-21T05:20:36Z
2022-11-21T05:33:02Z
2022-11-21T05:33:02Z
2022-11-21T05:33:02Z
WEB: Remove interactive terminal
diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml index 1db8fb9a70254..d95de5deb3cdf 100644 --- a/.github/workflows/docbuild-and-upload.yml +++ b/.github/workflows/docbuild-and-upload.yml @@ -54,11 +54,6 @@ jobs: - name: Build documentation zip run: doc/make....
- [X] closes #47530 The terminal has always been pretty slow, and probably not very useful, and it has been broken for couple of months now. Removing it, we can consider adding it back once the project is more stable.
https://api.github.com/repos/pandas-dev/pandas/pulls/49807
2022-11-21T04:11:10Z
2022-11-25T19:14:49Z
2022-11-25T19:14:49Z
2022-12-21T14:51:40Z
DOC: Update what's new notes for 1.5.2 release
diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst index f2a61e9cd4e05..6397016d827f2 100644 --- a/doc/source/whatsnew/v1.5.2.rst +++ b/doc/source/whatsnew/v1.5.2.rst @@ -1,6 +1,6 @@ .. _whatsnew_152: -What's new in 1.5.2 (November ??, 2022) +What's new in 1.5.2 (November 21, 2022) -------...
xref #49194
https://api.github.com/repos/pandas-dev/pandas/pulls/49806
2022-11-21T03:43:06Z
2022-11-21T05:17:10Z
2022-11-21T05:17:10Z
2022-11-21T05:19:53Z
TYP: avoid inherit_names for DatetimeIndexOpsMixin
diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py index ea0c93e75f496..cad1fb431dd84 100644 --- a/pandas/core/indexes/datetimelike.py +++ b/pandas/core/indexes/datetimelike.py @@ -3,6 +3,10 @@ """ from __future__ import annotations +from abc import ( + ABC, + abstractmetho...
new version of #48015
https://api.github.com/repos/pandas-dev/pandas/pulls/49804
2022-11-20T18:07:15Z
2023-02-04T01:46:41Z
2023-02-04T01:46:41Z
2023-08-09T15:08:27Z
STYLE enable pylint: invalid-envvar-default
diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py index 78289174b7e68..e574ed2c8059a 100644 --- a/pandas/io/clipboard/__init__.py +++ b/pandas/io/clipboard/__init__.py @@ -69,7 +69,7 @@ # `import PyQt4` sys.exit()s if DISPLAY is not in the environment. # Thus, we need to detect the presen...
Issue #48855. This PR enables pylint type "W" warning: `invalid-envvar-default` - [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/49801
2022-11-20T14:07:59Z
2022-11-20T16:34:12Z
2022-11-20T16:34:12Z
2022-11-20T16:34:12Z
DEP Remove pytorch from environment.yml
diff --git a/asv_bench/benchmarks/frame_ctor.py b/asv_bench/benchmarks/frame_ctor.py index 20c0c0ea2f6fe..6fe346fd7283d 100644 --- a/asv_bench/benchmarks/frame_ctor.py +++ b/asv_bench/benchmarks/frame_ctor.py @@ -205,21 +205,4 @@ def time_frame_from_arrays_sparse(self): ) -class From3rdParty: - # GH#446...
- [ ] closes #49796 (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/49798
2022-11-20T08:08:29Z
2022-11-24T19:39:04Z
2022-11-24T19:39:04Z
2022-11-24T19:39:05Z
BUG: TimedeltaArray.astype(duration[{unit}][pyarrow])
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0e6d1029d352b..8c3b8cc573096 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -652,6 +652,8 @@ Conversion - Bug where any :class:`ExtensionDtype` subclass with ``kind="M"`` would be interpreted as a ti...
- [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/49795
2022-11-20T03:17:21Z
2022-11-22T02:09:33Z
2022-11-22T02:09:33Z
2022-12-20T00:46:29Z
VIS: Add xlabel/ylabel to `plot.hist()`
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0e6d1029d352b..41a141ae65981 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -64,6 +64,7 @@ Other enhancements - :func:`date_range` now supports a ``unit`` keyword ("s", "ms", "us", or "ns") to specif...
- [X] closes #49793 - [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). - [N...
https://api.github.com/repos/pandas-dev/pandas/pulls/49794
2022-11-19T22:11:15Z
2022-12-05T19:42:16Z
2022-12-05T19:42:16Z
2022-12-05T20:02:35Z
update io docs for OpenDocument Spreadsheets
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index b4bf3ef024d4c..53bcf6ffd7a8a 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -3827,22 +3827,28 @@ format of an Excel worksheet created with the ``to_excel`` method. Excellent ex OpenDocument Spreadsheets --...
- [x] closes #49790 - [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/49792
2022-11-19T21:35:14Z
2022-11-22T02:12:59Z
2022-11-22T02:12:58Z
2022-11-22T02:13:05Z
STYLE run autotyping with --no-format
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6aa1f5659365f..fbb2a14be6ea9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -287,5 +287,4 @@ repos: language: python additional_dependencies: - autotyping==22.9.0 - - black==22.6.0 - li...
autotyping runs `black` on its files as well (!) we already have a `black` hook though, so we avoid duplicating CPU instructions
https://api.github.com/repos/pandas-dev/pandas/pulls/49791
2022-11-19T18:30:34Z
2022-11-20T14:47:45Z
2022-11-20T14:47:45Z
2022-11-20T14:47:46Z
STYLE enable pylint: confusing-with-statement
diff --git a/pandas/tests/io/test_pickle.py b/pandas/tests/io/test_pickle.py index 930e547d5cba8..f07a4e3b58e86 100644 --- a/pandas/tests/io/test_pickle.py +++ b/pandas/tests/io/test_pickle.py @@ -283,8 +283,9 @@ def compress_file(self, src_path, dest_path, compression): raise ValueError(msg) if...
Issue #48855. This PR enables pylint type "W" warning: `confusing-with-statement` - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). After fixing the warning `confusing-with-statement` running `pandas/tests/io/test_pickle.py` raises an error ...
https://api.github.com/repos/pandas-dev/pandas/pulls/49789
2022-11-19T16:27:18Z
2022-11-19T19:29:56Z
2022-11-19T19:29:56Z
2022-11-19T19:29:56Z
Backport PR #49579 on Branch 1.5.x (BUG: Behaviour change in 1.5.0 when using Timedelta as Enum data type)
diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst index 64f57986cc3e4..f2a61e9cd4e05 100644 --- a/doc/source/whatsnew/v1.5.2.rst +++ b/doc/source/whatsnew/v1.5.2.rst @@ -20,7 +20,7 @@ Fixed regressions from being passed using the ``colormap`` argument if Matplotlib 3.6+ is used (:issue:`49...
#49579
https://api.github.com/repos/pandas-dev/pandas/pulls/49787
2022-11-19T10:40:30Z
2022-11-19T14:23:06Z
2022-11-19T14:23:06Z
2022-11-19T14:23:11Z
Backport PR STYLE enable pylint: method-cache-max-size-none
diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst index dd909415d9e85..4654b7630c882 100644 --- a/doc/source/whatsnew/v1.5.2.rst +++ b/doc/source/whatsnew/v1.5.2.rst @@ -27,7 +27,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Bug in the Copy-on-Write implementation losing track of views in c...
- [ ] 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/49784
2022-11-19T07:23:22Z
2022-11-19T09:36:58Z
2022-11-19T09:36:58Z
2022-11-19T09:36:59Z
Backport PR #49776 on branch 1.5.x (REGR: arithmetic ops recursion error with midx with different dtypes)
diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst index dd909415d9e85..c1fde3d13ef74 100644 --- a/doc/source/whatsnew/v1.5.2.rst +++ b/doc/source/whatsnew/v1.5.2.rst @@ -15,6 +15,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`MultiIndex.join` for extension array dtype...
Backport PR #49776: REGR: arithmetic ops recursion error with midx with different dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/49782
2022-11-18T23:28:43Z
2022-11-19T09:08:49Z
2022-11-19T09:08:49Z
2022-11-19T09:08:50Z
STYLE enable pylint: subprocess-run-check
diff --git a/asv_bench/benchmarks/package.py b/asv_bench/benchmarks/package.py index 34fe4929a752b..257c82cba8878 100644 --- a/asv_bench/benchmarks/package.py +++ b/asv_bench/benchmarks/package.py @@ -11,7 +11,7 @@ def time_import(self): # measurement of the import time we actually care about, # wit...
Issue #48855. This PR enables pylint type "W" warning: `subprocess-run-check` - [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/49781
2022-11-18T22:02:08Z
2022-11-19T13:05:36Z
2022-11-19T13:05:36Z
2022-11-19T13:05:37Z
Removed GNU strdup extension from JSON
diff --git a/pandas/_libs/src/headers/portable.h b/pandas/_libs/src/headers/portable.h index 3464fba963a5e..91b4702d32452 100644 --- a/pandas/_libs/src/headers/portable.h +++ b/pandas/_libs/src/headers/portable.h @@ -1,16 +1,10 @@ #ifndef _PANDAS_PORTABLE_H_ #define _PANDAS_PORTABLE_H_ -// To get `strdup` from stri...
Came up during some of the meson work @lithomas1 is doing. Looks like we allow non-portable GNU extensions in JSON, but these aren't upstream in ultrajson. Couldn't find a history of why we have this.
https://api.github.com/repos/pandas-dev/pandas/pulls/49780
2022-11-18T21:00:33Z
2022-11-23T00:09:48Z
2022-11-23T00:09:48Z
2023-04-12T20:16:57Z
CI: Limit pip extras check to Build tag
diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 762cb509be136..87f40270d8774 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -9,12 +9,14 @@ on: branches: - main - 1.5.x + types: [ labeled, opened, synchr...
xref https://github.com/pandas-dev/pandas/pull/49241#issuecomment-1320485994 cc @lithomas1
https://api.github.com/repos/pandas-dev/pandas/pulls/49778
2022-11-18T20:28:01Z
2022-11-23T02:35:07Z
2022-11-23T02:35:07Z
2022-11-23T02:36:15Z
DEPR: enforce Series constructor with int dtype deprs
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 60b870e572228..285d263be8ab5 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -545,6 +545,8 @@ Removal of prior version deprecations/changes - Changed behavior of setitem-like operations (``__setitem__...
- [ ] 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/49777
2022-11-18T20:05:01Z
2022-11-18T23:44:42Z
2022-11-18T23:44:42Z
2022-12-22T14:01:34Z
CI: Pin matplotlib < 3.8
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 682708d811878..2522605cf5c38 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -34,7 +34,7 @@ dependencies: - gcsfs>=2022.05.0 - jinja2>=3.1.2 - lxml>=4.8.0 - - matplotlib>=3.6.1 + - matplotlib>=3.6.1, <3.8 - numb...
- [ ] 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/55210
2023-09-20T01:55:39Z
2023-09-20T10:53:16Z
2023-09-20T10:53:16Z
2023-11-17T23:12:03Z
Backport PR #54952 on branch 2.1.x (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`) ...
Backport PR #54952: REGR: Arrow backed objects not propagating exceptions
https://api.github.com/repos/pandas-dev/pandas/pulls/55209
2023-09-20T01:50:12Z
2023-09-20T13:38:23Z
2023-09-20T13:38:23Z
2023-09-20T13:38:23Z
DOC: Add whatsnew for 2.1.2
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 1f12859e4081e..dbc7800196007 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.2 v2.1.1 v2.1.0 diff --git a/doc/source/whatsnew/...
- [ ] 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/55207
2023-09-19T23:57:31Z
2023-09-20T13:52:35Z
2023-09-20T13:52:35Z
2023-09-20T13:52:36Z
BUILD: Fix duplicate files warning
diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build index 1cf2c4343d844..fd632790546f6 100644 --- a/pandas/_libs/meson.build +++ b/pandas/_libs/meson.build @@ -114,9 +114,40 @@ foreach ext_name, ext_dict : libs_sources ) endforeach -py.install_sources( +# Basically just __init__.py and the .pyi fil...
- [ ] closes #54888 (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/55206
2023-09-19T23:12:27Z
2023-09-20T16:59:56Z
2023-09-20T16:59:56Z
2023-09-20T17:35:16Z
Backport PR #55189 on branch 2.1.x (Revert "DEPR: Deprecate returning a DataFrame in SeriesApply.apply_standard)
diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index 66ee571d6b5a5..b7a59516ae671 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -794,12 +794,12 @@ Apply index=["I", "II", "III"], ) - def make_df(ser): - new_vals = ...
Backport PR #55189: Revert "DEPR: Deprecate returning a DataFrame in SeriesApply.apply_standard
https://api.github.com/repos/pandas-dev/pandas/pulls/55205
2023-09-19T22:26:42Z
2023-09-20T15:53:48Z
2023-09-20T15:53:48Z
2023-09-20T15:53:49Z
Backport PR #55175 on branch 2.1.x (DEPS: Bump to 1.26 proper for Python 3.12)
diff --git a/pyproject.toml b/pyproject.toml index cfa767f808827..477c9be6274b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,7 @@ requires = [ # we don't want to force users to compile with 1.25 though # (Ideally, in the future, though, oldest-supported-numpy can be dropped when our min numpy...
Backport PR #55175: DEPS: Bump to 1.26 proper for Python 3.12
https://api.github.com/repos/pandas-dev/pandas/pulls/55203
2023-09-19T15:34:54Z
2023-09-19T22:16:39Z
2023-09-19T22:16:39Z
2023-09-19T22:16:39Z
BUG: RecursionError in loc.setitem
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 0fc4afc95a2ce..24bed22b3a3fe 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -266,6 +266,7 @@ Interval Indexing ^^^^^^^^ - Bug in :meth:`Index.difference` not returning a unique set of values when `...
- [x] closes #52927 (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/55201
2023-09-19T14:52:51Z
2023-09-19T17:21:30Z
2023-09-19T17:21:30Z
2023-09-20T21:52:19Z
Fix NameError in 'Evaluation order matters'
diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 52bc43f52b1d3..7541cf3c8af3c 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -1837,7 +1837,7 @@ This however is operating on a copy and will not work. :okwarning: :okexcept: -...
This code in 'Indexing and selecting data' of doc wouldn't execute - [ ] 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...
https://api.github.com/repos/pandas-dev/pandas/pulls/55198
2023-09-19T10:35:25Z
2023-09-19T20:04:56Z
2023-09-19T20:04:56Z
2023-09-19T21:45:39Z
TST: Test GroupBy.__getitem__ with a column from grouper
diff --git a/pandas/tests/groupby/test_grouping.py b/pandas/tests/groupby/test_grouping.py index d05b60fd56b5f..9e899bf453548 100644 --- a/pandas/tests/groupby/test_grouping.py +++ b/pandas/tests/groupby/test_grouping.py @@ -131,6 +131,20 @@ def test_getitem_single_column(self): tm.assert_series_equal(result...
- [x] closes #50383
https://api.github.com/repos/pandas-dev/pandas/pulls/55193
2023-09-19T00:39:07Z
2023-09-19T10:40:15Z
2023-09-19T10:40:15Z
2023-09-19T10:40:23Z
CLN: do not import Axes/Artist/Figure from matplotlib.pyplot
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index 0591394f5d9ed..d4e7e196dc2d4 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -416,7 +416,8 @@ def assert_attr_equal(attr: str, left, right, obj: str = "Attributes") -> None: def assert_is_valid_plot_retur...
See https://github.com/matplotlib/matplotlib/issues/26812 These were the only cases that I found.
https://api.github.com/repos/pandas-dev/pandas/pulls/55192
2023-09-18T22:30:30Z
2023-09-19T15:46:13Z
2023-09-19T15:46:13Z
2023-12-10T04:33:57Z
Backport PR #55185 on branch 2.1.x (CI: Fix no BLAS error in 32 bit build)
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 1445e5e822017..c1a0352b5f5c0 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -230,11 +230,13 @@ jobs: git -c user.email="you@example.com" merge --no-commit my_ref_name ...
Backport PR #55185: CI: Fix no BLAS error in 32 bit build
https://api.github.com/repos/pandas-dev/pandas/pulls/55191
2023-09-18T22:03:03Z
2023-09-18T23:32:21Z
2023-09-18T23:32:21Z
2023-09-18T23:32:21Z
TYP: Allow None in Period.strftime
diff --git a/pandas/_libs/tslibs/period.pyi b/pandas/_libs/tslibs/period.pyi index c85865fea8fd0..a4aecd2ce0a09 100644 --- a/pandas/_libs/tslibs/period.pyi +++ b/pandas/_libs/tslibs/period.pyi @@ -90,7 +90,7 @@ class Period(PeriodMixin): def _from_ordinal(cls, ordinal: int, freq) -> Period: ... @classmethod ...
- [ ] 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/55190
2023-09-18T21:50:56Z
2023-09-19T15:47:07Z
2023-09-19T15:47:07Z
2023-09-19T20:33:44Z
Revert "DEPR: Deprecate returning a DataFrame in SeriesApply.apply_standard
diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index 002e88533ab93..2d2c0a4db4df6 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -794,12 +794,12 @@ Apply index=["I", "II", "III"], ) - def make_df(ser): - new_vals = ...
Reasons for reverting: - This was done for performance reasons, but this kills the use case to unpack nested data (lists for example) - The deprecation is poorly done (axis 1 does not emit a warning) - There is no documentation what users should do, this is necessary if we deprecate something for performance reaso...
https://api.github.com/repos/pandas-dev/pandas/pulls/55189
2023-09-18T21:09:26Z
2023-09-19T22:25:37Z
2023-09-19T22:25:37Z
2023-09-19T22:41:55Z
STY: Fix precommit failure
diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx index 2178e972b4d08..2f6fa35cae070 100644 --- a/pandas/_libs/tslibs/timedeltas.pyx +++ b/pandas/_libs/tslibs/timedeltas.pyx @@ -1942,7 +1942,7 @@ class Timedelta(_Timedelta): ---------- freq : str Frequen...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/55186
2023-09-18T18:18:35Z
2023-09-18T19:00:45Z
2023-09-18T19:00:45Z
2023-09-18T19:00:48Z
CI: Fix no BLAS error in 32 bit build
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 98c6226b14075..139cfcde95b2c 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -230,11 +230,13 @@ jobs: git -c user.email="you@example.com" merge --no-commit my_ref_name ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/55185
2023-09-18T18:16:39Z
2023-09-18T22:02:54Z
2023-09-18T22:02:54Z
2023-09-18T22:02:58Z
Backport PR #55180 on branch 2.1.x (MAINT: Cleanup expired ndarray methods)
diff --git a/doc/source/user_guide/gotchas.rst b/doc/source/user_guide/gotchas.rst index c00a236ff4e9d..99c85ac66623d 100644 --- a/doc/source/user_guide/gotchas.rst +++ b/doc/source/user_guide/gotchas.rst @@ -379,7 +379,7 @@ constructors using something similar to the following: .. ipython:: python x = np.array(...
Backport PR #55180: MAINT: Cleanup expired ndarray methods
https://api.github.com/repos/pandas-dev/pandas/pulls/55184
2023-09-18T16:18:37Z
2023-09-18T18:20:06Z
2023-09-18T18:20:06Z
2023-09-18T18:20:06Z
Faster ensure_string_array
diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index 0c0610f72044e..23c8066b973f8 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -776,6 +776,7 @@ cpdef ndarray[object] ensure_string_array( cdef: Py_ssize_t i = 0, n = len(arr) bint already_copied = True + ndarray[...
Benchmarks are still using 0.29.x, but I think this also prevents a regression from upgrading to 3.X as noted in #55179 ```sh | Change | Before [f4f598fb] <main> | After [b12de6c8] <faster-ensure-string> | Ratio | Benchmark (Parameter) | |----------...
https://api.github.com/repos/pandas-dev/pandas/pulls/55183
2023-09-18T16:02:49Z
2023-09-20T22:39:03Z
2023-09-20T22:39:03Z
2023-10-20T20:29:20Z
DOC: correct an example in v0.14.0.rst to fix "NameError"
diff --git a/doc/source/whatsnew/v0.14.0.rst b/doc/source/whatsnew/v0.14.0.rst index 9c537b3a48c74..33c3de577c063 100644 --- a/doc/source/whatsnew/v0.14.0.rst +++ b/doc/source/whatsnew/v0.14.0.rst @@ -349,9 +349,15 @@ More consistent behavior for some groupby methods: - groupby head and tail respect column selection...
while building whatsnew/v0.14.0.rst the error occurs: ``` ----> 1 g[['B']].head(1) NameError: name 'g' is not defined ``` corrected the example to fix the error.
https://api.github.com/repos/pandas-dev/pandas/pulls/55182
2023-09-18T15:51:25Z
2023-09-18T20:19:01Z
2023-09-18T20:19:01Z
2023-09-18T22:53:30Z
MAINT: Cleanup expired ndarray methods
diff --git a/doc/source/user_guide/gotchas.rst b/doc/source/user_guide/gotchas.rst index c00a236ff4e9d..99c85ac66623d 100644 --- a/doc/source/user_guide/gotchas.rst +++ b/doc/source/user_guide/gotchas.rst @@ -379,7 +379,7 @@ constructors using something similar to the following: .. ipython:: python x = np.array(...
Hi! This PR reflects changes introduced in https://github.com/numpy/numpy/pull/24682.
https://api.github.com/repos/pandas-dev/pandas/pulls/55180
2023-09-17T17:22:19Z
2023-09-18T16:17:34Z
2023-09-18T16:17:33Z
2023-09-18T16:18:22Z
DEP: Use Cython 3.0
diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json index 810764754b7e1..9b0dc14fe6747 100644 --- a/asv_bench/asv.conf.json +++ b/asv_bench/asv.conf.json @@ -41,7 +41,7 @@ // pip (with all the conda available packages installed first, // followed by the pip installed packages). "matrix": { - ...
- [ ] 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/55179
2023-09-17T12:47:58Z
2023-11-16T20:27:32Z
2023-11-16T20:27:32Z
2023-11-16T21:10:34Z
DOC: added deprecation message in docs for DataFrame.rolling
diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py index becbba703f92c..72e94d049a9de 100644 --- a/pandas/core/window/rolling.py +++ b/pandas/core/window/rolling.py @@ -937,6 +937,11 @@ class Window(BaseWindow): For `Series` this parameter is unused and defaults to 0. + .. de...
- [ ] closes #55133 - [ ] 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/55177
2023-09-17T10:54:14Z
2023-09-18T19:42:38Z
2023-09-18T19:42:38Z
2023-09-18T19:42:45Z