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 |
|---|---|---|---|---|---|---|---|
ENH: Preserve ea dtype in groupby.std | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0ef5636a97d40..3140b0af19966 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -82,7 +82,7 @@ be set to ``"pyarrow"`` to return pyarrow-backed, nullable :class:`ArrowDtype` (
Other enhancements
^^^^^^^... | - [x] closes #35516 (Replace xxxx with the GitHub issue number)
- [x] closes #43330 (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/50375 | 2022-12-21T13:31:02Z | 2023-01-04T01:20:28Z | 2023-01-04T01:20:28Z | 2023-01-04T13:48:32Z |
Add nanoseconds to timestamps stub file | diff --git a/pandas/_libs/tslibs/timestamps.pyi b/pandas/_libs/tslibs/timestamps.pyi
index 3f795a2d08959..e6a36b69a8d47 100644
--- a/pandas/_libs/tslibs/timestamps.pyi
+++ b/pandas/_libs/tslibs/timestamps.pyi
@@ -70,6 +70,8 @@ class Timestamp(datetime):
@property
def microsecond(self) -> int: ...
@proper... | I also found the documentation to be lacking. I had to try it out to determine if `nanoseconds` would be giving me all nanoseconds until the next full second or just until the next full microsecond (the latter is the case).
- [x] no issue exists to track this (probably small enough)
- [x] tests not applicable, I th... | https://api.github.com/repos/pandas-dev/pandas/pulls/50374 | 2022-12-21T13:28:25Z | 2022-12-27T19:55:17Z | 2022-12-27T19:55:17Z | 2022-12-29T11:51:59Z |
Rename duplicate column names in read_json(orient='split') | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5b725eb4d2a98..129104b56dd4e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -500,6 +500,7 @@ Other API changes
new DataFrame (shallow copy) instead of the original DataFrame, consistent with other
... | - [X] xref #47718
All our read methods drop duplicated columns (`read_xml` and `read_json(orient='records')`) or rename them with the pattern `x`, `x.1`, `x.2`... (`read_csv`, `read_fwf`, `read_excel`, `read_html`). There is only one exception where the built `DataFrame` contains duplicated columns, which is `read_j... | https://api.github.com/repos/pandas-dev/pandas/pulls/50370 | 2022-12-21T06:54:54Z | 2023-01-09T23:54:58Z | 2023-01-09T23:54:58Z | 2023-05-10T09:16:28Z |
ENH/API: preserve non-nano in to_datetime | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9d44c770f58ef..7c0ead128e10f 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -476,6 +476,7 @@ Other API changes
- Passing data with dtype of "timedelta64[s]", "timedelta64[ms]", or "timedelta64[us]" t... | - [ ] 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/50369 | 2022-12-21T02:35:02Z | 2023-01-09T23:52:31Z | 2023-01-09T23:52:31Z | 2023-01-09T23:59:15Z |
CLN/TST: Remove old filterwarnings | diff --git a/pandas/tests/arrays/sparse/test_array.py b/pandas/tests/arrays/sparse/test_array.py
index 9b78eb345e188..b2fa4d72a355c 100644
--- a/pandas/tests/arrays/sparse/test_array.py
+++ b/pandas/tests/arrays/sparse/test_array.py
@@ -1,5 +1,4 @@
import re
-import warnings
import numpy as np
import pytest
@@ -13... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/50368 | 2022-12-21T00:53:41Z | 2022-12-21T13:33:02Z | 2022-12-21T13:33:02Z | 2022-12-21T17:45:07Z |
ERR non-ISO formats don't show position of error | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9957ccb4fde50..e93dcebf20e3e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -101,6 +101,7 @@ Other enhancements
- Added :meth:`Index.infer_objects` analogous to :meth:`Series.infer_objects` (:issue:`... | - [ ] closes #50361 (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/50366 | 2022-12-20T21:17:43Z | 2022-12-28T07:08:57Z | 2022-12-28T07:08:57Z | 2022-12-28T07:08:57Z |
Cow drop level | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 9534eca51f383..6e2fd68b60a54 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -740,7 +740,8 @@ def _set_axis_nocheck(self, labels, axis: Axis, inplace: bool_t, copy: bool_t):
else:
# With copy=False, we create a ... | Copy on write for droplevel
- [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-com... | https://api.github.com/repos/pandas-dev/pandas/pulls/50365 | 2022-12-20T18:31:24Z | 2022-12-20T18:32:48Z | null | 2022-12-20T18:32:48Z |
BUG: str dtype ignored for column with dot | diff --git a/pandas/io/parsers/python_parser.py b/pandas/io/parsers/python_parser.py
index 315d18d052d9f..4b887a904400d 100644
--- a/pandas/io/parsers/python_parser.py
+++ b/pandas/io/parsers/python_parser.py
@@ -29,7 +29,11 @@
ParserError,
)
-from pandas.core.dtypes.common import is_integer
+from pandas.core.d... | - [x] closes #50270
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
This is a direct attempt to fix the problem with 'dot' in strings. Maybe it would be better to use for this purpose attribute `_no_thousands_columns`. | https://api.github.com/repos/pandas-dev/pandas/pulls/50364 | 2022-12-20T17:18:00Z | 2023-03-16T18:08:46Z | 2023-03-16T18:08:46Z | 2023-03-16T18:08:46Z |
Fix link to JSON Table Schema | diff --git a/pandas/io/json/_table_schema.py b/pandas/io/json/_table_schema.py
index d686c2f68a5dc..9539419131a22 100644
--- a/pandas/io/json/_table_schema.py
+++ b/pandas/io/json/_table_schema.py
@@ -1,7 +1,7 @@
"""
Table Schema builders
-https://specs.frictionlessdata.io/json-table-schema/
+https://specs.friction... | Simple outdated documentation link fix | https://api.github.com/repos/pandas-dev/pandas/pulls/50363 | 2022-12-20T16:17:19Z | 2022-12-20T18:12:38Z | 2022-12-20T18:12:38Z | 2022-12-20T18:12:45Z |
Backport PR #50356 on branch 1.5.x (CI temporarily pin numpy) | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index b1ea2682b7ea7..aef542e8c9f16 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -41,7 +41,7 @@
// pip (with all the conda available packages installed first,
// followed by the pip installed packages).
"matrix": {
- ... | Backport PR #50356: CI temporarily pin numpy | https://api.github.com/repos/pandas-dev/pandas/pulls/50358 | 2022-12-20T12:56:15Z | 2022-12-21T16:03:28Z | 2022-12-21T16:03:28Z | 2022-12-21T16:03:41Z |
PERF: faster infer_dtype when numpy dtype | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index fed5a77669cba..2d685fd559c2b 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -768,6 +768,7 @@ Performance improvements
- Performance improvement in :func:`merge` when not merging on the index - the ne... | Performance improvement for `infer_dtype` when the array has a numpy dtype:
```python
>>> import numpy as np
>>> import pandas as pd
>>>
>>> arr_np = np.arange(1_000_000)
>>> %timeit pd.api.types.infer_dtype(arr_np)
1.54 µs ± 6.76 ns per loop # main
196 ns ± 0.348 ns per loop # this PR
>>> arr_pd = pd.array... | https://api.github.com/repos/pandas-dev/pandas/pulls/50357 | 2022-12-20T12:53:52Z | 2022-12-20T16:53:12Z | null | 2022-12-20T16:53:12Z |
CI temporarily pin numpy | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 16f8f28b66d31..6e548bf9d9e8a 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -41,7 +41,7 @@
// pip (with all the conda available packages installed first,
// followed by the pip installed packages).
"matrix": {
- ... | Looks like numba is failing with the latest numpy release https://github.com/numba/numba/issues/8615
Let's temporarily pin numpy to get CI green, and then lift the pin once it's solved in numba? | https://api.github.com/repos/pandas-dev/pandas/pulls/50356 | 2022-12-20T10:39:49Z | 2022-12-20T12:55:44Z | 2022-12-20T12:55:44Z | 2022-12-20T13:54:06Z |
CI: Enable pytest -W:::pandas on some builds | diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml
index 81c798c9d86c3..ca6fd63d749ee 100644
--- a/.github/workflows/macos-windows.yml
+++ b/.github/workflows/macos-windows.yml
@@ -16,6 +16,7 @@ env:
PANDAS_CI: 1
PYTEST_TARGET: pandas
PATTERN: "not slow and not db and not ne... | - [ ] xref #48553 (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/50354 | 2022-12-20T03:37:11Z | 2022-12-21T13:37:41Z | 2022-12-21T13:37:41Z | 2022-12-21T17:37:25Z |
DOC: Add drop to MultiIndex docs | diff --git a/doc/source/reference/indexing.rst b/doc/source/reference/indexing.rst
index 2fc4b846e5d18..662e8718fa5ba 100644
--- a/doc/source/reference/indexing.rst
+++ b/doc/source/reference/indexing.rst
@@ -298,6 +298,7 @@ MultiIndex components
MultiIndex.swaplevel
MultiIndex.reorder_levels
MultiIndex.rem... | - [x] closes #50346 (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/50352 | 2022-12-19T22:23:57Z | 2022-12-22T18:59:05Z | 2022-12-22T18:59:05Z | 2022-12-30T10:00:01Z |
Update link to `Categorical._codes` removal in 2.0 what's new doc | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index fed5a77669cba..5add63c5551ad 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -663,7 +663,7 @@ Removal of prior version deprecations/changes
- Enforced disallowing using :func:`merge` or :func:`join` o... | Currently this is pointing to the PR where `Categorical._codes` was deprecated in `pandas=1.3` (https://github.com/pandas-dev/pandas/pull/41429) instead of the PR where it was removed for `pandas=2.0` (https://github.com/pandas-dev/pandas/pull/49258) | https://api.github.com/repos/pandas-dev/pandas/pulls/50351 | 2022-12-19T21:52:18Z | 2022-12-20T18:43:31Z | null | 2022-12-20T18:43:35Z |
TST: Replace parameterize with existing test fixture | diff --git a/pandas/tests/test_expressions.py b/pandas/tests/test_expressions.py
index 3980ec023960c..a627f3172f0c6 100644
--- a/pandas/tests/test_expressions.py
+++ b/pandas/tests/test_expressions.py
@@ -237,21 +237,10 @@ def testit():
expr.set_numexpr_threads()
testit()
- @pytest.mark.parametri... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/50350 | 2022-12-19T21:12:25Z | 2022-12-21T13:42:26Z | 2022-12-21T13:42:26Z | 2022-12-21T17:42:41Z |
TST: Skip test_rolling_var_numerical_issues on power platforms | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index f097b0c1ae630..085a2a80ca8ec 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -106,6 +106,18 @@ def is_platform_arm() -> bool:
)
+def is_platform_power() -> bool:
+ """
+ Checking if the running platform use... | Discovered while working on https://github.com/conda-forge/pandas-feedstock/pull/147. cc @jakirkham | https://api.github.com/repos/pandas-dev/pandas/pulls/50349 | 2022-12-19T21:09:22Z | 2022-12-27T23:14:33Z | 2022-12-27T23:14:33Z | 2022-12-28T02:17:20Z |
BUG: Timestamp.replace handle out-of-pydatetime range | diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx
index c4025c7e5efe7..9e9dab155a5cf 100644
--- a/pandas/_libs/tslibs/timestamps.pyx
+++ b/pandas/_libs/tslibs/timestamps.pyx
@@ -8,6 +8,7 @@ shadows the python class, where we do any heavy lifting.
"""
import warnings
+
cimport cyt... | - [ ] 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/50348 | 2022-12-19T19:53:30Z | 2023-02-11T18:34:29Z | 2023-02-11T18:34:29Z | 2023-02-11T19:42:16Z |
TYP: keyword-only NDFrame.fillna | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index a4d99cb0eca42..fee168254a85e 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -6580,6 +6580,7 @@ def fillna(
def fillna(
self: NDFrameT,
value: Hashable | Mapping | Series | DataFrame = None,
+ *,
... | `DataFrame/Series.fillna` are already keyword-only.
xref https://github.com/pandas-dev/pandas-stubs/pull/474 | https://api.github.com/repos/pandas-dev/pandas/pulls/50345 | 2022-12-19T14:56:56Z | 2022-12-20T18:28:13Z | 2022-12-20T18:28:13Z | 2023-08-09T15:08:23Z |
ENH: Add support for multiple conditions assign statement | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 7d26005315c33..0ba0e5bd32f77 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -14,6 +14,26 @@ including other versions of pandas.
Enhancements
~~~~~~~~~~~~
+.. _whatsnew_200.enhancements.case_when:
... | Used to support conditional assignment operation.
Usage example:
```
df.assign(d = pd.case_when(lambda x: <some conditions>, 0, # first condition, result
(other_df.z > 4) | (other_df.x.isna()), 1, # second condition, result
"some_value")) ... | https://api.github.com/repos/pandas-dev/pandas/pulls/50343 | 2022-12-19T14:23:13Z | 2023-08-25T18:08:01Z | null | 2023-08-25T18:08:02Z |
CI: Use regular solver for docker build | diff --git a/Dockerfile b/Dockerfile
index c987461e8cbb8..7230dcab20f6e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,6 @@ RUN apt-get install -y build-essential
RUN apt-get install -y libhdf5-dev
RUN python -m pip install --upgrade pip
-RUN python -m pip install --use-deprecated=legacy-resolver \
+RUN python... | - [ ] 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/50341 | 2022-12-19T13:10:26Z | 2022-12-19T13:43:02Z | 2022-12-19T13:43:02Z | 2022-12-23T21:47:49Z |
CI: add minimal requirements file | diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml
index 4e0a1f98d1c59..7407e0c14a5e5 100644
--- a/.github/workflows/python-dev.yml
+++ b/.github/workflows/python-dev.yml
@@ -77,8 +77,7 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
python -m pip install --... | - [ ] closes #48828 (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/50339 | 2022-12-19T10:37:19Z | 2023-05-20T14:32:52Z | null | 2023-05-20T14:32:52Z |
DEPR: Enforce deprecation of args/kwargs in Window | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index cbad169fe4d56..a98d04b967428 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -719,6 +719,7 @@ Removal of prior version deprecations/changes
- When providing a list of columns of length one to :meth:`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/50338 | 2022-12-19T04:39:30Z | 2022-12-19T18:46:34Z | 2022-12-19T18:46:34Z | 2022-12-19T22:53:37Z |
WEB: Add blog to our feed | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index 7f581a6754642..3489f3dbbe47d 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -64,6 +64,7 @@ blog:
- https://jorisvandenbossche.github.io/feeds/pandas.atom.xml
- https://datapythonista.me/blog/feeds/pandas.atom.xml
- https://numf... | - [ ] 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/50337 | 2022-12-18T14:31:46Z | 2022-12-19T18:42:31Z | 2022-12-19T18:42:31Z | 2022-12-19T18:50:29Z |
CI: Upgrade mypy to 0.991 | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 34b6dcb7a22ec..b15d0face7534 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -396,7 +396,7 @@ If installed, we now require:
+-----------------+-----------------+----------+---------+
| Package ... | - [ ] 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/50335 | 2022-12-18T09:58:37Z | 2022-12-18T13:10:10Z | 2022-12-18T13:10:10Z | 2022-12-18T13:10:14Z |
DOC: don't teach infer_datetime_format in user_guide | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 3dcc52fb63eb7..c74f9bb140e32 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -275,6 +275,9 @@ parse_dates : boolean or list of ints or names or list of lists or dict, default
infer_datetime_format : boolean, ... | - [x] edited the file `doc/user_guide/io.rst`.
Just removed the `infer_datetime_format` from the docs.
It's my first pull request & it's not fully complete, so can you guide me on what else changes should be made.
closes #35296 | https://api.github.com/repos/pandas-dev/pandas/pulls/50334 | 2022-12-18T05:05:36Z | 2022-12-21T12:06:23Z | 2022-12-21T12:06:23Z | 2022-12-21T16:15:20Z |
BUG: to_string ignoring formatter for FloatingArray | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index bc5d66e8e7955..737d4bf22f944 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -877,7 +877,8 @@ I/O
- Bug in :func:`read_sql_query` ignoring ``dtype`` argument when ``chunksize`` is specified and result... | - [x] closes #39336 (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/50333 | 2022-12-18T00:45:49Z | 2022-12-19T18:51:09Z | 2022-12-19T18:51:09Z | 2022-12-19T18:51:46Z |
BUG: read_json raising with table orient and NA values | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index bc5d66e8e7955..f75242d32df1a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -876,6 +876,7 @@ I/O
- Bug when a pickling a subset PyArrow-backed data that would serialize the entire data instead of the... | - [x] closes #40255 (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/50332 | 2022-12-17T23:29:48Z | 2022-12-19T18:55:46Z | 2022-12-19T18:55:46Z | 2022-12-19T18:58:11Z |
BUG: to_numpy for PandasArray does not handle na_value | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index bc5d66e8e7955..d390a871e5f0d 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -931,7 +931,7 @@ ExtensionArray
- Bug in :meth:`Series.mean` overflowing unnecessarily with nullable integers (:issue:`4837... | - [x] closes #40638 (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/50331 | 2022-12-17T22:49:49Z | 2022-12-19T18:58:21Z | 2022-12-19T18:58:21Z | 2022-12-19T18:59:25Z |
BLD: Add pyproject.toml to wheels | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 31ed5096991a6..7eae93a6a27e9 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -173,8 +173,8 @@ jobs:
pip install hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17
... | - [ ] closes #50302 (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/50330 | 2022-12-17T22:21:13Z | 2023-03-20T17:11:21Z | 2023-03-20T17:11:21Z | 2023-03-24T02:24:09Z |
BUG: idxmin & idxmax axis = 1 str reducer for transform | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index ea6a832d25058..4efcbb08580db 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -955,6 +955,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.groupby` would not include a :class:`.Grouper` specifie... | - [x] Addresses `idxmin` for #45986
- [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#p... | https://api.github.com/repos/pandas-dev/pandas/pulls/50329 | 2022-12-17T22:08:13Z | 2023-01-05T21:10:15Z | 2023-01-05T21:10:15Z | 2023-01-08T13:58:36Z |
BUG: Series constructor raising with NA and bools and Int dtype | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index c58ee3818cbd9..1bf7fa00d07b2 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -812,6 +812,7 @@ Numeric
Conversion
^^^^^^^^^^
- Bug in constructing :class:`Series` with ``int64`` dtype from a string l... | - [x] closes #42137 (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/50328 | 2022-12-17T22:08:08Z | 2022-12-19T19:28:49Z | 2022-12-19T19:28:49Z | 2022-12-19T19:55:36Z |
PERF: Calculate mask in interpolate only once | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index a4d99cb0eca42..9534eca51f383 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -11643,7 +11643,7 @@ def _find_valid_index(self, *, how: str) -> Hashable | None:
-------
idx_first_valid : type of index
"""
- ... | - [ ] 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/50326 | 2022-12-17T21:27:16Z | 2022-12-19T18:59:20Z | 2022-12-19T18:59:20Z | 2022-12-19T19:00:46Z |
ENH: Allow `ArrowDtype(pa.string())` to be compatable with str methods | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 46428dcf462ea..d603573d1f6a7 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -185,6 +185,7 @@ Other enhancements
- Added :meth:`Index.infer_objects` analogous to :meth:`Series.infer_objects` (:issue:`... | This implementation is somewhat similar but kept separate to the methods in `ArrowStringArray` because I tailored `ArrowExtensionArray` to always return `ArrowExtensionArray` (most obvious in `_str_map`) as opposed to falling back to pandas masked arrays.
Additionally:
* `any_string_method` pytest fixture to `p... | https://api.github.com/repos/pandas-dev/pandas/pulls/50325 | 2022-12-17T21:16:34Z | 2023-02-07T02:28:06Z | null | 2023-02-07T02:28:11Z |
BUG: to_json segfaults when exception occurs in UTF8 encoding of string | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index cbad169fe4d56..8a98dcc38e786 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -875,7 +875,7 @@ I/O
- Bug in :func:`DataFrame.to_string` with ``header=False`` that printed the index name on the same lin... | - [ ] closes #50307 (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/50324 | 2022-12-17T19:17:45Z | 2022-12-18T05:07:09Z | 2022-12-18T05:07:09Z | 2022-12-22T18:49:37Z |
ENH: Include column for ea comparison in asserters | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index cbad169fe4d56..2466fa3961c5e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -91,6 +91,7 @@ Other enhancements
- :func:`timedelta_range` now supports a ``unit`` keyword ("s", "ms", "us", or "ns") to s... | - [ ] 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/50323 | 2022-12-17T18:36:38Z | 2022-12-19T19:32:02Z | 2022-12-19T19:32:02Z | 2022-12-19T19:55:17Z |
BUG: arithmetic ops not propagating mask when combining mask arrays and numpy | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index cbad169fe4d56..7553895f80cc9 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -804,6 +804,7 @@ Timezones
Numeric
^^^^^^^
- Bug in :meth:`DataFrame.add` cannot apply ufunc when inputs contain mixed Da... | - [x] closes #45810 (Replace xxxx with the GitHub issue number)
- [x] closes #42630 (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/50322 | 2022-12-17T17:47:40Z | 2022-12-19T19:36:30Z | 2022-12-19T19:36:30Z | 2022-12-19T19:54:53Z |
CI: Restrict asv to 0.5.1 or higher | diff --git a/environment.yml b/environment.yml
index 904f5849219f7..889c764146d85 100644
--- a/environment.yml
+++ b/environment.yml
@@ -69,7 +69,7 @@ dependencies:
- flask
# benchmarks
- - asv
+ - asv>=0.5.1
# The compiler packages are meta-packages and install the correct compiler (activation) packages... | This helps us to get rid of the aiobotocore pin. Also, 0.5.0 fails during pip install, so shouldn't use it anyway | https://api.github.com/repos/pandas-dev/pandas/pulls/50321 | 2022-12-17T17:16:57Z | 2022-12-17T18:43:23Z | 2022-12-17T18:43:23Z | 2022-12-17T19:03:42Z |
BUG: add date_format to read_csv / Date parsing mistake. read_csv | diff --git a/pandas/_libs/tslibs/parsing.pyi b/pandas/_libs/tslibs/parsing.pyi
index db1388672b37c..c7244447edaf7 100644
--- a/pandas/_libs/tslibs/parsing.pyi
+++ b/pandas/_libs/tslibs/parsing.pyi
@@ -23,7 +23,7 @@ def _does_string_look_like_datetime(py_string: str) -> bool: ...
def quarter_to_myear(year: int, quarter... | #50319 will happen to close #2586
This PR will make sure that bugs like #2586 don't appear again
Closes #2586 | https://api.github.com/repos/pandas-dev/pandas/pulls/50320 | 2022-12-17T16:34:15Z | 2022-12-27T20:52:13Z | 2022-12-27T20:52:13Z | 2023-01-02T13:37:01Z |
BUG guess_Datetime_format doesn't guess 27.03.2003 14:55:00.000 | diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx
index 614db69425f4c..992e1d90f4f3b 100644
--- a/pandas/_libs/tslibs/parsing.pyx
+++ b/pandas/_libs/tslibs/parsing.pyx
@@ -1016,9 +1016,11 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None:
cdef str _fill_token(t... | - [ ] closes #50317 (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/50319 | 2022-12-17T16:00:23Z | 2022-12-22T21:20:21Z | 2022-12-22T21:20:21Z | 2022-12-22T21:20:21Z |
Add pyarrow support to python engine in read_csv | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index cbad169fe4d56..9de3b50f666e1 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -42,7 +42,7 @@ The ``use_nullable_dtypes`` keyword argument has been expanded to the following
Additionally a new global co... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/50318 | 2022-12-17T15:48:51Z | 2022-12-17T19:13:33Z | 2022-12-17T19:13:33Z | 2022-12-17T19:16:24Z |
BUG: melt losing ea dtype | diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py
index 9eeaaf97d8ac6..66067d25d133b 100644
--- a/asv_bench/benchmarks/reshape.py
+++ b/asv_bench/benchmarks/reshape.py
@@ -15,12 +15,17 @@
class Melt:
- def setup(self):
- self.df = DataFrame(np.random.randn(10000, 3), columns=... | - [x] closes #41570 (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/50316 | 2022-12-17T15:26:37Z | 2022-12-17T20:58:52Z | 2022-12-17T20:58:52Z | 2022-12-17T21:42:27Z |
CI: Unpin pyarrow<10 | diff --git a/.github/actions/setup-conda/action.yml b/.github/actions/setup-conda/action.yml
index 7d1e54052f938..002d0020c2df1 100644
--- a/.github/actions/setup-conda/action.yml
+++ b/.github/actions/setup-conda/action.yml
@@ -18,7 +18,7 @@ runs:
- name: Set Arrow version in ${{ inputs.environment-file }} to ${{... | - [x] closes #50058 (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/50314 | 2022-12-17T14:59:03Z | 2022-12-24T19:49:35Z | 2022-12-24T19:49:35Z | 2022-12-28T19:16:47Z |
DEV: Upgrade pip before requirements-dev | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index 280b6ed601f08..acf38c096f9c5 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -183,6 +183,12 @@ jobs:
cache: 'pip'
cache-dependency-path: 'requirements-dev.txt'
+ ... | - [ ] 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/50312 | 2022-12-17T13:52:54Z | 2022-12-17T14:04:35Z | null | 2022-12-17T14:04:38Z |
DOC: Add to the io documentation of `on_bad_lines` to alert users of silently skipped lines. | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 6e47ec4e4aa03..dc21b9f35d272 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -1255,6 +1255,21 @@ The bad line will be a list of strings that was split by the ``sep``:
.. versionadded:: 1.4.0
+Note tha... | This PR adds to the documentation of `on_bad_lines` for reading CSV files. Specifically, when using user-defined callables for `on_bad_lines` any bad line that isn't a 'line with too many fields' is silently skipped. The user should be aware of this behaviour.
The issue has been left open for further discussion of w... | https://api.github.com/repos/pandas-dev/pandas/pulls/50311 | 2022-12-17T13:52:06Z | 2023-01-03T17:52:10Z | 2023-01-03T17:52:10Z | 2023-01-03T17:52:16Z |
ENH: Implement fastpath for masked indexes in join | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index b828d18d1d700..5d56d5c7fd950 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -737,6 +737,7 @@ Performance improvements
- Performance improvement in :meth:`MultiIndex.putmask` (:issue:`49830`)
- Perfo... | - [ ] 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/50310 | 2022-12-17T11:38:34Z | 2022-12-19T19:59:08Z | 2022-12-19T19:59:08Z | 2022-12-19T22:17:22Z |
BUG: misleading message when using to_datetime with format='%V %a' | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index cbad169fe4d56..161bfc3cb0a08 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -786,6 +786,7 @@ Datetimelike
- Bug in :func:`to_datetime` was raising ``ValueError`` when parsing :class:`Timestamp`, ``da... | - [ ] closes #50308 (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/50309 | 2022-12-17T09:25:06Z | 2022-12-19T19:57:21Z | 2022-12-19T19:57:21Z | 2022-12-19T19:57:27Z |
PERF: construction with integer dtype | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 455257833ec0d..53f4b7dce7f3b 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -1525,9 +1525,7 @@ def construct_1d_object_array_from_listlike(values: Sized) -> np.ndarray:
return result
-def maybe_cast_to_integ... | Motivated by this arithmetic example:
```
In [2]: ser = pd.Series(range(10_000_000))
In [3]: %timeit ser + 1
23.3 ms ± 304 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- main
15.1 ms ± 110 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- PR
``` | https://api.github.com/repos/pandas-dev/pandas/pulls/50306 | 2022-12-16T23:24:50Z | 2022-12-17T18:39:46Z | 2022-12-17T18:39:46Z | 2022-12-17T18:50:09Z |
CLN: clean IntervalArray._simple_new | diff --git a/pandas/_typing.py b/pandas/_typing.py
index 1ba5be8b5b0ed..8d3044a978291 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -44,6 +44,10 @@
from pandas.core.dtypes.dtypes import ExtensionDtype
from pandas import Interval
+ from pandas.arrays import (
+ DatetimeArray,
+ T... | There is a lot of code in `IntervalArray._simple_new`. I suggest moving all the code there that checks that the input data is correct into its own method (`_ensure_simple_new_inputs`), so we have a better split between building the ÌntervalArray` and checking that its inputs are correct.
This PR changes no functiona... | https://api.github.com/repos/pandas-dev/pandas/pulls/50305 | 2022-12-16T22:02:55Z | 2023-01-02T18:35:51Z | 2023-01-02T18:35:51Z | 2023-01-21T16:42:26Z |
BUG: to_datetime with M or Y unit and non-round float | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9957ccb4fde50..5a121823e1453 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -495,6 +495,7 @@ Other API changes
new DataFrame (shallow copy) instead of the original DataFrame, consistent with other
... | - [ ] 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/50301 | 2022-12-16T18:23:49Z | 2022-12-28T17:47:22Z | 2022-12-28T17:47:22Z | 2022-12-28T19:09:44Z |
WARN fixup warning in pandas/tests/apply/test_frame_apply.py | diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py
index c28c3ae58219a..7aaad4d2ad081 100644
--- a/pandas/tests/apply/test_frame_apply.py
+++ b/pandas/tests/apply/test_frame_apply.py
@@ -836,7 +836,8 @@ def test_with_dictlike_columns_with_datetime():
df["author"] = ["X", "... | - [ ] closes #50292
- [ ] All code checks passed
@MarcoGorelli
| https://api.github.com/repos/pandas-dev/pandas/pulls/50299 | 2022-12-16T16:28:11Z | 2022-12-16T18:28:23Z | 2022-12-16T18:28:23Z | 2023-01-14T01:32:02Z |
Use ea interface to calculate accumulator functions for datetimelike | diff --git a/pandas/core/array_algos/datetimelike_accumulations.py b/pandas/core/array_algos/datetimelike_accumulations.py
new file mode 100644
index 0000000000000..d0c622742126b
--- /dev/null
+++ b/pandas/core/array_algos/datetimelike_accumulations.py
@@ -0,0 +1,67 @@
+"""
+datetimelke_accumulations.py is for accumula... | - [ ] 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/50297 | 2022-12-16T13:56:50Z | 2023-01-13T23:53:44Z | 2023-01-13T23:53:44Z | 2023-01-14T18:39:35Z |
DEV speed up `pip install -r requirements-dev.txt` by nearly 2000% | diff --git a/environment.yml b/environment.yml
index c8deb2e96a52c..904f5849219f7 100644
--- a/environment.yml
+++ b/environment.yml
@@ -16,7 +16,6 @@ dependencies:
- pytest-xdist>=1.31
- psutil
- pytest-asyncio>=0.17
- - boto3
- coverage
# required dependencies
@@ -28,7 +27,6 @@ dependencies:
- be... | - [ ] closes #50239 (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/50295 | 2022-12-16T12:50:47Z | 2022-12-16T19:00:15Z | 2022-12-16T19:00:15Z | 2022-12-19T13:45:49Z |
DOC: Make use_nullable_dtypes example easier to understand | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 67441554c16fe..3dcc52fb63eb7 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -471,7 +471,9 @@ Setting ``use_nullable_dtypes=True`` will result in nullable dtypes for every co
3,4.5,False,b,6,7.5,True,a,12-... | - [ ] 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/50294 | 2022-12-16T12:02:47Z | 2022-12-16T19:41:32Z | 2022-12-16T19:41:32Z | 2022-12-16T21:02:29Z |
REF: Rename mode.nullable_backend to mode.dtype_backend | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 208bbfa10b9b2..888a6822fe318 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -28,10 +28,10 @@ The available extras, found in the :ref:`installation guide<install.dependencies
``[all, performance, comp... | From the dev call yesterday, it was discussed to make the new global configuration for 2.0 `mode.nullable_backend="pyarrow"|"pandas"` more generically named. I have changed it to `mode.dtype_backend` as we may decide to not always associate this option with the `use_nullable_dtype` keyword argument in the IO readers
... | https://api.github.com/repos/pandas-dev/pandas/pulls/50291 | 2022-12-16T00:14:04Z | 2022-12-22T11:47:17Z | 2022-12-22T11:47:16Z | 2022-12-22T17:58:42Z |
CLN: Unify string storage fixture usage | diff --git a/pandas/conftest.py b/pandas/conftest.py
index 0d6af91d32dea..3b167d9ef4fe2 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -1271,9 +1271,7 @@ def string_dtype(request):
@pytest.fixture(
params=[
"string[python]",
- pytest.param(
- "string[pyarrow]", marks=td.ski... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/50290 | 2022-12-15T23:02:40Z | 2022-12-17T07:28:17Z | 2022-12-17T07:28:17Z | 2022-12-17T11:32:41Z |
ENH: Add use_nullable_dtypes for read_fwf | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5c635f2d9d3be..bcec5fc27da5e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -36,6 +36,7 @@ Configuration option, ``mode.nullable_backend``, to return pyarrow-backed dtypes
The ``use_nullable_dtypes``... | - [ ] 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/50289 | 2022-12-15T22:56:09Z | 2022-12-27T20:34:58Z | 2022-12-27T20:34:58Z | 2022-12-28T19:16:17Z |
BUG: sql ignores dtype when chunksize is set and result is empty | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5c635f2d9d3be..e6ee469ce9a62 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -867,6 +867,7 @@ I/O
- Bug in :func:`read_sas` caused fragmentation of :class:`DataFrame` and raised :class:`.errors.Perfor... | - [x] closes #50245 (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/50288 | 2022-12-15T22:30:09Z | 2022-12-17T21:01:06Z | 2022-12-17T21:01:06Z | 2022-12-17T21:42:14Z |
Incorrect identically-labeled DataFrame objects Exception comes with df.compare method #50083 | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 75ba169600962..f89bcc2c27ed0 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -98,6 +98,7 @@ Other enhancements
- Added :meth:`Index.infer_objects` analogous to :meth:`Series.infer_objects` (:issue:`50... | - [ ] closes #50083
- [ ] All code checks passed
| https://api.github.com/repos/pandas-dev/pandas/pulls/50287 | 2022-12-15T20:45:22Z | 2022-12-27T20:37:07Z | 2022-12-27T20:37:07Z | 2023-01-20T02:34:52Z |
ENH: Add use_nullable_dtypes for read_html | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index c74f9bb140e32..677be7bf29479 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -1149,7 +1149,7 @@ To completely override the default values that are recognized as missing, specif
.. _io.navaluesconst:
The de... | - [ ] 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/50286 | 2022-12-15T20:33:44Z | 2022-12-27T20:38:15Z | 2022-12-27T20:38:15Z | 2022-12-28T19:15:56Z |
Backport PR #50280 on branch 1.5.x (CI fix githubusercontent in links) | diff --git a/doc/source/getting_started/comparison/comparison_with_sas.rst b/doc/source/getting_started/comparison/comparison_with_sas.rst
index 5a624c9c55782..595f3c85a9dc2 100644
--- a/doc/source/getting_started/comparison/comparison_with_sas.rst
+++ b/doc/source/getting_started/comparison/comparison_with_sas.rst
@@ ... | Backport PR #50280: CI fix githubusercontent in links | https://api.github.com/repos/pandas-dev/pandas/pulls/50284 | 2022-12-15T20:18:14Z | 2022-12-15T23:20:30Z | 2022-12-15T23:20:30Z | 2022-12-15T23:20:30Z |
REV: revert deprecation of Series.__getitem__ slicing with IntegerIndex | diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst
index c0df15b67a4a7..0cb8796e3fb5d 100644
--- a/doc/source/whatsnew/v1.5.3.rst
+++ b/doc/source/whatsnew/v1.5.3.rst
@@ -37,6 +37,7 @@ Bug fixes
Other
~~~~~
+- Reverted deprecation (:issue:`45324`) of behavior of :meth:`Series.__getitem__` ... | - [x] closes #49612 (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/50283 | 2022-12-15T20:09:00Z | 2022-12-17T14:44:50Z | 2022-12-17T14:44:50Z | 2023-01-12T08:27:34Z |
BUG: Index[offset_objects] + Period | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0b29843735189..f89a6e4cb0a27 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -876,6 +876,7 @@ I/O
Period
^^^^^^
- Bug in :meth:`Period.strftime` and :meth:`PeriodIndex.strftime`, raising ``UnicodeDe... | - [ ] 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/50282 | 2022-12-15T19:42:28Z | 2022-12-19T20:17:45Z | 2022-12-19T20:17:45Z | 2022-12-19T20:21:10Z |
CI fix githubusercontent in links | diff --git a/doc/source/getting_started/comparison/comparison_with_sas.rst b/doc/source/getting_started/comparison/comparison_with_sas.rst
index 5a624c9c55782..595f3c85a9dc2 100644
--- a/doc/source/getting_started/comparison/comparison_with_sas.rst
+++ b/doc/source/getting_started/comparison/comparison_with_sas.rst
@@ ... | - [ ] 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/50280 | 2022-12-15T18:21:07Z | 2022-12-15T20:17:37Z | 2022-12-15T20:17:37Z | 2022-12-15T20:17:44Z |
Update doc URL in `setup.cfg` (for `1.5.x`) | diff --git a/setup.cfg b/setup.cfg
index cda40dbdfbed0..dbf05957896f8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -26,7 +26,7 @@ classifiers =
Topic :: Scientific/Engineering
project_urls =
Bug Tracker = https://github.com/pandas-dev/pandas/issues
- Documentation = https://pandas.pydata.org/pandas-docs/stab... | - [ ] 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/50279 | 2022-12-15T17:14:53Z | 2022-12-15T19:45:13Z | 2022-12-15T19:45:13Z | 2022-12-15T20:16:44Z |
Update doc URL in `pyproject.toml` | diff --git a/pyproject.toml b/pyproject.toml
index 1f9ae620db22c..324f26c3f7bc9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -48,7 +48,7 @@ classifiers = [
[project.urls]
homepage = 'https://pandas.pydata.org'
-documentation = 'https://pandas.pydata.org/pandas-docs/stable'
+documentation = 'https://pandas.py... | - [ ] 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/50278 | 2022-12-15T17:12:57Z | 2022-12-15T19:43:19Z | 2022-12-15T19:43:19Z | 2022-12-15T20:14:29Z |
Backport PR #50117 on branch 1.5.x (Alternate Ubuntu CI fix) | diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml
index 23ebd55200b66..49df3a077cfe7 100644
--- a/.github/workflows/32-bit-linux.yml
+++ b/.github/workflows/32-bit-linux.yml
@@ -17,7 +17,7 @@ permissions:
jobs:
pytest:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
s... | - [ ] 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/50277 | 2022-12-15T17:06:50Z | 2022-12-15T19:46:50Z | 2022-12-15T19:46:50Z | 2022-12-15T19:46:50Z |
STYLE Reduce merge conflicts with `force_single_line` | diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py
index ac79ab65cea81..addad67d56b54 100644
--- a/asv_bench/benchmarks/algos/isin.py
+++ b/asv_bench/benchmarks/algos/isin.py
@@ -1,12 +1,10 @@
import numpy as np
-from pandas import (
- Categorical,
- Index,
- NaT,
- Seri... | - [ ] closes #50274 (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/50275 | 2022-12-15T14:08:53Z | 2023-02-28T17:52:19Z | null | 2023-02-28T17:52:19Z |
Backport PR #50238 on branch 1.5.x ( REGR: to_datetime with non-ISO format, float, and nan fails on main) | diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst
index a0c38f1f81538..4d3b4f882fa0e 100644
--- a/doc/source/whatsnew/v1.5.3.rst
+++ b/doc/source/whatsnew/v1.5.3.rst
@@ -19,6 +19,7 @@ Fixed regressions
- Enforced reversion of ``color`` as an alias for ``c`` and ``size`` as an alias for ``s``... | - [ ] 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/50273 | 2022-12-15T13:48:17Z | 2022-12-15T14:01:31Z | null | 2022-12-15T14:01:31Z |
Backport PR #50268 on branch 1.5.x ( CI new numpy nightly failing some tests) | diff --git a/pandas/tests/series/methods/test_describe.py b/pandas/tests/series/methods/test_describe.py
index a7cedd580b2d0..56bd9341d2efe 100644
--- a/pandas/tests/series/methods/test_describe.py
+++ b/pandas/tests/series/methods/test_describe.py
@@ -1,4 +1,7 @@
import numpy as np
+import pytest
+
+from pandas.compa... | Backport PR #50268: CI new numpy nightly failing some tests | https://api.github.com/repos/pandas-dev/pandas/pulls/50272 | 2022-12-15T13:37:14Z | 2022-12-15T16:12:47Z | 2022-12-15T16:12:47Z | 2022-12-15T16:12:47Z |
DOC: Adding link in StringArray and ArrowStringArray docs | diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py
index ccec706d37b53..e5fb3fc3ff836 100644
--- a/pandas/core/arrays/string_.py
+++ b/pandas/core/arrays/string_.py
@@ -266,7 +266,7 @@ class StringArray(BaseStringArray, PandasArray):
See Also
--------
- array
+ :func:`pandas.ar... | - [ ] 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/50271 | 2022-12-15T13:17:12Z | 2022-12-17T20:05:19Z | null | 2023-04-18T10:04:28Z |
CI remove scorecards | diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml
deleted file mode 100644
index 6fa7689232103..0000000000000
--- a/.github/workflows/scorecards.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-name: Scorecards supply-chain security
-on:
- # Only the default branch is supported.
- branch_protection_... | xref https://github.com/pandas-dev/pandas/pull/50262
I don't think this has helped find anything, all it does it make CI red
We can reevaluate it in the future if and when it become more reliable, but for now it's just a pain | https://api.github.com/repos/pandas-dev/pandas/pulls/50269 | 2022-12-15T12:16:54Z | 2022-12-15T18:25:22Z | 2022-12-15T18:25:22Z | 2022-12-15T18:25:30Z |
CI new numpy nightly failing some tests | diff --git a/pandas/tests/series/methods/test_describe.py b/pandas/tests/series/methods/test_describe.py
index 3d813268b57be..21c0977e0f70d 100644
--- a/pandas/tests/series/methods/test_describe.py
+++ b/pandas/tests/series/methods/test_describe.py
@@ -1,4 +1,7 @@
import numpy as np
+import pytest
+
+from pandas.compa... | - [ ] closes #50267 (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/50268 | 2022-12-15T11:13:04Z | 2022-12-15T13:36:42Z | 2022-12-15T13:36:42Z | 2022-12-15T13:36:49Z |
BUG: out-of-bounds pydatetime with errors='coerce' and non-ISO format coerces all elements to NaT | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4425565fbcc8a..9c5656a1e68fd 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -794,6 +794,7 @@ Datetimelike
- Bug in :func:`to_datetime` was raising ``ValueError`` when parsing empty string and non-ISO... | - [ ] closes #50255 (Replace xxxx with the GitHub issue number)
- [ ] closes #50266
- [ ] [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-d... | https://api.github.com/repos/pandas-dev/pandas/pulls/50265 | 2022-12-15T09:40:49Z | 2022-12-20T21:34:34Z | 2022-12-20T21:34:34Z | 2022-12-20T23:09:28Z |
PERF: Series(pyarrow-backed).rank | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 0b29843735189..cd61e893ea84b 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -734,6 +734,7 @@ Performance improvements
- Performance improvement in :meth:`MultiIndex.isin` when ``level=None`` (:issue:... | - [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/50264 | 2022-12-15T00:49:26Z | 2022-12-17T21:03:58Z | 2022-12-17T21:03:58Z | 2022-12-20T00:46:16Z |
REF: to_datetime handle non-object cases outside cython | diff --git a/pandas/_libs/tslib.pyi b/pandas/_libs/tslib.pyi
index cc08b17e0ff5d..9a0364de2f02c 100644
--- a/pandas/_libs/tslib.pyi
+++ b/pandas/_libs/tslib.pyi
@@ -12,7 +12,7 @@ def format_array_from_datetime(
reso: int = ..., # NPY_DATETIMEUNIT
) -> npt.NDArray[np.object_]: ...
def array_with_unit_to_datetime... | - [ ] 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/50263 | 2022-12-14T21:04:52Z | 2022-12-17T20:31:26Z | 2022-12-17T20:31:26Z | 2023-03-04T23:31:36Z |
CI: continue-on-error: true for scorecard action | diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml
index ac5710fc8879b..6fa7689232103 100644
--- a/.github/workflows/scorecards.yml
+++ b/.github/workflows/scorecards.yml
@@ -14,6 +14,7 @@ jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-22.04
+ continue-on-error: ... | This job on main is currently failing with a 500 error
```
2022/12/14 18:00:45 error processing signature: http response 500, status: 500 Internal Server Error, error: {"code":500,"message":"something went wrong and we are looking into it."}
```
I am doubtful this is entirely actionable on our side (or if it ... | https://api.github.com/repos/pandas-dev/pandas/pulls/50262 | 2022-12-14T20:01:20Z | 2022-12-14T20:40:51Z | 2022-12-14T20:40:51Z | 2022-12-15T12:15:04Z |
POC: Devpy CLI | diff --git a/.devpy/cmds.py b/.devpy/cmds.py
new file mode 100644
index 0000000000000..4f24229fadea4
--- /dev/null
+++ b/.devpy/cmds.py
@@ -0,0 +1,36 @@
+import click
+from devpy.cmds.util import run
+
+
+@click.command()
+@click.option("--clean", is_flag=True, help="Clean build directory")
+@click.option(
+ "--debu... | - [ ] closes #47700 (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/50260 | 2022-12-14T16:15:55Z | 2023-08-01T17:06:25Z | null | 2023-08-01T17:06:33Z |
[BUG]Fix read_html error when URL include Unicode | diff --git a/pandas/_testing/_io.py b/pandas/_testing/_io.py
index 29618bdd64912..b166f4553ea52 100644
--- a/pandas/_testing/_io.py
+++ b/pandas/_testing/_io.py
@@ -11,6 +11,7 @@
Any,
Callable,
)
+from urllib.parse import quote_plus
import zipfile
from pandas._typing import (
@@ -268,6 +269,8 @@ def can_... | - [x] closes #47899 and #21499
- [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-com... | https://api.github.com/repos/pandas-dev/pandas/pulls/50259 | 2022-12-14T15:48:26Z | 2023-01-19T16:04:40Z | null | 2023-01-19T16:04:41Z |
WIP Share paths 2 | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 6f0ab6eb0d532..d8b826e779750 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -39,6 +39,7 @@ from pandas._libs.tslibs.np_datetime cimport (
pydatetime_to_dt64,
string_to_dts,
)
+from pandas._libs.tslibs.strptime cimport str... | Attempt at addressing the many, many inconsistencies between the ISO8601 path and the non-ISO8601 path
Can we just get rid of `array_strptime`, and only keep the part that does pattern matching?
@jbrockmendel does the general idea look reasonable? Asking you'd previously commented "yikes" about this 😄 . If so, I... | https://api.github.com/repos/pandas-dev/pandas/pulls/50258 | 2022-12-14T14:50:44Z | 2022-12-18T19:56:54Z | null | 2022-12-18T19:56:54Z |
REF: refactor implementation of to_dict out of frame.py and into core.methods.to_dict | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 798ea8a61093a..b8d9ab752a6ec 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1958,147 +1958,9 @@ def to_dict(
[defaultdict(<class 'list'>, {'col1': 1, 'col2': 0.5}),
defaultdict(<class 'list'>, {'col1': 2, 'col2': 0.75})]... | - [x] closes #49845 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/50253 | 2022-12-14T08:18:04Z | 2022-12-17T13:58:49Z | 2022-12-17T13:58:49Z | 2023-01-03T21:18:48Z |
BUG: empty strings raise in non-ISO8601 formats but parse as NaT elsewhere | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5c635f2d9d3be..d6479a555a1b4 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -782,6 +782,7 @@ Datetimelike
- Bug in ``pandas.tseries.holiday.Holiday`` where a half-open date interval causes inconsiste... | - [ ] closes #50251 (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/50252 | 2022-12-14T08:08:14Z | 2022-12-16T09:36:19Z | 2022-12-16T09:36:19Z | 2022-12-16T09:36:27Z |
DOC clarify whatsnew | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 9d5c9c67224a7..a9229af5264e1 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -775,7 +775,7 @@ Datetimelike
- Bug in ``pandas.tseries.holiday.Holiday`` where a half-open date interval causes inconsiste... | Clarifying a lousy whatsnew entry I wrote | https://api.github.com/repos/pandas-dev/pandas/pulls/50250 | 2022-12-14T07:51:48Z | 2022-12-14T17:59:29Z | 2022-12-14T17:59:29Z | 2022-12-14T17:59:35Z |
PERF: setting values via df.loc / df.iloc with pyarrow-backed columns | diff --git a/asv_bench/benchmarks/array.py b/asv_bench/benchmarks/array.py
index 924040ff0648b..1ed7481d7b2f5 100644
--- a/asv_bench/benchmarks/array.py
+++ b/asv_bench/benchmarks/array.py
@@ -90,6 +90,9 @@ def time_setitem_list(self, multiple_chunks):
def time_setitem_slice(self, multiple_chunks):
self.a... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotati... | https://api.github.com/repos/pandas-dev/pandas/pulls/50248 | 2022-12-14T00:12:05Z | 2022-12-17T19:09:49Z | 2022-12-17T19:09:49Z | 2022-12-20T00:46:16Z |
ENH: Add use_nullable_dtypes to read_sql_query and table | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index c58ee3818cbd9..4d9aa1673b289 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -38,6 +38,8 @@ The ``use_nullable_dtypes`` keyword argument has been expanded to the following
* :func:`read_csv`
* :func:... | - [ ] 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/50247 | 2022-12-13T23:08:43Z | 2022-12-18T01:44:43Z | 2022-12-18T01:44:43Z | 2022-12-18T09:49:57Z |
Disallow cumprod for timedelta | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 5c635f2d9d3be..215e9c2a85bba 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -485,6 +485,7 @@ Other API changes
or :attr:`~DataFrame.iloc` (thus, ``df.loc[:, :]`` or ``df.iloc[:, :]``) now returns 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/50246 | 2022-12-13T22:51:43Z | 2022-12-15T23:04:54Z | 2022-12-15T23:04:54Z | 2022-12-15T23:04:57Z |
DEPR: deprecate Index.holds_integer | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 6c8dd2f8da938..033f47f0c994d 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -576,6 +576,7 @@ Deprecations
- :meth:`Index.is_boolean` has been deprecated. Use :func:`pandas.api.types.is_bool_dtype` in... | See https://github.com/pandas-dev/pandas/issues/50042#issuecomment-1349283717
| https://api.github.com/repos/pandas-dev/pandas/pulls/50243 | 2022-12-13T21:21:19Z | 2023-01-15T15:26:18Z | 2023-01-15T15:26:18Z | 2023-01-15T15:27:45Z |
BUG refactor datetime parsing and fix 8 bugs | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 46464a3ecf420..cef34a3af0136 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -780,6 +780,7 @@ Performance improvements
- Performance improvement in :func:`merge` when not merging on the index - the ne... | - [ ] closes #50051
- [ ] closes #50071
- [ ] closes #14487
- [ ] closes #50254
- [ ] closes #21422
- [ ] closes #26493
- [ ] closes #17410
- [ ] closes #50359
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or addin... | https://api.github.com/repos/pandas-dev/pandas/pulls/50242 | 2022-12-13T21:16:42Z | 2022-12-29T20:15:04Z | 2022-12-29T20:15:04Z | 2023-01-10T17:45:56Z |
DOC: added the link to array in string_arrow.py | diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py
index ccec706d37b53..e5fb3fc3ff836 100644
--- a/pandas/core/arrays/string_.py
+++ b/pandas/core/arrays/string_.py
@@ -266,7 +266,7 @@ class StringArray(BaseStringArray, PandasArray):
See Also
--------
- array
+ :func:`pandas.ar... | - [x] closes #50230
- [ ] [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/50241 | 2022-12-13T21:10:43Z | 2022-12-19T21:47:02Z | 2022-12-19T21:47:02Z | 2022-12-19T21:47:21Z |
DOC: updated documentation for BusinessHour and BusinessDay | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 60199cacafa4f..f9905f297be10 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -1494,11 +1494,29 @@ cdef class BusinessDay(BusinessMixin):
"""
DateOffset subclass representing possibly n bu... | This PR is related to PR #50182.
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Updated documentation for `BusinessDay`, `BusinessHour`, `CustomBusinessHour`. Corrected lists of parameters and provided more examples.
Could you, please, @... | https://api.github.com/repos/pandas-dev/pandas/pulls/50240 | 2022-12-13T21:09:38Z | 2022-12-17T10:48:57Z | 2022-12-17T10:48:57Z | 2022-12-17T23:07:25Z |
REGR: to_datetime with non-ISO format, float, and nan fails on main | diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst
index 581d28e10bd67..c0df15b67a4a7 100644
--- a/doc/source/whatsnew/v1.5.3.rst
+++ b/doc/source/whatsnew/v1.5.3.rst
@@ -19,6 +19,7 @@ Fixed regressions
- Enforced reversion of ``color`` as an alias for ``c`` and ``size`` as an alias for ``s``... | - [ ] closes #50237 (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/50238 | 2022-12-13T18:08:55Z | 2022-12-15T08:10:07Z | 2022-12-15T08:10:07Z | 2022-12-15T13:48:10Z |
CLN: Remove Index._is_numeric_dtype | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 7b8ba79789f41..d8e48a755ab26 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -387,7 +387,6 @@ def _outer_indexer(
_no_setting_name: bool = False
_comparables: list[str] = ["name"]
_attributes: list[... | This attribute is not used at all. | https://api.github.com/repos/pandas-dev/pandas/pulls/50236 | 2022-12-13T17:05:20Z | 2022-12-13T19:50:24Z | 2022-12-13T19:50:24Z | 2022-12-13T21:18:58Z |
DEPR: deprecate Index.is_floating | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index b15d0face7534..540fd638eb970 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -497,6 +497,8 @@ Deprecations
~~~~~~~~~~~~
- Deprecated argument ``infer_datetime_format`` in :func:`to_datetime` and :fun... | - [ ] progress towards https://github.com/pandas-dev/pandas/issues/50042
- [ ] [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/devel... | https://api.github.com/repos/pandas-dev/pandas/pulls/50235 | 2022-12-13T16:36:24Z | 2023-01-12T16:04:38Z | 2023-01-12T16:04:38Z | 2023-04-02T17:27:59Z |
Backport PR #49736 on branch 1.5.x (Fix: Treat Generic classes as not being is_list_like) | diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst
index cb99495b837b2..a0c38f1f81538 100644
--- a/doc/source/whatsnew/v1.5.3.rst
+++ b/doc/source/whatsnew/v1.5.3.rst
@@ -28,6 +28,7 @@ Bug fixes
~~~~~~~~~
- Bug in :meth:`.Styler.to_excel` leading to error when unrecognized ``border-style`` (... | backport of #49736 to 1.5.x
| https://api.github.com/repos/pandas-dev/pandas/pulls/50233 | 2022-12-13T14:50:18Z | 2022-12-13T19:23:03Z | 2022-12-13T19:23:03Z | 2023-02-13T20:48:16Z |
BUG: warning shown when parsing delimited date string even if users can't do anything about it | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 4d3b2548f5fc5..caff9d7f5cb1a 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -775,6 +775,7 @@ Datetimelike
- Bug in ``pandas.tseries.holiday.Holiday`` where a half-open date interval causes inconsiste... | - [ ] closes #50231 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/50232 | 2022-12-13T13:48:19Z | 2022-12-14T07:23:52Z | 2022-12-14T07:23:52Z | 2022-12-14T07:23:52Z |
Revert "CI: Pin pyarrow smaller than 10 (#50055)" | diff --git a/.github/actions/setup-conda/action.yml b/.github/actions/setup-conda/action.yml
index 7d1e54052f938..002d0020c2df1 100644
--- a/.github/actions/setup-conda/action.yml
+++ b/.github/actions/setup-conda/action.yml
@@ -18,7 +18,7 @@ runs:
- name: Set Arrow version in ${{ inputs.environment-file }} to ${{... | This reverts commit 4c5db2e435d13c5ca91f98d07edde18a498ae6dd.
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks ... | https://api.github.com/repos/pandas-dev/pandas/pulls/50229 | 2022-12-13T11:08:11Z | 2022-12-18T17:17:39Z | null | 2022-12-18T17:17:39Z |
Backport PR #50226 on branch 1.5.x (CI add missing mpl pins) | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index a09d882b6e367..38d7a8795591c 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -30,7 +30,7 @@ dependencies:
- gcsfs
- jinja2
- lxml
- - matplotlib
+ - matplotlib>=3.6.1
- numba
- numexpr
- openpyxl
diff --gi... | Backport PR #50226: CI add missing mpl pins | https://api.github.com/repos/pandas-dev/pandas/pulls/50228 | 2022-12-13T10:37:50Z | 2022-12-13T14:08:41Z | 2022-12-13T14:08:41Z | 2022-12-13T14:08:42Z |
DEPR: deprecate Index.is_object | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 76aa426cc1cee..c1d9b2744b27e 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -637,6 +637,7 @@ Deprecations
- :meth:`Index.is_floating` has been deprecated. Use :func:`pandas.api.types.is_float_dtype` ... | - [ ] progress towards https://github.com/pandas-dev/pandas/issues/50042
- [ ] [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/50227 | 2022-12-13T10:33:28Z | 2023-01-27T08:33:38Z | 2023-01-27T08:33:38Z | 2023-01-27T08:36:30Z |
CI add missing mpl pins | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 25623d9826030..6ea073f3df5c8 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -33,7 +33,7 @@ dependencies:
- gcsfs
- jinja2
- lxml
- - matplotlib
+ - matplotlib>=3.6.1
- numba
- numexpr
- openpyxl
diff --gi... | I missed some files in #50205 (all the more reason to have an automated check...but first let's get CI green again) | https://api.github.com/repos/pandas-dev/pandas/pulls/50226 | 2022-12-13T09:38:33Z | 2022-12-13T10:37:16Z | 2022-12-13T10:37:16Z | 2022-12-13T10:40:44Z |
DEPR: deprecate Index.is_categorical | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 033f47f0c994d..7f983c97691ca 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -577,6 +577,7 @@ Deprecations
- :meth:`Index.is_integer` has been deprecated. Use :func:`pandas.api.types.is_integer_dtype`... | - [ ] progress towards https://github.com/pandas-dev/pandas/issues/50042
- [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/devel... | https://api.github.com/repos/pandas-dev/pandas/pulls/50225 | 2022-12-13T09:20:14Z | 2023-01-16T14:59:19Z | 2023-01-16T14:59:19Z | 2023-01-16T15:01:22Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.