title stringlengths 1 185 | diff stringlengths 0 32.2M | body stringlengths 0 123k ⌀ | url stringlengths 57 58 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 ⌀ | updated_at stringlengths 20 20 |
|---|---|---|---|---|---|---|---|
Backport PR #48990 on branch 1.5.x (DOC: replace developer meeting with contributor community page) | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 9b8a5a73dedff..92e3f9952987b 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -45,6 +45,7 @@ contributing_docstring,development/contributing_docstring
developer,development/developer
extending,development/extending
internals,development/internals
+dev... | Backport PR #48990: DOC: replace developer meeting with contributor community page | https://api.github.com/repos/pandas-dev/pandas/pulls/49067 | 2022-10-13T06:54:10Z | 2022-10-13T11:36:58Z | 2022-10-13T11:36:58Z | 2022-10-13T11:36:59Z |
PERF: sparse to_csv | diff --git a/asv_bench/benchmarks/io/csv.py b/asv_bench/benchmarks/io/csv.py
index 10aef954a3475..8acd22050f89e 100644
--- a/asv_bench/benchmarks/io/csv.py
+++ b/asv_bench/benchmarks/io/csv.py
@@ -172,6 +172,26 @@ def time_head_of_multiindex(self):
self.df_custom_index_then_head.to_csv(self.fname)
+class T... | Improves `NDFrame.to_csv` performance for sparse dataframe by casting to dense before initializing `DataFrameFormatter`. Results in many fewer calls to `to_native_types` which saves time. Added a new ASV benchmark based on the example provided by OP in #41023.
Benchmark results:
```
[100.00%] ··· io.csv.ToCSVSpars... | https://api.github.com/repos/pandas-dev/pandas/pulls/49066 | 2022-10-13T05:16:54Z | 2023-01-04T01:50:11Z | null | 2023-01-04T01:50:11Z |
STYLE: fix pylint no-method-argument warning | diff --git a/pandas/tests/io/test_gcs.py b/pandas/tests/io/test_gcs.py
index 6907d8978e603..3e94a31b3b25c 100644
--- a/pandas/tests/io/test_gcs.py
+++ b/pandas/tests/io/test_gcs.py
@@ -33,6 +33,7 @@ def gcs_buffer(monkeypatch):
gcs_buffer.close = lambda: True
class MockGCSFileSystem(AbstractFileSystem):
+ ... | - [ ] Refers to one of the issues in #48855
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
I have removed "no-method-argument" from pyproject.toml and addressed all the lines that create a warning. I followed this [documentation](https:/... | https://api.github.com/repos/pandas-dev/pandas/pulls/49064 | 2022-10-13T04:46:40Z | 2022-10-17T11:29:40Z | 2022-10-17T11:29:40Z | 2022-10-18T07:19:09Z |
TST: un-xfail | diff --git a/pandas/tests/series/methods/test_isin.py b/pandas/tests/series/methods/test_isin.py
index 0eca3e0512849..449724508fcaa 100644
--- a/pandas/tests/series/methods/test_isin.py
+++ b/pandas/tests/series/methods/test_isin.py
@@ -57,10 +57,6 @@ def test_isin_datetimelike_mismatched_reso(self):
result = ... | hopefully gets the CI back to green. | https://api.github.com/repos/pandas-dev/pandas/pulls/49063 | 2022-10-13T03:10:42Z | 2022-10-13T15:48:25Z | 2022-10-13T15:48:25Z | 2022-10-13T17:02:32Z |
DOC: change 1.6.0 doc to 2.0.0 | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 6c14a2e784236..352c7ec745067 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -10,13 +10,13 @@ This is the list of changes to pandas between each release. For full details,
see the `commit logs <https://gi... | - [ ] 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/49062 | 2022-10-13T00:53:43Z | 2022-10-13T15:49:38Z | 2022-10-13T15:49:38Z | 2022-10-13T17:02:31Z |
Backport PR #48995 on branch 1.5.x (REGR: to_parquet raising with bytes filename) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index addf1817fb4d6..2fca23024cba7 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -85,6 +85,7 @@ Fixed regressions
- Fixed Regression in :meth:`DataFrameGroupBy.apply` when user defined function is called ... | Backport PR #48995: REGR: to_parquet raising with bytes filename | https://api.github.com/repos/pandas-dev/pandas/pulls/49061 | 2022-10-12T23:19:06Z | 2022-10-13T15:49:56Z | 2022-10-13T15:49:56Z | 2022-10-13T15:49:56Z |
API: retain non-nano dtype in DatetimeArray constructor | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index fb1a5070c6c0d..a8d384b956c91 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -29,12 +29,14 @@
astype_overflowsafe,
fields,
get_resolution,
+ get_supported_reso,
get_unit_from... | - [ ] 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/49058 | 2022-10-12T17:42:29Z | 2022-10-18T18:37:33Z | 2022-10-18T18:37:32Z | 2022-10-18T18:39:07Z |
CLN avoid object dtype cast in ndframe.where | diff --git a/pandas/_typing.py b/pandas/_typing.py
index 5c22baa4bd42e..95ed453dce06c 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -88,6 +88,7 @@
ArrayLike = Union["ExtensionArray", np.ndarray]
AnyArrayLike = Union[ArrayLike, "Index", "Series"]
+AnyArrayLikeT = TypeVar("AnyArrayLikeT", bound=AnyArrayLi... | Starts addressing #49052
Doesn't completely solve it (yet), because `other` is then cast again to `object` dtype in
https://github.com/pandas-dev/pandas/blob/c0c65371be1af0d5d5e480fdba6ae15071afe371/pandas/core/internals/managers.py#L341
But at least it gets to this point with its dtype (`Int64`) preserved | https://api.github.com/repos/pandas-dev/pandas/pulls/49055 | 2022-10-12T10:54:50Z | 2022-10-13T15:40:44Z | null | 2022-10-13T16:33:33Z |
REVERT caching in find_stack_level | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index 82d29f33ac6d6..43e0f2cded397 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -139,7 +139,7 @@ Otherwise, you need to do it manual... | addresses https://github.com/pandas-dev/pandas/pull/48023#issuecomment-1275912681 | https://api.github.com/repos/pandas-dev/pandas/pulls/49053 | 2022-10-12T10:22:22Z | 2022-10-14T07:43:38Z | 2022-10-14T07:43:38Z | 2022-10-18T12:20:44Z |
CLN: parametrize tests, comments, docstrings | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index f797222753183..79e8d2d90ab1e 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -310,6 +310,8 @@ def _from_sequence_not_strict(
freq = freq if freq is not lib.no_default else None
fr... | Largely trying to trim the diff on the upcoming DTA._from_sequence non-nano PR. A couple of misc cleanups that were already in the queue. | https://api.github.com/repos/pandas-dev/pandas/pulls/49051 | 2022-10-11T23:23:27Z | 2022-10-12T17:33:39Z | 2022-10-12T17:33:39Z | 2022-10-13T17:02:31Z |
BUG: DTA.isin with mismatched resos | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 410995d8dec53..7e4ce970d1b9c 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -866,6 +866,10 @@ def isin(self, values) -> npt.NDArray[np.bool_]:
except ValueError:
... | - [ ] 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/49050 | 2022-10-11T22:04:50Z | 2022-10-12T23:06:23Z | 2022-10-12T23:06:23Z | 2022-10-13T17:02:30Z |
ENH: Add mask support for value_counts with dropna=False | diff --git a/pandas/_libs/hashtable.pyi b/pandas/_libs/hashtable.pyi
index af47e6c408c05..0f18ab9c85bcf 100644
--- a/pandas/_libs/hashtable.pyi
+++ b/pandas/_libs/hashtable.pyi
@@ -2,6 +2,7 @@ from typing import (
Any,
Hashable,
Literal,
+ overload,
)
import numpy as np
@@ -228,13 +229,25 @@ def 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/49049 | 2022-10-11T21:32:15Z | 2023-02-22T13:32:44Z | null | 2023-02-22T13:32:45Z |
BUG: guess_datetime_format doesn't guess 2018-01-01T00:00:00.000 | diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx
index 51bb21404e7b5..9bd6eb91af8ef 100644
--- a/pandas/_libs/tslibs/parsing.pyx
+++ b/pandas/_libs/tslibs/parsing.pyx
@@ -976,7 +976,6 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None:
(('hour',), '%H', 2... | - [ ] closes #49043 (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/49047 | 2022-10-11T18:40:51Z | 2022-10-11T22:42:43Z | 2022-10-11T22:42:43Z | 2022-10-13T17:02:29Z |
enhancement: Added 'errors=coerce' option in astype() | diff --git a/doc/source/whatsnew/v1.6.1.rst b/doc/source/whatsnew/v1.6.1.rst
new file mode 100644
index 0000000000000..d14d1f53b0dbe
--- /dev/null
+++ b/doc/source/whatsnew/v1.6.1.rst
@@ -0,0 +1,58 @@
+.. _whatsnew_161:
+
+What's new in 1.6.1 (??)
+------------------------
+
+These are the changes in pandas 1.6.1. See ... | - [ ] closes #48781
- [ ] [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/49042 | 2022-10-11T08:12:00Z | 2022-11-17T01:11:45Z | null | 2022-11-17T01:11:46Z |
read_json `engine` argument integration | diff --git a/pandas/_typing.py b/pandas/_typing.py
index 5c22baa4bd42e..a4757630ab50e 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -319,6 +319,9 @@ def closed(self) -> bool:
# read_csv engines
CSVEngine = Literal["c", "python", "pyarrow", "python-fwf"]
+# read_json engines
+JSONEngine = Literal["ujson"... | Creating the PR so we can start the discussion. It's not complete yet I will keep updating the PR; however, any feedback of course is appreciated.
My main question is, there is an `arrow_parser_wrapper.py` file has a `ArrowParserWrapper` class which mainly serves the `engine` argument of the `read_csv` method. I th... | https://api.github.com/repos/pandas-dev/pandas/pulls/49041 | 2022-10-11T04:07:21Z | 2022-10-24T17:53:14Z | null | 2022-10-24T17:53:15Z |
REF: sequence_to_dt64ns | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index a9c1a7e3cdab0..f797222753183 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -308,18 +308,33 @@ def _from_sequence_not_strict(
):
explicit_none = freq is None
freq = freq if ... | Broken off from a branch implementing non-nano support for DatetimeArray constructors. | https://api.github.com/repos/pandas-dev/pandas/pulls/49040 | 2022-10-11T00:58:19Z | 2022-10-11T18:00:51Z | 2022-10-11T18:00:51Z | 2022-10-13T17:02:29Z |
ENH: Implement io.nullable_backend config for read_parquet | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index e281e250d608e..0a2b5ed3b0789 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -42,6 +42,7 @@ Other enhancements
- :meth:`Series.add_suffix`, :meth:`DataFrame.add_suffix`, :meth:`Series.add_prefix` and ... | - [x] xref #48957 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/49039 | 2022-10-11T00:42:33Z | 2022-10-22T00:39:10Z | 2022-10-22T00:39:10Z | 2022-10-24T17:20:37Z |
STYLE check for ability to remove 'c-extension-no-member' from pylint exclusions | diff --git a/pyproject.toml b/pyproject.toml
index f5282b17c2961..616f3f863096d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -63,7 +63,6 @@ disable = [
"W",
"abstract-class-instantiated",
"access-member-before-definition",
- "c-extension-no-member",
"import-error",
"invalid-repr-returned",
"in... | - [ x] addresses one concern listed in #48855 .
Removed `c-extension-no-member` from `pyproject.toml`, ran the precommit checks in Docker build environment, found no instances of the error.
Looks like `c-extension-no-member` can be removed from the list of pylint exclusions in pyproject.toml
| https://api.github.com/repos/pandas-dev/pandas/pulls/49038 | 2022-10-10T23:45:40Z | 2022-10-11T17:41:23Z | 2022-10-11T17:41:23Z | 2022-10-13T17:02:28Z |
STYLE: Fix or suppress non-iterator-returned errors from pylint | diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py
index 9263bc142e585..0ea1203359153 100644
--- a/pandas/tests/io/test_html.py
+++ b/pandas/tests/io/test_html.py
@@ -1280,9 +1280,14 @@ def seek(self, offset):
def seekable(self):
return True
+ # GH 49036 ... | - [X] addresses one issue ( `non-iterator-returned` ) from #48855
Found one instance of a test that's deliberately returning an Iterator to fool `is_file_like`, suppressing the warning as a false positive based on nature of test. | https://api.github.com/repos/pandas-dev/pandas/pulls/49036 | 2022-10-10T22:45:41Z | 2022-10-12T17:17:22Z | 2022-10-12T17:17:22Z | 2022-10-13T17:02:27Z |
Index fallbacks with Intervals | diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py
index 3eb3226328a61..f188759d53335 100644
--- a/pandas/core/indexes/interval.py
+++ b/pandas/core/indexes/interval.py
@@ -784,7 +784,8 @@ def _should_fallback_to_positional(self) -> bool:
# positional in this case
# error:... | - [X] closes #27437 (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/49035 | 2022-10-10T21:18:41Z | 2022-10-11T13:10:57Z | null | 2022-10-11T13:11:03Z |
API: Timestamp(pydatetime) microsecond reso | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index 2a5e5b27973e1..4890f82c5fdda 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -109,12 +109,16 @@ from pandas._libs.missing cimport (
is_null_datetime64,
is_null_timedelta64,
)
-from pandas._libs.tslibs.conversion cimport convert_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/49034 | 2022-10-10T20:13:34Z | 2022-11-30T23:28:42Z | 2022-11-30T23:28:42Z | 2022-11-30T23:38:24Z |
TST/CLN: Avoid subprocess shell=True | diff --git a/pandas/_config/localization.py b/pandas/_config/localization.py
index eaae30ee9098b..4e9a0142af3a4 100644
--- a/pandas/_config/localization.py
+++ b/pandas/_config/localization.py
@@ -7,12 +7,10 @@
from contextlib import contextmanager
import locale
+import platform
import re
import subprocess
-from ... | - [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/49033 | 2022-10-10T18:51:21Z | 2022-10-13T22:38:42Z | 2022-10-13T22:38:42Z | 2022-10-13T22:51:10Z |
REG: fix regression in df.corrwith on tied data when method is spearman | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index addf1817fb4d6..75332a1e36ec2 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:`DataFrame.apply` when passing non-zero ``axis`` via keyword a... | - [x] closes #48826
- [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).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/49032 | 2022-10-10T18:44:47Z | 2022-12-06T17:51:18Z | null | 2022-12-06T17:51:18Z |
STYLE: suppress false positive pylint findings for 'not-an-iterable' | diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py
index 985d9a36f611c..02a3abf7954c4 100644
--- a/pandas/core/arrays/interval.py
+++ b/pandas/core/arrays/interval.py
@@ -1195,7 +1195,12 @@ def _format_data(self) -> str:
if n > max_seq_items:
n = min(max_seq_ite... | - [ x] addresses one of the identified issues in #48855
Disabled pre-commit Pylint checks for `not-an-iterable` in `pyproject.toml`, found a few identified problems, all of which appear to be false positives.
| https://api.github.com/repos/pandas-dev/pandas/pulls/49031 | 2022-10-10T17:20:18Z | 2022-10-15T12:12:13Z | null | 2022-10-15T12:12:20Z |
DOC: Remove mention of make | diff --git a/README.md b/README.md
index 6ec871d46c782..224f184bb7da1 100644
--- a/README.md
+++ b/README.md
@@ -128,8 +128,6 @@ or for installing in [development mode](https://pip.pypa.io/en/latest/cli/pip_in
python -m pip install -e . --no-build-isolation --no-use-pep517
```
-If you have `make`, you can also use ... | The makefile was deleted in ca2d5ad6ad34ca2d3d9b82e89268b6a4f87fc68d.
- [ ] 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... | https://api.github.com/repos/pandas-dev/pandas/pulls/49030 | 2022-10-10T16:48:53Z | 2022-10-10T16:52:49Z | 2022-10-10T16:52:49Z | 2022-11-15T12:50:01Z |
Backport PR #48973 on branch 1.5.x (CI: Bump timeouts Python dev builds) | diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml
index 8b97c3821efe5..683e694069582 100644
--- a/.github/workflows/python-dev.yml
+++ b/.github/workflows/python-dev.yml
@@ -54,7 +54,7 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
name: actions-311-dev
- ti... | Backport PR #48973: CI: Bump timeouts Python dev builds | https://api.github.com/repos/pandas-dev/pandas/pulls/49028 | 2022-10-10T16:10:44Z | 2022-10-10T18:08:03Z | 2022-10-10T18:08:03Z | 2022-10-10T18:08:03Z |
pylint: disable invalid-repr-returned in Series.__repr__ | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 0c104111f9db4..839f11c83f028 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1556,6 +1556,7 @@ def __repr__(self) -> str:
"""
Return a string representation for a particular Series.
"""
+ # pylint: disa... | - [x] closed one of the issues in #48855
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Since the params passed are for getting the repr string. This should not be an issue and `to_string` will return a `str`
| https://api.github.com/repos/pandas-dev/pandas/pulls/49025 | 2022-10-10T11:18:28Z | 2022-11-07T19:24:58Z | 2022-11-07T19:24:58Z | 2022-11-07T19:25:07Z |
PDEP0004: implementation | diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst
index 3c7d84bb866f1..f30c66d75b525 100644
--- a/doc/source/user_guide/basics.rst
+++ b/doc/source/user_guide/basics.rst
@@ -2312,6 +2312,7 @@ useful if you are reading in data which is mostly of the desired dtype (e.g. num
non-conforming ... | - [x] closes #12585 (Replace xxxx with the Github issue number)
- [x] closes #46071
- [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/49024 | 2022-10-10T10:11:39Z | 2022-12-13T12:30:24Z | 2022-12-13T12:30:24Z | 2022-12-13T12:30:25Z |
Clarify pipe documentation | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 3df5d2aaf9896..3149cbb87c16e 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5878,7 +5878,7 @@ def pipe(
If you have a function that takes the data as (say) the second
argument, pass a tuple indicating which keyw... | - [ ] 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/49020 | 2022-10-10T07:31:41Z | 2022-10-10T16:53:40Z | 2022-10-10T16:53:39Z | 2022-10-13T17:02:26Z |
pylint: fix misplaced-bare-raise | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index afe18493ec276..31f9a5199f666 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -1983,7 +1983,7 @@ def _catch_deprecated_value_error(err: Exception) -> None:
# IntervalDtype mismatched 'c... | - [x] one of the issues in #48855
- [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/49018 | 2022-10-10T07:17:51Z | 2022-10-11T07:08:47Z | 2022-10-11T07:08:47Z | 2022-10-13T17:02:25Z |
CLN: tseries/offsets base tests | diff --git a/pandas/tests/tseries/offsets/common.py b/pandas/tests/tseries/offsets/common.py
index c12130544e6b2..50b6907a02eaf 100644
--- a/pandas/tests/tseries/offsets/common.py
+++ b/pandas/tests/tseries/offsets/common.py
@@ -5,25 +5,16 @@
from datetime import datetime
-from dateutil.tz.tz import tzlocal
-impor... | - [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).
Moving tests in `pandas/... | https://api.github.com/repos/pandas-dev/pandas/pulls/49017 | 2022-10-10T02:33:04Z | 2022-10-11T20:28:11Z | 2022-10-11T20:28:11Z | 2022-10-13T17:02:25Z |
BUG: resolution in datetimelike add/sub timedeltalike scalar | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 7571202f02665..410995d8dec53 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -1275,7 +1275,8 @@ def _add_timedeltalike_scalar(self, other):
# PeriodArray overrides, so we onl... | - [ ] 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/49015 | 2022-10-09T18:01:30Z | 2022-10-10T18:02:33Z | 2022-10-10T18:02:33Z | 2022-10-13T17:02:24Z |
API: retain non-nano timedelta64 dtype in DataFrame/Series/Index constructors | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 508d5d8bc4cc1..b6f564fffd797 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -121,6 +121,8 @@ Other API changes
- Default value of ``dtype`` in :func:`get_dummies` is changed to ``bool`` from ``uint8`... | - [ ] 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/49014 | 2022-10-09T17:38:37Z | 2022-10-14T22:33:28Z | 2022-10-14T22:33:28Z | 2022-10-14T22:57:47Z |
48855 pylint import error | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8d1d45a1f0909..e1f9ba5c33733 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -59,10 +59,6 @@ repos:
- flake8==5.0.4
- flake8-bugbear==22.7.1
- pandas-dev-flaker==0.5.0
-- repo: https://github.com/pycq... | - [X] Partially addresses #48855 (Replace xxxx with the Github issue number)
- [N/A] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev... | https://api.github.com/repos/pandas-dev/pandas/pulls/49013 | 2022-10-09T13:25:49Z | 2022-10-09T15:24:41Z | null | 2022-10-09T15:27:09Z |
48855 pylint import error | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 039b3c4e4d86c..08dbb5e86b42e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -59,10 +59,6 @@ repos:
- flake8==5.0.4
- flake8-bugbear==22.7.1
- pandas-dev-flaker==0.5.0
-- repo: https://github.com/pycq... | - [x] Partially resolves #48855
- [N/A] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-... | https://api.github.com/repos/pandas-dev/pandas/pulls/49012 | 2022-10-09T13:00:54Z | 2022-10-09T13:02:11Z | null | 2022-10-09T13:02:11Z |
differences in Series.map with defaultdict with different dtypes | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9d1e0c7485092..90fac220396c8 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -222,7 +222,7 @@ Indexing
Missing
^^^^^^^
- Bug in :meth:`Index.equals` raising ``TypeError`` when :class:`Index` consist... | - [X] closes #48813
- [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/49011 | 2022-10-08T23:14:09Z | 2022-10-14T16:59:54Z | 2022-10-14T16:59:54Z | 2022-10-14T17:22:01Z |
BUG/PERF: MultiIndex setops with sort=None | diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py
index d7c557203b8b8..e9825c5ba4e3a 100644
--- a/asv_bench/benchmarks/multiindex_object.py
+++ b/asv_bench/benchmarks/multiindex_object.py
@@ -239,10 +239,11 @@ class SetOperations:
("monotonic", "non_monotonic"),... | - [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/49010 | 2022-10-08T21:07:51Z | 2022-10-12T17:22:36Z | 2022-10-12T17:22:36Z | 2022-10-26T10:18:34Z |
REF: avoid sanitize_to_nanoseconds | diff --git a/pandas/core/construction.py b/pandas/core/construction.py
index 88e82a67ab854..989ce0335a476 100644
--- a/pandas/core/construction.py
+++ b/pandas/core/construction.py
@@ -45,7 +45,6 @@
maybe_convert_platform,
maybe_infer_to_datetimelike,
maybe_upcast,
- sanitize_to_nanoseconds,
)
from ... | Most of the usages are unnecessary bc we go through the DTA/TDA constructors. After this there is only one left, and that will be removed by #48670 | https://api.github.com/repos/pandas-dev/pandas/pulls/49009 | 2022-10-08T19:47:51Z | 2022-10-10T18:04:28Z | 2022-10-10T18:04:28Z | 2022-10-13T17:02:22Z |
ENH: retain reso in Timestamp(dt64_obj) | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index bdaea89776b7c..722a3de8c671c 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -120,6 +120,7 @@ Other API changes
- :func:`read_csv`: specifying an incorrect number of columns with ``index_col`` of now ... | - [ ] 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/49008 | 2022-10-08T19:23:18Z | 2022-10-12T17:47:12Z | 2022-10-12T17:47:12Z | 2022-10-13T17:02:22Z |
DOC: Fix typos and standardize spelling of "GitHub" and "macOS" | diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml
index f837eb1ca5bb7..6e6cd78ace11d 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yaml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yaml
@@ -68,5 +68,5 @@ body:
attributes:
label: Additional Context
... | ## Proposed changes
1. Fix some typos. They were found with:
```shell
brew install aspell
find . -type f -exec cat '{}' \; |
aspell -a |
grep -v '*' |
sed '/^$/d' |
cut -d ' ' -f 2 |
sort -u
```
The output was visually inspected to find the typos.
3. Stan... | https://api.github.com/repos/pandas-dev/pandas/pulls/49005 | 2022-10-08T02:30:47Z | 2022-10-11T20:42:26Z | 2022-10-11T20:42:26Z | 2022-10-13T17:02:21Z |
CLN/TST: Use fixture instead of setup_method | diff --git a/pandas/tests/frame/test_query_eval.py b/pandas/tests/frame/test_query_eval.py
index 35335c54cd41e..4da57fc177712 100644
--- a/pandas/tests/frame/test_query_eval.py
+++ b/pandas/tests/frame/test_query_eval.py
@@ -36,45 +36,48 @@ def skip_if_no_pandas_parser(parser):
class TestCompat:
- def setup_met... | - [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/49004 | 2022-10-07T21:37:19Z | 2022-10-10T22:13:23Z | 2022-10-10T22:13:23Z | 2022-10-13T17:02:20Z |
Backport PR #48412 on branch 1.5.x (BUG: safe_sort losing MultiIndex dtypes) | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 80fe74ccee583..fc2050dcc7f4d 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -14,6 +14,7 @@
Sequence,
cast,
final,
+ overload,
)
import warnings
@@ -101,6 +102,7 @@
Categorical,
Dat... | Backport PR #48412: BUG: safe_sort losing MultiIndex dtypes | https://api.github.com/repos/pandas-dev/pandas/pulls/49002 | 2022-10-07T21:12:40Z | 2022-10-10T15:49:56Z | 2022-10-10T15:49:56Z | 2022-10-10T15:50:03Z |
CLN/TST: Remove testing ArrowExtensionArray in favor of `extensions/test_arrow.py` | diff --git a/pandas/tests/extension/arrow/__init__.py b/pandas/tests/extension/arrow/__init__.py
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/pandas/tests/extension/arrow/arrays.py b/pandas/tests/extension/arrow/arrays.py
deleted file mode 100644
index b4e7a99a3d6f5..0000000000000
--- a/pand... | closes https://github.com/pandas-dev/pandas/issues/46008
1. `extension/arrow/test_timestamp.py`: The original issue https://github.com/pandas-dev/pandas/issues/34986 (ExtensionDtypes with kind="M") is more-narrowly tested in https://github.com/pandas-dev/pandas/pull/48640 and the DataFrame construction is tested i... | https://api.github.com/repos/pandas-dev/pandas/pulls/49000 | 2022-10-07T18:30:22Z | 2022-10-13T22:25:03Z | 2022-10-13T22:25:03Z | 2022-10-13T22:51:20Z |
CLN: test_nanops/take.py | diff --git a/pandas/tests/test_nanops.py b/pandas/tests/test_nanops.py
index f46d5c8e2590e..005ef6747da95 100644
--- a/pandas/tests/test_nanops.py
+++ b/pandas/tests/test_nanops.py
@@ -299,18 +299,18 @@ def test_nanmean(self, skipna):
nanops.nanmean, np.mean, skipna, allow_obj=False, allow_date=False
... | - [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/48999 | 2022-10-07T18:09:05Z | 2022-10-10T22:16:12Z | 2022-10-10T22:16:12Z | 2022-10-13T17:02:20Z |
Backport PR #48987 on branch 1.5.x (REG: Fix regression in assert_frame_equal for categorical and check_like) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 4d7576c013fd6..addf1817fb4d6 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -79,6 +79,7 @@ Fixed regressions
- Fixed performance regression in :func:`factorize` when ``na_sentinel`` is not ``None`` a... | Backport PR #48987: REG: Fix regression in assert_frame_equal for categorical and check_like | https://api.github.com/repos/pandas-dev/pandas/pulls/48997 | 2022-10-07T17:14:49Z | 2022-10-11T20:41:02Z | 2022-10-11T20:41:02Z | 2022-10-11T20:41:02Z |
BUG: CoW - correctly track references for chained operations | diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst
index aaf00804262bb..93d73c6f618ae 100644
--- a/doc/source/whatsnew/v1.5.2.rst
+++ b/doc/source/whatsnew/v1.5.2.rst
@@ -21,7 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in the Copy-on-Write implementation losing track of views... | I encountered a bug in the initial implementation of https://github.com/pandas-dev/pandas/pull/46958/ in case of chaining operations or methods (all the tests that I added were always only testing one indexing operation / method at a time ...), in the case that each step in the chain works with a view.
Consider the... | https://api.github.com/repos/pandas-dev/pandas/pulls/48996 | 2022-10-07T17:12:29Z | 2022-11-01T19:46:43Z | 2022-11-01T19:46:43Z | 2022-11-01T19:46:46Z |
REGR: to_parquet raising with bytes filename | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index addf1817fb4d6..2fca23024cba7 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -85,6 +85,7 @@ Fixed regressions
- Fixed Regression in :meth:`DataFrameGroupBy.apply` when user defined function is called ... | - [x] closes #48944 (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/48995 | 2022-10-07T17:07:48Z | 2022-10-12T23:18:38Z | 2022-10-12T23:18:38Z | 2022-10-14T12:12:22Z |
Merge pull request #1 from pandas-dev/main | UPDATE
- [ ] 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/devel... | https://api.github.com/repos/pandas-dev/pandas/pulls/48994 | 2022-10-07T16:41:32Z | 2022-10-07T16:51:07Z | null | 2022-10-07T16:51:07Z | |
Backport PR #48989 on branch 1.5.x (CI: Pin pydata sphinx theme) | diff --git a/environment.yml b/environment.yml
index 5adcf0dd216d8..6316e2a489908 100644
--- a/environment.yml
+++ b/environment.yml
@@ -99,7 +99,7 @@ dependencies:
- natsort # DataFrame.sort_values doctest
- numpydoc
- pandas-dev-flaker=0.5.0
- - pydata-sphinx-theme
+ - pydata-sphinx-theme<0.11
- pytest... | Backport PR #48989: CI: Pin pydata sphinx theme | https://api.github.com/repos/pandas-dev/pandas/pulls/48993 | 2022-10-07T16:29:51Z | 2022-10-07T19:45:13Z | 2022-10-07T19:45:13Z | 2022-10-07T19:45:14Z |
DOC: replace developer meeting with contributor community page | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 9b8a5a73dedff..92e3f9952987b 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -45,6 +45,7 @@ contributing_docstring,development/contributing_docstring
developer,development/developer
extending,development/extending
internals,development/internals
+dev... | Updating the developer meeting page to include the new contributor meeting and slack
Along the way, I decided to include other communication channels and did my best to describe them, making this more of an internal contributor community page.
Inspired by [SciPy](https://scipy.org/community/) and [NumPy](https://n... | https://api.github.com/repos/pandas-dev/pandas/pulls/48990 | 2022-10-07T12:48:13Z | 2022-10-13T06:54:01Z | 2022-10-13T06:54:01Z | 2022-10-13T06:54:01Z |
CI: Pin pydata sphinx theme | diff --git a/environment.yml b/environment.yml
index fed5ecb779045..391d7bc779af9 100644
--- a/environment.yml
+++ b/environment.yml
@@ -100,7 +100,7 @@ dependencies:
- natsort # DataFrame.sort_values doctest
- numpydoc
- pandas-dev-flaker=0.5.0
- - pydata-sphinx-theme
+ - pydata-sphinx-theme<0.11
- pyte... | - [x] xref #48988 (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/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/48989 | 2022-10-07T11:18:26Z | 2022-10-07T16:29:08Z | 2022-10-07T16:29:08Z | 2022-10-07T17:10:05Z |
REG: Fix regression in assert_frame_equal for categorical and check_like | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index 4d7576c013fd6..addf1817fb4d6 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -79,6 +79,7 @@ Fixed regressions
- Fixed performance regression in :func:`factorize` when ``na_sentinel`` is not ``None`` a... | - [x] closes #48975 (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/48987 | 2022-10-07T11:14:07Z | 2022-10-07T17:14:42Z | 2022-10-07T17:14:42Z | 2022-10-07T20:22:06Z |
DOC: Improve documented types for merge | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 422cb98572668..10e62176712d7 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -126,10 +126,6 @@ def merge(
return op.get_result(copy=copy)
-if __debug__:
- merge.__doc__ = _merge_doc % "\nleft : Dat... | Correct list of supported types in docs
Remove block creating incorrect docs in merge
- [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/48985 | 2022-10-07T09:41:35Z | 2022-12-06T17:50:31Z | 2022-12-06T17:50:30Z | 2022-12-06T17:50:43Z |
DOC: Update xdist to provide more speed-up options and context (#48958) (#48535) | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index c60edd0d1c2b9..41425878ef654 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -790,14 +790,11 @@ Or with one of the following cons... | 👋 I was working on a more elaborate solution to the question in #48535 when @mroeschke made #48958 and closed it. So I tried to incorporate his work into mine to see if you are still interested in a more verbose solution. Things that might be interesting here are:
- mentioning that pytest-xdist is in our environmen... | https://api.github.com/repos/pandas-dev/pandas/pulls/48984 | 2022-10-07T08:45:57Z | 2022-10-14T09:02:45Z | 2022-10-14T09:02:45Z | 2022-10-14T16:02:28Z |
made changes to resolve unsupported-assignment-operation from #48855 | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index f6630857bee91..0313f956f8e04 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -359,11 +359,11 @@ def setup(self, direction, tolerance):
df1 = df1.sort_values("time")
df... | - [x] closes #48855 partially
- [x ] Solves "made changes to resolve "unsupported-assignment-operation"
| https://api.github.com/repos/pandas-dev/pandas/pulls/48982 | 2022-10-07T08:22:48Z | 2022-11-03T17:24:27Z | null | 2022-11-03T17:24:28Z |
BUG: groupby(..., dropna=False) drops null values with categorical grouper | diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py
index 40c3c88b94e9e..cfcabf3595745 100644
--- a/pandas/core/groupby/grouper.py
+++ b/pandas/core/groupby/grouper.py
@@ -654,7 +654,26 @@ def group_index(self) -> Index:
# _group_index is set in __init__ for MultiIndex cases
... | - [ ] 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/48981 | 2022-10-07T05:00:48Z | 2022-10-26T01:40:55Z | null | 2022-10-26T01:40:55Z |
DOC: Updated Resampler.mean docstring to have its own docstring | diff --git a/pandas/core/resample.py b/pandas/core/resample.py
index 574c2e5e0f552..cf8c8b7db800b 100644
--- a/pandas/core/resample.py
+++ b/pandas/core/resample.py
@@ -984,6 +984,28 @@ def asfreq(self, fill_value=None):
"""
return self._upsample("asfreq", fill_value=fill_value)
+ def mean(
+ ... | - [x] closes #48803 which belongs to `Contributions welcome` milestone
- [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/develop... | https://api.github.com/repos/pandas-dev/pandas/pulls/48980 | 2022-10-07T01:35:16Z | 2022-10-07T17:22:58Z | 2022-10-07T17:22:58Z | 2022-10-13T17:02:19Z |
#48832: GL08 - Added missing docstrings | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 5ee6213ef7538..2df062f0ea52d 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -1040,6 +1040,9 @@ def ravel(self, order: str_t = "C"):
return values.ravel(order=order)
def view(self, cls=None):
+ ... | ## In progress
- [X] closes #48832
- [ ] ~~[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.ht... | https://api.github.com/repos/pandas-dev/pandas/pulls/48977 | 2022-10-06T19:43:16Z | 2022-11-29T03:00:41Z | null | 2022-11-29T03:00:42Z |
PERF: df.groupby(categorical, sort=False) | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index e5140bd6359f5..de0dc4d3b20bf 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -153,6 +153,7 @@ Performance improvements
- Performance improvement in ``var`` for nullable dtypes (:issue:`48379`).
- Per... | - [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/48976 | 2022-10-06T18:34:36Z | 2022-10-07T21:05:29Z | 2022-10-07T21:05:29Z | 2022-10-21T16:46:15Z |
CI: Bump timeouts Python dev builds | diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml
index 8b97c3821efe5..683e694069582 100644
--- a/.github/workflows/python-dev.yml
+++ b/.github/workflows/python-dev.yml
@@ -54,7 +54,7 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
name: actions-311-dev
- ti... | e.g. https://github.com/pandas-dev/pandas/actions/runs/3193038414/jobs/5211185245
| https://api.github.com/repos/pandas-dev/pandas/pulls/48973 | 2022-10-06T17:15:26Z | 2022-10-10T16:10:15Z | 2022-10-10T16:10:15Z | 2022-10-10T16:10:18Z |
ENH: Add ability to style axis names with `Styler` | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index 43021fcbc13fb..9757d69a84a0b 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -1649,7 +1649,14 @@
"\n",
"The precise structure of the CSS `class` attached to each cell is as follow... | - [ ] closes #48936
- [x] apply_index
- [ ] format_index
- [ ] [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/48972 | 2022-10-06T16:22:54Z | 2023-02-09T17:56:58Z | null | 2023-02-09T17:56:59Z |
BUG: 'Series.to_numpy(dtype=, na_value=)' behaves differently with 'pd.NA' and 'np.nan' #48951 | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 2394d4721edfc..62605c6352ba0 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -216,6 +216,7 @@ Indexing
Missing
^^^^^^^
- Bug in :meth:`Index.equals` raising ``TypeError`` when :class:`Index` consist... | - [x] closes #48951 (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/48971 | 2022-10-06T13:42:42Z | 2022-11-07T08:57:51Z | null | 2022-11-07T08:57:52Z |
BUG: to_datetime(..., infer_datetime_format=True) fails with np.str_input | diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx
index 763530520cd29..51bb21404e7b5 100644
--- a/pandas/_libs/tslibs/parsing.pyx
+++ b/pandas/_libs/tslibs/parsing.pyx
@@ -963,10 +963,6 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None:
datetime format st... | - [x] closes #48969 (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/48970 | 2022-10-06T12:24:33Z | 2022-10-06T16:06:22Z | 2022-10-06T16:06:22Z | 2022-10-13T17:02:18Z |
DOC: Added section on git bisect to pandas maintenance | diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst
index 1bff2eccd3d27..e12f4abda385c 100644
--- a/doc/source/development/maintaining.rst
+++ b/doc/source/development/maintaining.rst
@@ -121,6 +121,49 @@ Here's a typical workflow for triaging a newly opened issue.
unless it... | - [ ] closes #35685
- [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/v1.6.0.rst` file if fixing a bug or adding a new feature.
Added section on regressions to development guide under ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48968 | 2022-10-06T08:54:20Z | 2022-10-06T15:59:21Z | 2022-10-06T15:59:20Z | 2022-10-13T17:02:16Z |
BUG: pd.compare does not recognize differences when comparing values with null Int64 data type | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9d1e0c7485092..475583e5277a7 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -218,6 +218,8 @@ Indexing
- Bug in :meth:`DataFrame.reindex` filling with wrong values when indexing columns and index for ... | in `pd.compare` if any comparisons result in `null` values like `pd.NA`, consider the values unequal.
- [x] closes #48939 (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 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48966 | 2022-10-06T05:55:50Z | 2022-10-14T20:39:10Z | 2022-10-14T20:39:10Z | 2022-10-14T20:55:11Z |
DOC: Fixed documentation for pivot_table margins (#48916) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 597694dcd80af..592b0f0ba62b8 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8604,12 +8604,15 @@ def pivot(
hierarchical columns whose top level are the function names
(inferred from the function objects themselves... | The documentation for the margins parameter of pivot_table was incorrect. It said that the parameter added rows and columns, but it actually passed them to aggfunc. I used the documentation from the user guide to replace the old documentation, as well as added a sentence to the documentation for aggfunc that explained ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48965 | 2022-10-06T05:35:10Z | 2022-10-06T21:49:41Z | 2022-10-06T21:49:41Z | 2022-10-13T17:02:16Z |
API: .astype td64->td64 give requested dtype | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 0bc91d3cd9637..ffba0233b3106 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:`Timestamp` now rais... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48963 | 2022-10-05T20:26:09Z | 2022-10-08T00:28:45Z | 2022-10-08T00:28:45Z | 2022-10-13T17:02:15Z |
REF: tighter typing in datetimelike arith methods | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index d1c793dc6f152..7571202f02665 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -1160,33 +1160,36 @@ def _add_datetimelike_scalar(self, other) -> DatetimeArray:
from pandas.core.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/48962 | 2022-10-05T19:35:08Z | 2022-10-06T16:56:21Z | 2022-10-06T16:56:21Z | 2022-10-13T17:02:14Z |
ENH: support Timedelta division with mismatched resos | diff --git a/pandas/_libs/tslibs/timedeltas.pxd b/pandas/_libs/tslibs/timedeltas.pxd
index 3251e10a88b73..7c597cb4b102b 100644
--- a/pandas/_libs/tslibs/timedeltas.pxd
+++ b/pandas/_libs/tslibs/timedeltas.pxd
@@ -25,3 +25,4 @@ cdef class _Timedelta(timedelta):
cdef _ensure_components(_Timedelta self)
cdef inl... | - [ ] 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/48961 | 2022-10-05T19:20:45Z | 2022-10-06T16:43:29Z | 2022-10-06T16:43:29Z | 2022-10-13T17:02:14Z |
Backport PR #48935 on branch 1.5.x (DOC: reverted directive for SAS logo white) | diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst
index 6e43ac6d6d4c6..4792d26d021d6 100644
--- a/doc/source/getting_started/index.rst
+++ b/doc/source/getting_started/index.rst
@@ -607,10 +607,6 @@ the pandas-equivalent operations compared to software you already know:
---
... | Backport PR #48935: DOC: reverted directive for SAS logo white | https://api.github.com/repos/pandas-dev/pandas/pulls/48960 | 2022-10-05T18:16:43Z | 2022-10-05T20:11:49Z | 2022-10-05T20:11:49Z | 2022-10-05T20:11:49Z |
Backport PR #48943 on branch 1.5.x (REGR: ExcelWriter.book not settable) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index ab80bdb9ed782..4d7576c013fd6 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -84,6 +84,7 @@ Fixed regressions
- Fixed Regression in :meth:`DataFrameGroupBy.apply` when user defined function is called ... | Backport PR #48943: REGR: ExcelWriter.book not settable | https://api.github.com/repos/pandas-dev/pandas/pulls/48959 | 2022-10-05T18:04:29Z | 2022-10-06T07:59:48Z | 2022-10-06T07:59:48Z | 2022-10-06T07:59:49Z |
CLN: Replace test_fast scripts with documenting xdist n flag | diff --git a/Makefile b/Makefile
deleted file mode 100644
index c0aa685ed47ac..0000000000000
--- a/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-.PHONY : develop build clean clean_pyc doc lint-diff black test-scripts
-
-all: develop
-
-clean:
- -python setup.py clean
-
-clean_pyc:
- -find . -name '*.py[co]' -exec rm {} \;
-... | - [x] closes #48535 (Replace xxxx with the Github issue number)
The `test_fast` scripts were too heavily opinionated with all the flag settings and it's probably better we document the main functionality of how to parallelize using xdist (`-n`)
Additionally removing the `Makefile` as it's not documented as a deve... | https://api.github.com/repos/pandas-dev/pandas/pulls/48958 | 2022-10-05T17:47:28Z | 2022-10-05T21:30:57Z | 2022-10-05T21:30:57Z | 2022-10-13T17:02:13Z |
Implement get_supported_reso | diff --git a/pandas/_libs/tslibs/dtypes.pxd b/pandas/_libs/tslibs/dtypes.pxd
index 352680143113d..11b92447f5011 100644
--- a/pandas/_libs/tslibs/dtypes.pxd
+++ b/pandas/_libs/tslibs/dtypes.pxd
@@ -8,6 +8,7 @@ cdef NPY_DATETIMEUNIT abbrev_to_npy_unit(str abbrev)
cdef NPY_DATETIMEUNIT freq_group_code_to_npy_unit(int fre... | I find myself implementing this in a bunch of branches, so splitting it off into a separate PR. | https://api.github.com/repos/pandas-dev/pandas/pulls/48956 | 2022-10-05T16:57:00Z | 2022-10-05T22:34:49Z | 2022-10-05T22:34:49Z | 2022-10-13T17:02:12Z |
Removing The Show_Source Button from API pages | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 252670565ebff..3e05b2f33d807 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -388,7 +388,8 @@
# html_split_index = False
# If true, links to the reST sources are added to the pages.
-# html_show_sourcelink = True
+html_show_sourcelink = False
+
... | - [x] closes #48715
Made the required changes in the conf.py file.
It removes the show_source button from the API pages.
| https://api.github.com/repos/pandas-dev/pandas/pulls/48955 | 2022-10-05T16:46:50Z | 2022-12-17T19:32:31Z | null | 2022-12-17T19:32:32Z |
BUG: guess_datetime_format doesn't guess format correctly for UTC+1 | diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx
index a181133c14f2b..763530520cd29 100644
--- a/pandas/_libs/tslibs/parsing.pyx
+++ b/pandas/_libs/tslibs/parsing.pyx
@@ -62,6 +62,7 @@ from pandas._libs.tslibs.np_datetime cimport (
string_to_dts,
)
from pandas._libs.tslibs.offsets c... | - [x] closes #48921 (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/48954 | 2022-10-05T16:44:43Z | 2022-10-05T22:58:31Z | 2022-10-05T22:58:31Z | 2022-10-13T17:02:12Z |
REF: de-duplicate reso-casting code | diff --git a/pandas/_libs/tslibs/__init__.py b/pandas/_libs/tslibs/__init__.py
index d472600c87c01..47143b32d6dbe 100644
--- a/pandas/_libs/tslibs/__init__.py
+++ b/pandas/_libs/tslibs/__init__.py
@@ -31,7 +31,6 @@
"periods_per_day",
"periods_per_second",
"is_supported_unit",
- "npy_unit_to_abbrev",
... | - [ ] 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/48953 | 2022-10-05T15:35:19Z | 2022-10-05T22:30:19Z | 2022-10-05T22:30:19Z | 2022-10-13T17:02:11Z |
BLD: Build arm64 wheels on CircleCI | diff --git a/.circleci/config.yml b/.circleci/config.yml
index e7beb78cf6e6d..772a1c8821dcf 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -18,8 +18,68 @@ jobs:
PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3/condabin:$PATH
LD_PRELOAD=$HOME/miniconda3/envs/pandas-dev/l... | - [ ] 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/48952 | 2022-10-05T12:57:20Z | 2023-02-10T22:36:15Z | 2023-02-10T22:36:15Z | 2023-02-11T12:55:12Z |
STYLE: Add code check to avoid returning Exceptions instead of raising | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 83100696111d2..8d1d45a1f0909 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -226,6 +226,13 @@ repos:
entry: python scripts/no_bool_in_generic.py
language: python
files: ^pandas/core/generic\.py$
+ -... | - [x] closes #48861 (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).
Technically, code like `return variable` where variable is an exception won't be caught, but this is probably a first good step... | https://api.github.com/repos/pandas-dev/pandas/pulls/48948 | 2022-10-05T00:24:31Z | 2022-10-07T11:27:06Z | 2022-10-07T11:27:06Z | 2022-10-13T17:02:11Z |
REF: Refactor cibuildwheel logic into pyproject.toml | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 17bec7dcd3ad2..ceba2503de569 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -54,7 +54,6 @@ jobs:
# TODO: support PyPy?
python: [["cp38", "3.8"], ["cp39", "3.9"], ["cp310", "3.10"], ["cp311... | - [ ] 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/48945 | 2022-10-04T23:33:26Z | 2022-10-07T17:23:59Z | 2022-10-07T17:23:59Z | 2023-03-14T12:16:17Z |
REGR: ExcelWriter.book not settable | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index ab80bdb9ed782..4d7576c013fd6 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -84,6 +84,7 @@ Fixed regressions
- Fixed Regression in :meth:`DataFrameGroupBy.apply` when user defined function is called ... | - [x] closes #48780 (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/48943 | 2022-10-04T22:35:29Z | 2022-10-05T18:04:01Z | 2022-10-05T18:04:01Z | 2022-10-05T18:14:13Z |
STYLE: Fix Pylint Style Checks For used-before-assignment | diff --git a/pandas/_version.py b/pandas/_version.py
index 89a3caaf64eae..4877bdff3eb3a 100644
--- a/pandas/_version.py
+++ b/pandas/_version.py
@@ -73,8 +73,8 @@ def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False, env=
assert isinstance(commands, list)
p = None
for c in commands:... | - [ ] xref #48855 - one of many style checks, still needs work.
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Moved initialization of `dispcmd`, `fd`, `new_f` outside of their respective try blocks to ensure they are defined
- [x] A... | https://api.github.com/repos/pandas-dev/pandas/pulls/48940 | 2022-10-04T19:22:22Z | 2022-11-15T11:56:02Z | 2022-11-15T11:56:02Z | 2022-11-15T11:56:02Z |
Backport PR #48824 on branch 1.5.x (REGR: groupby fails with nullable dtypes and dropna=False) | diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst
index f58e10a701740..ab80bdb9ed782 100644
--- a/doc/source/whatsnew/v1.5.1.rst
+++ b/doc/source/whatsnew/v1.5.1.rst
@@ -83,7 +83,7 @@ Fixed regressions
- Fixed :meth:`.DataFrameGroupBy.size` not returning a Series when ``axis=1`` (:issue:`487... | Backport PR #48824: REGR: groupby fails with nullable dtypes and dropna=False | https://api.github.com/repos/pandas-dev/pandas/pulls/48938 | 2022-10-04T18:28:56Z | 2022-10-05T13:25:56Z | 2022-10-05T13:25:56Z | 2022-10-05T13:25:56Z |
API: to_numpy() defaults to corresponding type | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 2394d4721edfc..fe083fc98cf9b 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -111,6 +111,40 @@ Optional libraries below the lowest tested version may still work, but are not c
See :ref:`install.depe... | - [x] closes #48891 (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/48937 | 2022-10-04T18:18:03Z | 2022-10-07T16:59:18Z | null | 2022-10-07T16:59:18Z |
DOC: reverted directive for SAS logo white | diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst
index 6e43ac6d6d4c6..4792d26d021d6 100644
--- a/doc/source/getting_started/index.rst
+++ b/doc/source/getting_started/index.rst
@@ -607,10 +607,6 @@ the pandas-equivalent operations compared to software you already know:
---
... | This pull requrest is related to #48790. These changes revert the directive, that don't work as expected and causes a code leak on the web page, to use a different image depending on the theme used:
- [logo_sas.svg](https://github.com/pandas-dev/pandas/blob/main/doc/source/_static/logo_sas.svg) for light theme;
- [lo... | https://api.github.com/repos/pandas-dev/pandas/pulls/48935 | 2022-10-04T12:37:34Z | 2022-10-05T18:16:35Z | 2022-10-05T18:16:35Z | 2022-10-05T18:16:45Z |
DOC: Small docstring clarifications | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index bccbc2f861bdd..99571de85561e 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -1170,8 +1170,9 @@ def bdate_range(
Right bound for generating dates.
periods : int, default None
... | - [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Some small changes to docstrings that were hard to interpret when typing in pandas-stubs.
xref pandas-dev/pandas-stubs#352 | https://api.github.com/repos/pandas-dev/pandas/pulls/48932 | 2022-10-04T07:44:32Z | 2022-10-04T16:39:36Z | 2022-10-04T16:39:36Z | 2022-10-13T17:02:09Z |
TST: use `with` where possible instead of manual `close` | diff --git a/pandas/tests/io/parser/test_encoding.py b/pandas/tests/io/parser/test_encoding.py
index c06ac9e76bd7f..0dff14dad21c4 100644
--- a/pandas/tests/io/parser/test_encoding.py
+++ b/pandas/tests/io/parser/test_encoding.py
@@ -66,13 +66,9 @@ def test_utf16_bom_skiprows(all_parsers, sep, encoding):
with o... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- Nothing to close – just noticed these while working on #48922.
- [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
- Only tests chang... | https://api.github.com/repos/pandas-dev/pandas/pulls/48931 | 2022-10-04T07:34:25Z | 2022-10-11T16:21:39Z | 2022-10-11T16:21:38Z | 2022-11-15T12:50:02Z |
Backport PR #48879 on branch 1.5.x (WEB: Add Luke to maintainers list) | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index da63777c0cfc5..16e1357d405a0 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -88,6 +88,7 @@ maintainers:
- twoertwein
- lithomas1
- mzeitlin11
+ - lukemanley
inactive:
- lodagro
- jseabold
| Backport PR #48879: WEB: Add Luke to maintainers list | https://api.github.com/repos/pandas-dev/pandas/pulls/48929 | 2022-10-04T00:42:27Z | 2022-10-04T08:11:21Z | 2022-10-04T08:11:21Z | 2022-10-04T08:11:22Z |
API: .astype to non-nano return the specified dtype | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 098750aa3a2b2..461ef370c7c88 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -117,9 +117,9 @@ Other API changes
^^^^^^^^^^^^^^^^^
- Passing ``nanoseconds`` greater than 999 or less than 0 in :class:`... | - [ ] 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/48928 | 2022-10-03T20:10:02Z | 2022-10-04T18:10:16Z | 2022-10-04T18:10:16Z | 2022-10-13T17:02:08Z |
TST: Use more index_or_series | diff --git a/pandas/tests/reductions/test_reductions.py b/pandas/tests/reductions/test_reductions.py
index 66f263b84de4d..8888e2687621d 100644
--- a/pandas/tests/reductions/test_reductions.py
+++ b/pandas/tests/reductions/test_reductions.py
@@ -924,10 +924,9 @@ def test_all_any(self):
s = Series(["abc", True])... | - [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/48927 | 2022-10-03T17:42:24Z | 2022-10-03T22:29:34Z | 2022-10-03T22:29:34Z | 2022-10-13T17:02:07Z |
TST/CLN: Use more frame_or_series fixture | diff --git a/pandas/tests/apply/test_invalid_arg.py b/pandas/tests/apply/test_invalid_arg.py
index 5a498aa7d6595..bf7f3abc04aa5 100644
--- a/pandas/tests/apply/test_invalid_arg.py
+++ b/pandas/tests/apply/test_invalid_arg.py
@@ -90,12 +90,11 @@ def test_map_datetimetz_na_action():
s.map(lambda x: x, na_action=... | - [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/48926 | 2022-10-03T17:40:55Z | 2022-10-04T23:05:35Z | 2022-10-04T23:05:35Z | 2022-10-13T17:02:07Z |
TST/CLN: Remove ensure_clean_path for tmp_dir fixture | diff --git a/pandas/tests/io/pytables/common.py b/pandas/tests/io/pytables/common.py
index 88a32e1a75972..9446d9df3a038 100644
--- a/pandas/tests/io/pytables/common.py
+++ b/pandas/tests/io/pytables/common.py
@@ -1,5 +1,5 @@
from contextlib import contextmanager
-import os
+import pathlib
import tempfile
from typing... | - [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: #26984 | https://api.github.com/repos/pandas-dev/pandas/pulls/48925 | 2022-10-03T17:39:44Z | 2022-10-07T13:54:28Z | 2022-10-07T13:54:28Z | 2022-10-13T17:02:06Z |
TST: Fail if parameterize set is empty | diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py
index dbcf21f778cbf..6548422c5d2b7 100644
--- a/pandas/tests/computation/test_eval.py
+++ b/pandas/tests/computation/test_eval.py
@@ -77,11 +77,6 @@ def parser(request):
return request.param
-@pytest.fixture(params=list(... | https://docs.pytest.org/en/7.1.x/reference/reference.html#confval-empty_parameter_set_mark
I imagine if `pytest.mark.parameterize` is used, it is assumed that a test should be parameterized with more than 1 value, so this should prevent accidentally skipping a test if that isn't the case | https://api.github.com/repos/pandas-dev/pandas/pulls/48924 | 2022-10-03T17:37:43Z | 2022-10-05T20:18:49Z | 2022-10-05T20:18:49Z | 2022-10-13T17:02:05Z |
BUG: preserve DTA/TDA+timedeltalike scalar with mismatched resos | diff --git a/pandas/tests/arrays/test_datetimes.py b/pandas/tests/arrays/test_datetimes.py
index 8c2a8df7c2fbd..dfe41896c2665 100644
--- a/pandas/tests/arrays/test_datetimes.py
+++ b/pandas/tests/arrays/test_datetimes.py
@@ -1,13 +1,17 @@
"""
Tests for DatetimeArray
"""
+from datetime import timedelta
import operat... | Sits on top of #48918 | https://api.github.com/repos/pandas-dev/pandas/pulls/48923 | 2022-10-03T16:12:57Z | 2022-10-11T17:17:11Z | 2022-10-11T17:17:11Z | 2022-10-13T17:02:05Z |
REGR: be able to read Stata files without reading them fully into memory | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 63e6b007f77a8..bb66229854c9e 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -6183,6 +6183,13 @@ values will have ``object`` data type.
``int64`` for all integer types and ``float64`` for floating point da... | Fixes #48700
Refs pandas-dev/pandas#9245
Refs pandas-dev/pandas#37639
Regressed in 6d1541e1782a7b94797d5432922e64a97934cfa4
- [x] closes #48700 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tes... | https://api.github.com/repos/pandas-dev/pandas/pulls/48922 | 2022-10-03T15:33:30Z | 2022-12-17T19:31:55Z | null | 2022-12-17T19:31:56Z |
Fix assert_almost_equal, add test | diff --git a/pandas/_libs/testing.pyx b/pandas/_libs/testing.pyx
index 679cde9932a7a..a8cfbd558aa50 100644
--- a/pandas/_libs/testing.pyx
+++ b/pandas/_libs/testing.pyx
@@ -21,7 +21,13 @@ from pandas.core.dtypes.missing import (
cdef bint isiterable(obj):
- return hasattr(obj, '__iter__')
+ if hasattr(obj, '... | - [ ] closes #48919 (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/48920 | 2022-10-03T00:42:56Z | 2022-11-17T01:16:51Z | null | 2022-11-17T01:16:52Z |
API: Timedelta constructor pytimedelta, Tick preserve reso | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index 4d8684ed2a0b0..dd19306bd49c6 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -341,8 +341,9 @@ cdef convert_to_timedelta64(object ts, str unit):
elif isinstance(ts, _Timedelta):
... | Sits on top of #48910 | https://api.github.com/repos/pandas-dev/pandas/pulls/48918 | 2022-10-02T21:27:56Z | 2022-10-08T00:26:42Z | 2022-10-08T00:26:42Z | 2022-10-13T17:02:04Z |
fix warning no-value-for-parameter in pandas/io | diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py
index 10b8a5b202872..5e5318a746b94 100644
--- a/pandas/io/excel/_base.py
+++ b/pandas/io/excel/_base.py
@@ -1662,7 +1662,7 @@ def __init__(
f"only the xls format is supported. Install openpyxl instead."
)
... | Fixed warning no-value-for-parameter raised by pylint in file pandas/io/excel/_base.py
The warnings raised by pylint while scanning tests are not yet resolved
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
- [ ] xref #48855
- [x] All [code checks passed] | https://api.github.com/repos/pandas-dev/pandas/pulls/48917 | 2022-10-02T21:19:26Z | 2022-10-03T16:29:23Z | 2022-10-03T16:29:23Z | 2022-10-13T17:02:03Z |
disable bad-super-call checking | diff --git a/pandas/tests/generic/test_frame.py b/pandas/tests/generic/test_frame.py
index b4a3a60e72139..fa98ba7580743 100644
--- a/pandas/tests/generic/test_frame.py
+++ b/pandas/tests/generic/test_frame.py
@@ -151,6 +151,9 @@ def test_deepcopy_empty(self):
# formerly in Generic but only test DataFrame
class Test... | because super(Dataframe, df) is valid is this class
Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
- [X] closes #48855
| https://api.github.com/repos/pandas-dev/pandas/pulls/48915 | 2022-10-02T18:40:32Z | 2022-10-02T18:53:34Z | null | 2022-10-02T19:04:13Z |
Unexpected keyword argument | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 47e3314c6d9c3..7a8e030b2d536 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -738,7 +738,12 @@ def _with_infer(cls, *args, **kwargs):
return result
@cache_readonly
- def _constructor(self: _Inde... | This fixed unexpected-keyword-argument warnings from pylint on one file.
The other warnings produced were already expected to be caught in tests.
- [x] xref #48855 one of many style checks, still needs work. | https://api.github.com/repos/pandas-dev/pandas/pulls/48914 | 2022-10-02T17:54:40Z | 2022-11-03T17:50:17Z | null | 2022-11-03T17:50:17Z |
REF/DEPR: Deprecate AbstractMethodError | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index b83f317814ad9..ca3475c822581 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -84,7 +84,7 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor
Other API changes
^^^^^^... | closes #48909
Probably would need a whatsnew entry, for people inheriting from those now abstract classes. I'll keep this PR as a draft until I replaced all cases of `AbstractMethodError` (that are actually implemented). | https://api.github.com/repos/pandas-dev/pandas/pulls/48913 | 2022-10-02T15:33:14Z | 2023-08-04T14:00:36Z | null | 2023-08-09T15:08:40Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.