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 |
|---|---|---|---|---|---|---|---|
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index e095d97146d03..4915997277006 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -81,20 +81,10 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
MSG='Partially validate docstrings (EX01)' ; echo $MSG
$BASE_DIR/scripts/validate_docstrings.... | - [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/53499 | 2023-06-02T08:39:29Z | 2023-06-02T10:54:36Z | 2023-06-02T10:54:36Z | 2023-06-02T11:01:30Z |
DEPR: fillna method kwd | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 304b4616355db..61c68e0dd5e66 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -289,6 +289,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.core.groupby.SeriesGroupBy.cumprod \
pandas.core.groupby.SeriesGroupBy.cumsum \... | - [x] closes #53394 (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/53496 | 2023-06-01T23:12:22Z | 2023-06-07T21:31:01Z | 2023-06-07T21:31:01Z | 2023-06-07T23:28:23Z |
BUG: RangeIndex.union(sort=True) with another RangeIndex | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 89c64b02e0cb5..3da469c2e1fe6 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:`RangeIndex.union` when using ``sort=True`` with an... | - [x] closes #53490 (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/53495 | 2023-06-01T22:56:25Z | 2023-06-13T17:31:16Z | 2023-06-13T17:31:16Z | 2023-06-13T17:31:20Z |
DEPR: use_inf_as_na | diff --git a/doc/source/user_guide/missing_data.rst b/doc/source/user_guide/missing_data.rst
index 6ea4c213e85c8..8ad67ab2df410 100644
--- a/doc/source/user_guide/missing_data.rst
+++ b/doc/source/user_guide/missing_data.rst
@@ -29,11 +29,6 @@ detect this value with data of different types: floating point, integer,
bo... | - [x] closes #51684 (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/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/53494 | 2023-06-01T20:01:52Z | 2023-06-06T18:07:42Z | 2023-06-06T18:07:42Z | 2023-06-06T18:09:33Z |
DEPR: pd.value_counts | diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst
index eec33afb9ab95..65892f01326e4 100644
--- a/doc/source/user_guide/basics.rst
+++ b/doc/source/user_guide/basics.rst
@@ -675,7 +675,7 @@ matching index:
Value counts (histogramming) / mode
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The :m... | - [ ] closes #47862 (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/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/53493 | 2023-06-01T19:54:00Z | 2023-06-12T18:12:28Z | 2023-06-12T18:12:28Z | 2023-06-12T18:26:28Z |
DEPR: method, limit in NDFrame.replace | diff --git a/doc/source/user_guide/missing_data.rst b/doc/source/user_guide/missing_data.rst
index ed58554896a4f..443fdd4f59e3f 100644
--- a/doc/source/user_guide/missing_data.rst
+++ b/doc/source/user_guide/missing_data.rst
@@ -551,13 +551,6 @@ For a DataFrame, you can specify individual values by column:
df.rep... | - [ ] 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/53492 | 2023-06-01T19:41:44Z | 2023-06-14T16:58:38Z | 2023-06-14T16:58:38Z | 2023-06-14T17:15:40Z |
BLD: Fix compiling pandas with a venv located in the src dir | diff --git a/pandas/meson.build b/pandas/meson.build
index ab84fd688b762..1dc9955aa4ff6 100644
--- a/pandas/meson.build
+++ b/pandas/meson.build
@@ -1,7 +1,18 @@
incdir_numpy = run_command(py,
[
'-c',
- 'import os; os.chdir(".."); import numpy; print(numpy.get_include())'
+ '''
+import os
+import numpy 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/53489 | 2023-06-01T18:03:17Z | 2023-06-01T19:57:06Z | 2023-06-01T19:57:06Z | 2023-06-01T21:51:45Z |
ENH: Groupby agg support multiple funcs numba | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index a9a3e40b716fc..8c172d6294f32 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -99,6 +99,7 @@ Other enhancements
- :meth:`Categorical.from_codes` has gotten a ``validate`` parameter (:issue:`50975`)
- ... | - [ ] 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/53486 | 2023-06-01T14:11:49Z | 2023-06-02T21:01:51Z | 2023-06-02T21:01:51Z | 2023-06-02T21:05:25Z |
DEV: Create CODEOWNERS | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 0000000000000..3783632bdbe84
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1,22 @@
+# github
+.github/ @mroeschke
+
+# ci
+ci/ @mroeschke
+
+# web
+web/ @... | Create CODEOWNERS file according to #53340. @MarcoGorelli
| https://api.github.com/repos/pandas-dev/pandas/pulls/53484 | 2023-06-01T10:06:30Z | 2023-06-01T16:15:43Z | 2023-06-01T16:15:43Z | 2023-06-17T12:47:17Z |
⬆️ UPGRADE: Autoupdate pre-commit config | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index de4c6687fbc0f..220465a1d2847 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -28,7 +28,7 @@ repos:
types_or: [python, pyi]
additional_dependencies: [black==23.3.0]
- repo: https://github.com/charliermarsh/ruf... | <!-- START pr-commits -->
<!-- END pr-commits -->
## Base PullRequest
default branch (https://github.com/pandas-dev/pandas/tree/main)
## Command results
<details>
<summary>Details: </summary>
<details>
<summary><em>add path</em></summary>
```Shell
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_... | https://api.github.com/repos/pandas-dev/pandas/pulls/53483 | 2023-06-01T07:04:35Z | 2023-06-01T19:50:28Z | 2023-06-01T19:50:28Z | 2023-06-01T19:50:31Z |
BUG: dtype from nankurt and nanskew when returning 0 | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 1a5cc122897a5..fdd4500f10444 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -347,6 +347,7 @@ Numeric
^^^^^^^
- Bug in :class:`RangeIndex` setting ``step`` incorrectly when being the subtrahend with ... | Fixes a small bug (inconsistent return type). Discovered while working on #52788. | https://api.github.com/repos/pandas-dev/pandas/pulls/53482 | 2023-06-01T05:36:09Z | 2023-06-01T16:18:59Z | 2023-06-01T16:18:59Z | 2023-06-01T16:30:12Z |
TYP: algos.isin | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 33bd56e5b1068..9c2859c909b1b 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -83,6 +83,7 @@
if TYPE_CHECKING:
from pandas._typing import (
+ ListLike,
NumpySorter,
NumpyValueArrayLike,
... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
| https://api.github.com/repos/pandas-dev/pandas/pulls/53479 | 2023-06-01T01:48:48Z | 2023-06-01T16:19:54Z | 2023-06-01T16:19:54Z | 2023-06-03T10:50:27Z |
Removed unused argument from groupby cython impl | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 94ed16d4794d8..796ebaca14c91 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -91,7 +91,7 @@ cdef float64_t median_linear_mask(float64_t* a, int n, uint8_t* mask) noexcept n
a = tmp
n -= na_count
- resul... | Noticed in passing - figured an easy cleanup | https://api.github.com/repos/pandas-dev/pandas/pulls/53478 | 2023-06-01T01:21:27Z | 2023-06-01T16:20:49Z | 2023-06-01T16:20:49Z | 2023-06-01T19:55:47Z |
DOC: point out that only period frequencies are valid for to_period | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index beb93852f5d2b..28b56a220f005 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -1139,9 +1139,9 @@ def normalize(self) -> Self:
def to_period(self, freq=None) -> PeriodArray:
"""
- ... | Updated docs for `to_period`. Point out that only `period` frequencies are valid for `to_period`. For example, offset frequency `'MS'` isn't valid for `to_period`.
```
>>> df = pd.DataFrame({"y": [1, 2]}, `index=pd.to_datetime(["2000-03-31` 00:00:00", "2000-05-31 00:00:00"]))
>>> df.index.to_period("MS")
Attribut... | https://api.github.com/repos/pandas-dev/pandas/pulls/53477 | 2023-05-31T21:09:12Z | 2023-06-01T16:23:49Z | 2023-06-01T16:23:49Z | 2023-06-01T18:21:33Z |
DOC: add missing parameters to offsets class Easter | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index ed4c3948843f1..0248214d4e0a8 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -3817,6 +3817,17 @@ cdef class Easter(SingleConstructorOffset):
Right now uses the revised method which is valid ... | xref #52431.
Updated documentation for offset class Easter, added missing parameters and See Also section.
| https://api.github.com/repos/pandas-dev/pandas/pulls/53476 | 2023-05-31T19:53:42Z | 2023-05-31T22:17:38Z | 2023-05-31T22:17:38Z | 2023-05-31T22:17:44Z |
Use _values_for_factorize by default for hashing ExtensionArrays | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index a854906c6abdd..d8d152f2bd779 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed performance regression in ... | PR https://github.com/pandas-dev/pandas/pull/51319 added the `EA._hash_pandas_object` method to let ExtensionArrays override how they are hashed. But it also changed to no longer use the values returned by `EA._values_for_factorize()` by default for hashing, but change this to `EA.to_numpy()`. The previous behaviour w... | https://api.github.com/repos/pandas-dev/pandas/pulls/53475 | 2023-05-31T19:28:49Z | 2023-06-19T14:31:50Z | 2023-06-19T14:31:50Z | 2023-06-29T07:18:59Z |
TST: fix import in test_hash_pandas_object extension test | diff --git a/pandas/tests/extension/base/methods.py b/pandas/tests/extension/base/methods.py
index d3f090fab075d..9c699f01944e5 100644
--- a/pandas/tests/extension/base/methods.py
+++ b/pandas/tests/extension/base/methods.py
@@ -21,10 +21,10 @@ class BaseMethodsTests(BaseExtensionTests):
def test_hash_pandas_objec... | Calling `pd.core.util.hashing._default_hash_key` directly after import of pandas fails with an ImportError, but depending on whether you already did some other operations, the import will succeed. That gives intermittent failures in the test suite (I don't know if it happens in pandas itself, but at least we are seeing... | https://api.github.com/repos/pandas-dev/pandas/pulls/53474 | 2023-05-31T18:54:58Z | 2023-06-01T06:32:04Z | 2023-06-01T06:32:03Z | 2023-12-04T19:14:06Z |
Backport PR #53391: BUG: read_csv with dtype=bool[pyarrow] | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 73779d7e4cc74..a25999d8085cb 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -20,7 +20,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in :func:`read_csv` when defining ``dtype`` with ``bool[p... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53472 | 2023-05-31T17:23:03Z | 2023-05-31T22:16:25Z | 2023-05-31T22:16:25Z | 2023-05-31T22:16:29Z |
Backport PR #53231 on branch 2.0.x (PERF: fix merging on datetimelike columns to not use object-dtype factorizer) | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index eaa51730477cc..b311a861ff53f 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -317,6 +317,38 @@ def time_i8merge(self, how):
merge(self.left, self.right, how=how)
+class Mer... | Backport PR #53231: PERF: fix merging on datetimelike columns to not use object-dtype factorizer | https://api.github.com/repos/pandas-dev/pandas/pulls/53471 | 2023-05-31T17:12:35Z | 2023-06-01T19:51:43Z | 2023-06-01T19:51:43Z | 2023-06-01T19:51:44Z |
TYP: Fix typing issues, mainly Something => IndexLabel | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 3e6c89139d06d..ad1edc1a675e5 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -6956,7 +6956,7 @@ def sort_index(
def value_counts(
self,
- subset: Sequence[Hashable] | None = None,
+ subset: IndexLabel | None = N... | Several typing annotations in Pandas are not correct. This patch tries to fix some of them.
The internal names in Pandas are not straight forward. An `IndexLabel` is used for one or multiple columns.
* `value_counts` also works for a single column
* `stack`/`unstack` can work with multiple levels at the same t... | https://api.github.com/repos/pandas-dev/pandas/pulls/53469 | 2023-05-31T14:19:20Z | 2023-06-10T15:55:25Z | 2023-06-10T15:55:25Z | 2023-06-10T17:31:03Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 6fcb8222f0359..409cca4b69bfa 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -296,16 +296,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.PeriodIndex.end_time \
pandas.PeriodIndex.freqstr \
pandas.PeriodInde... | - [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/53468 | 2023-05-31T14:17:43Z | 2023-05-31T17:02:41Z | 2023-05-31T17:02:40Z | 2023-06-01T10:07:12Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 71515e67a8276..e095d97146d03 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -274,16 +274,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.TimedeltaIndex.as_unit \
pandas.TimedeltaIndex.to_pytimedelta \
panda... | - [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/53465 | 2023-05-31T08:34:01Z | 2023-06-01T19:52:32Z | 2023-06-01T19:52:32Z | 2023-06-02T07:34:07Z |
CLN: use cache instead of lru_cache for unbound cache | diff --git a/pandas/core/_numba/executor.py b/pandas/core/_numba/executor.py
index 891772602c442..b5a611560bde7 100644
--- a/pandas/core/_numba/executor.py
+++ b/pandas/core/_numba/executor.py
@@ -14,7 +14,7 @@
from pandas.compat._optional import import_optional_dependency
-@functools.lru_cache(maxsize=None)
+@fun... | `maxsize=128` is the default value for `lru_cache`.
`maxsize=None` is the equivalent of `cache` after Python 3.9.
| https://api.github.com/repos/pandas-dev/pandas/pulls/53462 | 2023-05-31T03:37:40Z | 2023-05-31T17:05:12Z | 2023-05-31T17:05:12Z | 2023-05-31T17:05:33Z |
BUG: merge_asof raising KeyError for extension dtypes | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 7cc2e19f477dd..9dac2fe3c36c6 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -441,6 +441,7 @@ Groupby/resample/rolling
Reshaping
^^^^^^^^^
- Bug in :func:`crosstab` when ``dropna=False`` would not k... | - [x] closes #52904
- [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/53458 | 2023-05-30T22:14:54Z | 2023-06-01T16:05:49Z | 2023-06-01T16:05:49Z | 2023-08-09T01:49:15Z |
Backport PR #53434 on branch 2.0.x (Bump pypa/cibuildwheel from 2.12.3 to 2.13.0) | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index c9e44fae43669..597f7abc1efed 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -74,7 +74,7 @@ jobs:
fetch-depth: 0
- name: Build wheels
- uses: pypa/cibuildwheel@v2.12.3
+ u... | Backport PR #53434: Bump pypa/cibuildwheel from 2.12.3 to 2.13.0 | https://api.github.com/repos/pandas-dev/pandas/pulls/53457 | 2023-05-30T20:16:49Z | 2023-05-30T22:16:35Z | 2023-05-30T22:16:35Z | 2023-05-30T22:16:35Z |
Backport PR #53398 on branch 2.0.x (fix documentation build error in basics.rst) | diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst
index 5c2f2410e688c..82589444e6803 100644
--- a/doc/source/user_guide/basics.rst
+++ b/doc/source/user_guide/basics.rst
@@ -2144,7 +2144,7 @@ different numeric dtypes will **NOT** be combined. The following example will gi
{
... | Backport PR #53398: fix documentation build error in basics.rst | https://api.github.com/repos/pandas-dev/pandas/pulls/53456 | 2023-05-30T20:08:29Z | 2023-05-30T22:17:34Z | 2023-05-30T22:17:34Z | 2023-05-30T22:17:34Z |
CLN: Remove deprecated numba functions | diff --git a/pandas/core/groupby/numba_.py b/pandas/core/groupby/numba_.py
index 4d841228579ca..6bdb8d6b4d863 100644
--- a/pandas/core/groupby/numba_.py
+++ b/pandas/core/groupby/numba_.py
@@ -92,7 +92,7 @@ def generate_numba_agg_func(
-------
Numba function
"""
- numba_func = jit_user_function(func, ... | - [ ] closes #53449 (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/53455 | 2023-05-30T19:12:54Z | 2023-05-30T21:52:35Z | 2023-05-30T21:52:34Z | 2023-05-30T21:52:41Z |
Backport PR #53432 on branch 2.0.x (DOC: Add release notes for pandas 2.0.3) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index f2d2a54e4d1fe..3905c320be023 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -16,6 +16,7 @@ Version 2.0
.. toctree::
:maxdepth: 2
+ v2.0.3
v2.0.2
v2.0.1
v2.0.0
diff --git a/doc/source/... | Backport PR #53432: DOC: Add release notes for pandas 2.0.3 | https://api.github.com/repos/pandas-dev/pandas/pulls/53454 | 2023-05-30T18:38:08Z | 2023-05-30T20:07:42Z | 2023-05-30T20:07:42Z | 2023-05-30T20:07:42Z |
Removed a word that was clearly a leftover after rephrasing. | diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst
index 1770d759dde4d..90a65e2790c29 100644
--- a/doc/source/getting_started/install.rst
+++ b/doc/source/getting_started/install.rst
@@ -295,7 +295,7 @@ Installable with ``pip install "pandas[performance]"``
===================... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53453 | 2023-05-30T18:18:06Z | 2023-05-30T18:30:16Z | 2023-05-30T18:30:16Z | 2023-05-30T18:30:22Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 6fcb8222f0359..f44b2d15b719a 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -258,17 +258,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.IntervalIndex.to_tuples \
pandas.MultiIndex.dtypes \
pandas.MultiInde... | - [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/53450 | 2023-05-30T13:38:02Z | 2023-05-30T17:32:20Z | 2023-05-30T17:32:20Z | 2023-05-31T07:22:09Z |
CLN: remove unused **kwargs from BaseMaskedArray._wrap_reduction_result | diff --git a/pandas/core/arrays/masked.py b/pandas/core/arrays/masked.py
index df9224e192140..15c485cbb1499 100644
--- a/pandas/core/arrays/masked.py
+++ b/pandas/core/arrays/masked.py
@@ -1095,9 +1095,8 @@ def _reduce(self, name: str, *, skipna: bool = True, **kwargs):
return result
- def _wrap_reducti... | The `**kwargs` isn't used. | https://api.github.com/repos/pandas-dev/pandas/pulls/53447 | 2023-05-29T23:19:49Z | 2023-05-30T18:31:11Z | 2023-05-30T18:31:11Z | 2023-05-30T19:48:24Z |
ENH: Allow numba aggregations to return non-float64 results | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 4c0f3ddd826b7..6617b3c8b4cca 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -57,6 +57,38 @@
},
}
+# These aggregations don't have a kernel implemented for them yet
+_numba_unsupported_meth... | - [ ] xref #44952 (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/53444 | 2023-05-29T21:53:33Z | 2023-06-15T02:08:09Z | 2023-06-15T02:08:09Z | 2023-06-15T02:08:11Z |
ENH: xz compression_args df.to_pickle(path, compression={'method':'xz','pr… | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 2c5263f447951..60346301d34d7 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -98,9 +98,9 @@ Other enhancements
- Performance improvement in :func:`read_csv` (:issue:`52632`) with ``engine="c"``
- :me... | …eset': level})
level = 9
- [x] closes #52979 (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/... | https://api.github.com/repos/pandas-dev/pandas/pulls/53443 | 2023-05-29T19:18:01Z | 2023-06-02T21:03:38Z | 2023-06-02T21:03:38Z | 2023-06-02T21:03:45Z |
DOC: PDEP6 page format update | diff --git a/web/pandas/pdeps/0006-ban-upcasting.md b/web/pandas/pdeps/0006-ban-upcasting.md
index 325c25313af53..12e4c084cc826 100644
--- a/web/pandas/pdeps/0006-ban-upcasting.md
+++ b/web/pandas/pdeps/0006-ban-upcasting.md
@@ -9,7 +9,7 @@
## Abstract
The suggestion is that setitem-like operations would
-not chang... | - [x] closes #53414
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
| https://api.github.com/repos/pandas-dev/pandas/pulls/53442 | 2023-05-29T19:11:36Z | 2023-06-01T18:35:49Z | 2023-06-01T18:35:49Z | 2023-06-04T01:13:54Z |
CLN: remove compat checks | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index bc2886e5b531c..80592d4f67c98 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -1192,9 +1192,12 @@ _TYPE_MAP = {
"u": "integer",
"float32": "floating",
"float64": "floating",
+ "float128": "floating",
+ "float256": "floati... | Checking the CI to see if these are still needed. | https://api.github.com/repos/pandas-dev/pandas/pulls/53441 | 2023-05-29T18:53:47Z | 2023-05-30T18:32:12Z | 2023-05-30T18:32:12Z | 2023-05-30T18:32:51Z |
REF: partially decouple Period from Tick | diff --git a/pandas/_libs/tslibs/dtypes.pxd b/pandas/_libs/tslibs/dtypes.pxd
index 0e695bf4e57eb..3e86ca034e88c 100644
--- a/pandas/_libs/tslibs/dtypes.pxd
+++ b/pandas/_libs/tslibs/dtypes.pxd
@@ -105,3 +105,4 @@ cdef class PeriodDtypeBase:
int64_t _n
cpdef int _get_to_timestamp_base(self)
+ cpdef bi... | - [ ] 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/53440 | 2023-05-29T16:54:02Z | 2023-05-30T18:33:45Z | 2023-05-30T18:33:45Z | 2023-05-30T18:34:12Z |
REF/CLN: func in core.apply | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index c03f1a268906e..5cb7b1c8279ab 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -106,8 +106,6 @@ def frame_apply(
class Apply(metaclass=abc.ABCMeta):
axis: AxisInt
- orig_f: AggFuncType
- f: AggFuncType
def __init__(
... | - [ ] 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/53437 | 2023-05-29T14:17:22Z | 2023-05-30T18:36:19Z | 2023-05-30T18:36:19Z | 2023-05-31T10:07:26Z |
DOC: Update release process | diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst
index b8a39c0c91236..a38e6c13dea41 100644
--- a/doc/source/development/maintaining.rst
+++ b/doc/source/development/maintaining.rst
@@ -373,11 +373,14 @@ Prerequisites
In order to be able to release a new pandas version, the... | @lithomas1 can you have a look and let me know if everything is clear please? | https://api.github.com/repos/pandas-dev/pandas/pulls/53435 | 2023-05-29T09:15:28Z | 2023-06-07T15:08:22Z | 2023-06-07T15:08:22Z | 2023-06-07T15:08:30Z |
Bump pypa/cibuildwheel from 2.12.3 to 2.13.0 | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 37ee3df93d0d2..0ebede6501f5f 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -73,7 +73,7 @@ jobs:
fetch-depth: 0
- name: Build wheels
- uses: pypa/cibuildwheel@v2.12.3
+ u... | Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.12.3 to 2.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pypa/cibuildwheel/releases">pypa/cibuildwheel's releases</a>.</em></p>
<blockquote>
<h2>v2.13.0</h2>
<ul>
<li>
<p>✨ Adds CPython 3.12 support,... | https://api.github.com/repos/pandas-dev/pandas/pulls/53434 | 2023-05-29T09:04:45Z | 2023-05-30T20:16:41Z | 2023-05-30T20:16:41Z | 2023-05-30T20:16:45Z |
DOC: Add release notes for pandas 2.0.3 | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 42f110dfd7519..fc225d0f44497 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -24,6 +24,7 @@ Version 2.0
.. toctree::
:maxdepth: 2
+ v2.0.3
v2.0.2
v2.0.1
v2.0.0
diff --git a/doc/source/... | xref #53430 | https://api.github.com/repos/pandas-dev/pandas/pulls/53432 | 2023-05-29T07:00:14Z | 2023-05-30T18:37:05Z | 2023-05-30T18:37:05Z | 2023-05-30T18:37:12Z |
TST: Add test for series str decode GH#22613 | diff --git a/pandas/tests/strings/test_strings.py b/pandas/tests/strings/test_strings.py
index 7719f13bf7494..d4807a8eedaaa 100644
--- a/pandas/tests/strings/test_strings.py
+++ b/pandas/tests/strings/test_strings.py
@@ -699,3 +699,10 @@ def test_get_with_dict_label():
result = s.str.get("value")
expected = S... | - [ ] closes #22613 (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/53431 | 2023-05-29T06:54:17Z | 2023-05-31T16:52:44Z | 2023-05-31T16:52:44Z | 2023-05-31T23:24:10Z |
DOC: Final clean up of release notes for 2.0.2 | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index 7a9ee18c72957..81272e5ddb5bc 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -39,7 +39,6 @@ Bug fixes
- Bug in :meth:`Series.rename` not making a lazy copy when Copy-on-Write is enabled when a scalar ... | For some reason there was an empty bullet point in the release notes that is removed in main, but wasn't backported to 2.0.x.
Removing it here, and then we're ready to release, CI is green now for 2.0.x. | https://api.github.com/repos/pandas-dev/pandas/pulls/53428 | 2023-05-28T17:11:46Z | 2023-05-28T18:59:24Z | 2023-05-28T18:59:24Z | 2023-05-28T18:59:25Z |
Backport PR #53413 on branch 2.0.x (DOC: Update release date for 2.0.2) | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index b5051a10d9aa3..7a9ee18c72957 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_202:
-What's new in 2.0.2 (May 26, 2023)
+What's new in 2.0.2 (May 29, 2023)
-----------------... | Backport PR #53413: DOC: Update release date for 2.0.2 | https://api.github.com/repos/pandas-dev/pandas/pulls/53424 | 2023-05-28T06:34:47Z | 2023-05-28T09:29:31Z | 2023-05-28T09:29:31Z | 2023-05-28T09:29:31Z |
DOC: Typo fix on subset data doc | diff --git a/doc/source/getting_started/intro_tutorials/03_subset_data.rst b/doc/source/getting_started/intro_tutorials/03_subset_data.rst
index 483e122ec4d42..6d7ec01551572 100644
--- a/doc/source/getting_started/intro_tutorials/03_subset_data.rst
+++ b/doc/source/getting_started/intro_tutorials/03_subset_data.rst
@@ ... | - [x] closes #53395
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). | https://api.github.com/repos/pandas-dev/pandas/pulls/53422 | 2023-05-28T02:08:12Z | 2023-05-28T07:55:51Z | 2023-05-28T07:55:50Z | 2023-05-29T02:18:05Z |
BUG: Adds missing raises for numpy.timedelta64[M/Y] in pandas.Timedelta | diff --git a/doc/source/user_guide/timedeltas.rst b/doc/source/user_guide/timedeltas.rst
index 3a75aa0b39b1f..a6eb96f91a4bf 100644
--- a/doc/source/user_guide/timedeltas.rst
+++ b/doc/source/user_guide/timedeltas.rst
@@ -259,9 +259,6 @@ an alternative is to divide by another timedelta object. Note that division by t
... | - [x] closes #52806
- [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/53421 | 2023-05-27T23:02:11Z | 2023-06-20T19:32:51Z | 2023-06-20T19:32:51Z | 2023-06-20T19:32:58Z |
DOC: add missing parameters to offsets classes: MonthEnd, MonthBegin, BusinessMonthEnd, and BusinessMonthBegin | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index e3004aaf30dbf..011c2e0f01965 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -2690,6 +2690,13 @@ cdef class MonthEnd(MonthOffset):
MonthEnd goes to the next date which is an end of the month... | xref #52431
Updated documentation for offsets classes. Added missing parameters and See Also section to MonthEnd, MonthBegin, BusinessMonthEnd, and BusinessMonthBegin. | https://api.github.com/repos/pandas-dev/pandas/pulls/53420 | 2023-05-27T19:34:55Z | 2023-05-28T07:59:03Z | 2023-05-28T07:59:03Z | 2023-05-28T07:59:04Z |
DEPR: Series.first() and DataFrame.first() | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 55f396c621a99..7c7b13ab4e89d 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -264,12 +264,12 @@ Deprecations
- Deprecated unused "closed" and "normalize" keywords in the :class:`DatetimeIndex` constru... | - [x] closes #45908
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/53419 | 2023-05-27T17:46:42Z | 2023-06-01T18:18:53Z | 2023-06-01T18:18:53Z | 2023-06-02T07:38:58Z |
BUG: series sum changes dtype uint64 to int64 | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 2c5263f447951..92387e63ed782 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -351,6 +351,7 @@ Numeric
- Bug in :meth:`Series.any`, :meth:`Series.all`, :meth:`DataFrame.any`, and :meth:`DataFrame.all` ... | - [X] closes #53401
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/53418 | 2023-05-27T17:02:57Z | 2023-05-30T18:43:05Z | 2023-05-30T18:43:05Z | 2023-05-31T15:27:01Z |
DOC: Update release date for 2.0.2 | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index b2df0f9568f0d..af89f2db0607d 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_202:
-What's new in 2.0.2 (May 26, 2023)
+What's new in 2.0.2 (May 29, 2023)
-----------------... | xref #52892
CI for 2.0.x should be fixed now. Planning to release on Monday, updating the date. | https://api.github.com/repos/pandas-dev/pandas/pulls/53413 | 2023-05-27T15:25:52Z | 2023-05-27T19:24:14Z | 2023-05-27T19:24:14Z | 2023-12-04T19:14:05Z |
Backport PR #53411 on branch 2.0.x (DOC: Fix tooltips and captions label) | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index 79596c946c068..15ea0066156b5 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -520,7 +520,7 @@
"\n",
"*New in version 1.2.0*\n",
"\n",
- "The [.set_td_classes()][tdclass] m... | Backport PR #53411: DOC: Fix tooltips and captions label | https://api.github.com/repos/pandas-dev/pandas/pulls/53412 | 2023-05-27T13:36:24Z | 2023-05-27T15:20:56Z | 2023-05-27T15:20:56Z | 2023-05-27T15:20:57Z |
DOC: Fix tooltips and captions label | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index 79b04ef57d9cf..5c6435fdaac22 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -519,7 +519,7 @@
"\n",
"*New in version 1.2.0*\n",
"\n",
- "The [.set_td_classes()][tdclass] m... | This fixes the CI in the 2.0.x branch.
xref #53399
| https://api.github.com/repos/pandas-dev/pandas/pulls/53411 | 2023-05-27T11:24:27Z | 2023-05-27T13:35:24Z | 2023-05-27T13:35:24Z | 2023-05-27T13:35:28Z |
DEPR: Deprecate literal json string input to read_json | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 90a8bd868b60b..84a78ace8d7c7 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -2111,7 +2111,8 @@ Reading from a JSON string:
.. ipython:: python
- pd.read_json(json)
+ from io import StringIO
+ pd.re... | - [X] closes #52271
- [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/53409 | 2023-05-27T01:12:03Z | 2023-06-20T19:37:06Z | 2023-06-20T19:37:06Z | 2023-12-11T23:48:19Z |
TST: Adds test for date_range index comparison | diff --git a/pandas/tests/indexes/datetimes/test_date_range.py b/pandas/tests/indexes/datetimes/test_date_range.py
index f3f5d0dfd5ec1..1d6e7077de786 100644
--- a/pandas/tests/indexes/datetimes/test_date_range.py
+++ b/pandas/tests/indexes/datetimes/test_date_range.py
@@ -26,7 +26,9 @@
import pandas as pd
from pand... | - [x] closes #19088
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/53406 | 2023-05-26T19:38:19Z | 2023-05-27T00:18:31Z | 2023-05-27T00:18:30Z | 2023-05-27T00:18:36Z |
PDEP6 implementation pt 2: eablock.setitem, eablock.putmask | diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst
index 1dae2e8463c27..8e1cb32cb856d 100644
--- a/doc/source/whatsnew/v0.21.0.rst
+++ b/doc/source/whatsnew/v0.21.0.rst
@@ -784,10 +784,15 @@ non-datetime-like item being assigned (:issue:`14145`).
These now coerce to ``object`` dtype.
-.... | following on from #50626 | https://api.github.com/repos/pandas-dev/pandas/pulls/53405 | 2023-05-26T16:30:52Z | 2023-07-31T18:18:38Z | 2023-07-31T18:18:38Z | 2023-07-31T18:18:45Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index eceb076021a7e..6fcb8222f0359 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -117,7 +117,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.DataError \
pandas.errors.IncompatibilityWarning \
pandas.error... | - [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/53403 | 2023-05-26T13:41:43Z | 2023-05-26T16:22:02Z | 2023-05-26T16:22:02Z | 2023-05-26T16:23:12Z |
REF: Decouple Series.apply from Series.agg | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 92124a536fe26..9f2171a6aba9a 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -101,6 +101,7 @@ Other enhancements
- :meth:`DataFrame.unstack` gained the ``sort`` keyword to dictate whether the resultin... | This PR makes `Series.apply` not call `Series.agg`, when given a list-like or dict-like, decoupling the two methods (partly) and solves https://github.com/pandas-dev/pandas/pull/53325#discussion_r1201397825. This makes the code base clearer by making `Series.apply` and `Series.agg` going less back and forth between eac... | https://api.github.com/repos/pandas-dev/pandas/pulls/53400 | 2023-05-26T11:55:41Z | 2023-06-05T20:30:44Z | 2023-06-05T20:30:44Z | 2023-06-10T06:42:18Z |
fix documentation build error in basics.rst | diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst
index 7335f1cb066ce..a8afb05bc5200 100644
--- a/doc/source/user_guide/basics.rst
+++ b/doc/source/user_guide/basics.rst
@@ -2128,7 +2128,7 @@ different numeric dtypes will **NOT** be combined. The following example will gi
{
... | DOC: fix documentation build error in basics.rst based on #53354
building with `python make.py --single user_guide/basics.rst`
now works without issues
- [ ] closes #53354
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a ... | https://api.github.com/repos/pandas-dev/pandas/pulls/53398 | 2023-05-26T09:14:38Z | 2023-05-30T20:07:24Z | 2023-05-30T20:07:23Z | 2023-05-30T20:07:31Z |
PERF: Do not init cache in RangeIndex.take | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index c5df78f845ebc..d3f5c6b4eb89a 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -409,6 +409,7 @@ Performance improvements
- Performance improvement in various :class:`MultiIndex` set and indexing operati... | Improve performance when passing an array to RangeIndex.take, DataFrame.loc, or DataFrame.iloc and the DataFrame is using a RangeIndex
- [x] closes #53387
- [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 fe... | https://api.github.com/repos/pandas-dev/pandas/pulls/53397 | 2023-05-26T09:06:50Z | 2023-07-18T19:21:45Z | 2023-07-18T19:21:45Z | 2023-07-19T07:38:40Z |
Backport PR #53393 on branch 2.0.x (DOC: Prepare release notes for 2.0.2) | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index b23f92cc51f1c..b5051a10d9aa3 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_202:
-What's new in 2.0.2 (May ..., 2023)
+What's new in 2.0.2 (May 26, 2023)
----------------... | Backport PR #53393: DOC: Prepare release notes for 2.0.2 | https://api.github.com/repos/pandas-dev/pandas/pulls/53396 | 2023-05-26T07:34:23Z | 2023-05-28T06:30:03Z | 2023-05-28T06:30:03Z | 2023-05-28T06:30:04Z |
DOC: Prepare release notes for 2.0.2 | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index 33139f0c1bacf..b2df0f9568f0d 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_202:
-What's new in 2.0.2 (May ..., 2023)
+What's new in 2.0.2 (May 26, 2023)
----------------... | - xref #52892
Updating the release date of the whatsnew file. This needs to be backported
| https://api.github.com/repos/pandas-dev/pandas/pulls/53393 | 2023-05-25T22:10:44Z | 2023-05-26T07:33:14Z | 2023-05-26T07:33:14Z | 2023-05-26T07:33:14Z |
DOC: Adjust build command for building with meson | diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst
index fe8b533f1907d..51d0edf1859c5 100644
--- a/doc/source/development/contributing_environment.rst
+++ b/doc/source/development/contributing_environment.rst
@@ -223,7 +223,10 @@ Because the meson buil... | Change default command to show verbose output, as discussed during the dev call.
Otherwise, it might be confusing for users when the import hangs and their CPU goes to 100% during the rebuild step.
cc @ngoldbaum
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https:... | https://api.github.com/repos/pandas-dev/pandas/pulls/53392 | 2023-05-25T21:55:54Z | 2023-06-02T17:02:26Z | 2023-06-02T17:02:26Z | 2023-06-02T17:02:27Z |
BUG: read_csv with dtype=bool[pyarrow] | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 73779d7e4cc74..a25999d8085cb 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -20,7 +20,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in :func:`read_csv` when defining ``dtype`` with ``bool[p... | - [ ] closes #53390 (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/53391 | 2023-05-25T21:06:18Z | 2023-05-31T17:19:36Z | 2023-05-31T17:19:35Z | 2023-05-31T17:23:17Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 7a673514c6a44..eceb076021a7e 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -83,9 +83,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.Series.backfill \
pandas.Series.ffill \
pandas.Series.pad \
- pan... | - [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/53389 | 2023-05-25T17:10:36Z | 2023-05-25T21:08:43Z | 2023-05-25T21:08:43Z | 2023-05-26T08:04:59Z |
Backport PR #53382 on branch 2.0.x (BUG: convert_dtypes(dtype_backend="pyarrow") losing tz for tz-aware dtypes) | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index 1ebb512776556..b23f92cc51f1c 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -33,6 +33,7 @@ Bug fixes
- Bug in :func:`read_csv` raising ``OverflowError`` for ``engine="pyarrow"`` and ``parse_dates`` s... | Backport PR #53382: BUG: convert_dtypes(dtype_backend="pyarrow") losing tz for tz-aware dtypes | https://api.github.com/repos/pandas-dev/pandas/pulls/53388 | 2023-05-25T16:23:16Z | 2023-05-25T19:05:56Z | 2023-05-25T19:05:56Z | 2023-05-25T19:05:56Z |
TST: Add test for pandas on sys.getsizeof GH#21758 | diff --git a/pandas/tests/test_common.py b/pandas/tests/test_common.py
index d31f617b9be15..4860ee235c03d 100644
--- a/pandas/tests/test_common.py
+++ b/pandas/tests/test_common.py
@@ -1,6 +1,8 @@
import collections
from functools import partial
import string
+import subprocess
+import sys
import numpy as np
imp... | - [ ] closes #21758 (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/53385 | 2023-05-25T07:24:35Z | 2023-05-30T17:04:10Z | 2023-05-30T17:04:10Z | 2023-05-31T12:22:47Z |
BUG: convert_dtypes(dtype_backend="pyarrow") losing tz for tz-aware dtypes | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index cec201db7e216..33139f0c1bacf 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -35,6 +35,7 @@ Bug fixes
- Bug in :func:`to_timedelta` was raising ``ValueError`` with ``pandas.NA`` (:issue:`52909`)
- Bu... | - [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/53382 | 2023-05-24T22:47:20Z | 2023-05-25T16:22:05Z | 2023-05-25T16:22:05Z | 2023-05-30T22:16:22Z |
TST: adds test for Series and argwhere interaction | diff --git a/pandas/tests/series/test_npfuncs.py b/pandas/tests/series/test_npfuncs.py
index a0b672fffa84a..6a575ab85943a 100644
--- a/pandas/tests/series/test_npfuncs.py
+++ b/pandas/tests/series/test_npfuncs.py
@@ -3,8 +3,10 @@
"""
import numpy as np
+import pytest
from pandas import Series
+import pandas._tes... | - [x] closes #35331
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/53381 | 2023-05-24T22:44:24Z | 2023-05-25T21:11:08Z | 2023-05-25T21:11:08Z | 2023-05-25T21:11:14Z |
Improved documentation for extension development | diff --git a/.gitignore b/.gitignore
index 183c97dac1806..cd22c2bb8cb5b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,6 +38,8 @@
.build_cache_dir
.mesonpy-native-file.ini
MANIFEST
+compile_commands.json
+debug
# Python files #
################
diff --git a/doc/source/development/debugging_extensions.rst b/doc/... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53380 | 2023-05-24T22:39:06Z | 2023-05-25T16:27:44Z | 2023-05-25T16:27:44Z | 2023-05-25T23:00:29Z |
MNT: Mark all `nogil` functions as `noexcept` | diff --git a/pandas/_libs/algos.pxd b/pandas/_libs/algos.pxd
index c3b83b9bd40cb..3f9ddeff99059 100644
--- a/pandas/_libs/algos.pxd
+++ b/pandas/_libs/algos.pxd
@@ -4,7 +4,7 @@ from pandas._libs.dtypes cimport (
)
-cdef numeric_t kth_smallest_c(numeric_t* arr, Py_ssize_t k, Py_ssize_t n) nogil
+cdef numeric_t kth_... | - [ ] 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/53379 | 2023-05-24T22:06:14Z | 2023-05-30T20:09:46Z | 2023-05-30T20:09:46Z | 2023-05-30T20:09:52Z |
DOC: add missing parameters to offsets classes: BQuarterBegin, BQuarterEnd, QuarterBegin, QuarterEnd | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index f062db77fb79b..e3004aaf30dbf 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -2506,6 +2506,19 @@ cdef class BQuarterEnd(QuarterOffset):
startingMonth = 2 corresponds to dates like 2/28/2007, 5... | xref #52431.
Updated documentation for offsets classes. Added missing parameters and See Also section to `BQuarterBegin`, `BQuarterEnd`, `QuarterBegin`, `QuarterEnd`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/53378 | 2023-05-24T21:49:13Z | 2023-05-26T08:14:06Z | 2023-05-26T08:14:06Z | 2023-05-26T08:14:06Z |
BUG: Period.now not taking kwargs | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 44e091e12bfa6..b7cc254d5c7e5 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -528,6 +528,7 @@ Period
- Bug in :class:`PeriodDtype` constructor raising ``ValueError`` instead of ``TypeError`` when an i... | - [ ] closes #53369 (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/53375 | 2023-05-24T19:43:55Z | 2023-07-14T17:49:43Z | 2023-07-14T17:49:42Z | 2023-07-14T18:09:57Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 962e7cc86a98b..14823326dd43d 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -83,7 +83,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.Series.backfill \
pandas.Series.ffill \
pandas.Series.pad \
- pan... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-- [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
@Ma... | https://api.github.com/repos/pandas-dev/pandas/pulls/53374 | 2023-05-24T17:35:51Z | 2023-05-25T09:33:45Z | 2023-05-25T09:33:45Z | 2023-05-25T09:33:54Z |
FIX: Ignore typing and numba warnings in 2.0.x | diff --git a/doc/source/user_guide/window.rst b/doc/source/user_guide/window.rst
index e08fa81c5fa09..4e7733e25fa88 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 ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53372 | 2023-05-24T16:44:17Z | 2023-05-24T20:10:11Z | 2023-05-24T20:10:11Z | 2023-05-24T20:10:14Z |
Backport PR #53364 on branch 2.0.x (Update whatsnew) | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index b912fd5ee9d2d..e0fc6b90708dc 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -944,7 +944,7 @@ Removal of prior version deprecations/changes
- Disallow passing non-keyword arguments to :meth:`DataFrame... | Backport PR #53364: Update whatsnew | https://api.github.com/repos/pandas-dev/pandas/pulls/53371 | 2023-05-24T15:26:23Z | 2023-05-24T16:29:18Z | 2023-05-24T16:29:18Z | 2023-05-24T16:29:18Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 64c5b735fdc8d..37b7ecad736ee 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -137,7 +137,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.PyperclipWindowsException \
pandas.errors.UnsortedIndexError \
... | - [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
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
| https://api.github.com/repos/pandas-dev/pandas/pulls/53370 | 2023-05-24T15:09:46Z | 2023-05-24T17:51:13Z | 2023-05-24T17:51:13Z | 2023-05-25T12:27:17Z |
PERF: Indexing with pyarrow timestamp & duration dtypes | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 11533647ca124..8110d078ce041 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -301,6 +301,7 @@ Performance improvements
- Performance improvement in :meth:`~arrays.ArrowExtensionArray.astype` when conv... | - [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/53368 | 2023-05-24T10:40:07Z | 2023-05-24T15:22:58Z | 2023-05-24T15:22:58Z | 2023-05-30T22:16:25Z |
TYP: func in core.apply.Apply.__init__ | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index 020aa4e8916da..9b4a34961021e 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -103,11 +103,13 @@ def frame_apply(
class Apply(metaclass=abc.ABCMeta):
axis: AxisInt
+ orig_f: AggFuncType
+ f: AggFuncType
def __init__(
... | I had some typing cleanup in #53362, separate it out into its own PR. | https://api.github.com/repos/pandas-dev/pandas/pulls/53365 | 2023-05-24T06:25:05Z | 2023-05-24T15:24:48Z | 2023-05-24T15:24:48Z | 2023-05-24T15:30:38Z |
Update whatsnew | diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst
index 3ddc8b8919228..4f61b416aece0 100644
--- a/doc/source/whatsnew/v2.0.0.rst
+++ b/doc/source/whatsnew/v2.0.0.rst
@@ -945,7 +945,7 @@ Removal of prior version deprecations/changes
- Disallow passing non-keyword arguments to :meth:`DataFrame... | That one got me today | https://api.github.com/repos/pandas-dev/pandas/pulls/53364 | 2023-05-24T04:02:56Z | 2023-05-24T15:25:20Z | 2023-05-24T15:25:20Z | 2023-05-24T15:25:54Z |
Backport PR #53344: BUG: Correct .type for pyarrow.map_ and pyarrow.struct types | diff --git a/doc/source/whatsnew/v2.0.2.rst b/doc/source/whatsnew/v2.0.2.rst
index a39d68a2f8ae9..373612762cb69 100644
--- a/doc/source/whatsnew/v2.0.2.rst
+++ b/doc/source/whatsnew/v2.0.2.rst
@@ -25,6 +25,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Bug in :class:`.arrays.ArrowExtensionArray` incorrectly assignin... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53363 | 2023-05-24T02:00:24Z | 2023-05-24T20:09:27Z | 2023-05-24T20:09:27Z | 2023-05-24T20:09:30Z |
REF: Apply.apply_multiple | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index b0f357a1d8db3..c03f1a268906e 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -91,6 +91,9 @@ def frame_apply(
elif axis == 1:
klass = FrameColumnApply
+ _, func, _, _ = reconstruct_func(func, **kwargs)
+ assert func is n... | A step towards fixing https://github.com/pandas-dev/pandas/pull/53325#discussion_r1201397825.
This avoids the need to call out into `(Series|DataFrame).aggregate`. In a follow-up I will replace the use of `agg_(list|dict)_like` with `apply` specific versions of those methds or some similar solution, avoiding needing... | https://api.github.com/repos/pandas-dev/pandas/pulls/53362 | 2023-05-23T23:58:58Z | 2023-05-25T03:16:19Z | 2023-05-25T03:16:19Z | 2023-05-25T05:50:21Z |
CLN: Remove setup.cfg | diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py
index c9eb476ab65fa..61a03937f8ec6 100755
--- a/scripts/validate_docstrings.py
+++ b/scripts/validate_docstrings.py
@@ -217,6 +217,8 @@ def validate_pep8(self):
"-m",
"flake8",
"--format=%(row... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53361 | 2023-05-23T23:18:47Z | 2023-05-24T04:04:56Z | 2023-05-24T04:04:56Z | 2023-05-24T04:56:24Z |
BUG: Fix Arrow CSV Parser erroring when specifying a dtype for index … | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index db97602dcf4df..e19da05583e80 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -392,6 +392,7 @@ I/O
- :meth:`DataFrame.to_sql` now raising ``ValueError`` when the name param is left empty while using SQ... | …cols
- [ ] closes #53229 (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/deve... | https://api.github.com/repos/pandas-dev/pandas/pulls/53360 | 2023-05-23T21:27:28Z | 2023-05-30T17:46:03Z | 2023-05-30T17:46:03Z | 2023-05-30T17:54:30Z |
Backport PR #53343: REF: Use np.result_type instead of np.find_common_type | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 29009c1627cfb..d312612cdc680 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -35,6 +35,7 @@
from pandas.core.dtypes.cast import (
construct_1d_object_array_from_listlike,
infer_dtype_from_array,
+ np_find_co... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53359 | 2023-05-23T20:46:10Z | 2023-05-24T01:54:52Z | 2023-05-24T01:54:52Z | 2023-05-24T01:54:55Z |
Backport PR #31148: DOC: replace long table of contents on home page with main links | diff --git a/doc/source/_static/css/pandas.css b/doc/source/_static/css/pandas.css
new file mode 100644
index 0000000000000..84dbba823afa0
--- /dev/null
+++ b/doc/source/_static/css/pandas.css
@@ -0,0 +1,40 @@
+/* Getting started index page */
+
+.intro-card {
+ background: #fff;
+ border-radius: 0;
+ padding: 30px ... | #31148 | https://api.github.com/repos/pandas-dev/pandas/pulls/31360 | 2020-01-27T19:53:16Z | 2020-01-27T20:35:18Z | 2020-01-27T20:35:18Z | 2020-01-27T20:35:22Z |
BUG: regression when applying groupby aggregation on categorical columns | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 2abe85f042af1..8025f7762f110 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -626,6 +626,54 @@ consistent with the behaviour of :class:`DataFrame` and :class:`Index`.
DeprecationWarning: The defaul... | - [ ] closes #31256
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31359 | 2020-01-27T19:32:45Z | 2020-01-29T20:20:53Z | 2020-01-29T20:20:53Z | 2020-03-27T13:32:46Z |
BUG/REG: multiindex nested tuples with duplicates | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index 488f3617f2c3c..a380ef03e0b35 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -2643,7 +2643,8 @@ def _maybe_to_slice(loc):
mask[loc] = True
return mask
- if not isinstance(key... | - [x] closes #30892
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
there is an underlying problem with MultiIndex.get_loc that needs to get worked out, but that's going to take a while. This fixes the reported regr... | https://api.github.com/repos/pandas-dev/pandas/pulls/31358 | 2020-01-27T18:21:58Z | 2020-01-28T01:59:32Z | 2020-01-28T01:59:32Z | 2020-01-30T09:58:54Z |
CLN: remove construct_from_string from various | diff --git a/pandas/tests/extension/arrow/arrays.py b/pandas/tests/extension/arrow/arrays.py
index b0e5a6f85feeb..b67ca4cfab83d 100644
--- a/pandas/tests/extension/arrow/arrays.py
+++ b/pandas/tests/extension/arrow/arrays.py
@@ -7,6 +7,7 @@
"""
import copy
import itertools
+from typing import Type
import numpy as... | https://api.github.com/repos/pandas-dev/pandas/pulls/31353 | 2020-01-27T16:05:15Z | 2020-01-28T03:02:45Z | 2020-01-28T03:02:45Z | 2020-01-28T08:54:32Z | |
TYP: pandas/core/dtypes/base.py | diff --git a/pandas/core/dtypes/base.py b/pandas/core/dtypes/base.py
index 618a35886a905..a4f0ccc2016c0 100644
--- a/pandas/core/dtypes/base.py
+++ b/pandas/core/dtypes/base.py
@@ -2,7 +2,7 @@
Extend pandas with custom array types.
"""
-from typing import Any, List, Optional, Tuple, Type
+from typing import TYPE_CH... | https://api.github.com/repos/pandas-dev/pandas/pulls/31352 | 2020-01-27T15:54:05Z | 2020-02-12T15:58:57Z | 2020-02-12T15:58:57Z | 2020-02-12T20:57:42Z | |
ENH: `Styler.highlight_null` can accepts `subset` argument | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index e745bf3f5feed..bd55a25b22e0d 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -64,6 +64,7 @@ Other enhancements
^^^^^^^^^^^^^^^^^^
- :class:`Styler` may now render CSS more efficiently where multipl... | As proposed in #31345 and as a follow-up PR for [#29118](https://github.com/pandas-dev/pandas/pull/29118#discussion_r340733887)
- [x] closes #31345
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31350 | 2020-01-27T15:46:34Z | 2020-03-10T20:30:08Z | 2020-03-10T20:30:08Z | 2020-03-10T20:30:16Z |
TYP: pandas/core/arrays/sparse/dtype.py | diff --git a/pandas/core/arrays/sparse/dtype.py b/pandas/core/arrays/sparse/dtype.py
index 9cdc0d56d0061..1ce735421e7d6 100644
--- a/pandas/core/arrays/sparse/dtype.py
+++ b/pandas/core/arrays/sparse/dtype.py
@@ -1,7 +1,7 @@
"""Sparse Dtype"""
import re
-from typing import Any, Tuple
+from typing import TYPE_CHECKI... | https://api.github.com/repos/pandas-dev/pandas/pulls/31349 | 2020-01-27T15:43:14Z | 2020-01-31T11:41:39Z | 2020-01-31T11:41:39Z | 2020-01-31T14:59:15Z | |
TYP: core.arrays.numpy_ | diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py
index 6a2d15d1e79aa..b2972790283ba 100644
--- a/pandas/core/arrays/numpy_.py
+++ b/pandas/core/arrays/numpy_.py
@@ -1,5 +1,5 @@
import numbers
-from typing import Union
+from typing import Optional, Tuple, Type, Union
import numpy as np
from ... | https://api.github.com/repos/pandas-dev/pandas/pulls/31348 | 2020-01-27T15:39:56Z | 2020-01-31T11:40:13Z | 2020-01-31T11:40:13Z | 2020-01-31T15:02:46Z | |
TYP: core.arrays.integer | diff --git a/pandas/core/arrays/integer.py b/pandas/core/arrays/integer.py
index 022e6a7322872..2c60cc4387158 100644
--- a/pandas/core/arrays/integer.py
+++ b/pandas/core/arrays/integer.py
@@ -1,5 +1,5 @@
import numbers
-from typing import Any, Tuple, Type
+from typing import TYPE_CHECKING, Any, Dict, Tuple, Type, Uni... | https://api.github.com/repos/pandas-dev/pandas/pulls/31347 | 2020-01-27T15:34:19Z | 2020-01-31T11:37:48Z | 2020-01-31T11:37:48Z | 2020-01-31T15:01:00Z | |
TYP: core.arrays.boolean | diff --git a/pandas/core/arrays/boolean.py b/pandas/core/arrays/boolean.py
index 7b12f3348e7e7..75a0f397e936f 100644
--- a/pandas/core/arrays/boolean.py
+++ b/pandas/core/arrays/boolean.py
@@ -1,5 +1,5 @@
import numbers
-from typing import TYPE_CHECKING, Any, List, Tuple, Type
+from typing import TYPE_CHECKING, Any, L... | https://api.github.com/repos/pandas-dev/pandas/pulls/31346 | 2020-01-27T15:29:55Z | 2020-01-31T11:34:28Z | 2020-01-31T11:34:27Z | 2020-01-31T14:58:25Z | |
TST/CLN: remove setup_method from test_dtypes | diff --git a/pandas/tests/dtypes/test_dtypes.py b/pandas/tests/dtypes/test_dtypes.py
index a599a086ae92b..8df222e8fb59d 100644
--- a/pandas/tests/dtypes/test_dtypes.py
+++ b/pandas/tests/dtypes/test_dtypes.py
@@ -32,66 +32,55 @@
class Base:
- def setup_method(self, method):
- self.dtype = self.create()
+... | https://api.github.com/repos/pandas-dev/pandas/pulls/31343 | 2020-01-27T15:01:11Z | 2020-02-02T22:55:11Z | 2020-02-02T22:55:11Z | 2020-02-05T23:12:11Z | |
Backport PR #31323 on branch 1.0.x (CI: Fix jedi upgrades causes deprecation warning) | diff --git a/pandas/tests/arrays/categorical/test_warnings.py b/pandas/tests/arrays/categorical/test_warnings.py
index f66c327e9967d..9e164a250cdb1 100644
--- a/pandas/tests/arrays/categorical/test_warnings.py
+++ b/pandas/tests/arrays/categorical/test_warnings.py
@@ -14,6 +14,16 @@ async def test_tab_complete_warning(... | Backport PR #31323: CI: Fix jedi upgrades causes deprecation warning | https://api.github.com/repos/pandas-dev/pandas/pulls/31341 | 2020-01-27T12:28:59Z | 2020-01-27T14:22:04Z | 2020-01-27T14:22:04Z | 2020-01-27T14:22:05Z |
CLN: some minor cleanups | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index bab3d2d1b5431..4573fd7fc6da3 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -395,7 +395,7 @@ def __new__(
if subarr.ndim > 1:
# GH#13601, GH#20285, GH#27125
raise Va... | https://api.github.com/repos/pandas-dev/pandas/pulls/31337 | 2020-01-27T08:24:18Z | 2020-01-27T15:40:29Z | 2020-01-27T15:40:29Z | 2020-01-27T21:05:08Z | |
REF: share code for set-like ops in DTI/TDI/PI | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 4f14ac2a14157..03c8e48c6e699 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -702,12 +702,31 @@ def take(self, indices, allow_fill=False, fill_value=None):
@classmethod
def ... | The DatetimeIndexOpsMixin._concat_same_type this has can probably become the ExtensionIndex._concat_same_type default. I expect IntervalIndex can be updated to look the same pretty easily, not so sure about CategoricalIndex based on a quick look. | https://api.github.com/repos/pandas-dev/pandas/pulls/31335 | 2020-01-27T04:41:04Z | 2020-02-09T16:51:59Z | 2020-02-09T16:51:59Z | 2020-02-09T17:30:46Z |
DEPR: indexing Series with single-entry list | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 920919755dc23..d47e434c21b1f 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -68,7 +68,7 @@ Backwards incompatible API changes
Deprecations
~~~~~~~~~~~~
-
+- Lookups on a :class:`Series` with a sin... | - [x] closes #31299
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Could use a better warning message, suggestions welcome. | https://api.github.com/repos/pandas-dev/pandas/pulls/31333 | 2020-01-27T04:20:55Z | 2020-02-09T17:08:54Z | 2020-02-09T17:08:54Z | 2020-02-10T20:55:40Z |
BUG: Increased support for subclassed types. | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 79f78471922bc..d8e600f2b64e0 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -748,10 +748,13 @@ Reshaping
- Bug in :meth:`concat` where when passing a non-dict mapping as ``objs`` would raise a ``Type... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31331 | 2020-01-26T21:03:41Z | 2020-05-10T15:02:05Z | 2020-05-10T15:02:05Z | 2020-05-10T15:02:08Z |
BUG: ser.at match ser.loc with Float64Index | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 920919755dc23..0aba9de7d0667 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -148,7 +148,7 @@ Indexing
^^^^^^^^
- Bug in slicing on a :class:`DatetimeIndex` with a partial-timestamp dropping high-res... | xref #31163. | https://api.github.com/repos/pandas-dev/pandas/pulls/31329 | 2020-01-26T18:39:44Z | 2020-01-31T03:03:03Z | 2020-01-31T03:03:03Z | 2020-01-31T04:16:09Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.