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 |
|---|---|---|---|---|---|---|---|
PERF: pandas.core.sorting.compress_group_index for already sorted values | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 2436d91690ed3..58ac32fce2804 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -328,6 +328,7 @@ Performance improvements
- Performance improvement in :func:`concat` (:issue:`52291`, :issue:`52290`)
- :... | - [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/53806 | 2023-06-22T23:31:08Z | 2023-06-23T17:35:03Z | 2023-06-23T17:35:03Z | 2023-07-01T00:37:56Z |
DEPR: Remove literal string input for read_html | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 84a78ace8d7c7..0084e885db2b5 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -2664,7 +2664,7 @@ Links can be extracted from cells along with the text using ``extract_links="all
"""
df = pd.read_htm... | - [X] closes #53767
- [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/53805 | 2023-06-22T23:07:37Z | 2023-06-28T16:15:40Z | 2023-06-28T16:15:40Z | 2024-02-17T17:20:16Z |
TST: Refactor s3 resource | diff --git a/pandas/tests/io/conftest.py b/pandas/tests/io/conftest.py
index 1fc867f95de53..c9890032f408a 100644
--- a/pandas/tests/io/conftest.py
+++ b/pandas/tests/io/conftest.py
@@ -1,6 +1,7 @@
import shlex
import subprocess
import time
+import uuid
import pytest
@@ -54,13 +55,13 @@ def s3so(worker_id):
... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53803 | 2023-06-22T21:56:13Z | 2023-06-23T17:17:57Z | 2023-06-23T17:17:57Z | 2023-06-23T17:18:00Z |
TST: Refactor more slow tests | diff --git a/pandas/tests/groupby/transform/test_transform.py b/pandas/tests/groupby/transform/test_transform.py
index 397500f64787f..5caf3d2ac1d8b 100644
--- a/pandas/tests/groupby/transform/test_transform.py
+++ b/pandas/tests/groupby/transform/test_transform.py
@@ -697,6 +697,36 @@ def test_groupby_cum_skipna(op, sk... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53800 | 2023-06-22T20:14:10Z | 2023-06-23T17:14:05Z | 2023-06-23T17:14:05Z | 2023-06-23T17:14:09Z |
Backport PR #53754 on branch 2.0.x (TST: Make test_complibs deterministic) | diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py
index 49190daa37442..1a126ad75c01c 100644
--- a/pandas/tests/io/pytables/test_file_handling.py
+++ b/pandas/tests/io/pytables/test_file_handling.py
@@ -3,7 +3,12 @@
import numpy as np
import pytest
-from pan... | Backport PR #53754: TST: Make test_complibs deterministic | https://api.github.com/repos/pandas-dev/pandas/pulls/53797 | 2023-06-22T15:24:44Z | 2023-06-22T17:48:29Z | 2023-06-22T17:48:29Z | 2023-06-22T17:48:30Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 693017c6715ae..472bd78e4d3bc 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -105,17 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.UnsupportedFunctionCall \
pandas.test \
pandas.NaT \
- ... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53796 | 2023-06-22T15:05:03Z | 2023-06-23T14:41:30Z | 2023-06-23T14:41:30Z | 2023-06-23T16:34:38Z |
BUG: fixes weekday for dates before 1752 | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 8aab1e7b58f5e..14e65e9e577ce 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -13,6 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Bug in :meth:`Timestamp.weekda... | - [x] closes #53738 (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/53795 | 2023-06-22T13:36:53Z | 2023-06-27T15:22:03Z | 2023-06-27T15:22:03Z | 2023-06-30T18:37:15Z |
TYP: annotate testing decorators with pytest.MarkDecorator | diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py
index ec54f0205f79a..20cc83e86b435 100644
--- a/pandas/util/_test_decorators.py
+++ b/pandas/util/_test_decorators.py
@@ -114,9 +114,7 @@ def _skip_if_no_scipy() -> bool:
)
-# TODO(pytest#7469): return type, _pytest.mark.structures.... | xref https://github.com/pytest-dev/pytest/pull/7379 | https://api.github.com/repos/pandas-dev/pandas/pulls/53794 | 2023-06-22T13:12:49Z | 2023-06-22T15:50:51Z | 2023-06-22T15:50:51Z | 2023-06-22T16:37:07Z |
BUG: combine_first ignoring others columns if other is empty | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 511e5793608bc..2436d91690ed3 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -491,6 +491,7 @@ Reshaping
- Bug in :func:`merge_asof` raising ``KeyError`` for extension dtypes (:issue:`52904`)
- Bug in... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/53792 | 2023-06-22T11:00:47Z | 2023-06-22T16:05:34Z | 2023-06-22T16:05:34Z | 2023-06-22T16:06:05Z |
TST/CLN: use fixture for data path in all xml tests | diff --git a/pandas/tests/io/xml/conftest.py b/pandas/tests/io/xml/conftest.py
index 53725ebef3616..510e22fb32e77 100644
--- a/pandas/tests/io/xml/conftest.py
+++ b/pandas/tests/io/xml/conftest.py
@@ -29,3 +29,8 @@ def kml_cta_rail_lines(xml_data_path):
@pytest.fixture
def xsl_flatten_doc(xml_data_path):
return ... | follow up of #53766 | https://api.github.com/repos/pandas-dev/pandas/pulls/53790 | 2023-06-22T05:55:30Z | 2023-06-22T15:52:13Z | 2023-06-22T15:52:13Z | 2023-06-22T16:37:57Z |
REF: remove unused merge args | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cbcdc3813c24d..9d43a665a5649 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -29,7 +29,6 @@
from pandas._typing import (
AnyArrayLike,
ArrayLike,
- AxisInt,
DtypeObj,
IndexLabel,
J... | - [ ] 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/53789 | 2023-06-22T04:51:50Z | 2023-06-22T15:54:08Z | 2023-06-22T15:54:08Z | 2023-06-22T16:41:36Z |
DOC: fix Sphinx parallel build error caused for `doc/source/getting_started/intro_tutorials/04_plotting.rst` | diff --git a/doc/source/getting_started/intro_tutorials/04_plotting.rst b/doc/source/getting_started/intro_tutorials/04_plotting.rst
index ddc8a37911c98..e96eb7c51a12a 100644
--- a/doc/source/getting_started/intro_tutorials/04_plotting.rst
+++ b/doc/source/getting_started/intro_tutorials/04_plotting.rst
@@ -49,6 +49,7 ... | - [x] closes #53777
- [ ] [Tests added 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/53788 | 2023-06-22T03:01:44Z | 2023-08-01T17:34:08Z | 2023-08-01T17:34:08Z | 2023-08-01T17:34:24Z |
BUG: DataFrame.stack sorts columns | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 2436d91690ed3..6c3316629ce22 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -495,9 +495,9 @@ Reshaping
- Bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.idxmax`, where the axis dtype would be lo... | - [x] closes #53786 (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/53787 | 2023-06-22T02:53:20Z | 2023-06-23T17:37:29Z | 2023-06-23T17:37:29Z | 2023-06-23T19:25:49Z |
TST: Refactor some slow tests | diff --git a/pandas/tests/frame/methods/test_duplicated.py b/pandas/tests/frame/methods/test_duplicated.py
index 9d46a8abb9b46..5b07572ca9ad1 100644
--- a/pandas/tests/frame/methods/test_duplicated.py
+++ b/pandas/tests/frame/methods/test_duplicated.py
@@ -1,4 +1,5 @@
import re
+import sys
import numpy as np
impor... | Mainly refactoring tests by reducing the data size not associated with the bug or refactoring the test to more directly test the issue | https://api.github.com/repos/pandas-dev/pandas/pulls/53784 | 2023-06-22T01:09:56Z | 2023-06-22T15:48:26Z | 2023-06-22T15:48:26Z | 2023-06-22T15:48:30Z |
TYP: reshape.merge | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cbcdc3813c24d..c9e1a59a9d987 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -3,7 +3,6 @@
"""
from __future__ import annotations
-import copy as cp
import datetime
from functools import partial
import 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/53780 | 2023-06-21T20:42:09Z | 2023-06-22T15:49:39Z | 2023-06-22T15:49:39Z | 2023-06-22T16:41:57Z |
CoW: Add warning for chained assignment with fillna | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 198a7155e1a1e..1119117c411d3 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -27,6 +27,14 @@ Copy-on-Write improvements
of those Index objects for the columns of the DataFrame (:issue:`52947`)
- Ad... | - [ ] 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/53779 | 2023-06-21T20:34:04Z | 2023-07-06T16:12:30Z | 2023-07-06T16:12:30Z | 2023-07-06T16:12:34Z |
Backport PR #53774 on branch 2.0.x (COMPAT: Remove np.compat) | diff --git a/pandas/tests/libs/test_hashtable.py b/pandas/tests/libs/test_hashtable.py
index 4a5d5e0c85a09..60af595018a54 100644
--- a/pandas/tests/libs/test_hashtable.py
+++ b/pandas/tests/libs/test_hashtable.py
@@ -461,7 +461,7 @@ def test_get_labels_groupby_for_Int64(writable):
def test_tracemalloc_works_for_Stri... | Backport PR #53774: COMPAT: Remove np.compat | https://api.github.com/repos/pandas-dev/pandas/pulls/53776 | 2023-06-21T19:26:04Z | 2023-06-21T20:39:30Z | 2023-06-21T20:39:30Z | 2023-06-21T20:39:31Z |
Added suggested new line to fix doc code example | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index b411cfc4a4685..352d353ef4dba 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2981,6 +2981,7 @@ def to_orc(
1 2 3
If you want to get a buffer to the orc content you can write it to io.BytesIO
+
>>> import... | - [x] closes #53770
- [x] Modified as suggested in the issue | https://api.github.com/repos/pandas-dev/pandas/pulls/53775 | 2023-06-21T18:34:49Z | 2023-06-21T19:52:04Z | 2023-06-21T19:52:04Z | 2023-06-21T19:52:04Z |
COMPAT: Remove np.compat | diff --git a/pandas/tests/libs/test_hashtable.py b/pandas/tests/libs/test_hashtable.py
index df3f74fa9bc7c..ab4dd58e18ce8 100644
--- a/pandas/tests/libs/test_hashtable.py
+++ b/pandas/tests/libs/test_hashtable.py
@@ -461,7 +461,7 @@ def test_get_labels_groupby_for_Int64(writable):
def test_tracemalloc_works_for_Stri... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53774 | 2023-06-21T17:50:33Z | 2023-06-21T19:24:59Z | 2023-06-21T19:24:59Z | 2023-06-21T19:25:03Z |
PERF: concat in no-reindexing case | diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py
index 1d22ed3fe8897..8d12fb91887ac 100644
--- a/pandas/core/internals/concat.py
+++ b/pandas/core/internals/concat.py
@@ -254,6 +254,15 @@ def _concat_homogeneous_fastpath(
"""
# assumes
# all(_is_homogeneous_mgr(mgr, first_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/53772 | 2023-06-21T15:24:15Z | 2023-06-22T16:15:25Z | 2023-06-22T16:15:25Z | 2023-06-22T16:41:22Z |
PERF: avoid unnecessary casting in merge | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 4d1f8bd6301d0..5a7e794b1b5fe 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -29,7 +29,6 @@
from pandas._typing import (
AnyArrayLike,
ArrayLike,
- DtypeObj,
IndexLabel,
JoinHow,
M... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/53771 | 2023-06-21T15:19:01Z | 2023-06-25T20:43:17Z | 2023-06-25T20:43:17Z | 2023-06-25T20:52:00Z |
DEPR: deprecate returning a tuple from a callable in iloc indexing | diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst
index 7541cf3c8af3c..7b839d62ddde9 100644
--- a/doc/source/user_guide/indexing.rst
+++ b/doc/source/user_guide/indexing.rst
@@ -62,6 +62,8 @@ of multi-axis indexing.
* A boolean array (any ``NA`` values will be treated as ``False`... | The current semantics are that tuple-destructuring of the key is
performed before unwinding any callables. As such, if a callable
returns a tuple for iloc, it will be handled incorrectly. To avoid
this, explicitly deprecate support for this behaviour.
- [x] closes #53533
- [x] [Tests added and passed](https://pa... | https://api.github.com/repos/pandas-dev/pandas/pulls/53769 | 2023-06-21T11:40:50Z | 2023-11-07T17:29:38Z | 2023-11-07T17:29:38Z | 2023-11-07T17:36:58Z |
DOC note pytest bump | diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst
index f4c76c3493fa2..e7e637618eecc 100644
--- a/doc/source/getting_started/install.rst
+++ b/doc/source/getting_started/install.rst
@@ -216,7 +216,7 @@ pandas is equipped with an exhaustive set of unit tests, covering about 97%... | xref https://github.com/pandas-dev/pandas/pull/53727#issuecomment-1597998486 | https://api.github.com/repos/pandas-dev/pandas/pulls/53768 | 2023-06-21T09:48:39Z | 2023-06-21T19:24:13Z | 2023-06-21T19:24:13Z | 2023-06-21T19:24:19Z |
TST: refactor data path for xml tests | diff --git a/pandas/conftest.py b/pandas/conftest.py
index 1dcfc88eb1bfd..b2f1377a9fb32 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -30,6 +30,7 @@
from decimal import Decimal
import operator
import os
+from pathlib import Path
from typing import (
Callable,
Hashable,
@@ -1167,6 +1168,16 @@... | In this PR, the common test data paths are set in `conftest.py` to avoid repeat calls to `datapath()` | https://api.github.com/repos/pandas-dev/pandas/pulls/53766 | 2023-06-21T08:17:35Z | 2023-06-21T17:59:27Z | 2023-06-21T17:59:27Z | 2023-06-22T16:37:27Z |
DOC: operator wrapper names do not match math operators | diff --git a/pandas/core/ops/docstrings.py b/pandas/core/ops/docstrings.py
index 9a469169151c3..bd2e532536d84 100644
--- a/pandas/core/ops/docstrings.py
+++ b/pandas/core/ops/docstrings.py
@@ -463,7 +463,7 @@ def make_flex_doc(op_name: str, typ: str) -> str:
Equivalent to ``{equiv}``, but with support to substitute a ... | - [x] closes #53724
- [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/53765 | 2023-06-21T06:19:27Z | 2023-06-21T10:10:51Z | 2023-06-21T10:10:51Z | 2023-06-23T17:00:48Z |
BUG: bad display for complex series with nan | diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py
index a425944647b5c..6cc00ffc8889c 100644
--- a/pandas/io/formats/format.py
+++ b/pandas/io/formats/format.py
@@ -1506,14 +1506,16 @@ def format_values_with(float_format):
# default formatter leaves a space to the left when formatting... | - [ ] Closes #53762
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit)
- [ ] *Not sure if this needs a changelog entr... | https://api.github.com/repos/pandas-dev/pandas/pulls/53764 | 2023-06-21T06:09:34Z | 2023-06-22T16:19:32Z | 2023-06-22T16:19:32Z | 2023-06-28T05:40:22Z |
Revert "BUG: DataFrame.stack with sort=True and unsorted MultiIndex levels" | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 44691e4265f5b..5ee378f34b34e 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -491,7 +491,6 @@ Reshaping
- Bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.idxmax`, where the axis dtype would be lo... | Reverts pandas-dev/pandas#53637 | https://api.github.com/repos/pandas-dev/pandas/pulls/53760 | 2023-06-21T02:12:55Z | 2023-06-21T15:58:11Z | 2023-06-21T15:58:11Z | 2023-06-21T15:58:21Z |
Backport PR #53654: BUG: DataFrame construction with dictionary ArrowDtype columns | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 146cc0d00fa3b..8e2b1dc315725 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -27,6 +27,7 @@ Bug fixes
- Bug in :func:`read_csv` when defining ``dtype`` with ``bool[pyarrow]`` for the ``"c"`` and ``"py... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53758 | 2023-06-21T01:44:25Z | 2023-06-21T20:08:01Z | 2023-06-21T20:08:01Z | 2023-06-21T20:08:04Z |
BUG: to_json not serializing non-nanosecond numpy dt64 correctly | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index f2bf446c3bb6d..d38f4991759a1 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -530,6 +530,7 @@ I/O
- Bug in :func:`read_sql` when reading multiple timezone aware columns with the same column name (:iss... | - [ ] closes #53686 (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/53757 | 2023-06-21T01:08:32Z | 2023-07-25T22:07:17Z | 2023-07-25T22:07:17Z | 2023-07-25T23:01:24Z |
Backport PR #53652: BUG: Indexing a timestamp ArrowDtype Index | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 0f56f203a5802..160223168d83c 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -26,6 +26,7 @@ Bug fixes
- Bug in :func:`read_csv` when defining ``dtype`` with ``bool[pyarrow]`` for the ``"c"`` and ``"py... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53755 | 2023-06-20T22:44:18Z | 2023-06-21T16:03:46Z | 2023-06-21T16:03:46Z | 2023-06-21T16:03:50Z |
TST: Make test_complibs deterministic | diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py
index 49190daa37442..1a126ad75c01c 100644
--- a/pandas/tests/io/pytables/test_file_handling.py
+++ b/pandas/tests/io/pytables/test_file_handling.py
@@ -3,7 +3,12 @@
import numpy as np
import pytest
-from pan... | This tests seems to be flaky in the CI, hopefully making this test deterministic fixes things | https://api.github.com/repos/pandas-dev/pandas/pulls/53754 | 2023-06-20T22:36:14Z | 2023-06-22T15:23:41Z | 2023-06-22T15:23:41Z | 2023-06-22T15:23:46Z |
CI: Clean GH Action caches weekly | diff --git a/.github/workflows/cache-cleanup-weekly.yml b/.github/workflows/cache-cleanup-weekly.yml
new file mode 100644
index 0000000000000..225503f2894f8
--- /dev/null
+++ b/.github/workflows/cache-cleanup-weekly.yml
@@ -0,0 +1,29 @@
+name: Purge caches once a week
+on:
+ schedule:
+ # 4:10 UTC on Sunday
+ - ... | Adds a job that runs daily to clean GH Action caches every Sunday night so that dependencies cached in CI jobs can still regularly pick up new version in a reasonable timeline | https://api.github.com/repos/pandas-dev/pandas/pulls/53753 | 2023-06-20T22:07:13Z | 2023-07-07T17:56:17Z | 2023-07-07T17:56:17Z | 2023-07-07T17:56:20Z |
TYP: reshape.merge | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index cecb9a84c62dd..43854c5849481 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -829,7 +829,12 @@ def value_counts(
right = [diff.cumsum() - 1, codes[-1]]
- _, idx = get_join_i... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/53752 | 2023-06-20T21:31:24Z | 2023-06-21T00:36:47Z | 2023-06-21T00:36:47Z | 2023-06-21T01:27:51Z |
DOC: point out that only period aliases are valid for the method asfreq in period.pyx | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index e954ec9bccd9e..2ec0649110948 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -1917,7 +1917,8 @@ cdef class _Period(PeriodMixin):
Parameters
----------
freq : str, BaseOffset
... | related to pr #52064
Updated docstring for the method `asfreq` in period.pyx. Point out that only period aliases are valid for `asfreq`. | https://api.github.com/repos/pandas-dev/pandas/pulls/53751 | 2023-06-20T21:10:45Z | 2023-06-21T09:24:42Z | 2023-06-21T09:24:42Z | 2023-06-21T09:24:43Z |
TST: Use more pytest fixtures | diff --git a/pandas/tests/resample/test_resample_api.py b/pandas/tests/resample/test_resample_api.py
index ba0b93d0b06f4..dbd28868b81b1 100644
--- a/pandas/tests/resample/test_resample_api.py
+++ b/pandas/tests/resample/test_resample_api.py
@@ -16,38 +16,43 @@
import pandas._testing as tm
from pandas.core.indexes.dat... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53750 | 2023-06-20T20:59:12Z | 2023-06-21T00:40:34Z | 2023-06-21T00:40:34Z | 2023-06-21T00:40:37Z |
Backport PR #53651 on branch 2.0.x (BUG: convert_dtype(dtype_backend=nullable_numpy) with ArrowDtype) | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 7b6363a094d00..bba149c2b778b 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Bug in :func:`DataFrame.convert_dtype` and :func:`Series.convert... | Backport PR #53651: BUG: convert_dtype(dtype_backend=nullable_numpy) with ArrowDtype | https://api.github.com/repos/pandas-dev/pandas/pulls/53749 | 2023-06-20T20:50:11Z | 2023-06-21T16:05:42Z | 2023-06-21T16:05:42Z | 2023-06-21T16:05:43Z |
Backport PR #53505 on branch 2.0.x (BUG: reindex with expansion and non-nanosecond dtype) | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 7b6363a094d00..0f56f203a5802 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -22,6 +22,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :func:`RangeIndex.union` when using ``sort=True`` with anot... | Backport PR #53505: BUG: reindex with expansion and non-nanosecond dtype | https://api.github.com/repos/pandas-dev/pandas/pulls/53748 | 2023-06-20T20:45:24Z | 2023-06-20T22:38:33Z | 2023-06-20T22:38:33Z | 2023-06-20T22:38:34Z |
BUG / CoW: Series.transform not respecting CoW | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 44691e4265f5b..140e9d5b2205b 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -19,6 +19,7 @@ Enhancements
Copy-on-Write improvements
^^^^^^^^^^^^^^^^^^^^^^^^^^
+- :meth:`Series.transform` not respec... | - [x] xref #49473 (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/53747 | 2023-06-20T20:35:15Z | 2023-06-21T14:49:21Z | 2023-06-21T14:49:21Z | 2023-08-14T17:02:15Z |
ENH / CoW: Add lazy copy to eval | diff --git a/doc/source/user_guide/copy_on_write.rst b/doc/source/user_guide/copy_on_write.rst
index e2e7dfa42d115..59bdb1926895f 100644
--- a/doc/source/user_guide/copy_on_write.rst
+++ b/doc/source/user_guide/copy_on_write.rst
@@ -211,6 +211,7 @@ following methods:
- :meth:`DataFrame.astype` / :meth:`Series.astype... | - [x] xref #49473 (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/53746 | 2023-06-20T20:16:03Z | 2023-06-29T10:37:00Z | 2023-06-29T10:37:00Z | 2023-06-29T10:37:13Z |
TST / CoW: Add test for mask | diff --git a/pandas/tests/copy_view/test_methods.py b/pandas/tests/copy_view/test_methods.py
index 3af47d0b37338..deebb6cb6fdf3 100644
--- a/pandas/tests/copy_view/test_methods.py
+++ b/pandas/tests/copy_view/test_methods.py
@@ -1428,11 +1428,18 @@ def test_putmask_dont_copy_some_blocks(using_copy_on_write, val, exp):
... | - [x] xref #49473 (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/53745 | 2023-06-20T20:02:20Z | 2023-06-25T20:44:00Z | 2023-06-25T20:44:00Z | 2023-06-25T20:44:04Z |
BUG: df constructor not copying ea backed series | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 7b9efd7f593dd..841b987c9b198 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -510,6 +510,7 @@ Sparse
ExtensionArray
^^^^^^^^^^^^^^
+- Bug in :class:`DataFrame` constructor not copying :class:`Serie... | - [ ] 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/53744 | 2023-06-20T18:56:41Z | 2023-06-28T12:51:15Z | 2023-06-28T12:51:15Z | 2023-06-28T12:52:54Z |
CI: Test Python 3.12 | diff --git a/.circleci/config.yml b/.circleci/config.yml
index dfaade1d69c75..ac9db5f451bf3 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -47,8 +47,8 @@ jobs:
- run:
name: Build aarch64 wheels
command: |
- pip3 install cibuildwheel==2.12.1
- cibui... | - [ ] xref #53665 (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/53743 | 2023-06-20T18:29:47Z | 2023-07-25T23:36:26Z | 2023-07-25T23:36:26Z | 2023-09-15T21:58:18Z |
CLN: assorted | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 0baae23a4a71c..501d572c6623c 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -950,7 +950,7 @@ def group_skew(
isna_entry = _treat_as_na(val, False)
if not isna_entry:
- ... | - [ ] 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/53742 | 2023-06-20T17:42:46Z | 2023-06-22T16:43:54Z | 2023-06-22T16:43:54Z | 2023-06-22T16:54:22Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 965a5ae5cbd50..ba511e9dc4c55 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -105,16 +105,11 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.UnsupportedFunctionCall \
pandas.test \
pandas.NaT \
- ... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
| https://api.github.com/repos/pandas-dev/pandas/pulls/53741 | 2023-06-20T16:45:22Z | 2023-06-21T09:32:53Z | 2023-06-21T09:32:53Z | 2023-06-21T09:59:08Z |
BUG: resampling empty series loses time zone from dtype | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index d9cdc8beaebea..35566f8b63a19 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -457,6 +457,7 @@ Plotting
Groupby/resample/rolling
^^^^^^^^^^^^^^^^^^^^^^^^
- Bug in :meth:`DataFrame.resample` and :meth... | - [x] Closes #53664
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests)
- [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/53736 | 2023-06-20T06:21:20Z | 2023-06-20T17:15:34Z | 2023-06-20T17:15:34Z | 2023-06-28T05:40:27Z |
DOC: Add code-formatting and cross-reference links to `read_csv` docstring | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index ad9e5b646371e..153899e023137 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -96,12 +96,12 @@
URL schemes include http, ftp, s3, gs, and file. For file URLs, a host is
expected. A local file could be... | - [x] Toward #53674 (specifically for `pandas.read_csv` for now).
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Added code formatting where applicable and added sphinx cross-referencing tags for any `pandas` classes or functions. Also cl... | https://api.github.com/repos/pandas-dev/pandas/pulls/53735 | 2023-06-20T03:35:52Z | 2023-06-23T16:45:33Z | 2023-06-23T16:45:33Z | 2023-07-13T15:16:14Z |
Backport PR #53727 on branch 2.0.x (CI: fix pytest scripts) | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 888092e2057e1..b0b176feca2bb 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -230,7 +230,7 @@ jobs:
/opt/python/cp38-cp38/bin/python -m venv ~/virtualenvs/pandas-dev
. ~/v... | backports #53727
(cherry picked from commit 3fb757beb6ca6bb30007ba1db130cc83f27f9363)
- [ ] 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 featu... | https://api.github.com/repos/pandas-dev/pandas/pulls/53732 | 2023-06-19T19:33:22Z | 2023-06-20T11:18:28Z | 2023-06-20T11:18:28Z | 2023-06-20T11:18:28Z |
ENH: Add separate numba kernels for groupby aggregations | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 334fcdd1d45df..b206523dfe851 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -586,12 +586,8 @@ class GroupByCythonAgg:
[
"sum",
"prod",
- # TODO: uncom... | - [ ] 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/53731 | 2023-06-19T17:51:39Z | 2023-08-10T20:57:14Z | 2023-08-10T20:57:14Z | 2023-08-10T20:59:44Z |
CI: fix numba typing | diff --git a/pandas/core/_numba/kernels/mean_.py b/pandas/core/_numba/kernels/mean_.py
index 8774ff72af852..2903c7d81bbc0 100644
--- a/pandas/core/_numba/kernels/mean_.py
+++ b/pandas/core/_numba/kernels/mean_.py
@@ -101,7 +101,7 @@ def sliding_mean(
neg_ct,
compensation_add,
... | - [ ] 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/53730 | 2023-06-19T17:40:40Z | 2023-06-20T11:05:03Z | 2023-06-20T11:05:03Z | 2023-06-20T11:06:01Z |
ENH: EA.fillna copy=True | diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py
index d399b4780a938..365f85a908099 100644
--- a/pandas/core/arrays/_mixins.py
+++ b/pandas/core/arrays/_mixins.py
@@ -296,7 +296,9 @@ def _fill_mask_inplace(
func(self._ndarray.T, limit=limit, mask=mask.T)
@doc(ExtensionArray.fil... | - [ ] 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/53728 | 2023-06-19T16:56:57Z | 2023-07-26T09:07:54Z | 2023-07-26T09:07:54Z | 2023-07-26T14:08:28Z |
CI: fix `pytest scripts` | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 541b36d9b4c1d..bd104af4a8d9e 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -230,7 +230,7 @@ jobs:
/opt/python/cp39-cp39/bin/python -m venv ~/virtualenvs/pandas-dev
. ~/v... | seems that
```python
def pytest_addoption(parser):
parser.addoption(
"--strict-data-files",
action="store_true",
help="Unused. For compat with setup.cfg.",
)
```
isn't needed anymore, and actually errors now:
```python
ValueError: option names {'--strict-data-files'} already a... | https://api.github.com/repos/pandas-dev/pandas/pulls/53727 | 2023-06-19T15:39:02Z | 2023-06-19T19:31:42Z | 2023-06-19T19:31:42Z | 2023-06-27T07:49:35Z |
CI: ignore experimental warnings from numba | diff --git a/doc/source/user_guide/window.rst b/doc/source/user_guide/window.rst
index 01bf999a1f99f..ea80a2804256c 100644
--- a/doc/source/user_guide/window.rst
+++ b/doc/source/user_guide/window.rst
@@ -89,6 +89,7 @@ For example, a `weighted mean <https://en.wikipedia.org/wiki/Weighted_arithmetic
be calculated with ... | - [ ] 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/53726 | 2023-06-19T15:32:06Z | 2023-06-19T17:14:34Z | 2023-06-19T17:14:34Z | 2023-06-19T18:24:49Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index ba511e9dc4c55..693017c6715ae 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -105,11 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.UnsupportedFunctionCall \
pandas.test \
pandas.NaT \
- ... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
Partially fixing https://github.com/pandas-dev/pandas/issues/53668
| https://api.github.com/repos/pandas-dev/pandas/pulls/53725 | 2023-06-19T14:34:54Z | 2023-06-21T13:49:07Z | 2023-06-21T13:49:07Z | 2023-06-21T14:16:11Z |
TST: add test for reindexing rows with matching index uses shallow copy with CoW | diff --git a/pandas/tests/copy_view/test_methods.py b/pandas/tests/copy_view/test_methods.py
index 67fc91e0567ef..3af47d0b37338 100644
--- a/pandas/tests/copy_view/test_methods.py
+++ b/pandas/tests/copy_view/test_methods.py
@@ -367,6 +367,36 @@ def test_reindex_columns(using_copy_on_write):
tm.assert_frame_equal(... | xref https://github.com/pandas-dev/pandas/issues/49473
This was already working, but I think it was not yet explicitly tested (at least not in the specific `copy_view` tests). And this addresses a TODO note in https://github.com/pandas-dev/pandas/issues/49473 | https://api.github.com/repos/pandas-dev/pandas/pulls/53723 | 2023-06-19T11:54:08Z | 2023-06-19T19:47:20Z | 2023-06-19T19:47:20Z | 2023-06-20T07:32:42Z |
API / CoW: shallow copy of DataFrame/Series (.copy(deep=False)) also returns shallow copy of the index/columns | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 89b79d2e04194..e193213db12a9 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -65,6 +65,10 @@ Copy-on-Write improvements
- The :class:`DataFrame` constructor, when constructing a DataFrame from a dicti... | Broken off a subset of https://github.com/pandas-dev/pandas/pull/53699, only focusing on the behaviour of `df.copy(deep=False)` (i.e. a "shallow copy"). And address the `copy(deep=False)` part of https://github.com/pandas-dev/pandas/issues/53721.
Currently, a shallow copy of a DataFrame/Series only creates a new Dat... | https://api.github.com/repos/pandas-dev/pandas/pulls/53722 | 2023-06-19T11:05:20Z | 2023-08-04T16:53:45Z | 2023-08-04T16:53:45Z | 2023-11-17T13:18:58Z |
Backport PR #53715: CI: Adjust tests for release of numpy 1.25 | diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py
index d747f20b8499f..0d86a63f6dbda 100644
--- a/pandas/compat/numpy/__init__.py
+++ b/pandas/compat/numpy/__init__.py
@@ -11,6 +11,7 @@
np_version_gte1p22 = _nlv >= Version("1.22")
np_version_gte1p24 = _nlv >= Version("1.24")
np_version_g... | - [ ] 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/53716 | 2023-06-18T18:53:22Z | 2023-06-19T03:10:55Z | 2023-06-19T03:10:55Z | 2023-06-19T03:10:56Z |
CI: Adjust tests for release of numpy 1.25 | diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py
index 97c434d8f35d0..d5dad2b8dc4bd 100644
--- a/pandas/compat/numpy/__init__.py
+++ b/pandas/compat/numpy/__init__.py
@@ -9,6 +9,7 @@
np_version_under1p22 = _nlv < Version("1.22")
np_version_gte1p24 = _nlv >= Version("1.24")
np_version_gt... | - [ ] 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/53715 | 2023-06-18T16:35:32Z | 2023-06-18T18:31:18Z | 2023-06-18T18:31:18Z | 2023-06-18T18:53:16Z |
PDEP-12: compact-and-reversible-JSON-interface.md | diff --git a/web/pandas/pdeps/0012-compact-and-reversible-JSON-interface.md b/web/pandas/pdeps/0012-compact-and-reversible-JSON-interface.md
new file mode 100644
index 0000000000000..4fe4b935f144b
--- /dev/null
+++ b/web/pandas/pdeps/0012-compact-and-reversible-JSON-interface.md
@@ -0,0 +1,437 @@
+# PDEP-12: Compact an... | - [X] linked to #53252
This new PDEP is proposed on the [advise](https://github.com/pandas-dev/pandas/issues/53252#issuecomment-1578636264) of [Dr-Irv](https://github.com/Dr-Irv)
| https://api.github.com/repos/pandas-dev/pandas/pulls/53714 | 2023-06-18T13:34:10Z | 2023-10-02T16:04:16Z | 2023-10-02T16:04:16Z | 2023-10-06T07:41:41Z |
DEPR: Deprecate DataFrame.last and Series.last | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 44691e4265f5b..313f2fc728eab 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -288,6 +288,7 @@ Deprecations
- Deprecated :func:`value_counts`, use ``pd.Series(obj).value_counts()`` instead (:issue:`478... | - [X] closes #53692
- [ ] [Tests added 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/53710 | 2023-06-17T16:40:50Z | 2023-06-21T14:27:02Z | 2023-06-21T14:27:02Z | 2023-06-21T14:27:03Z |
BUG: period_range gives incorrect output | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index e2f0904a78cf9..81bd6758231fd 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -518,6 +518,7 @@ Other
- Bug in :meth:`Series.align`, :meth:`DataFrame.align`, :meth:`Series.reindex`, :meth:`DataFrame.rei... | - [x] closes #53687
- [x] [Tests added and passed]
- [x] All [code checks passed]
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file
| https://api.github.com/repos/pandas-dev/pandas/pulls/53709 | 2023-06-17T13:32:41Z | 2023-07-10T17:54:12Z | 2023-07-10T17:54:12Z | 2023-07-10T17:54:19Z |
CoW: Return read-only array in Index.values | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index d9cdc8beaebea..47bfee5858f38 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -19,6 +19,7 @@ Enhancements
Copy-on-Write improvements
^^^^^^^^^^^^^^^^^^^^^^^^^^
+- Calling :meth:`Index.values` will n... | - [ ] 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/53704 | 2023-06-16T22:10:43Z | 2023-06-20T11:35:04Z | 2023-06-20T11:35:04Z | 2023-06-20T15:11:05Z |
BUG: IntervalIndex.get_indexer raising for read only array | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index e2f0904a78cf9..997ddff91969e 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -400,7 +400,7 @@ Strings
Interval
^^^^^^^^
--
+- :meth:`pd.IntervalIndex.get_indexer` and :meth:`pd.IntervalIndex.get_in... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/53703 | 2023-06-16T20:29:18Z | 2023-06-19T20:07:39Z | 2023-06-19T20:07:39Z | 2023-06-19T20:07:47Z |
BUG: concat coercing arrow to object with null type | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index e2f0904a78cf9..becbff2ae4502 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -471,6 +471,7 @@ Groupby/resample/rolling
Reshaping
^^^^^^^^^
+- Bug in :func:`concat` coercing to ``object`` dtype when... | - [ ] 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/53702 | 2023-06-16T20:15:52Z | 2023-06-20T17:37:31Z | 2023-06-20T17:37:30Z | 2023-06-20T18:24:48Z |
Fixed #52234 | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 4dbaf65c9e7ab..430b92e2e3025 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -422,6 +422,7 @@ Indexing
^^^^^^^^
- Bug in :meth:`DataFrame.__setitem__` losing dtype when setting a :class:`DataFrame` i... | * Copied fix from https://github.com/ltauro/pandas/tree/nan-not-in-index and applied review comments
- [x] closes #52234
- [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 pass... | https://api.github.com/repos/pandas-dev/pandas/pulls/53698 | 2023-06-16T08:05:08Z | 2023-06-23T17:38:53Z | 2023-06-23T17:38:53Z | 2023-06-23T17:39:00Z |
PERF: concatenation of MultiIndexed objects (MultiIndex.append) | diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py
index 9c997b5386eaa..87dcdb16fa647 100644
--- a/asv_bench/benchmarks/multiindex_object.py
+++ b/asv_bench/benchmarks/multiindex_object.py
@@ -396,4 +396,30 @@ def time_putmask_all_different(self):
self.midx.putma... | - [x] closes #53574
- [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/53697 | 2023-06-16T00:43:52Z | 2023-06-20T17:52:52Z | 2023-06-20T17:52:52Z | 2023-07-12T23:44:51Z |
CI: Pin pandas-gbq above 0.15 to get rid of warnings on 2.0.x | diff --git a/ci/deps/circle-310-arm64.yaml b/ci/deps/circle-310-arm64.yaml
index a9ac1c98377e7..6dae236a5a2a7 100644
--- a/ci/deps/circle-310-arm64.yaml
+++ b/ci/deps/circle-310-arm64.yaml
@@ -38,7 +38,7 @@ dependencies:
- numexpr
- openpyxl<3.1.1
- odfpy
- - pandas-gbq
+ - pandas-gbq>=0.15.0
- psycopg2
... | - [ ] 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/53693 | 2023-06-15T22:12:12Z | 2023-06-18T14:12:23Z | 2023-06-18T14:12:22Z | 2023-06-18T14:12:24Z |
Backport PR #53672 on branch 2.0.x (BUG/CoW: is_range_indexer can't handle very large arrays) | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 3da469c2e1fe6..7b6363a094d00 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -24,7 +24,7 @@ Bug fixes
- Bug in :func:`RangeIndex.union` when using ``sort=True`` with another :class:`RangeIndex` (:issu... | - [ ] 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/53691 | 2023-06-15T17:30:12Z | 2023-06-15T22:07:42Z | 2023-06-15T22:07:42Z | 2023-06-15T22:07:50Z |
DOC: Move Whatsnew for CoW fix | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 3da469c2e1fe6..a854906c6abdd 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -24,6 +24,7 @@ Bug fixes
- Bug in :func:`RangeIndex.union` when using ``sort=True`` with another :class:`RangeIndex` (:issu... | - [ ] 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/53690 | 2023-06-15T17:24:30Z | 2023-06-15T22:08:07Z | 2023-06-15T22:08:07Z | 2023-06-15T22:08:09Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index f63cc1fcc5767..965a5ae5cbd50 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -105,10 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.UnsupportedFunctionCall \
pandas.test \
pandas.NaT \
- ... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Towards https://github.com/pandas-dev/pandas/issues/37875
Partially fixing https://github.com/pandas-dev/pandas/issues/53668 | https://api.github.com/repos/pandas-dev/pandas/pulls/53689 | 2023-06-15T16:17:57Z | 2023-06-20T15:14:48Z | 2023-06-20T15:14:48Z | 2023-06-20T16:45:56Z |
TST: Add test for duplcated columns and usecols GH#11823 | diff --git a/pandas/tests/io/parser/test_mangle_dupes.py b/pandas/tests/io/parser/test_mangle_dupes.py
index 5709e7e4027e8..4acbb82a5f23f 100644
--- a/pandas/tests/io/parser/test_mangle_dupes.py
+++ b/pandas/tests/io/parser/test_mangle_dupes.py
@@ -163,3 +163,14 @@ def test_mangle_dupe_cols_already_exists_unnamed_col(a... | - [ ] closes #11823 (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/53683 | 2023-06-15T09:44:59Z | 2023-06-20T17:55:23Z | 2023-06-20T17:55:23Z | 2023-06-20T23:40:51Z |
BUG: series with complex nan | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 137be168985d2..0f246e58ed016 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -511,6 +511,7 @@ Metadata
Other
^^^^^
+- Bug in :class:`DataFrame` and :class:`Series` raising for data of complex dtype... | - [x] Closes #53627
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests)
- [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/53682 | 2023-06-15T09:16:52Z | 2023-06-20T17:57:46Z | 2023-06-20T17:57:46Z | 2023-06-28T05:40:45Z |
BUG: inconsistent behavior of DateOffset #47953 | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 2436d91690ed3..4dbaf65c9e7ab 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -361,6 +361,7 @@ Categorical
Datetimelike
^^^^^^^^^^^^
- :meth:`DatetimeIndex.map` with ``na_action="ignore"`` now works ... | - [x] closes #47953
- [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/53681 | 2023-06-15T06:36:50Z | 2023-06-23T15:15:00Z | 2023-06-23T15:15:00Z | 2023-06-23T15:15:01Z |
API: remove datetime-like index ops from Series | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 25202dca34a77..03867e3bf6543 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -86,21 +86,10 @@ API Changes
- ``df.to_html`` will now print out the header of an empty dataframe (:issue:`6062`)
- The ``interpolate`` ``downcast`` keywo... | as per discussed in #7146. may provide a `to_index()` and/or an accessor in future versions
| https://api.github.com/repos/pandas-dev/pandas/pulls/7206 | 2014-05-22T15:12:02Z | 2014-05-22T18:08:58Z | 2014-05-22T18:08:58Z | 2014-06-13T10:14:39Z |
CLN: eliminate depr warnings on 3.4 | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 0905640c85ac1..83be9eb57b79c 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -366,7 +366,7 @@ def _to_str_columns(self):
*(_strlen(x) for x in cheader))
fmt_values = self._format_col... | parital on #7131
CLN: make chunksize an integer in to_csv to avoid float slicing semantics
CLN: make nxes integers in _get_layout
| https://api.github.com/repos/pandas-dev/pandas/pulls/7204 | 2014-05-22T02:01:05Z | 2014-05-22T11:59:37Z | 2014-05-22T11:59:37Z | 2014-07-16T09:07:10Z |
BUG: Bug in multi-axis indexing with > 2 ndim and a multi-index (GH7199) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 200451f14a813..25202dca34a77 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -535,6 +535,7 @@ Bug Fixes
- Bug in recognizing out-of-bounds positional list indexers with ``iloc`` and a multi-axis tuple indexer (:issue:`7189`)
- Bug ... | closes #7199
| https://api.github.com/repos/pandas-dev/pandas/pulls/7202 | 2014-05-21T23:28:39Z | 2014-05-22T00:06:23Z | 2014-05-22T00:06:23Z | 2014-06-26T19:53:50Z |
BUG: Bug in expressions evaluation with reversed ops, showing in series-dataframe ops (GH7198) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 8586f2093b9d2..200451f14a813 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -534,6 +534,7 @@ Bug Fixes
(:issue:`7178`)
- Bug in recognizing out-of-bounds positional list indexers with ``iloc`` and a multi-axis tuple indexer (:is... | closes #7198
closes #7192
| https://api.github.com/repos/pandas-dev/pandas/pulls/7201 | 2014-05-21T22:36:41Z | 2014-05-21T23:26:20Z | 2014-05-21T23:26:20Z | 2014-06-17T04:57:09Z |
CLN/DOC: add axis parameter doc for filter method | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 0e5ca6afdb56b..ed0d92683ad54 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -11,18 +11,17 @@
from pandas.core.index import (Index, MultiIndex, _ensure_index,
InvalidIndexError)
import pandas.core.in... | removing some unused imports and added `axis` parameter doc for `filter` method
| https://api.github.com/repos/pandas-dev/pandas/pulls/7197 | 2014-05-21T21:29:56Z | 2014-05-22T00:26:01Z | 2014-05-22T00:26:01Z | 2014-07-16T09:07:04Z |
BUG: CustomBusinessDay apply raises NameError when np.datetime64 is pass... | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 48eac7fb1b761..bfbe627b9500e 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -86,3 +86,4 @@ Bug Fixes
wouldn't test ``True`` when it encountered an ``inf``/``-inf``
(:issue:`7315`).
- Bug in inferred_freq results in None for e... | `CustomBusinessDay` raises `NameError` when `np.datetime64` is passed. It works if `normalize=True` is specified.
```
d = pd.offsets.CustomBusinessDay().apply(np.datetime64('2011-01-01 09:00:00'))
# NameError: global name 'np_day_incr' is not defined
d = pd.offsets.CustomBusinessDay(normalize=True).apply(np.datetime6... | https://api.github.com/repos/pandas-dev/pandas/pulls/7196 | 2014-05-21T21:10:50Z | 2014-06-04T00:06:46Z | 2014-06-04T00:06:46Z | 2014-06-27T07:41:02Z |
BUG: Easter works incorrectly in negative offsets | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 48eac7fb1b761..d4598e0aece37 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -86,3 +86,4 @@ Bug Fixes
wouldn't test ``True`` when it encountered an ``inf``/``-inf``
(:issue:`7315`).
- Bug in inferred_freq results in None for e... | When an offset is negative, Easter skips the date just before and returns one before.
```
(- pd.offsets.Easter()).apply(pd.Timestamp('2011-01-01 09:00:00'))
#2009-04-12 00:00:00
(- pd.offsets.Easter()).apply(pd.Timestamp('2012-01-01 09:00:00'))
# returns 2010-04-04 00:00:00
(- pd.offsets.Easter()).apply(pd.Timestamp... | https://api.github.com/repos/pandas-dev/pandas/pulls/7195 | 2014-05-21T20:29:34Z | 2014-06-03T23:42:06Z | 2014-06-03T23:42:06Z | 2017-12-19T21:17:26Z |
BUG: Bug in setitem with a single item, and a multi-index and integer indices (GH7190) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 795c3cd642a80..8586f2093b9d2 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -533,6 +533,7 @@ Bug Fixes
- Bug in ``query``/``eval`` where global constants were not looked up correctly
(:issue:`7178`)
- Bug in recognizing out-of-... | closes #7190
| https://api.github.com/repos/pandas-dev/pandas/pulls/7191 | 2014-05-21T12:42:16Z | 2014-05-21T13:03:59Z | 2014-05-21T13:03:59Z | 2014-06-15T01:48:02Z |
BUG: bug in recognizing out-of-bounds on iloc indexers on tuple indexers (GH ) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index bb4bb71d8ceda..795c3cd642a80 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -532,6 +532,7 @@ Bug Fixes
- Bug in ``isnull`` when applied to 0-dimensional object arrays (:issue:`7176`)
- Bug in ``query``/``eval`` where global consta... | reported on ML: https://groups.google.com/forum/#!topic/pydata/OscVmQlNdTc
```
In [1]: p = Panel(np.random.rand(4,3,2), items=['A','B','C','D'], major_axis=['U','V','W'], minor_axis=['X','Y'])
In [2]: p
Out[2]:
<class 'pandas.core.panel.Panel'>
Dimensions: 4 (items) x 3 (major_axis) x 2 (minor_axis)
Items axis: A to... | https://api.github.com/repos/pandas-dev/pandas/pulls/7189 | 2014-05-20T23:34:19Z | 2014-05-21T00:22:35Z | 2014-05-21T00:22:35Z | 2014-06-13T22:52:24Z |
Update indexing.rst | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 322c58115de3c..1d25a395f74a9 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -206,15 +206,19 @@ as an attribute:
dfa.A
panel.one
-Setting is allowed as well
+You can use attribute access to modify an existing element of... | Adding a warning, and example, about using attribute access to create a new column.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7188 | 2014-05-20T18:55:37Z | 2014-05-20T21:28:53Z | 2014-05-20T21:28:53Z | 2022-09-24T01:01:26Z |
DOC: some doc build fixes | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index fb0a0a0802bda..3b409ec918bb8 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -24,7 +24,7 @@ Statistics and Machine Learning
-------------------------------
`Statsmodels <http://statsmodels.sourceforge.net>`__
-~~~~~~~~~~~... | To fix some doc build warnings.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7185 | 2014-05-20T13:31:12Z | 2014-05-20T16:47:36Z | 2014-05-20T16:47:36Z | 2014-07-16T09:06:55Z |
CLN: Deprecation of assert_ | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index 469ea9f1925a2..32057f9ffd35c 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -629,11 +629,11 @@ def test_decodeDictWithNoValue(self):
def test_decodeNumericIn... | #7131: Fix two instances of assertEquals that naive grepping did not find
| https://api.github.com/repos/pandas-dev/pandas/pulls/7182 | 2014-05-20T00:59:04Z | 2014-05-20T12:32:13Z | 2014-05-20T12:32:13Z | 2014-07-16T09:06:54Z |
BUG: correctly lookup global constants in query/eval | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 0898af86b05ec..bb4bb71d8ceda 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -530,6 +530,8 @@ Bug Fixes
- Bug ``PeriodIndex`` string slicing with out of bounds values (:issue:`5407`)
- Fixed a memory error in the hashtable implemen... | closes #7178
| https://api.github.com/repos/pandas-dev/pandas/pulls/7181 | 2014-05-19T20:59:13Z | 2014-05-20T21:10:17Z | 2014-05-20T21:10:17Z | 2014-06-26T10:59:06Z |
BUG: fix isnull for 0d object arrays | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 426d9728a19ee..ed62b2fb04a9d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -529,6 +529,7 @@ Bug Fixes
- Fixed a bug with the `info` repr not honoring the `display.max_info_columns` setting (:issue:`6939`)
- Bug ``PeriodIndex`` st... | If this looks good, it would be nice to get it in 0.14, too.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7176 | 2014-05-19T15:53:35Z | 2014-05-20T00:55:35Z | 2014-05-20T00:55:35Z | 2014-06-17T13:25:53Z |
CLN: Deprecation of assert_ | diff --git a/pandas/io/tests/test_packers.py b/pandas/io/tests/test_packers.py
index b469f779295db..46d3124a06a0b 100644
--- a/pandas/io/tests/test_packers.py
+++ b/pandas/io/tests/test_packers.py
@@ -149,8 +149,8 @@ def test_dict_float(self):
def test_dict_complex(self):
x = {'foo': 1.0 + 1.0j, 'bar': 2.... | #7131: Run s/self.assert_(/self.assertTrue( on remaining instances I can find. These were the multi-line expressions, and I tried to retain the formatting of the expressions
| https://api.github.com/repos/pandas-dev/pandas/pulls/7172 | 2014-05-19T12:45:50Z | 2014-05-19T13:22:55Z | 2014-05-19T13:22:55Z | 2014-06-25T08:58:07Z |
CI: use current versions for excel / dateutil / pytz on 3.4 build | diff --git a/ci/requirements-3.4.txt b/ci/requirements-3.4.txt
index ef4b710a35b58..9a127c71c9545 100644
--- a/ci/requirements-3.4.txt
+++ b/ci/requirements-3.4.txt
@@ -1,8 +1,8 @@
-python-dateutil==2.2
-pytz==2013b
-openpyxl==1.6.2
-xlsxwriter==0.4.6
-xlrd==0.9.2
+python-dateutil
+pytz
+openpyxl
+xlsxwriter
+xlrd
htm... | https://api.github.com/repos/pandas-dev/pandas/pulls/7170 | 2014-05-19T12:09:56Z | 2014-05-19T12:10:04Z | 2014-05-19T12:10:04Z | 2014-07-16T09:06:45Z | |
CLN: Deprecation of assertAlmostEquals | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index 6b98a79d41740..469ea9f1925a2 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -1485,25 +1485,25 @@ def test_decodeArrayFaultyUnicode(self):
def test_decodeFloati... | #7131: s/self.assertAlmostEquals(/self.assertAlmostEqual(
| https://api.github.com/repos/pandas-dev/pandas/pulls/7166 | 2014-05-18T21:21:41Z | 2014-05-19T00:03:15Z | 2014-05-19T00:03:15Z | 2014-07-16T09:06:42Z |
CLN: Deprecation of assertEquals | diff --git a/pandas/io/tests/test_cparser.py b/pandas/io/tests/test_cparser.py
index 186117b1986d4..ad6f071d738ff 100644
--- a/pandas/io/tests/test_cparser.py
+++ b/pandas/io/tests/test_cparser.py
@@ -190,7 +190,7 @@ def test_header_not_enough_lines(self):
as_recarray=True)
header ... | #7131: s/self.assertEquals(/self.assertEqual(
| https://api.github.com/repos/pandas-dev/pandas/pulls/7165 | 2014-05-18T19:58:51Z | 2014-05-18T21:05:15Z | 2014-05-18T21:05:15Z | 2014-07-16T09:06:41Z |
CLN: Deprecation of assert_ | diff --git a/pandas/io/tests/test_cparser.py b/pandas/io/tests/test_cparser.py
index 6204a441b347d..186117b1986d4 100644
--- a/pandas/io/tests/test_cparser.py
+++ b/pandas/io/tests/test_cparser.py
@@ -236,21 +236,21 @@ def _make_reader(**kwds):
self.assertEqual(result[0].dtype, 'S5')
ex_values = np.... | #7131: Convert more instances of self.assert_(not b) to self.assertFalse(b) and self.assert_(b) to self.assertTrue(b)
| https://api.github.com/repos/pandas-dev/pandas/pulls/7164 | 2014-05-18T18:50:38Z | 2014-05-18T19:46:05Z | 2014-05-18T19:46:05Z | 2014-07-16T09:06:40Z |
CLN: Python 3.4 deprecation of assert_ | diff --git a/pandas/tests/test_base.py b/pandas/tests/test_base.py
index e07b1ff15d26f..69f7adaf9ecd3 100644
--- a/pandas/tests/test_base.py
+++ b/pandas/tests/test_base.py
@@ -221,7 +221,7 @@ def test_value_counts_unique_nunique(self):
if isinstance(o, DatetimeIndex):
# DatetimeIndex.un... | #7131: replace some instances of assert_(not b) with assertFalse(b) and some instances of assert_(b) with assertTrue(b). Work-in-progress
| https://api.github.com/repos/pandas-dev/pandas/pulls/7162 | 2014-05-18T15:47:19Z | 2014-05-18T16:56:59Z | 2014-05-18T16:56:59Z | 2014-07-16T09:06:30Z |
BUG: PeriodIndex slices with out of bounds results incorrect | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 01468e35a037c..6fde66821f650 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -527,6 +527,7 @@ Bug Fixes
(:issue:`7105`)
- Bug in ``DatetimeIndex`` specifying ``freq`` raises ``ValueError`` when passed value is too short (:issue:`... | Closes #5407.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7161 | 2014-05-18T13:34:54Z | 2014-05-18T16:56:27Z | 2014-05-18T16:56:27Z | 2014-07-16T09:06:28Z |
TST: Add layout tests for boxplot | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index bcee95db41a7a..e0bb179132b34 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -286,7 +286,7 @@ def _check_axes_shape(self, axes, axes_num=None, layout=None, figsize=(8.0, 6.0)
axes_num : number
... | Added `layout` test cases related to #7035, changing `_check_axes_shape` logic to meet with #7096.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7159 | 2014-05-18T00:56:33Z | 2014-06-04T15:28:58Z | 2014-06-04T15:28:58Z | 2014-07-09T08:25:02Z |
BUG: hashtable memory error causes test_factorize_nan crash | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 01468e35a037c..162bc66a76230 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -527,6 +527,7 @@ Bug Fixes
(:issue:`7105`)
- Bug in ``DatetimeIndex`` specifying ``freq`` raises ``ValueError`` when passed value is too short (:issue:`... | ObjectVector class resizes its array without reseting its capacity count, so subsequent appends are invalid.
Mac OS 10.9, Python 2.7.6, numpy 1.9.0.dev-ee49411.
```
==57654== Invalid write of size 8
==57654== at 0x137F856: __pyx_f_6pandas_9hashtable_12ObjectVector_append (in /Users/mtk/Projects/pandas/pandas/hash... | https://api.github.com/repos/pandas-dev/pandas/pulls/7157 | 2014-05-17T15:23:33Z | 2014-05-18T19:57:35Z | 2014-05-18T19:57:35Z | 2014-06-16T02:52:03Z |
BUG/COMPAT: test compat on Python 2.6 | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 12588afd39c0c..637f532c23122 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -1364,10 +1364,8 @@ def test_boxplot(self):
# Multiple columns with an ax argument is not supported
fig, ax ... | closes #7152
| https://api.github.com/repos/pandas-dev/pandas/pulls/7153 | 2014-05-17T12:39:20Z | 2014-05-17T13:23:54Z | 2014-05-17T13:23:54Z | 2014-07-16T09:06:25Z |
BUG: allow dup indexing with Float64Index | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c19a3951ac359..0d4dbae07413a 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -74,3 +74,4 @@ Bug Fixes
- Bug in ``DataFrame.query()``/``eval`` where local string variables with the @
sign were being treated as temporaries attempti... | closes #7143
| https://api.github.com/repos/pandas-dev/pandas/pulls/7149 | 2014-05-17T04:10:48Z | 2014-06-01T22:08:10Z | 2014-06-01T22:08:10Z | 2014-06-17T05:57:46Z |
TST Fix AttributeError: 'iterator' object has no attribute 'next' on Python 3 | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 5d2934d9705cd..454e8b68f7f8a 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -481,7 +481,7 @@ def test_pie_series(self):
autopct='%.2f', fontsize=7)
pcts = ['{0:.2f... | ```
======================================================================
ERROR: test_pie_series (pandas.tests.test_graphics.TestSeriesPlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\tests\test_graphics.py", l... | https://api.github.com/repos/pandas-dev/pandas/pulls/7148 | 2014-05-17T01:16:39Z | 2014-05-17T11:42:19Z | 2014-05-17T11:42:19Z | 2014-06-13T22:10:33Z |
COMPAT/BUG: compat with pytz 2014.3, exposing several test that don't localize (GH7137) | diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index c0a3c9320e6bb..eee0c699b939a 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -4589,8 +4589,11 @@ def test_getitem_setitem_datetime_tz(self):
assert_series_equal(result, ts)
result = ts.copy()
-... | closes #7137
| https://api.github.com/repos/pandas-dev/pandas/pulls/7144 | 2014-05-16T13:30:01Z | 2014-05-16T14:03:21Z | 2014-05-16T14:03:21Z | 2014-07-16T09:06:18Z |
DOC: Update EPD link to Canopy | diff --git a/doc/source/install.rst b/doc/source/install.rst
index a73922caeaf1d..18ad031e8a880 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -160,8 +160,8 @@ Optional Dependencies
Without the optional dependencies, many useful features will not
work. Hence, it is highly recommended that... | The link to EPD is deprecated and may be removed in the future.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7135 | 2014-05-15T15:51:36Z | 2014-05-15T15:53:34Z | 2014-05-15T15:53:34Z | 2014-07-11T03:19:57Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.