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: inplace keyword in rename | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bcbe2c6d8b104..b22d53f37cdc7 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -835,6 +835,7 @@ Other Deprecations
- Clarified warning from :func:`to_datetime` when delimited dates can't be parsed in ac... | - [ ] 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/48131 | 2022-08-17T20:11:49Z | 2022-09-14T21:31:53Z | null | 2022-09-14T21:31:55Z |
DEPR: set_axis inplace keyword | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0ceac8aeb9db8..c95660bf86114 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -847,6 +847,7 @@ Other Deprecations
- Deprecated the ``inplace`` keyword in :meth:`Categorical.set_ordered`, :meth:`Categor... | - [ ] 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/48130 | 2022-08-17T19:54:38Z | 2022-08-18T16:17:59Z | 2022-08-18T16:17:59Z | 2022-08-18T16:59:52Z |
BUG: Fixed inconsistent offset behavior for series #43784 | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 07d406ae7d779..fce92f2aabc8f 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -127,6 +127,7 @@ Categorical
Datetimelike
^^^^^^^^^^^^
- Bug in :func:`pandas.infer_freq`, raising ``TypeError`` when inf... | - [ ] closes #43784
- [ ] [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/48129 | 2022-08-17T17:37:35Z | 2022-11-17T01:31:00Z | null | 2022-11-17T01:31:00Z |
DEPR: positional arguments of read/to_state | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0ceac8aeb9db8..bad5b15bf45d6 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -850,6 +850,7 @@ Other Deprecations
- Deprecated producing a single element when iterating over a :class:`DataFrameGroupBy`... | - [ ] 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/48128 | 2022-08-17T17:33:25Z | 2022-08-17T21:15:14Z | 2022-08-17T21:15:14Z | 2022-09-21T15:29:01Z |
POC/REF: remove axes from Managers | diff --git a/pandas/_libs/properties.pyx b/pandas/_libs/properties.pyx
index 3354290a5f535..e6cbfb2c11017 100644
--- a/pandas/_libs/properties.pyx
+++ b/pandas/_libs/properties.pyx
@@ -61,9 +61,10 @@ cdef class AxisProperty:
if obj is None:
# Only instances have _mgr, not classes
retu... | cc @jorisvandenbossche we've discussed the idea of refactoring the Manager classes to not have the axes. This is a (not-remotely-working) attempt at de-coupling the NDFrame axes from Manager axes. Some questions before I spend much more time on this:
1) Am I remembering correctly that you are in principle in favor... | https://api.github.com/repos/pandas-dev/pandas/pulls/48126 | 2022-08-17T16:57:38Z | 2022-10-03T19:47:39Z | null | 2022-10-03T19:47:44Z |
BUG: #39448 fixed dropna to return copy correctly | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0ceac8aeb9db8..0d5b96439843c 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -993,7 +993,7 @@ Indexing
- Bug in :meth:`DataFrame.sum` min_count changes dtype if input contains NaNs (:issue:`46947`)
-... | - [X] closes #39448
- [ ] [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/48125 | 2022-08-17T15:45:12Z | 2022-09-26T23:02:07Z | null | 2022-09-26T23:02:07Z |
1.4.x | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index fcd822988de20..b22f93d488de2 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -198,6 +198,7 @@
nargsort,
)
+from pandas.errors import InvalidIndexError
from pandas.io.common import get_handle
from pandas.io.formats import (
con... | fix a bug using at to setitem will raise InvalidIndexError: df.at[slice, item] = array_or_other if item existed | https://api.github.com/repos/pandas-dev/pandas/pulls/48120 | 2022-08-17T08:03:15Z | 2022-08-19T15:50:37Z | null | 2022-08-19T15:50:37Z |
WEB: Update inactive maintainers | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index 79a77e80830f3..b33ea5b0dd972 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -69,21 +69,16 @@ maintainers:
- jorisvandenbossche
- TomAugspurger
- jreback
- - sinhrks
- - cpcloud
- gfyoung
- WillAyd
- mroeschke
- - js... | Following the proposal in the pandas core dev list, and after sending direct messages to all the people moved to inactive here, and getting an ok, or no answer, I update the lists of active/inactive maintainers.
If any of the people being updated here is still active in the project, just let me know, happy to revert... | https://api.github.com/repos/pandas-dev/pandas/pulls/48119 | 2022-08-17T05:19:20Z | 2022-08-19T17:36:23Z | 2022-08-19T17:36:23Z | 2022-08-19T17:36:23Z |
DOC: GH48097 remove optional from data for DatetimeIndex docs | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index 2625d8c683a0c..835d6a3948724 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -146,8 +146,8 @@ class DatetimeIndex(DatetimeTimedeltaMixin):
Parameters
----------
- data : array-li... | - [x] closes #48097
- [ ] [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/48118 | 2022-08-17T04:33:59Z | 2022-08-17T16:51:05Z | 2022-08-17T16:51:05Z | 2022-08-17T16:51:12Z |
ENH: droplevel copy keyword | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bcbe2c6d8b104..8aa4878288507 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -297,6 +297,7 @@ Other enhancements
- :meth:`DataFrame.quantile` gained a ``method`` argument that can accept ``table`` to ... | - [ ] 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/48117 | 2022-08-17T01:56:59Z | 2022-09-14T21:27:37Z | null | 2022-09-14T21:27:42Z |
Revert Interval/IntervalIndex/interval_range.inclusive deprecation | diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py
index 89c627865049e..05e12630d7540 100644
--- a/asv_bench/benchmarks/reshape.py
+++ b/asv_bench/benchmarks/reshape.py
@@ -268,9 +268,7 @@ def setup(self, bins):
self.datetime_series = pd.Series(
np.random.randint(N, siz... | xref https://github.com/pandas-dev/pandas/issues/47365#issuecomment-1215904502
Reverts these PRs
https://github.com/pandas-dev/pandas/pull/47775
https://github.com/pandas-dev/pandas/pull/47655
https://github.com/pandas-dev/pandas/pull/47646
https://github.com/pandas-dev/pandas/pull/47636
https://github.com/pa... | https://api.github.com/repos/pandas-dev/pandas/pulls/48116 | 2022-08-17T00:42:41Z | 2022-08-18T15:41:46Z | 2022-08-18T15:41:46Z | 2022-08-18T15:41:50Z |
DEPR: inplace kwarg in set_index | diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst
index f939945fc6cda..92729a16c6a30 100644
--- a/doc/source/user_guide/indexing.rst
+++ b/doc/source/user_guide/indexing.rst
@@ -1723,13 +1723,12 @@ the given columns to a MultiIndex:
frame
Other options in ``set_index`` allow yo... | - [ ] 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/48115 | 2022-08-16T19:26:18Z | 2022-08-17T21:19:39Z | 2022-08-17T21:19:39Z | 2022-08-17T21:43:39Z |
Fix spelling error: 'smaller than' -> 'smaller than' | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 6c32cc98df9ac..4434ed5a8b5f7 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -262,7 +262,7 @@ def use_numba_cb(key) -> None:
pc_chop_threshold_doc = """
: float or None
- if set to a float value, all float valu... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/48114 | 2022-08-16T19:02:23Z | 2022-08-16T19:03:57Z | 2022-08-16T19:03:57Z | 2022-08-16T19:04:04Z |
DOC: update contributing to pandas documentation | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index e76197e302ca4..fe4cb005248f3 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -194,30 +194,10 @@ Doing 'git status' again should give something like::
# mo... | - [x] closes #48035
- [ ] [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/48113 | 2022-08-16T18:51:04Z | 2022-09-01T20:24:37Z | 2022-09-01T20:24:37Z | 2022-10-13T16:59:59Z |
revert Timestamp and Timedelta constructors typing allowing NaTType return | diff --git a/pandas/_libs/tslibs/nattype.pyi b/pandas/_libs/tslibs/nattype.pyi
index 0aa80330b15bc..e9ae46cee7aec 100644
--- a/pandas/_libs/tslibs/nattype.pyi
+++ b/pandas/_libs/tslibs/nattype.pyi
@@ -67,8 +67,17 @@ class NaTType:
def round(self) -> NaTType: ...
def floor(self) -> NaTType: ...
def ceil(s... | Re discussion at https://github.com/pandas-dev/pandas/pull/46171#issuecomment-1216906549
Has `Timestamp` and `Timedelta` constructors return union that includes `NaTType`
| https://api.github.com/repos/pandas-dev/pandas/pulls/48112 | 2022-08-16T17:42:26Z | 2022-08-17T00:48:36Z | 2022-08-17T00:48:36Z | 2023-02-13T20:50:28Z |
ENH: Add cumulative methods to ea | diff --git a/doc/source/reference/extensions.rst b/doc/source/reference/extensions.rst
index ce8d8d5c2ca10..595b415ff7342 100644
--- a/doc/source/reference/extensions.rst
+++ b/doc/source/reference/extensions.rst
@@ -32,6 +32,7 @@ objects.
.. autosummary::
:toctree: api/
+ api.extensions.ExtensionArra... | - [x] closes #28385 (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/48111 | 2022-08-16T15:31:03Z | 2022-12-13T01:43:52Z | 2022-12-13T01:43:52Z | 2022-12-13T22:32:36Z |
ENH: dtype-unaware (empty) objects ("any" dtype) | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index b143e1e50aa6c..3ae503c18397a 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -2116,6 +2116,8 @@ def _setitem_with_indexer_missing(self, indexer, value):
curr_dtype = self.obj.dtype
curr_dtype = g... | - [ ] closes #19647
- [ ] [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/48110 | 2022-08-16T13:20:11Z | 2022-08-20T19:55:59Z | null | 2022-08-20T19:56:06Z |
ENH: Support mask in unique | diff --git a/asv_bench/benchmarks/hash_functions.py b/asv_bench/benchmarks/hash_functions.py
index d9a291dc27125..da752b902b4fd 100644
--- a/asv_bench/benchmarks/hash_functions.py
+++ b/asv_bench/benchmarks/hash_functions.py
@@ -39,6 +39,21 @@ def time_unique(self, exponent):
pd.unique(self.a2)
+class Uniq... | - [x] closes #30037 (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/48109 | 2022-08-16T10:55:18Z | 2022-08-18T06:16:39Z | 2022-08-18T06:16:39Z | 2022-08-18T07:29:10Z |
DEV: add gitpod actions | diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
new file mode 100644
index 0000000000000..c7082a1efc0d2
--- /dev/null
+++ b/.github/workflows/docker.yml
@@ -0,0 +1,61 @@
+name: Build Base Docker Image
+
+# schedule the base docker build on any change of the environment file in the main branch, ... | xref #47790
1. Adding an action to create the base docker file. It runs when the `environment.yml` on main is updated, or at least once monthly, to catch Ubuntu security updates
2. Adding an action to create the Gitpod docker file. It runs when main is updated.
Sidenote: I'm going on a few days vacation, and wil... | https://api.github.com/repos/pandas-dev/pandas/pulls/48108 | 2022-08-16T10:20:11Z | 2023-05-15T20:54:34Z | null | 2023-05-15T20:54:34Z |
DEV: Add gitpod files | diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 0000000000000..6bba39823791e
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,58 @@
+# Building pandas on init
+# Might delegate this later to prebuild with Q2 improvements on gitpod
+# https://www.gitpod.io/docs/config-start-tasks/#configuring-the-terminal
+#... | xref #47790
1. I split the Docker file into 2 Dockers
2. The base Docker includes the pandas environment, and has a new way to run Mamba in Docker, and builds on my machine (M1 mac).
3. The `gitpod.docker` copies the base docker, which will speed things up for any Gitpod user, and includes a shallow clone of the ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48107 | 2022-08-16T10:17:00Z | 2022-12-02T08:41:44Z | 2022-12-02T08:41:44Z | 2022-12-02T08:41:44Z |
REGR: setting numeric value in Categorical Series with enlargement raise internal error | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 5340bc6b590c4..3dfc544273a64 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -591,6 +591,12 @@ def _maybe_promote(dtype: np.dtype, fill_value=np.nan):
fv = na_value_for_dtype(dtype)
return dtype, fv
... | - [x] closes #47677 (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/48106 | 2022-08-16T09:55:33Z | 2022-08-16T21:23:46Z | 2022-08-16T21:23:46Z | 2022-08-16T21:23:50Z |
ASV: Add asv for clip with date range | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index 1d3bd4a357d24..09c318af76159 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -144,6 +144,16 @@ def time_clip(self, n):
self.s.clip(0, 1)
+class ClipDt:
+ ... | - [x] closes #47955 (Replace xxxx with the Github issue number)
| https://api.github.com/repos/pandas-dev/pandas/pulls/48105 | 2022-08-16T09:25:54Z | 2022-08-16T17:40:51Z | 2022-08-16T17:40:51Z | 2022-08-16T17:41:16Z |
DOC: GH48019 add styler to excel | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d9264e8a18f2e..bc736773510fa 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2256,6 +2256,7 @@ def to_excel(
ExcelWriter : Class for writing DataFrame objects into excel sheets.
read_excel : Read an Excel file into... | - [x] closes #48019
- [ ] [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/48104 | 2022-08-16T07:18:13Z | 2022-08-16T18:26:26Z | 2022-08-16T18:26:26Z | 2022-08-16T18:26:33Z |
DOC: GH48089 Update doc for df to latex | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d9264e8a18f2e..93d831105339d 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3351,7 +3351,8 @@ def to_latex(
{returns}
See Also
--------
- Styler.to_latex : Render a DataFrame to LaTeX with conditio... | - [x] closes #48089 (Replace xxxx with the Github issue number)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
| https://api.github.com/repos/pandas-dev/pandas/pulls/48102 | 2022-08-16T00:40:29Z | 2022-08-16T18:25:32Z | 2022-08-16T18:25:32Z | 2022-08-16T18:32:47Z |
DOC: Altered capitalization validation script to handle edge cases | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 166162a4763bf..f6e9dbc74e4b0 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -206,7 +206,7 @@ invoked with the following command
D-Tale integrates seamlessly with Jupyter notebooks, Python terminals, Kaggle
& Google Colab. ... | references #32550
I fixed the capitalization validation script to stop considering urls.
I also altered the script to consider hyphenated words as a single word. Previously this was asking you to change the capitalization of packages that had "Pandas" in the name, and adding that to the exceptions list would hav... | https://api.github.com/repos/pandas-dev/pandas/pulls/48100 | 2022-08-15T22:53:32Z | 2022-10-04T18:29:08Z | null | 2022-10-04T18:29:08Z |
TYP: reshape | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 6cfca4ebdc612..0db4cdf9f5c26 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8942,7 +8942,7 @@ def explode(
if is_scalar(column) or isinstance(column, tuple):
columns = [column]
elif isinstance(column, list) a... | - [ ] 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/48099 | 2022-08-15T22:30:25Z | 2022-08-16T18:29:33Z | 2022-08-16T18:29:33Z | 2022-08-16T19:15:57Z |
Initial Commit | diff --git a/README.md b/README.md
index aaf63ead9c416..1550cc8a1f151 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
</div>
-----------------
-
+# ABCD
# pandas: powerful Python data analysis toolkit
[](https://pypi.org/project/pandas/)
[![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/48096 | 2022-08-15T20:35:42Z | 2022-08-15T20:58:06Z | null | 2022-08-15T20:58:06Z |
CI/TST: Fix test_resample_empty_dataframe for 32 bit build | diff --git a/pandas/tests/resample/test_base.py b/pandas/tests/resample/test_base.py
index 403eeb8db73f9..04f147ee40e62 100644
--- a/pandas/tests/resample/test_base.py
+++ b/pandas/tests/resample/test_base.py
@@ -169,7 +169,7 @@ def test_resample_empty_dataframe(empty_frame_dti, freq, resample_method):
expecte... | - [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).
xref https://github.com/... | https://api.github.com/repos/pandas-dev/pandas/pulls/48095 | 2022-08-15T20:13:49Z | 2022-08-15T23:09:09Z | 2022-08-15T23:09:09Z | 2022-08-16T10:06:02Z |
BUG: df.__setitem__ casting ea to object when setting with scalar key and frame value | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a1a2149da7cf6..94167299efa90 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -968,6 +968,7 @@ Indexing
- Bug in :meth:`Index.reindex` raising ``AssertionError`` when ``level`` was specified but no :cl... | - [x] closes #46896 (Replace xxxx with the Github issue number)
- [x] closes #20476 (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... | https://api.github.com/repos/pandas-dev/pandas/pulls/48094 | 2022-08-15T20:01:14Z | 2022-08-17T00:58:24Z | 2022-08-17T00:58:24Z | 2022-08-17T07:39:35Z |
TST: Filter/test pyarrow PerformanceWarnings | diff --git a/pandas/tests/base/test_value_counts.py b/pandas/tests/base/test_value_counts.py
index 55a6cc48ebfc8..762fc060c0ffd 100644
--- a/pandas/tests/base/test_value_counts.py
+++ b/pandas/tests/base/test_value_counts.py
@@ -4,6 +4,9 @@
import numpy as np
import pytest
+from pandas.compat import pa_version_unde... | - [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).
* Add `tm.maybe_produces... | https://api.github.com/repos/pandas-dev/pandas/pulls/48093 | 2022-08-15T19:13:56Z | 2022-08-19T21:17:14Z | 2022-08-19T21:17:14Z | 2022-08-19T21:41:12Z |
ENH: move an exception and add a prehook to check for exception place… | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cef3d6aea5d27..da0162ce7e160 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -236,6 +236,14 @@ repos:
entry: python scripts/validate_min_versions_in_sync.py
language: python
files: ^(ci/deps/actions-.*-... | - [x] closes #27656.
- [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).
Th... | https://api.github.com/repos/pandas-dev/pandas/pulls/48088 | 2022-08-15T16:49:51Z | 2022-09-20T18:31:49Z | 2022-09-20T18:31:49Z | 2022-10-13T16:59:59Z |
ENH: Make categories setitem error more readable | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index b50ddd42997cb..0d228582992d2 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -1588,7 +1588,7 @@ def _validate_scalar(self, fill_value):
raise TypeError(
"Canno... | - [X] closes #46646
| https://api.github.com/repos/pandas-dev/pandas/pulls/48087 | 2022-08-15T15:46:16Z | 2022-08-15T18:13:05Z | 2022-08-15T18:13:05Z | 2022-08-15T18:13:14Z |
ENH: Add axis parameter to add_prefix and add_suffix | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 83dfacb46784b..6b7ae767d79d4 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -28,7 +28,7 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
--
+- :meth:`Series.add_suffix`, :meth:`DataFrame.add_... | - [X] closes #47819
- [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/48085 | 2022-08-15T12:18:17Z | 2022-08-31T17:14:36Z | 2022-08-31T17:14:36Z | 2022-10-13T16:59:58Z |
REF: avoid internals in merge code | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 3e3ff68bb8719..50aaac211c7a5 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -83,7 +83,6 @@
import pandas.core.common as com
from pandas.core.construction import extract_array
from pandas.core.frame import ... | After this, concatenate_block_managers is only used in one place. | https://api.github.com/repos/pandas-dev/pandas/pulls/48082 | 2022-08-15T01:53:35Z | 2022-08-17T00:55:02Z | 2022-08-17T00:55:02Z | 2022-09-17T18:56:44Z |
ENH: Add support for groupby.ohlc for ea dtypes | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b71d294b97f9a..b042f37e71e38 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -287,6 +287,7 @@ Other enhancements
- ``times`` argument in :class:`.ExponentialMovingWindow` now accepts ``np.timedelta64`... | - [x] xref #37493 (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/48081 | 2022-08-14T20:10:41Z | 2022-08-15T17:47:37Z | 2022-08-15T17:47:37Z | 2022-08-15T17:48:04Z |
PDEP-3: Small data visualization consolidation | diff --git a/web/pandas/pdeps/0003-small-data-visualization-consolidation.md b/web/pandas/pdeps/0003-small-data-visualization-consolidation.md
new file mode 100644
index 0000000000000..33bc815c42ace
--- /dev/null
+++ b/web/pandas/pdeps/0003-small-data-visualization-consolidation.md
@@ -0,0 +1,158 @@
+# PDEP-3: Small Da... | This is the official Pdep and design objectives I have been unofficially publishing PRs towards.
Some items like reimplementing `DataFrame.to_html` and `DataFrame.to_latex` to use `jinja2` suffer from ad-hoc and inconsistent PRs and PR reviews. It seems appropriate for a wider discussion and either adoption or rejec... | https://api.github.com/repos/pandas-dev/pandas/pulls/48080 | 2022-08-14T13:29:20Z | 2023-03-24T17:46:44Z | null | 2023-03-24T17:46:45Z |
ENH: Support mask for groupby var and mean | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 2de1f25fceace..90cb31577a1b4 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -560,6 +560,45 @@ def time_frame_agg(self, dtype, method):
self.df.groupby("key").agg(method)
+class GroupB... | - [x] xref #37493 (Replace xxxx with the Github issue number)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48078 | 2022-08-14T10:11:09Z | 2022-09-02T19:48:13Z | 2022-09-02T19:48:13Z | 2022-10-13T16:59:57Z |
Bug: Unexpected behavior when assigning multi-dimensional array to DataFrame column | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 93a2c20cd0b74..60cef111af2b0 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3948,6 +3948,9 @@ def isetitem(self, loc, value) -> None:
`frame[frame.columns[i]] = value`.
"""
arraylike = self._sanitize_column(value... | - [ ] closes #40827
- [ ] [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/48077 | 2022-08-14T07:24:35Z | 2022-08-25T16:01:53Z | null | 2022-08-25T16:01:53Z |
Backport PR #48065 on branch 1.4.x (CI/DEPS: Fix timezone test due to pytz upgrade) | diff --git a/pandas/tests/tseries/offsets/test_dst.py b/pandas/tests/tseries/offsets/test_dst.py
index 50c5a91fc2390..9c6d6a686e9a5 100644
--- a/pandas/tests/tseries/offsets/test_dst.py
+++ b/pandas/tests/tseries/offsets/test_dst.py
@@ -31,6 +31,10 @@
)
from pandas.tests.tseries.offsets.test_offsets import get_utc_... | Backport PR #48065: CI/DEPS: Fix timezone test due to pytz upgrade | https://api.github.com/repos/pandas-dev/pandas/pulls/48076 | 2022-08-14T05:39:14Z | 2022-08-14T09:43:11Z | 2022-08-14T09:43:11Z | 2022-08-14T09:43:11Z |
TST: Address test warnings | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index 8a261f09e7118..f1a8a70674582 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -973,7 +973,7 @@ def _aggregate_frame(self, func, *args, **kwargs) -> DataFrame:
result: dict[Hashable, NDFrame | n... | - [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).
The goal is to enable `p... | https://api.github.com/repos/pandas-dev/pandas/pulls/48075 | 2022-08-14T04:51:56Z | 2022-08-19T21:15:02Z | 2022-08-19T21:15:02Z | 2022-08-19T21:41:04Z |
DEPR: `sort_columns` in `plot` (#47563) | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b71d294b97f9a..7fe970ef36e14 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -845,6 +845,7 @@ Other Deprecations
- Deprecated unused arguments ``encoding`` and ``verbose`` in :meth:`Series.to_excel` a... | - [x] closes #47563
- [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/48073 | 2022-08-13T20:28:00Z | 2022-08-16T00:07:00Z | 2022-08-16T00:07:00Z | 2022-08-20T12:55:22Z |
TST: Check dtype in test_resample_empty_dataframe | diff --git a/pandas/tests/resample/test_base.py b/pandas/tests/resample/test_base.py
index 1a25749808820..403eeb8db73f9 100644
--- a/pandas/tests/resample/test_base.py
+++ b/pandas/tests/resample/test_base.py
@@ -169,13 +169,13 @@ def test_resample_empty_dataframe(empty_frame_dti, freq, resample_method):
expec... | - [ ] 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/48072 | 2022-08-13T18:40:41Z | 2022-08-15T17:27:58Z | 2022-08-15T17:27:58Z | 2022-08-15T19:43:09Z |
ENH: Support mask in GroupBy.cumsum | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0ceac8aeb9db8..bc5f24e6fb7dd 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -287,7 +287,7 @@ Other enhancements
- ``times`` argument in :class:`.ExponentialMovingWindow` now accepts ``np.timedelta64`... | - [x] xref #37493 (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/48070 | 2022-08-13T14:52:58Z | 2022-08-18T18:29:50Z | 2022-08-18T18:29:50Z | 2022-08-18T20:29:13Z |
STYLE: upgrade flake8 | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dbddba57ef21c..2ca5b5c9b896b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -11,7 +11,7 @@ repos:
- id: absolufy-imports
files: ^pandas/
- repo: https://github.com/jendrikseipp/vulture
- rev: 'v2.4'
+ re... | - [x] closes #48061
- [ ] [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/48069 | 2022-08-13T12:48:01Z | 2022-08-14T16:04:09Z | 2022-08-14T16:04:09Z | 2022-08-14T18:14:55Z |
TST: Check index when grouping all columns of empty DF (#32464) | diff --git a/pandas/tests/groupby/test_function.py b/pandas/tests/groupby/test_function.py
index 93e9b5bb776ab..45ac77bac9e02 100644
--- a/pandas/tests/groupby/test_function.py
+++ b/pandas/tests/groupby/test_function.py
@@ -1574,3 +1574,15 @@ def test_corrwith_with_1_axis():
)
expected = Series([np.nan] * 6,... | - [x] closes #32464
- [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/48067 | 2022-08-13T00:54:30Z | 2022-08-15T21:11:53Z | 2022-08-15T21:11:53Z | 2022-08-20T12:55:28Z |
CI: Avoid flaky build errors & show installed packages in 32 bit build | diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml
index e091160c952f8..67e99b4486a12 100644
--- a/.github/workflows/32-bit-linux.yml
+++ b/.github/workflows/32-bit-linux.yml
@@ -39,8 +39,9 @@ jobs:
. ~/virtualenvs/pandas-dev/bin/activate && \
python -m pip instal... | xref #47305 & https://github.com/pandas-dev/pandas/pull/48065#discussion_r944893462
| https://api.github.com/repos/pandas-dev/pandas/pulls/48066 | 2022-08-12T22:30:17Z | 2022-08-17T01:59:13Z | 2022-08-17T01:59:13Z | 2022-08-17T02:12:14Z |
CI/DEPS: Fix timezone test due to pytz upgrade | diff --git a/pandas/tests/tseries/offsets/test_dst.py b/pandas/tests/tseries/offsets/test_dst.py
index 50c5a91fc2390..9c6d6a686e9a5 100644
--- a/pandas/tests/tseries/offsets/test_dst.py
+++ b/pandas/tests/tseries/offsets/test_dst.py
@@ -31,6 +31,10 @@
)
from pandas.tests.tseries.offsets.test_offsets import get_utc_... | - [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
| https://api.github.com/repos/pandas-dev/pandas/pulls/48065 | 2022-08-12T19:16:03Z | 2022-08-14T05:38:44Z | 2022-08-14T05:38:44Z | 2022-08-14T05:38:47Z |
BUG: Groupby cumprod nan influences other columns with skipna False | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b71d294b97f9a..92a99098db05c 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1075,6 +1075,7 @@ Groupby/resample/rolling
- Bug in :meth:`.GroupBy.cummin` and :meth:`.GroupBy.cummax` with nullable dtyp... | - [ ] 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/48064 | 2022-08-12T19:13:39Z | 2022-08-15T17:25:23Z | 2022-08-15T17:25:23Z | 2022-08-15T17:27:57Z |
fixed docstring error with pandas.Series.plot.area:Unknown parameter: {'stacked'} | diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py
index 96f9abb301471..8d6c2062f9484 100644
--- a/pandas/plotting/_core.py
+++ b/pandas/plotting/_core.py
@@ -1484,7 +1484,7 @@ def kde(self, bw_method=None, ind=None, **kwargs) -> PlotAccessor:
density = kde
- def area(self, x=None, y=None, **k... | When you run python `./scripts/validate_docstrings.py --errors=PR02`, one of the errors is `/home/pandas/pandas/plotting/_core.py:1470:PR02:pandas.Series.plot.area:Unknown parameters {'stacked'}`
The error I believe is because "stacked" is declared in the docstring, but is not a parameter within the function. Even t... | https://api.github.com/repos/pandas-dev/pandas/pulls/48063 | 2022-08-12T18:29:42Z | 2022-08-26T21:40:24Z | 2022-08-26T21:40:24Z | 2022-08-26T21:40:47Z |
REF: make copy keyword non-stateful | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cb392eee1d589..799becbc652f6 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -117,11 +117,10 @@ def merge(
right_index=right_index,
sort=sort,
suffixes=suffixes,
- copy=copy,
... | - [ ] 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/48062 | 2022-08-12T17:42:40Z | 2022-08-15T17:21:13Z | 2022-08-15T17:21:13Z | 2022-08-15T17:42:53Z |
REGR: Avoid overflow with groupby sum | diff --git a/pandas/_libs/algos.pyi b/pandas/_libs/algos.pyi
index 9ffcf25f6eacd..5a2005722c85c 100644
--- a/pandas/_libs/algos.pyi
+++ b/pandas/_libs/algos.pyi
@@ -132,6 +132,7 @@ def ensure_int8(arr: object, copy=...) -> npt.NDArray[np.int8]: ...
def ensure_int16(arr: object, copy=...) -> npt.NDArray[np.int16]: ...
... | This is the alternative to #48044.
I would very much prefer this one, even though it is a bit slower.
cc @mroeschke cc @jorisvandenbossche | https://api.github.com/repos/pandas-dev/pandas/pulls/48059 | 2022-08-12T15:53:33Z | 2022-08-12T19:09:38Z | 2022-08-12T19:09:38Z | 2022-08-12T19:09:41Z |
REGR: fix reset_index (Index.insert) regression with custom Index subclasses | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index 25db2ef7253d9..b09d14010545c 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -22,6 +22,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.loc` not aligning index in some cases when setting ... | - [x] closes #47071
- [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] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
I added a new ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48058 | 2022-08-12T14:41:46Z | 2022-08-22T19:46:20Z | 2022-08-22T19:46:20Z | 2022-08-23T05:07:42Z |
REGR: fix regression in scalar setitem with setting a length-1 array-like | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index 57b8fdee5888a..32b4d1f8a8012 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -18,6 +18,7 @@ Fixed regressions
- Fixed regression in :func:`concat` materializing :class:`Index` during sorting even if :... | - [x] closes #46268
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48057 | 2022-08-12T13:22:48Z | 2022-08-19T17:26:20Z | 2022-08-19T17:26:20Z | 2022-08-22T11:03:51Z |
Fixed docstring error with style.py, unknown parameter: {'text_color_threshold'} | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 0522e113d6525..fe10d4e312a1e 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -2987,7 +2987,10 @@ def _get_numeric_subset_default(self):
name="background",
alt="text",
image_prefix="bg",
- ... | When you run python` ./scripts/validate_docstrings.py --errors=PR02`, one of the errors is `/home/pandas/pandas/io/formats/style.py:3144:PR02:pandas.io.formats.style.Styler.text_gradient:Unknown parameters {'text_color_threshold'}`
The error I believe was because the function text_gradient was using the doc-string f... | https://api.github.com/repos/pandas-dev/pandas/pulls/48055 | 2022-08-12T10:48:08Z | 2022-08-18T15:43:06Z | 2022-08-18T15:43:06Z | 2022-08-18T15:43:15Z |
DOC: add source link to properties | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 33c916f532e90..84958595f6618 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -653,12 +653,20 @@ def linkcode_resolve(domain, info):
try:
fn = inspect.getsourcefile(inspect.unwrap(obj))
except TypeError:
- fn = None
+ ... | The current version of `linkcode_resolve` is unable to handle properties and ignore them. Hence there are no links to the source code for properties unlike for everything else. This add support to properties I did in https://github.com/geopandas/geopandas/pull/2526#issuecomment-1212926545 which is based on pandas code,... | https://api.github.com/repos/pandas-dev/pandas/pulls/48054 | 2022-08-12T10:05:30Z | 2022-08-12T20:04:40Z | 2022-08-12T20:04:39Z | 2022-08-12T21:09:13Z |
WEB: Update list of maintainers and improve inactive maintainers format | diff --git a/web/pandas/about/team.md b/web/pandas/about/team.md
index 2982105616f47..261d577b2abc1 100644
--- a/web/pandas/about/team.md
+++ b/web/pandas/about/team.md
@@ -6,10 +6,10 @@ _pandas_ is made with love by more than [2,000 volunteer contributors](https://g
If you want to support pandas development, you ca... | - Adding @lithomas1 and @mzeitlin11 to the maintainers list in the website (sorry it wasn't done when you were promoted)
- Moving @shoyer, @chris-b1 and @toobaz to inactive, renaming the section "Inactive maintainers", and using the same logic to display the names with links as we have for active maintainers
| https://api.github.com/repos/pandas-dev/pandas/pulls/48053 | 2022-08-12T05:59:34Z | 2022-08-12T17:59:44Z | 2022-08-12T17:59:44Z | 2022-08-12T17:59:51Z |
REF: dont alter self in _validate_specification | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cb392eee1d589..c84926deb314e 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -639,8 +639,6 @@ def __init__(
self.axis = 1 - axis if self.left.ndim == 2 else 0
self.on = com.maybe_make_list(... | Besides being better-practice, this will make it easier to annotate. Done separately bc im tracking down what appear to be incorrect annotations that need to be fixed in order to annotate these methods. | https://api.github.com/repos/pandas-dev/pandas/pulls/48051 | 2022-08-11T23:39:17Z | 2022-08-15T16:08:15Z | 2022-08-15T16:08:15Z | 2022-08-15T16:14:04Z |
ENH: allow user to infer SAS file encoding; add correct encoding names | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 405b8cc0a5ded..252a618150aff 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -28,6 +28,7 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
+- :func:`read_sas` now supports using ``encoding='inf... | - [x] closes #48048 (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/48050 | 2022-08-11T22:32:14Z | 2022-09-19T23:21:57Z | 2022-09-19T23:21:57Z | 2022-10-13T16:59:56Z |
CI: Pin setuptools | diff --git a/.circleci/setup_env.sh b/.circleci/setup_env.sh
index c03a7ff4be8b3..42200c31ec28a 100755
--- a/.circleci/setup_env.sh
+++ b/.circleci/setup_env.sh
@@ -51,7 +51,7 @@ echo
echo "update conda"
conda config --set ssl_verify false
conda config --set quiet true --set always_yes true --set changeps1 false
-co... | - [ ] xref #48046 (Replace xxxx with the Github issue number)
| https://api.github.com/repos/pandas-dev/pandas/pulls/48047 | 2022-08-11T21:42:02Z | 2022-08-12T15:01:48Z | null | 2022-08-12T17:28:45Z |
Nanoseconds added | diff --git a/pandas/tests/arrays/string_/test_string.py b/pandas/tests/arrays/string_/test_string.py
index 6a17a56a47cbc..5cac852b40496 100644
--- a/pandas/tests/arrays/string_/test_string.py
+++ b/pandas/tests/arrays/string_/test_string.py
@@ -611,3 +611,11 @@ def test_setitem_scalar_with_mask_validation(dtype):
... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/48045 | 2022-08-11T21:11:10Z | 2022-08-11T21:54:40Z | null | 2022-08-18T23:36:19Z |
REGR: groupby sum causing overflow for int8 | diff --git a/pandas/_libs/groupby.pyi b/pandas/_libs/groupby.pyi
index 3ec37718eb652..814cd223eb445 100644
--- a/pandas/_libs/groupby.pyi
+++ b/pandas/_libs/groupby.pyi
@@ -51,7 +51,7 @@ def group_any_all(
skipna: bool,
) -> None: ...
def group_sum(
- out: np.ndarray, # complexfloatingintuint_t[:, ::1]
+ ... | This fixes the regression from #48018
BUT: Handling this on the cython level like this is really ugly... and will blow up our wheel size if we introduce this everywhere, but I could not find a way to restrict the compile combinations.
If there is no better way of handling this on the cython level I would propos... | https://api.github.com/repos/pandas-dev/pandas/pulls/48044 | 2022-08-11T21:06:45Z | 2022-08-12T19:09:49Z | null | 2022-08-17T20:02:50Z |
ENH: set_index copy kwd | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 6bf0f288645b7..599ef6150168a 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -293,6 +293,7 @@ Other enhancements
- :meth:`RangeIndex.union` now can return a :class:`RangeIndex` instead of a :class:`In... | - [ ] 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/48043 | 2022-08-11T20:43:58Z | 2022-08-12T18:17:09Z | 2022-08-12T18:17:09Z | 2022-08-13T17:59:20Z |
TST: GH39984 Addition to tests | diff --git a/pandas/tests/indexes/multi/test_constructors.py b/pandas/tests/indexes/multi/test_constructors.py
index 7fad59fc6654c..4dc3c5a4ae8b9 100644
--- a/pandas/tests/indexes/multi/test_constructors.py
+++ b/pandas/tests/indexes/multi/test_constructors.py
@@ -7,6 +7,8 @@
import numpy as np
import pytest
+from ... | - [x] closes #39984 (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/48042 | 2022-08-11T20:41:51Z | 2022-08-26T19:02:55Z | 2022-08-26T19:02:55Z | 2022-10-13T16:59:56Z |
CI: Include FutureWarning from numpy in npdev build | diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index a759280c74521..c4398efb12c3d 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -64,7 +64,7 @@ jobs:
env_file: actions-310-numpydev.yaml
pattern: "not slow and not network and not single... | - [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
xref https://github.com/pandas-dev/pandas/pull/46767#discussion_r849950834
cc @jbrockmendel
| https://api.github.com/repos/pandas-dev/pandas/pulls/48041 | 2022-08-11T19:22:13Z | 2022-08-17T01:59:32Z | 2022-08-17T01:59:32Z | 2022-08-17T02:12:07Z |
REF: make indicator_name a cache_readonly | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cb392eee1d589..659cb1d2f6838 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -35,6 +35,7 @@
from pandas.util._decorators import (
Appender,
Substitution,
+ cache_readonly,
)
from pandas.util._e... | Too much going on in `__init__` ATM. | https://api.github.com/repos/pandas-dev/pandas/pulls/48040 | 2022-08-11T18:20:08Z | 2022-08-12T18:26:17Z | 2022-08-12T18:26:17Z | 2022-08-12T18:42:04Z |
CLN: Remove mangle_dupe_cols argument | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index d794692de5005..c0cc985a42b87 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -548,6 +548,7 @@ Other API changes
- Operations with :class:`Timestamp` or :class:`Timedelta` that would previously raise `... | - [X] xref #47718
- [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] A... | https://api.github.com/repos/pandas-dev/pandas/pulls/48037 | 2022-08-11T12:22:23Z | 2022-08-12T05:56:20Z | null | 2022-08-12T05:56:20Z |
Doc: Series.rename parameter documentation with Tests | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 206fcbe05d006..c96a5c7f15e71 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -4859,17 +4859,23 @@ def rename(
Parameters
----------
- axis : {0 or 'index'}
- Unused. Parameter needed for compatibilit... | - [x] closes #46889
- [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/48036 | 2022-08-11T11:51:04Z | 2022-08-12T18:02:05Z | 2022-08-12T18:02:04Z | 2022-08-12T18:02:12Z |
ENH: raise_assert_detail only shows the difference between the columns | diff --git a/pandas/_libs/testing.pyi b/pandas/_libs/testing.pyi
index 01da496975f51..835cbf11bab9b 100644
--- a/pandas/_libs/testing.pyi
+++ b/pandas/_libs/testing.pyi
@@ -9,4 +9,5 @@ def assert_almost_equal(
lobj=...,
robj=...,
index_values=...,
+ show_diff_only=...,
): ...
diff --git a/pandas/_lib... | - [x] closes #47910
- [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/48033 | 2022-08-11T06:25:09Z | 2022-08-15T05:31:28Z | null | 2022-08-15T05:31:28Z |
TST: catch some test warnings | diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py
index 1ef0865fff552..ff3abaf819206 100644
--- a/pandas/tests/apply/test_frame_apply.py
+++ b/pandas/tests/apply/test_frame_apply.py
@@ -1583,7 +1583,7 @@ def test_apply_on_empty_dataframe():
# GH 39111
df = DataFrame(... | I get a hundred and change warnings locally when I run the test suite, am surprised the npdev build isn't failing on these. This gets a handful of them. | https://api.github.com/repos/pandas-dev/pandas/pulls/48031 | 2022-08-11T01:06:09Z | 2022-08-11T16:57:49Z | 2022-08-11T16:57:49Z | 2022-08-11T19:04:57Z |
BUG: use uuid4 instead of md5 for fake column in cross merge | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a0d33cb513722..d794692de5005 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1095,6 +1095,7 @@ Reshaping
- Bug in :func:`concat` not sorting the column names when ``None`` is included (:issue:`47331`... | - [x] closes #48024 (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/48029 | 2022-08-10T21:40:08Z | 2022-08-11T00:55:24Z | 2022-08-11T00:55:24Z | 2022-08-11T10:30:51Z |
ENH: Support masks in groupby prod | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index c197f3df45814..6522a8008aee6 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1112,7 +1112,7 @@ Groupby/resample/rolling
- Bug when using ``engine="numba"`` would return the same jitted function when ... | - [x] xref #37493 (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/48027 | 2022-08-10T21:05:14Z | 2022-08-29T21:44:03Z | 2022-08-29T21:44:03Z | 2022-08-29T21:46:21Z |
DEPR fixup warning message of MultiIndex.lexsort_depth deprecation | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a0d33cb513722..f51f31af4799a 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -843,6 +843,7 @@ Other Deprecations
- Deprecated setting a categorical's categories with ``cat.categories = ['a', 'b', 'c']... | xref https://github.com/pandas-dev/pandas/pull/38701/files#r942749562 | https://api.github.com/repos/pandas-dev/pandas/pulls/48025 | 2022-08-10T18:49:20Z | 2022-08-12T11:38:52Z | 2022-08-12T11:38:52Z | 2022-08-12T11:40:47Z |
PERF cache find_stack_level | diff --git a/pandas/_libs/interval.pyx b/pandas/_libs/interval.pyx
index ec1dbff6903e7..bcd85f915e4a2 100644
--- a/pandas/_libs/interval.pyx
+++ b/pandas/_libs/interval.pyx
@@ -1,3 +1,4 @@
+import inspect
import numbers
from operator import (
le,
@@ -45,6 +46,7 @@ cnp.import_array()
import warnings
from pand... | This would be a precursor to #47998 and #47828. If repeatedly calling `find_stack_level`, then performance takes a hit
Demo of impact: if we run the file
```python
import cProfile
import pstats, cProfile
import re
import pandas as pd
data = pd.date_range('1990', '2000').strftime('%d/%m/%Y').tolist()
def... | https://api.github.com/repos/pandas-dev/pandas/pulls/48023 | 2022-08-10T13:20:49Z | 2022-08-11T16:53:53Z | 2022-08-11T16:53:53Z | 2022-10-14T08:00:43Z |
ENH: change get_dummies default dtype to bool | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index bdaea89776b7c..0cad6f3caaf91 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -118,6 +118,7 @@ Other API changes
^^^^^^^^^^^^^^^^^
- Passing ``nanoseconds`` greater than 999 or less than 0 in :class:`... | Added a future warning when no dtype is passed to `get_dummies` stating the the default dtype will change to `bool` from `np.uint8`
- [x] Closes #45848
- [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 featur... | https://api.github.com/repos/pandas-dev/pandas/pulls/48022 | 2022-08-10T11:51:16Z | 2022-10-11T16:29:10Z | 2022-10-11T16:29:10Z | 2023-03-01T07:26:05Z |
ENH: Support mask in groupby sum | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 502e37705abfb..e2cd7cb472ea5 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1047,6 +1047,7 @@ Groupby/resample/rolling
- Bug when using ``engine="numba"`` would return the same jitted function when ... | - [x] xref #37493 (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/48018 | 2022-08-09T21:12:19Z | 2022-08-11T17:23:53Z | 2022-08-11T17:23:53Z | 2022-08-12T18:29:10Z |
BUG: iloc raising for ea and null slice and length one list | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 20997bdde5da1..46c375b92dd83 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -1725,6 +1725,9 @@ def _unwrap_setitem_indexer(self, indexer):
elif com.is_null_slice(indexer[1]):
... | This is also a regression on main
| https://api.github.com/repos/pandas-dev/pandas/pulls/48016 | 2022-08-09T17:49:52Z | 2022-08-09T19:43:46Z | 2022-08-09T19:43:46Z | 2022-08-09T21:12:52Z |
TYP: avoid inherit_names for DatetimeIndexOpsMixin | diff --git a/pandas/_libs/tslibs/offsets.pyi b/pandas/_libs/tslibs/offsets.pyi
index c3d550c7a5ba9..34c5c661f6ec9 100644
--- a/pandas/_libs/tslibs/offsets.pyi
+++ b/pandas/_libs/tslibs/offsets.pyi
@@ -13,6 +13,7 @@ from typing import (
import numpy as np
+from pandas._libs.tslibs.nattype import NaTType
from panda... | Similar to #36742
xref #32100
| https://api.github.com/repos/pandas-dev/pandas/pulls/48015 | 2022-08-09T16:41:42Z | 2022-11-17T01:31:52Z | null | 2022-11-21T02:17:30Z |
DOC: Update whatsnew 1.5 | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 502e37705abfb..e5ef9b16b62eb 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -932,8 +932,7 @@ Indexing
- Bug in setting a NA value (``None`` or ``np.nan``) into a :class:`Series` with int-based :class... | Accidentially stumbled across the fact, that this was a regression on main, not in our releases. Hence, removed the whatsnew
| https://api.github.com/repos/pandas-dev/pandas/pulls/48013 | 2022-08-09T06:40:56Z | 2022-08-09T18:34:15Z | 2022-08-09T18:34:15Z | 2022-08-09T18:55:11Z |
DOC: Add examples to frequency classes and methods | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index e7c3a709bb251..d553c0d77bc56 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -367,7 +367,23 @@ cdef class BaseOffset:
def __init__(self, n=1, normalize=False):
n = self._validate_n(n)... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
The goal is to eventually enable the `EX01` (all docstrings have examples), so adding simple examples to the public frequency classes and methods. | https://api.github.com/repos/pandas-dev/pandas/pulls/48011 | 2022-08-09T04:24:03Z | 2022-08-10T21:00:37Z | 2022-08-10T21:00:37Z | 2022-08-10T21:00:40Z |
TST: Refactor index setops test for xdist stability | diff --git a/pandas/conftest.py b/pandas/conftest.py
index e176707d8a8f1..c3c1867d2dad1 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -665,21 +665,6 @@ def index_flat(request):
index_flat2 = index_flat
-@pytest.fixture(
- params=[
- key
- for key in indices_dict
- if not isins... | - [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).
It appears `pytest-xdist... | https://api.github.com/repos/pandas-dev/pandas/pulls/48010 | 2022-08-09T04:20:06Z | 2022-08-09T16:46:06Z | 2022-08-09T16:46:06Z | 2022-08-09T16:46:09Z |
Backport PR #47979 on branch 1.4.x (DEPS: Update cython) | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 46640505a4c84..b1ea2682b7ea7 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -42,7 +42,7 @@
// followed by the pip installed packages).
"matrix": {
"numpy": [],
- "Cython": ["0.29.30"],
+ "Cython"... | Backport PR #47979 | https://api.github.com/repos/pandas-dev/pandas/pulls/48009 | 2022-08-08T19:13:16Z | 2022-08-08T21:28:08Z | 2022-08-08T21:28:08Z | 2023-02-22T11:40:50Z |
BUG: Fixed ignoring of nanoseconds when adding to series #47856 | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0b450fab53137..aece8caef65f1 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -824,6 +824,7 @@ Datetimelike
- Bug in :meth:`DatetimeIndex.resolution` incorrectly returning "day" instead of "nanosecond"... | - [ ] closes #47856 (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/48008 | 2022-08-08T17:52:55Z | 2022-08-10T00:12:34Z | 2022-08-10T00:12:34Z | 2022-08-10T00:12:40Z |
BUG in read_pickle | diff --git a/pandas/io/pickle.py b/pandas/io/pickle.py
index 2928d8c6520b0..373d608876c3e 100644
--- a/pandas/io/pickle.py
+++ b/pandas/io/pickle.py
@@ -160,11 +160,14 @@ def read_pickle(
Notes
-----
- read_pickle is only guaranteed to be backwards compatible to pandas 0.20.3.
+ read_pickle is only gu... | - [x] closes #47895
- [x] passes all checks
- [ ] Fixed note in the latest `pandas/io/pickle.py`
| https://api.github.com/repos/pandas-dev/pandas/pulls/48007 | 2022-08-08T15:54:11Z | 2022-08-09T19:10:46Z | 2022-08-09T19:10:46Z | 2022-08-09T19:11:33Z |
DOC: move release note for #47581 | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index dce8fb60ecdd6..b4224b5b210e0 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -16,6 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`concat` materializing :class:`Index` durin... | xref https://github.com/pandas-dev/pandas/pull/47581#issuecomment-1179682819 | https://api.github.com/repos/pandas-dev/pandas/pulls/48006 | 2022-08-08T13:13:41Z | 2022-08-08T14:38:28Z | 2022-08-08T14:38:28Z | 2022-08-08T14:38:37Z |
DOC: move release note for #47905 | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index a49772fb83ca7..dce8fb60ecdd6 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -27,7 +27,6 @@ Bug fixes
~~~~~~~~~
- The :class:`errors.FutureWarning` raised when passing arguments (other than ``filepat... | xref https://github.com/pandas-dev/pandas/pull/47925#issuecomment-1207902781 | https://api.github.com/repos/pandas-dev/pandas/pulls/48005 | 2022-08-08T09:51:13Z | 2022-08-08T13:07:26Z | 2022-08-08T13:07:26Z | 2022-08-08T13:07:30Z |
SAS7BDAT parser: Fix page count | diff --git a/pandas/io/sas/sas7bdat.py b/pandas/io/sas/sas7bdat.py
index 7282affe1b5e6..beac654696ed7 100644
--- a/pandas/io/sas/sas7bdat.py
+++ b/pandas/io/sas/sas7bdat.py
@@ -313,7 +313,7 @@ def _get_properties(self) -> None:
const.page_size_offset + align1, const.page_size_length
)
sel... | While page size is 32 bits (https://github.com/Roche/pyreadstat/blob/e0627c7cf406e4296a9af16036a563719fcba237/src/sas/readstat_sas.c#L245) the page count is word size (https://github.com/Roche/pyreadstat/blob/e0627c7cf406e4296a9af16036a563719fcba237/src/sas/readstat_sas.c#L270-L284).
Unfortunately I don't have a tes... | https://api.github.com/repos/pandas-dev/pandas/pulls/48004 | 2022-08-08T07:38:57Z | 2022-10-04T19:15:53Z | null | 2022-10-04T19:15:53Z |
TYP: tseries/holiday | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dbddba57ef21c..bceca9a026500 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -97,7 +97,7 @@ repos:
- id: pyright_reportGeneralTypeIssues
# note: assumes python env is setup and activated
name: pyright rep... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/48003 | 2022-08-07T19:25:53Z | 2022-08-09T16:47:07Z | null | 2022-09-10T01:38:41Z |
TYP: annotate functions that always error with NoReturn | diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py
index d6b63956422c7..5feed98cbc75b 100644
--- a/pandas/core/groupby/ops.py
+++ b/pandas/core/groupby/ops.py
@@ -15,6 +15,7 @@
Generic,
Hashable,
Iterator,
+ NoReturn,
Sequence,
final,
)
@@ -1243,7 +1244,7 @@ def groupings(... | There are more non-abstract functions that also error. Most of them should probably be abstract functions. I ignored those functions. | https://api.github.com/repos/pandas-dev/pandas/pulls/48002 | 2022-08-07T15:52:33Z | 2022-08-08T21:17:53Z | 2022-08-08T21:17:53Z | 2022-09-10T01:38:43Z |
BUG Fix: Series.add(DataFrame) fails to align | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bdf811f6a8f6a..af4ab3402e7fd 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -855,6 +855,7 @@ Numeric
- Bug in division, ``pow`` and ``mod`` operations on array-likes with ``dtype="boolean"`` not bein... | - [ ] closes #46179
- [ ] [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/47999 | 2022-08-07T12:28:30Z | 2022-08-08T21:20:43Z | null | 2022-08-09T05:01:16Z |
WARN,TST check stacklevel for all warnings | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index c74c44fb1d5f0..bc85a54e61f22 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -122,6 +122,7 @@ Otherwise, you need to do it manual... | - [ ] closes #47919 (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/47998 | 2022-08-07T09:51:14Z | 2022-08-17T22:00:08Z | 2022-08-17T22:00:08Z | 2022-08-17T22:00:08Z |
Added improvements in to_datetime Error reporting message | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index fe4078f611f7e..55057ff628619 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -595,7 +595,7 @@ cpdef array_to_datetime(
continue
elif is_raise:
... | - closes https://github.com/pandas-dev/pandas/issues/16757
- Changes description
: For issue https://github.com/pandas-dev/pandas/issues/16757 - added more details in error message about field and its position causing the issue in pandas/_libs/tslib.pyx in array_to_datetime
- Examples of changed error message... | https://api.github.com/repos/pandas-dev/pandas/pulls/47995 | 2022-08-06T21:56:14Z | 2022-08-16T18:35:24Z | 2022-08-16T18:35:24Z | 2022-08-31T18:22:03Z |
BUG: compare returning all nan columns when comparing ea and np dtypes | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bdf811f6a8f6a..790aa5cefb29f 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -908,6 +908,8 @@ Indexing
- Bug in :meth:`DataFrame.mask` with ``inplace=True`` and ``ExtensionDtype`` columns incorrectly ... | - [x] closes #44014 (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/47994 | 2022-08-06T21:41:39Z | 2022-08-08T21:25:56Z | 2022-08-08T21:25:56Z | 2022-08-08T21:29:06Z |
ENH: DataFrame.drop copy kwd | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a0d33cb513722..64b367f2ed36d 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -293,6 +293,7 @@ Other enhancements
- :meth:`RangeIndex.union` now can return a :class:`RangeIndex` instead of a :class:`In... | - [ ] 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/47993 | 2022-08-06T20:47:30Z | 2022-09-14T21:31:19Z | null | 2022-09-14T21:31:21Z |
WEB: Fix link to PDEP 0001 | diff --git a/web/pandas/about/roadmap.md b/web/pandas/about/roadmap.md
index 6e922d01518ba..64e730fc42eed 100644
--- a/web/pandas/about/roadmap.md
+++ b/web/pandas/about/roadmap.md
@@ -17,7 +17,7 @@ tracked on our [issue tracker](https://github.com/pandas-dev/pandas/issues).
The roadmap is defined as a set of major ... | - [ ] 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/47991 | 2022-08-06T13:45:44Z | 2022-08-06T15:36:55Z | 2022-08-06T15:36:55Z | 2022-08-06T18:49:55Z |
Warn when creating `Period` with a string that includes timezone information | diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst
index 581d28e10bd67..ab80e21e9adce 100644
--- a/doc/source/whatsnew/v1.5.3.rst
+++ b/doc/source/whatsnew/v1.5.3.rst
@@ -29,6 +29,7 @@ Bug fixes
- Bug in :meth:`.Styler.to_excel` leading to error when unrecognized ``border-style`` (e.g. ``"hai... | - [x] closes #47005
- [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/47990 | 2022-08-06T13:42:20Z | 2023-01-16T19:39:52Z | null | 2023-03-06T08:14:31Z |
DOC: Add tuple description to allowed inputs for iloc #47799 | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index fa1ad7ce3c874..4e242e33627a4 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -155,6 +155,8 @@ def iloc(self) -> _iLocIndexer:
DataFrame) and that returns valid output for indexing (one of the above).
This is... | - [x] closes #47799
- [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/47989 | 2022-08-06T08:34:49Z | 2022-08-08T21:35:57Z | 2022-08-08T21:35:57Z | 2022-08-08T21:36:04Z |
PDEP-0002 Build System Overhaul | diff --git a/web/pandas/pdeps/0002-build-system-overhaul.md b/web/pandas/pdeps/0002-build-system-overhaul.md
new file mode 100644
index 0000000000000..678614b818207
--- /dev/null
+++ b/web/pandas/pdeps/0002-build-system-overhaul.md
@@ -0,0 +1,49 @@
+# PDEP-2: Build System Overhaul
+
+
+- Created: 5 August 2022
+- Statu... | Cmake POC: #47380
Meson POC: https://github.com/lithomas1/pandas/pull/19 | https://api.github.com/repos/pandas-dev/pandas/pulls/47988 | 2022-08-06T02:30:16Z | 2022-08-23T04:27:54Z | null | 2023-04-12T20:17:39Z |
BUG: iloc.setitem raising NotImplementedError for all null slice with one column df | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bdf811f6a8f6a..8a2a4ea511ec7 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -889,6 +889,8 @@ Indexing
- Bug in setting a NA value (``None`` or ``np.nan``) into a :class:`Series` with int-based :class... | - [x] closes #45469 (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/47987 | 2022-08-05T22:16:27Z | 2022-08-08T21:46:14Z | 2022-08-08T21:46:14Z | 2022-08-08T21:48:56Z |
BUG: to_string using wrong na_rep for ea dtype in multiindex | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bdf811f6a8f6a..ecec18c8b8242 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -958,6 +958,7 @@ I/O
- Bug in :func:`read_sas` with certain types of compressed SAS7BDAT files (:issue:`35545`)
- Bug in :... | - [ ] 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/47986 | 2022-08-05T20:59:24Z | 2022-08-08T21:49:56Z | 2022-08-08T21:49:56Z | 2022-08-08T21:56:55Z |
Backport PR #47581 on branch 1.4.x (BUG: DataFrame.loc not aligning rhs df for single block case) | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index dce8fb60ecdd6..b4224b5b210e0 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -16,6 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`concat` materializing :class:`Index` durin... | Backport PR #47581
cc @simonjayhawkins
WIll put up a pr for the whatsnew later | https://api.github.com/repos/pandas-dev/pandas/pulls/47984 | 2022-08-05T19:14:33Z | 2022-08-08T13:04:04Z | 2022-08-08T13:04:03Z | 2022-08-08T21:29:16Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.