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
DEPR: Remove top level numpy/datetime/Sparse object imports
diff --git a/doc/source/whatsnew/v0.19.0.rst b/doc/source/whatsnew/v0.19.0.rst index f2fdd23af1297..0c992cf3cc462 100644 --- a/doc/source/whatsnew/v0.19.0.rst +++ b/doc/source/whatsnew/v0.19.0.rst @@ -1245,10 +1245,9 @@ Previously, sparse data were ``float64`` dtype by default, even if all inputs we As of v0.19.0, spa...
Added in https://github.com/pandas-dev/pandas/pull/30656, https://github.com/pandas-dev/pandas/pull/30489, https://github.com/pandas-dev/pandas/pull/30386
https://api.github.com/repos/pandas-dev/pandas/pulls/49218
2022-10-20T22:34:31Z
2022-10-21T20:27:43Z
2022-10-21T20:27:43Z
2022-10-21T20:27:47Z
CLN: ArrowExtensionArray.take post pyarrow bump
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index f18664915d015..00977e018037d 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -666,12 +666,7 @@ def take( result = self._data.take(indices_array) if isna(fi...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/49216
2022-10-20T21:34:57Z
2022-10-21T20:03:44Z
null
2022-10-21T20:03:47Z
STYLE: fix some consider-using-enumerate pylint warnings
diff --git a/pandas/core/array_algos/take.py b/pandas/core/array_algos/take.py index 19c19c66a7256..8dc855bd25f78 100644 --- a/pandas/core/array_algos/take.py +++ b/pandas/core/array_algos/take.py @@ -549,13 +549,9 @@ def _take_2d_multi_object( out[row_mask, :] = fill_value if col_needs: ...
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/49214
2022-10-20T18:16:01Z
2022-10-21T17:15:54Z
2022-10-21T17:15:54Z
2022-10-29T20:19:32Z
STYLE fix: pylint "consider-using-in" warning
diff --git a/pandas/core/computation/pytables.py b/pandas/core/computation/pytables.py index f0f3e7f19db50..043f05ca0a38f 100644 --- a/pandas/core/computation/pytables.py +++ b/pandas/core/computation/pytables.py @@ -211,7 +211,7 @@ def stringify(value): kind = ensure_decoded(self.kind) meta = ensur...
- [x] Refers to one of the issues in https://github.com/pandas-dev/pandas/issues/48855 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html) I have enabled "consider-using-in" in pylint and fixed the parts in the code corresponding to it. Let me know if ...
https://api.github.com/repos/pandas-dev/pandas/pulls/49213
2022-10-20T16:52:30Z
2022-10-21T13:52:09Z
2022-10-21T13:52:09Z
2022-10-21T13:52:09Z
Style concats
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index b6c1c857717c7..e6e81b1ea0f8d 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -25,6 +25,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Bug in :meth:`.Styler.to_excel` leading to error when unrecognized...
- [x] closes #49207 - [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/49212
2022-10-20T16:21:34Z
2022-12-12T07:23:03Z
2022-12-12T07:23:03Z
2022-12-12T20:15:45Z
Backport PR #48220: WEB: Use mambaforge for the getting started installation instructions?
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index 95803b5be76c3..26692057f3e23 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -75,6 +75,11 @@ If you want to run checks on all rec...
- [ ] 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/49211
2022-10-20T15:58:38Z
2022-10-21T17:50:30Z
2022-10-21T17:50:30Z
2022-10-21T17:50:30Z
Backport PR #49205 on branch 1.5.x (Removed gitter from contributing_environment.rst)
diff --git a/doc/source/development/community.rst b/doc/source/development/community.rst index 8046090c36e6f..59689a2cf51d1 100644 --- a/doc/source/development/community.rst +++ b/doc/source/development/community.rst @@ -100,6 +100,8 @@ The pandas mailing list `pandas-dev@python.org <mailto://pandas-dev@python convers...
Backport PR #49205: Removed gitter from contributing_environment.rst
https://api.github.com/repos/pandas-dev/pandas/pulls/49210
2022-10-20T15:51:38Z
2022-10-20T17:28:23Z
2022-10-20T17:28:23Z
2022-10-20T17:28:24Z
Backport PR #49204 on branch 1.5.x (Removed gitter from contributing.rst)
diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index e76197e302ca4..faa3d29a628f9 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -45,8 +45,13 @@ assigned issues, since people may not be working in them anymore. If you...
Backport PR #49204: Removed gitter from contributing.rst
https://api.github.com/repos/pandas-dev/pandas/pulls/49209
2022-10-20T15:51:31Z
2022-10-20T17:56:38Z
2022-10-20T17:56:38Z
2022-10-20T17:56:39Z
DEPR: remove Index.get_value
diff --git a/doc/redirects.csv b/doc/redirects.csv index fda09d7644a49..6a79ed5958089 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -662,7 +662,6 @@ generated/pandas.Index.get_indexer_non_unique,../reference/api/pandas.Index.get_ generated/pandas.Index.get_level_values,../reference/api/pandas.Index.get_lev...
- [ ] 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/49208
2022-10-20T15:15:08Z
2022-10-20T20:04:12Z
2022-10-20T20:04:12Z
2022-10-20T20:21:39Z
Removed gitter from contributing_environment.rst
diff --git a/doc/source/development/community.rst b/doc/source/development/community.rst index 8046090c36e6f..59689a2cf51d1 100644 --- a/doc/source/development/community.rst +++ b/doc/source/development/community.rst @@ -100,6 +100,8 @@ The pandas mailing list `pandas-dev@python.org <mailto://pandas-dev@python convers...
Replaced gitter with the contributor community slack and linked to community.rst, for the instruction to join the slack
https://api.github.com/repos/pandas-dev/pandas/pulls/49205
2022-10-20T12:36:28Z
2022-10-20T15:17:16Z
2022-10-20T15:17:16Z
2022-10-20T16:03:15Z
Removed gitter from contributing.rst
diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index fe4cb005248f3..6ed8dee044d1f 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -45,8 +45,13 @@ assigned issues, since people may not be working in them anymore. If you...
Replaced gitter and user mailing list with text about the contributor community
https://api.github.com/repos/pandas-dev/pandas/pulls/49204
2022-10-20T11:34:10Z
2022-10-20T15:18:43Z
2022-10-20T15:18:43Z
2022-10-20T16:03:17Z
Vendored klib quadatric probing
diff --git a/pandas/_libs/src/klib/khash.h b/pandas/_libs/src/klib/khash.h index e17d82d51f0fb..6bc560c5ce576 100644 --- a/pandas/_libs/src/klib/khash.h +++ b/pandas/_libs/src/klib/khash.h @@ -47,6 +47,16 @@ int main() { */ /* + 2013-05-02 (0.2.8): + * Use quadratic probing. When the capacity is power of 2, steppi...
Changes vendored from https://github.com/attractivechaos/klib/commit/0afbad198cfcf6db0aa03356f1ac69d9137b4c53 Hashing benchmarks: ```sh asv continuous -f 1.1 -E virtualenv upstream/main HEAD -b ^indexing before after ratio [aa051b8f] [f60d0c3b] <main> <quad...
https://api.github.com/repos/pandas-dev/pandas/pulls/49197
2022-10-20T05:13:30Z
2022-10-26T17:58:09Z
2022-10-26T17:58:09Z
2022-11-22T21:34:31Z
DEPR: enforce try_cast argument deprecation in mask/where
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 30acc117c237a..aa956e5441c2d 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -145,6 +145,7 @@ Deprecations Removal of prior version deprecations/changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...
Deprecation introduced in #38836.
https://api.github.com/repos/pandas-dev/pandas/pulls/49193
2022-10-20T03:26:52Z
2022-10-20T08:28:55Z
2022-10-20T08:28:55Z
2022-10-26T10:18:19Z
PERF: Avoid call to list in isin
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index d6cc9cf1b9bac..1988753de3d01 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -462,13 +462,13 @@ def isin(comps: AnyArrayLike, values: AnyArrayLike) -> npt.NDArray[np.bool_]: ) if not isinstance(values, (AB...
- [ ] 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/49192
2022-10-20T03:10:55Z
2022-10-20T08:12:58Z
2022-10-20T08:12:58Z
2022-10-20T10:41:08Z
TYP: fix most pylint unpacking-non-sequence errors
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index cde221c77fe9b..fe26de8e9e6ca 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -4640,7 +4640,7 @@ def join( return_indexers: Literal[True], sort: bool = ..., ) -> tuple[Index, npt.NDArray[np.i...
- 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/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49187
2022-10-19T16:56:08Z
2022-10-20T00:24:54Z
null
2022-10-20T00:24:54Z
ENH: Add sheet name to error message when reading Excel
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 9d654439273a6..56b4e8ae851eb 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -323,6 +323,7 @@ MultiIndex I/O ^^^ - Bug in :func:`read_sas` caused fragmentation of :class:`DataFrame` and raised :clas...
- [X] Closes #48706 - [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/49186
2022-10-19T16:47:41Z
2022-10-24T21:43:40Z
2022-10-24T21:43:40Z
2022-10-25T12:35:29Z
BUG: pandas.to_datetime() does not respect exact format string with ISO8601
diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst index a34d4891b9d77..92fae28d3bdb3 100644 --- a/doc/source/user_guide/basics.rst +++ b/doc/source/user_guide/basics.rst @@ -2313,6 +2313,7 @@ useful if you are reading in data which is mostly of the desired dtype (e.g. num non-conforming ...
- [ ] closes #12649 (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/49185
2022-10-19T16:18:27Z
2022-10-21T10:19:21Z
null
2022-10-21T10:19:22Z
Backport PR #49179 on branch 1.5.x (DOC: Adding whatsnew for 1.5.2 and clean up of whatsnew for 1.5.0 and 1.5.1)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index f9f96f02e7224..1050951ba1b5a 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.2 v1.5.1 v1.5.0 diff --git a/doc/source/whatsnew/...
Backport PR #49179: DOC: Adding whatsnew for 1.5.2 and clean up of whatsnew for 1.5.0 and 1.5.1
https://api.github.com/repos/pandas-dev/pandas/pulls/49184
2022-10-19T14:44:57Z
2022-10-19T17:12:18Z
2022-10-19T17:12:18Z
2022-10-19T17:12:18Z
BUG: CSV C engine raises an error on single line CSV with no header w…
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 5e8677e2ae7a6..742b759c6b14f 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -252,6 +252,7 @@ MultiIndex I/O ^^^ - Bug in :func:`read_sas` caused fragmentation of :class:`DataFrame` and raised :clas...
…hen passing extra names (#47566) * Expect the provided number of columns when the names property is set * Add tests to demonstrate handling of files with a single row with fewer columns. - [x] closes #47566 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/p...
https://api.github.com/repos/pandas-dev/pandas/pulls/49182
2022-10-19T13:07:36Z
2022-10-19T21:12:22Z
2022-10-19T21:12:22Z
2022-10-19T21:12:53Z
Help Pint-Pandas pass tests when HAS_UNCERTAINTIES is enabled
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index 913aa2e5b0e18..53f28c1ccc813 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -1825,7 +1825,7 @@ def _setitem_with_indexer_split_path(self, indexer, value, name: str): # we need an iterable, with a ndim of at least 1 ...
The Pint-Pandas testsuite relies on the Pandas test suite. In the process of enabling support for uncertainties in Pint-Pandas, I discovered places where the base Pandas test suite needs to follow along. I will extract the interesting test cases that triggered the need for these patches. Signed-off-by: MichaelTiem...
https://api.github.com/repos/pandas-dev/pandas/pulls/49181
2022-10-19T12:12:50Z
2022-10-19T12:53:23Z
null
2023-07-29T16:12:31Z
Updated Cheatsheet with some extra functions added
diff --git a/Pandas_CheatSheet.pdf b/Pandas_CheatSheet.pdf new file mode 100644 index 0000000000000..84d78d90d400b Binary files /dev/null and b/Pandas_CheatSheet.pdf differ
-Added a new page - Added new functions related to IO tools, Data transform and Visualization. - -Also applied some new functions like df.isin, df.sample, etc. [Pandas_CheatSheet (1).pdf](https://github.com/pandas-dev/pandas/files/9836279/Pandas_CheatSheet.1.pdf)
https://api.github.com/repos/pandas-dev/pandas/pulls/49180
2022-10-19T11:12:03Z
2022-10-21T07:06:43Z
null
2022-10-21T07:06:43Z
DOC: Adding whatsnew for 1.5.2 and clean up of whatsnew for 1.5.0 and 1.5.1
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 352c7ec745067..8996bf8ba7de7 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.2 v1.5.1 v1.5.0 diff --git a/doc/source/whatsnew/...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/49179
2022-10-19T11:09:04Z
2022-10-19T14:44:21Z
2022-10-19T14:44:21Z
2022-10-19T14:44:21Z
PERF: pd.concat EA-backed indexes and sort=True
diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py index 7a25f77da1c82..2309347ac96d8 100644 --- a/asv_bench/benchmarks/join_merge.py +++ b/asv_bench/benchmarks/join_merge.py @@ -97,13 +97,13 @@ class ConcatIndexDtype: params = ( ["datetime64[ns]", "int64", "Int64", "st...
- [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/49178
2022-10-19T02:03:54Z
2022-10-22T00:39:57Z
2022-10-22T00:39:57Z
2022-10-26T10:18:01Z
PERF: ArrowExtensionArray.factorize
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 5e8677e2ae7a6..b17273c439975 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -159,6 +159,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.loc` and :meth:`Series.loc` for tup...
- [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 an entry in th...
https://api.github.com/repos/pandas-dev/pandas/pulls/49177
2022-10-18T23:49:51Z
2022-10-19T04:42:40Z
2022-10-19T04:42:40Z
2022-10-19T04:42:43Z
API: stop special-casing dt64/td64 in .unique
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 80c8ad9a8b2eb..f885f0cdfe3df 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -128,6 +128,7 @@ Other API changes - Passing a ``np.datetime64`` object with non-nanosecond resolution to :class:`Timestamp...
- [ ] 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/49176
2022-10-18T23:39:36Z
2022-10-20T16:59:51Z
2022-10-20T16:59:51Z
2022-10-20T17:00:52Z
TST: ArrowExtensionArray with string and binary types
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 80c8ad9a8b2eb..e7a6e873baec1 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -219,7 +219,7 @@ Conversion - Bug in :meth:`DataFrame.eval` incorrectly raising an ``AttributeError`` when there are negati...
- [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/49172
2022-10-18T18:55:15Z
2022-10-19T21:13:39Z
2022-10-19T21:13:39Z
2022-10-19T23:00:58Z
BUG: Fix rebase snafu
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index 403850b2e708e..ca0a745c180e9 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -2147,7 +2147,7 @@ def _sequence_to_dt64ns( # TODO: if tz is UTC, are there situations where we *don't* wan...
- [ ] 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/49171
2022-10-18T18:44:37Z
2022-10-18T18:50:30Z
2022-10-18T18:50:30Z
2022-10-18T18:56:49Z
API: stop silent conversion of object-Index to DatetimeIndex
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 8ee2baf0768ec..5e8677e2ae7a6 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -127,6 +127,8 @@ Other API changes - Passing ``dtype`` of "timedelta64[s]", "timedelta64[ms]", or "timedelta64[us]" to :cla...
- [x] closes #39307 (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/49169
2022-10-18T16:52:29Z
2022-10-18T21:46:35Z
2022-10-18T21:46:35Z
2022-10-18T22:05:03Z
adding closed and dtype parameters in timedeltasIndex docs
diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py index 113f76a35e13f..6d63b28363080 100644 --- a/pandas/core/indexes/timedeltas.py +++ b/pandas/core/indexes/timedeltas.py @@ -64,6 +64,12 @@ class TimedeltaIndex(DatetimeTimedeltaMixin): Make a copy of input ndarray. name :...
- [ ] 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/49168
2022-10-18T16:48:38Z
2022-10-18T18:09:55Z
null
2022-10-18T18:09:55Z
DOC: add closed and dtype in TimedeltaIndex parameters
diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py index 113f76a35e13f..5f83e95735905 100644 --- a/pandas/core/indexes/timedeltas.py +++ b/pandas/core/indexes/timedeltas.py @@ -60,6 +60,11 @@ class TimedeltaIndex(DatetimeTimedeltaMixin): One of pandas date offset strings or corr...
- [x] closes #49153 - [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/49167
2022-10-18T13:51:58Z
2022-12-17T19:35:01Z
null
2022-12-17T19:35:01Z
Backport PR #49162 on branch 1.5.x (PERF: Fix performance regression for isin with mismatching dtypes)
diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst index d3a804ff9f400..b9477908c6ad9 100644 --- a/doc/source/whatsnew/v1.5.1.rst +++ b/doc/source/whatsnew/v1.5.1.rst @@ -86,6 +86,7 @@ Fixed regressions - Fixed Regression in :meth:`DataFrameGroupBy.apply` when user defined function is called ...
Backport PR #49162: PERF: Fix performance regression for isin with mismatching dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/49165
2022-10-18T07:20:47Z
2022-10-18T09:15:43Z
2022-10-18T09:15:43Z
2022-10-18T09:15:43Z
PERF: Fix performance regression for isin with mismatching dtypes
diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst index d3a804ff9f400..b9477908c6ad9 100644 --- a/doc/source/whatsnew/v1.5.1.rst +++ b/doc/source/whatsnew/v1.5.1.rst @@ -86,6 +86,7 @@ Fixed regressions - Fixed Regression in :meth:`DataFrameGroupBy.apply` when user defined function is called ...
- [ ] 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/49162
2022-10-17T23:19:39Z
2022-10-18T07:20:16Z
2022-10-18T07:20:16Z
2022-11-22T01:42:21Z
BUG: loc casting to object for multi block case when setting with list indexer
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 3c600e8e747ad..a6c6afb9734c9 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -220,6 +220,7 @@ Interval Indexing ^^^^^^^^ - Bug in :meth:`DataFrame.reindex` filling with wrong values when indexing co...
- [x] closes #49159 (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/49161
2022-10-17T22:07:25Z
2022-10-19T16:17:11Z
2022-10-19T16:17:11Z
2022-10-20T08:46:08Z
Replace pylint message types with explicit message names
diff --git a/pyproject.toml b/pyproject.toml index d92d7b086def2..b8568f1839f42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,9 +58,6 @@ exclude = ''' [tool.pylint.messages_control] max-line-length = 88 disable = [ - "C", - "R", - "W", "abstract-class-instantiated", "access-member-before-definitio...
- [ ] Updates #48855 - Replaces "C", "R", and "W" message types with explicit message names to be disabled. - Groups messages by type
https://api.github.com/repos/pandas-dev/pandas/pulls/49160
2022-10-17T21:25:44Z
2022-10-19T10:59:57Z
2022-10-19T10:59:57Z
2022-10-19T10:59:57Z
BLD: Python changes to make meson build work
diff --git a/pandas/__init__.py b/pandas/__init__.py index 5016bde000c3b..8ca970b2d28de 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -176,12 +176,18 @@ from pandas.util._tester import test # use the closest tagged version if possible -from pandas._version import get_versions +_built_with_meson = 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/49158
2022-10-17T20:20:29Z
2022-10-23T12:19:19Z
null
2023-01-23T01:01:10Z
TST/CLN: Use fixtures instead of setup_method in tests/indexing
diff --git a/pandas/tests/indexing/common.py b/pandas/tests/indexing/common.py index ea9f2584196d3..2af76f69a4300 100644 --- a/pandas/tests/indexing/common.py +++ b/pandas/tests/indexing/common.py @@ -1,190 +1,40 @@ """ common utilities """ -import itertools +from __future__ import annotations -import numpy as np - ...
- [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/49157
2022-10-17T19:16:20Z
2022-10-22T01:04:35Z
2022-10-22T01:04:35Z
2022-10-24T17:21:09Z
API: Change Series/DataFrame.other default to no_default instead of np.nan
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 3e376d15a5a87..dc29010efada8 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -126,7 +126,7 @@ Other API changes - Passing data with dtype of "timedelta64[s]", "timedelta64[ms]", or "timedelta64[us]" t...
- [x] closes #49111 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/49156
2022-10-17T19:12:34Z
2022-10-18T09:22:40Z
2022-10-18T09:22:40Z
2022-10-18T16:38:58Z
BUG: NA with binary operation with bytes
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 2469b8191c175..16271be2e24e9 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -230,6 +230,7 @@ Missing ^^^^^^^ - Bug in :meth:`Index.equals` raising ``TypeError`` when :class:`Index` consists of tuple...
- [x] closes #49108 (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/49155
2022-10-17T18:42:17Z
2022-10-17T20:52:00Z
2022-10-17T20:52:00Z
2022-10-17T20:54:36Z
TST/CLN: Ensure sqlite memory connections are closed
diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py index 0594afda252d4..9adada8afb2c2 100644 --- a/pandas/tests/io/test_sql.py +++ b/pandas/tests/io/test_sql.py @@ -18,6 +18,7 @@ """ from __future__ import annotations +import contextlib from contextlib import closing import csv from datetime ...
- [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/49154
2022-10-17T18:10:06Z
2022-10-17T21:46:48Z
2022-10-17T21:46:48Z
2022-10-17T21:46:51Z
TST/CLN: Use monkeypatch fixture instead of setup_method
diff --git a/pandas/tests/config/test_config.py b/pandas/tests/config/test_config.py index 85a3d6f89aa72..005fd902afc0e 100644 --- a/pandas/tests/config/test_config.py +++ b/pandas/tests/config/test_config.py @@ -9,31 +9,20 @@ class TestConfig: - @classmethod - def setup_class(cls): - from copy import...
- [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/49152
2022-10-17T17:48:20Z
2022-10-17T21:40:11Z
2022-10-17T21:40:11Z
2022-10-17T21:46:22Z
Backport PR #49140 on branch 1.5.x (Revert "PERF: faster corrwith method for pearson and spearman correlation when other is a Series and axis = 0 (column-wise) (#46174)")
diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst index 4518c6f544e48..d3a804ff9f400 100644 --- a/doc/source/whatsnew/v1.5.1.rst +++ b/doc/source/whatsnew/v1.5.1.rst @@ -88,6 +88,7 @@ Fixed regressions - Fixed regression in :meth:`Series.groupby` and :meth:`DataFrame.groupby` when the groupe...
Backport PR #49140: Revert "PERF: faster corrwith method for pearson and spearman correlation when other is a Series and axis = 0 (column-wise) (#46174)"
https://api.github.com/repos/pandas-dev/pandas/pulls/49151
2022-10-17T15:52:57Z
2022-10-17T19:58:52Z
2022-10-17T19:58:52Z
2022-10-17T19:58:53Z
DOC Replace gitter badge with one for slack
diff --git a/README.md b/README.md index 224f184bb7da1..69f2395920c66 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![Coverage](https://codecov.io/github/pandas-dev/pandas/coverage.svg?branch=main)](https://codecov.io/gh/pandas-dev/pandas) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/...
- [x] closes #49143 - [ ] [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/49149
2022-10-17T12:56:10Z
2022-10-17T17:38:07Z
2022-10-17T17:38:07Z
2022-10-30T13:01:12Z
CLN use pd.Timestamp for single element in converter
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 2469b8191c175..c828be47a795e 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -256,7 +256,7 @@ Period Plotting ^^^^^^^^ -- +- ``ax.set_xlim`` was sometimes raising ``UserWarning`` which users couldn...
Only a single element is being parsed, and there's no way for a user to pass any options (like `dayfirst`) through `ax.set_xlim`, so might as well use `pd.Timestamp`. Otherwise with https://github.com/pandas-dev/pandas/pull/49024 users might get a warning they wouldn't be able to do anything about Example of test...
https://api.github.com/repos/pandas-dev/pandas/pulls/49148
2022-10-17T11:21:40Z
2022-10-18T09:23:59Z
2022-10-18T09:23:59Z
2022-10-18T09:24:07Z
REGR: read_csv and nullable dtypes fails if dtype is specified
diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx index 00e53b7c7cdad..51294037f4cd7 100644 --- a/pandas/_libs/parsers.pyx +++ b/pandas/_libs/parsers.pyx @@ -1414,6 +1414,9 @@ def _maybe_upcast(arr, use_nullable_dtypes: bool = False): ------- The casted array. """ + if is_extension_arra...
- [x] closes #49146 (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/49147
2022-10-17T11:19:01Z
2022-10-17T16:12:08Z
2022-10-17T16:12:08Z
2022-10-17T20:26:00Z
BUG: guess_datetime_format fails to read 13/2019 in dateutil==2.8.1
diff --git a/ci/deps/actions-38-minimum_versions.yaml b/ci/deps/actions-38-minimum_versions.yaml index fd23080c2ab04..d40f0cff21feb 100644 --- a/ci/deps/actions-38-minimum_versions.yaml +++ b/ci/deps/actions-38-minimum_versions.yaml @@ -16,7 +16,7 @@ dependencies: - boto3 # required dependencies - - python-dat...
- [ ] closes #49144 (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/49145
2022-10-17T10:40:50Z
2022-10-17T15:47:20Z
2022-10-17T15:47:20Z
2022-10-17T15:47:27Z
Revert "PERF: faster corrwith method for pearson and spearman correlation when other is a Series and axis = 0 (column-wise) (#46174)"
diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst index 4518c6f544e48..d3a804ff9f400 100644 --- a/doc/source/whatsnew/v1.5.1.rst +++ b/doc/source/whatsnew/v1.5.1.rst @@ -88,6 +88,7 @@ Fixed regressions - Fixed regression in :meth:`Series.groupby` and :meth:`DataFrame.groupby` when the groupe...
- [x] closes #48826 (Replace xxxx with the GitHub issue number) - [x] closes #49141 - [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-do...
https://api.github.com/repos/pandas-dev/pandas/pulls/49140
2022-10-17T08:25:24Z
2022-10-17T15:52:49Z
2022-10-17T15:52:49Z
2022-10-17T15:52:58Z
Create panda.py
diff --git a/pandas/panda.py b/pandas/panda.py new file mode 100644 index 0000000000000..e8c6f1e805443 --- /dev/null +++ b/pandas/panda.py @@ -0,0 +1,2 @@ +import pandas as pd +
- [x] 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 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49139
2022-10-17T07:15:08Z
2022-10-17T07:17:02Z
null
2022-10-17T07:17:06Z
Backport PR #49137 on branch 1.5.x (WEB/DOC: Fix typo in OVH name)
diff --git a/doc/_templates/pandas_footer.html b/doc/_templates/pandas_footer.html index c24bce52e67e0..6d8caa4d6c741 100644 --- a/doc/_templates/pandas_footer.html +++ b/doc/_templates/pandas_footer.html @@ -1,3 +1,3 @@ <p class="copyright"> - &copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS,...
Backport PR #49137: WEB/DOC: Fix typo in OVH name
https://api.github.com/repos/pandas-dev/pandas/pulls/49138
2022-10-17T07:11:42Z
2022-10-17T09:54:31Z
2022-10-17T09:54:31Z
2022-10-17T09:54:32Z
WEB/DOC: Fix typo in OVH name
diff --git a/doc/_templates/pandas_footer.html b/doc/_templates/pandas_footer.html index c24bce52e67e0..6d8caa4d6c741 100644 --- a/doc/_templates/pandas_footer.html +++ b/doc/_templates/pandas_footer.html @@ -1,3 +1,3 @@ <p class="copyright"> - &copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS,...
In #48557 and #48556, when adding the mention in the footer to OVH, I mistakenly used `OVH Cloud` instead of the name they use `OVHcloud`. Fixing it here.
https://api.github.com/repos/pandas-dev/pandas/pulls/49137
2022-10-17T02:59:43Z
2022-10-17T07:11:10Z
2022-10-17T07:11:10Z
2022-10-17T07:11:24Z
CLN: Replace _obj_with_exclusions with _select_obj for Series
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 6296a79d13da9..7dbd0a609642e 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -181,7 +181,7 @@ def _wrap_agged_manager(self, mgr: Manager) -> Series: return ser def _get_data_to_aggregat...
Part of #46944 - [ ] 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/d...
https://api.github.com/repos/pandas-dev/pandas/pulls/49136
2022-10-17T02:55:50Z
2022-10-17T09:55:43Z
2022-10-17T09:55:43Z
2022-10-17T16:42:18Z
DOC: Add missing parameter to Timedelta.view
diff --git a/pandas/_libs/tslibs/timedeltas.pyi b/pandas/_libs/tslibs/timedeltas.pyi index b40b08eb601a4..d514a295215cb 100644 --- a/pandas/_libs/tslibs/timedeltas.pyi +++ b/pandas/_libs/tslibs/timedeltas.pyi @@ -150,6 +150,7 @@ class Timedelta(timedelta): def __hash__(self) -> int: ... def isoformat(self) ->...
- [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#type-hints) to new arguments/methods/functions. - [X] Added an entry in the lates...
https://api.github.com/repos/pandas-dev/pandas/pulls/49135
2022-10-16T20:57:46Z
2022-10-17T07:14:52Z
2022-10-17T07:14:52Z
2022-10-17T07:15:01Z
DOC/BUG: Enforce that freq is required in Period.now
diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index 774fd7f20fed6..a516565ff3f8d 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -2288,9 +2288,14 @@ cdef class _Period(PeriodMixin): return bool(is_leapyear(self.year)) @classmethod - d...
- [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/49134
2022-10-16T20:53:50Z
2022-10-17T20:14:28Z
2022-10-17T20:14:28Z
2022-10-17T20:14:35Z
BUG: pd.offsets.MonthEnd() delevers wrong month
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 8bdd3d6ac259e..7a16bdb15ab5d 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -2477,11 +2477,57 @@ cdef class MonthEnd(MonthOffset): """ DateOffset of one month end. + Parameters + ...
[DOC] - Added more examples and explanation regarding MonthEnd method. - [ ] closes #48779 - [ ] [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/...
https://api.github.com/repos/pandas-dev/pandas/pulls/49133
2022-10-16T20:51:26Z
2022-11-21T07:43:40Z
null
2022-11-21T07:43:40Z
BUG: groupby reorders categorical categories
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 6239ddf9442e7..9f120ff9c8ca1 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -243,7 +243,7 @@ Bug fixes Categorical ^^^^^^^^^^^ - Bug in :meth:`Categorical.set_categories` losing dtype information (...
Ref: #48749 - [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...
https://api.github.com/repos/pandas-dev/pandas/pulls/49131
2022-10-16T16:59:46Z
2022-10-24T18:05:59Z
2022-10-24T18:05:59Z
2022-10-24T18:19:27Z
PERF: pd.concat with EA-backed indexes
diff --git a/asv_bench/benchmarks/array.py b/asv_bench/benchmarks/array.py index df9d171a70397..301fc9d405057 100644 --- a/asv_bench/benchmarks/array.py +++ b/asv_bench/benchmarks/array.py @@ -71,3 +71,6 @@ def time_setitem_list(self, multiple_chunks): def time_setitem_slice(self, multiple_chunks): self...
- [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/49128
2022-10-16T13:27:33Z
2022-10-17T23:22:17Z
2022-10-17T23:22:17Z
2022-10-26T10:18:28Z
BUG: guess_datetime_format doesn't guess just year
diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx index e0fcc829ad326..5c93edfee79f2 100644 --- a/pandas/_libs/tslibs/parsing.pyx +++ b/pandas/_libs/tslibs/parsing.pyx @@ -1053,8 +1053,12 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None: found_at...
- [ ] closes #49126 (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/49127
2022-10-16T08:38:59Z
2022-10-16T12:53:12Z
2022-10-16T12:53:12Z
2022-10-16T12:53:12Z
DOC: fix versionchanged blank line usage (#49117)
diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 5bfc8c6b5b371..e340ea31deef4 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -692,14 +692,17 @@ class PlotAccessor(PandasObject): The matplotlib line style per column. logx : bool or 'sym', default False ...
- [ ] closes #49117 - [ ] [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/49125
2022-10-16T00:25:35Z
2022-10-16T12:03:09Z
2022-10-16T12:03:09Z
2022-10-17T13:58:48Z
BUG: setitem raising for rhs with midx columns and tuple indexer
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 508d5d8bc4cc1..6511922fbf7b4 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -216,6 +216,7 @@ Interval Indexing ^^^^^^^^ - Bug in :meth:`DataFrame.reindex` filling with wrong values when indexing co...
- [x] closes #49121 (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/49124
2022-10-15T21:56:57Z
2022-10-17T16:18:31Z
2022-10-17T16:18:31Z
2022-10-17T20:26:34Z
REF: reso->creso
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index cc0174f795ebe..f968e879498b2 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -490,11 +490,11 @@ cdef class ObjectEngine(IndexEngine): cdef class DatetimeEngine(Int64Engine): cdef: - NPY_DATETIMEUNIT reso + NPY_D...
- [ ] 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/49123
2022-10-15T21:38:36Z
2022-10-16T12:01:31Z
2022-10-16T12:01:31Z
2022-10-16T14:37:37Z
DOC: Fixed Issue: Typo of DataFrame.iat() in 10 minutes to panda
diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst index 06508e9af9660..6fc53fe09d791 100644 --- a/doc/source/user_guide/10min.rst +++ b/doc/source/user_guide/10min.rst @@ -233,7 +233,7 @@ For getting fast access to a scalar (equivalent to the prior method): Selection by position ~~~~~~~~~...
- [X] closes #49057 Made single character change to fix description of Selection by Position to refer to `DataFrame.iat()` vs` DataFrame.at()`
https://api.github.com/repos/pandas-dev/pandas/pulls/49122
2022-10-15T21:31:40Z
2022-10-16T11:59:45Z
2022-10-16T11:59:45Z
2022-10-16T11:59:51Z
BUG: _guess_datetime_format_for_array doesn't guess if first element is '' or 'NaT'
diff --git a/pandas/_libs/tslib.pyi b/pandas/_libs/tslib.pyi index 2212f8db8ea1e..8fec9ecf27f30 100644 --- a/pandas/_libs/tslib.pyi +++ b/pandas/_libs/tslib.pyi @@ -16,6 +16,7 @@ def array_with_unit_to_datetime( unit: str, errors: str = ..., ) -> tuple[np.ndarray, tzinfo | None]: ... +def first_non_null(valu...
- [ ] closes #49119 (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/49120
2022-10-15T20:52:21Z
2022-10-16T12:05:26Z
2022-10-16T12:05:26Z
2022-10-16T12:05:32Z
BUG: Return type discrepancy in USFederalHolidayCalendar
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 14b4df286d989..dfea3d450fa8a 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -353,7 +353,7 @@ Datetimelike - Bug in :func:`to_datetime` was raising on invalid offsets with ``errors='coerce'`` and ``in...
- [x] closes #49075 - [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/49118
2022-10-15T19:27:43Z
2022-11-02T16:29:35Z
2022-11-02T16:29:35Z
2022-11-02T19:17:40Z
BLD: Setup meson builds
diff --git a/.circleci/setup_env.sh b/.circleci/setup_env.sh index 7d13e202e951e..e41650870bd70 100755 --- a/.circleci/setup_env.sh +++ b/.circleci/setup_env.sh @@ -54,10 +54,7 @@ if pip list | grep -q ^pandas; then pip uninstall -y pandas || true fi -echo "Build extensions" -python setup.py build_ext -q -j4 - ...
- [x] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49115
2022-10-15T15:08:30Z
2023-05-09T14:47:55Z
2023-05-09T14:47:55Z
2023-05-24T20:02:48Z
BLD: Add meson build scripts
diff --git a/scripts/generate_pxi.py b/scripts/generate_pxi.py new file mode 100644 index 0000000000000..3462b97aefcbf --- /dev/null +++ b/scripts/generate_pxi.py @@ -0,0 +1,33 @@ +import argparse +import os + +from Cython import Tempita + + +def process_tempita(pxifile, outfile): + with open(pxifile) as f: + ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49114
2022-10-15T13:08:41Z
2022-10-17T16:24:11Z
2022-10-17T16:24:11Z
2022-10-17T20:13:12Z
Fix: Using at indexer reassign existing field error
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index 54cf8e12cfcf8..30c7abfee26a3 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -2426,22 +2426,25 @@ def _axes_are_unique(self) -> bool: def __getitem__(self, key): - if self.ndim == 2 and not self._axes_are_unique: ...
- [ ] closes #48224 - [ ] [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/49113
2022-10-15T11:37:54Z
2022-10-15T13:34:42Z
null
2022-10-15T13:34:42Z
perf/minor performance improvement in `is_*_dtype` and `get_block_type` methods
diff --git a/asv_bench/benchmarks/dtypes.py b/asv_bench/benchmarks/dtypes.py index 55f6be848aa13..e1aa5ea9599bc 100644 --- a/asv_bench/benchmarks/dtypes.py +++ b/asv_bench/benchmarks/dtypes.py @@ -9,6 +9,7 @@ is_extension_array_dtype, pandas_dtype, ) +from pandas.core.internals.blocks import get_block_type ...
Improvements: * use of `classes` in `is_*_dtype` avoid duplicate calls and will use a slightly simpler codepath in `isinstance` when possible * `get_block_type` has unnecessary assignment removed - benchmarks added - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_co...
https://api.github.com/repos/pandas-dev/pandas/pulls/49112
2022-10-15T10:15:56Z
2022-12-17T19:34:40Z
null
2022-12-17T19:34:40Z
PERF: StringArray from np.str_ array
diff --git a/asv_bench/benchmarks/array.py b/asv_bench/benchmarks/array.py index 301fc9d405057..cb949637ea745 100644 --- a/asv_bench/benchmarks/array.py +++ b/asv_bench/benchmarks/array.py @@ -44,6 +44,24 @@ def time_from_integer_array(self): pd.array(self.values_integer, dtype="Int64") +class StringArray:...
- [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 an entry in th...
https://api.github.com/repos/pandas-dev/pandas/pulls/49109
2022-10-15T00:50:36Z
2022-10-18T18:13:44Z
2022-10-18T18:13:44Z
2022-10-26T10:18:26Z
REF: _reso->_creso
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index 6aa93d9780913..cc0174f795ebe 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -502,7 +502,7 @@ cdef class DatetimeEngine(Int64Engine): if scalar is NaT: return NaT.value elif isinstance(scalar, _Timestam...
- [ ] 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/49107
2022-10-15T00:39:33Z
2022-10-15T10:54:57Z
2022-10-15T10:54:56Z
2022-11-17T16:55:12Z
ENH: date_range support reso keyword
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 4577d20a509ce..64f32dddf5b78 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -61,8 +61,10 @@ Other enhancements - :class:`.CategoricalConversionWarning`, :class:`.InvalidComparison`, :class:`.InvalidV...
- [ ] 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/49106
2022-10-14T23:34:42Z
2022-11-18T23:32:15Z
2022-11-18T23:32:15Z
2022-11-18T23:40:38Z
CLN/TST: Remove pandas_testing_mode
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 260c857e608b3..0e966f05bbc28 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -77,7 +77,6 @@ jobs: - name: "Numpy Dev" env_file: actions-310-numpydev.yaml pattern: "not slow...
Not immediately clear why we want to filter these (and hard to track down from the `git blame`), so removing to see if it's important.
https://api.github.com/repos/pandas-dev/pandas/pulls/49105
2022-10-14T23:18:45Z
2022-10-17T17:37:33Z
2022-10-17T17:37:33Z
2022-10-17T17:37:36Z
BUG: Timestamp.__richcmp__(dt64_unsupported_reso)
diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index c166edf35946c..1fba963496ba7 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -324,7 +324,7 @@ cdef class _Timestamp(ABCTimestamp): elif other is NaT: return op == ...
- [ ] 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/49104
2022-10-14T22:59:35Z
2022-10-18T18:38:55Z
2022-10-18T18:38:55Z
2022-10-18T18:57:31Z
Backport PR #48770 on branch 1.5.x (added sytle in stylesheet for <blockquote>)
diff --git a/web/pandas/static/css/pandas.css b/web/pandas/static/css/pandas.css index 96ea6a6f2ae52..ec9a4bd502dd1 100644 --- a/web/pandas/static/css/pandas.css +++ b/web/pandas/static/css/pandas.css @@ -96,3 +96,10 @@ table.logo td { table.logo img { height: 4rem; } +blockquote { + background: #f9f9f9; + ...
Backport PR #48770: added sytle in stylesheet for <blockquote>
https://api.github.com/repos/pandas-dev/pandas/pulls/49102
2022-10-14T22:40:04Z
2022-10-15T10:59:10Z
2022-10-15T10:59:10Z
2022-10-15T10:59:10Z
DEP: remove deprecated loffset and base args for resample and Grouper
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 1f245b585df48..f86c5099a685f 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -273,6 +273,7 @@ Removal of prior version deprecations/changes - Changed behavior of :class:`DataFrame` constructor when pa...
- [x] resolves on of the issues listed in #48855 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature. This is to enforce depreca...
https://api.github.com/repos/pandas-dev/pandas/pulls/49101
2022-10-14T21:38:52Z
2022-10-30T07:57:55Z
2022-10-30T07:57:55Z
2022-10-30T22:07:16Z
DOC: Update documentation for window parameter of rolling() to account for all possible data types
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 23ada120505d5..8f6d666064d01 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -12042,7 +12042,7 @@ def min( @doc(Rolling) def rolling( self, - window: int | timedelta | BaseOffset | BaseIndexer, + wind...
- [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#type-hints) to new arguments/methods/functions. Related to https://github.com/p...
https://api.github.com/repos/pandas-dev/pandas/pulls/49100
2022-10-14T21:03:15Z
2022-10-14T22:14:26Z
2022-10-14T22:14:26Z
2022-10-14T22:14:32Z
CLN: simplify maybe_normalize_endpoints
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index f7843ce8697f2..fb1a5070c6c0d 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -392,7 +392,7 @@ def _generate_range( # type: ignore[override] raise ValueError("Neither `start` nor `end`...
- [ ] 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/49099
2022-10-14T20:26:22Z
2022-10-14T22:17:45Z
2022-10-14T22:17:45Z
2022-10-14T22:49:16Z
REF: _as_reso->_as_creso
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index 1d0eb256ca051..6aa93d9780913 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -506,8 +506,8 @@ cdef class DatetimeEngine(Int64Engine): return scalar.value else: # Note: caller is responsi...
See explanation in #49097
https://api.github.com/repos/pandas-dev/pandas/pulls/49098
2022-10-14T20:12:40Z
2022-10-14T22:17:18Z
2022-10-14T22:17:18Z
2022-10-14T22:18:58Z
REF: reso->creso in TSObject
diff --git a/pandas/_libs/tslibs/conversion.pxd b/pandas/_libs/tslibs/conversion.pxd index 5c73b908d7eff..c285b248f7a5b 100644 --- a/pandas/_libs/tslibs/conversion.pxd +++ b/pandas/_libs/tslibs/conversion.pxd @@ -20,9 +20,9 @@ cdef class _TSObject: int64_t value # numpy dt64 tzinfo tzinf...
Based on the call on Wednesday I'm planning to make a reso keyword in Timestamp/Timedelta constructors, and change _as_unit to as_reso. In preparation for that, I'm changing usages of reso to creso, and will be changing the existing _as_reso to _as_creso.
https://api.github.com/repos/pandas-dev/pandas/pulls/49097
2022-10-14T20:11:34Z
2022-10-14T22:16:26Z
2022-10-14T22:16:26Z
2022-10-14T22:19:17Z
DEPS: Bump PyArrow to 6.0
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 260c857e608b3..59971379353c1 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -31,9 +31,7 @@ jobs: matrix: env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml] pattern: ["not ...
- [x] closes #48014 (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/49096
2022-10-14T19:09:40Z
2022-10-17T20:23:32Z
2022-10-17T20:23:32Z
2022-10-17T20:24:22Z
CLN/TST: Convert `tests/tseries/offset` to pytest idioms
diff --git a/pandas/tests/tseries/offsets/common.py b/pandas/tests/tseries/offsets/common.py index 50b6907a02eaf..efb010addad22 100644 --- a/pandas/tests/tseries/offsets/common.py +++ b/pandas/tests/tseries/offsets/common.py @@ -3,19 +3,6 @@ """ from __future__ import annotations -from datetime import datetime - -f...
- [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). * Converted `setup_met...
https://api.github.com/repos/pandas-dev/pandas/pulls/49095
2022-10-14T17:50:02Z
2022-10-21T21:54:42Z
2022-10-21T21:54:42Z
2022-10-21T22:02:02Z
Backport PR #49080 on branch 1.5.x (REGR: midx.values resetting freq of underyling index)
diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst index 2fca23024cba7..4518c6f544e48 100644 --- a/doc/source/whatsnew/v1.5.1.rst +++ b/doc/source/whatsnew/v1.5.1.rst @@ -76,6 +76,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.loc` raising ``FutureWarning`` when setting an empt...
Backport PR #49080: REGR: midx.values resetting freq of underyling index
https://api.github.com/repos/pandas-dev/pandas/pulls/49094
2022-10-14T17:43:35Z
2022-10-14T20:40:12Z
2022-10-14T20:40:12Z
2022-10-14T20:40:13Z
Backport PR #48457 on branch 1.5.x (TST: Fix unsigned pyarrow types in SIGNED_INT_PYARROW_DTYPES)
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index c15e597558221..e0e1b49abaaab 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -197,7 +197,7 @@ import pyarrow as pa UNSIGNED_INT_PYARROW_DTYPES = [pa.uint8(), pa.uint16(), pa.uint32(), pa.uint64()] - ...
Backport PR #48457: TST: Fix unsigned pyarrow types in SIGNED_INT_PYARROW_DTYPES
https://api.github.com/repos/pandas-dev/pandas/pulls/49093
2022-10-14T17:05:03Z
2022-10-14T19:27:30Z
2022-10-14T19:27:30Z
2022-10-14T19:27:31Z
BUG: unstack accessing wrong index level when midx has mixed names
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 508d5d8bc4cc1..77c115ed50786 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -263,6 +263,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ - Bug in :meth:`DataFrame.pivot_table` raising ``TypeError`...
- [x] closes #48763 (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/49092
2022-10-14T15:36:58Z
2022-10-14T22:18:49Z
2022-10-14T22:18:49Z
2022-10-14T23:08:37Z
ENH: Add use nullable dtypes to read_excel
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 060de8ff8ef09..87268780b0def 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -41,7 +41,7 @@ Other enhancements - :meth:`.DataFrameGroupBy.quantile` and :meth:`.SeriesGroupBy.quantile` now preserve nul...
- [x] closes #36712 (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/49091
2022-10-14T13:32:26Z
2022-10-25T10:56:35Z
2022-10-25T10:56:35Z
2022-10-25T14:10:32Z
Documentation Corrections
diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst index a34d4891b9d77..0974d4288dcbe 100644 --- a/doc/source/user_guide/basics.rst +++ b/doc/source/user_guide/basics.rst @@ -36,7 +36,7 @@ of elements to display is five, but you may pass a custom number. Attributes and underlying data --...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49090
2022-10-14T13:25:12Z
2022-10-14T13:33:52Z
null
2022-10-14T13:33:52Z
DEP: Enforce deprecation of mangle_dup cols and convert_float in read_excel
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index e281e250d608e..26efc383f4314 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -180,6 +180,8 @@ Removal of prior version deprecations/changes - Removed argument ``try_cast`` from :meth:`DataFrame.mask`,...
I'll take care of the mangle dup cols within csv in a follow up when the other csv deprecations are merged #41176 #34418
https://api.github.com/repos/pandas-dev/pandas/pulls/49089
2022-10-14T12:32:16Z
2022-10-21T23:27:43Z
2022-10-21T23:27:43Z
2022-10-23T17:40:07Z
Remove out-of-date external compatibility section from hdf_store docs
diff --git a/doc/source/getting_started/comparison/comparison_with_r.rst b/doc/source/getting_started/comparison/comparison_with_r.rst index f91f4218c3429..767779b0f58a8 100644 --- a/doc/source/getting_started/comparison/comparison_with_r.rst +++ b/doc/source/getting_started/comparison/comparison_with_r.rst @@ -21,10 +...
- [x] closes #35419 (Replace xxxx with the GitHub issue number) - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature. The code i...
https://api.github.com/repos/pandas-dev/pandas/pulls/49088
2022-10-14T11:46:02Z
2022-10-14T17:19:41Z
2022-10-14T17:19:41Z
2022-10-14T17:19:51Z
DEP: Enforce deprecation of names and dtype in index copy and codes and levels in midx.copy
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 80c8ad9a8b2eb..f8699b0b27d79 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -144,6 +144,7 @@ Deprecations Removal of prior version deprecations/changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
#35853 #36685
https://api.github.com/repos/pandas-dev/pandas/pulls/49087
2022-10-14T11:31:48Z
2022-10-20T00:07:32Z
2022-10-20T00:07:32Z
2022-10-20T08:22:10Z
DEP: Enforce deprecation of date converters for csv
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index a0a7aa94bd287..f88eade9eb7ed 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -144,6 +144,9 @@ Deprecations Removal of prior version deprecations/changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
- [x] closes #35741 (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/49086
2022-10-14T11:05:47Z
2022-10-20T16:45:20Z
2022-10-20T16:45:19Z
2022-10-21T21:32:50Z
DEP: Enforce set_values and set_codes inplace and positional args deprecation
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index a0a7aa94bd287..fb91a126c305a 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -147,6 +147,8 @@ Removal of prior version deprecations/changes - Remove argument ``squeeze`` from :meth:`DataFrame.groupby`...
#41485 #35626
https://api.github.com/repos/pandas-dev/pandas/pulls/49084
2022-10-14T10:35:52Z
2022-10-20T16:42:06Z
2022-10-20T16:42:06Z
2022-10-21T21:33:28Z
DEP: Enforce numpy keyword deprecation in read_json
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 63e6b007f77a8..cc01270181202 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2111,8 +2111,6 @@ is ``None``. To explicitly force ``Series`` parsing, pass ``typ=series`` * ``convert_axes`` : boolean, try to co...
#30636
https://api.github.com/repos/pandas-dev/pandas/pulls/49083
2022-10-14T10:19:08Z
2022-10-20T11:02:46Z
2022-10-20T11:02:46Z
2022-10-20T11:03:01Z
DEP: Enforce deprecation of squeeze argument in groupby
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index db7562e409fd1..9f867415a6cd3 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -144,6 +144,7 @@ Deprecations Removal of prior version deprecations/changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
#32380
https://api.github.com/repos/pandas-dev/pandas/pulls/49082
2022-10-14T09:51:45Z
2022-10-20T11:03:28Z
2022-10-20T11:03:28Z
2022-10-20T11:04:20Z
DEP: Enforce deprecation of pad/backfill for groupby and resample
diff --git a/doc/source/reference/groupby.rst b/doc/source/reference/groupby.rst index 138018eacef49..7c6bf485c0599 100644 --- a/doc/source/reference/groupby.rst +++ b/doc/source/reference/groupby.rst @@ -65,7 +65,6 @@ Function application DataFrameGroupBy.all DataFrameGroupBy.any - DataFrameGroupBy.backfil...
#45076
https://api.github.com/repos/pandas-dev/pandas/pulls/49081
2022-10-14T09:31:23Z
2022-10-19T16:09:48Z
2022-10-19T16:09:48Z
2022-10-20T08:46:23Z
REGR: midx.values resetting freq of underyling index
diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst index 2fca23024cba7..4518c6f544e48 100644 --- a/doc/source/whatsnew/v1.5.1.rst +++ b/doc/source/whatsnew/v1.5.1.rst @@ -76,6 +76,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.loc` raising ``FutureWarning`` when setting an empt...
- [x] closes #49054 (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/49080
2022-10-14T08:54:18Z
2022-10-14T17:43:27Z
2022-10-14T17:43:27Z
2022-10-14T23:09:09Z
Backport PR #49053 on branch 1.5.x (REVERT caching in find_stack_level)
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index 15931a1a3eb83..95803b5be76c3 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -134,7 +134,7 @@ Otherwise, you need to do it manual...
#49053 Revert "PERF cache find_stack_level (#48023)" This reverts commit 2f8d0a36703e81e4dca52ca9fe4f58c910c1b304. Co-authored-by: MarcoGorelli <> (cherry picked from commit 0106c26529900bad0561efb9c9180f7f016365b0) - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and pass...
https://api.github.com/repos/pandas-dev/pandas/pulls/49079
2022-10-14T07:57:33Z
2022-10-14T11:09:20Z
2022-10-14T11:09:20Z
2022-10-14T11:09:30Z
BUG: pickling subset of Arrow-backed data would serialize the entire data
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index e57ba92267855..0024ec0210696 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -265,6 +265,7 @@ MultiIndex I/O ^^^ - Bug in :func:`read_sas` caused fragmentation of :class:`DataFrame` and raised :clas...
- [x] closes #42600 (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/49078
2022-10-13T23:09:13Z
2022-10-20T16:19:48Z
2022-10-20T16:19:48Z
2022-10-20T16:19:52Z
Backport PR #49072 on branch 1.5.x (BUG: redirect from meeting to community was incorrect)
diff --git a/doc/redirects.csv b/doc/redirects.csv index 92e3f9952987b..fda09d7644a49 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -45,7 +45,7 @@ contributing_docstring,development/contributing_docstring developer,development/developer extending,development/extending internals,development/internals -dev...
Backport PR #49072: BUG: redirect from meeting to community was incorrect
https://api.github.com/repos/pandas-dev/pandas/pulls/49077
2022-10-13T22:22:31Z
2022-10-14T07:50:31Z
2022-10-14T07:50:31Z
2022-10-14T07:50:32Z
Backport PR #49070 on branch 1.5.x (CI: Fix DeprecationWarning of numpy dev)
diff --git a/pandas/tests/series/test_constructors.py b/pandas/tests/series/test_constructors.py index f79714ae6455c..53b2cbedc0ae3 100644 --- a/pandas/tests/series/test_constructors.py +++ b/pandas/tests/series/test_constructors.py @@ -13,6 +13,7 @@ iNaT, lib, ) +from pandas.compat import is_numpy_dev impo...
Backport PR #49070: CI: Fix DeprecationWarning of numpy dev
https://api.github.com/repos/pandas-dev/pandas/pulls/49074
2022-10-13T19:47:14Z
2022-10-13T22:18:08Z
2022-10-13T22:18:08Z
2022-10-13T22:18:09Z
BUG: redirect from meeting to community was incorrect
diff --git a/doc/redirects.csv b/doc/redirects.csv index 92e3f9952987b..fda09d7644a49 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -45,7 +45,7 @@ contributing_docstring,development/contributing_docstring developer,development/developer extending,development/extending internals,development/internals -dev...
I noticed that the redirect I created had the following bug: https://pandas.pydata.org/docs/dev/development/development/meeting.html redirected to: https://pandas.pydata.org/docs/dev/development/development/community.html instead of: https://pandas.pydata.org/docs/dev/development/community.html After a full loc...
https://api.github.com/repos/pandas-dev/pandas/pulls/49072
2022-10-13T17:22:31Z
2022-10-13T22:22:24Z
2022-10-13T22:22:24Z
2022-10-13T22:22:24Z
CI: Fix DeprecationWarning of numpy dev
diff --git a/pandas/tests/series/test_constructors.py b/pandas/tests/series/test_constructors.py index a33912178bfd6..7bb01ad800aef 100644 --- a/pandas/tests/series/test_constructors.py +++ b/pandas/tests/series/test_constructors.py @@ -14,6 +14,7 @@ iNaT, lib, ) +from pandas.compat import is_numpy_dev impo...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/49070
2022-10-13T15:56:47Z
2022-10-13T19:46:25Z
2022-10-13T19:46:25Z
2022-10-14T12:12:16Z
PERF: Improve pickle support with BZ2 & LZMA
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 4ac737bb6b29a..7bf3ae8be6952 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -188,6 +188,7 @@ Performance improvements - Performance improvement in :func:`merge` and :meth:`DataFrame.join` when joinin...
- [x] Fixes #46747 - [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/49068
2022-10-13T08:50:55Z
2022-10-21T17:29:35Z
2022-10-21T17:29:35Z
2022-10-22T00:42:10Z