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 |
|---|---|---|---|---|---|---|---|
BUG: interpolate with complex dtype | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index ba5334b2f4fa8..e5dd9e6eb86cc 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -406,6 +406,7 @@ Missing
^^^^^^^
- Bug in :meth:`DataFrame.interpolate` ignoring ``inplace`` when :class:`DataFrame` is em... | - [ ] 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/53635 | 2023-06-13T01:45:49Z | 2023-06-13T17:13:57Z | 2023-06-13T17:13:57Z | 2023-06-13T18:04:20Z |
BUG: fix datetimeindex repr | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 839870cb18a0b..1e5918d2e5324 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -621,6 +621,7 @@ Metadata
Other
^^^^^
- Bug in :class:`DataFrame` and :class:`Series` raising for data of complex dtype w... | - [x] closes #53470
- [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/53634 | 2023-06-13T01:25:45Z | 2023-07-22T20:30:48Z | 2023-07-22T20:30:48Z | 2023-07-22T20:30:55Z |
DOC: pd.Period and pd.period_range should document that they accept datetime, date and pd.Timestamp | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index 2ec0649110948..e7b93f9f67cfe 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -2664,6 +2664,7 @@ class Period(_Period):
One of pandas period strings or corresponding objects. Accepted
... | NOTE: This is a follow up to PR #53611 as I realised the issue was incompletely addressed there
- [x] closes #53038 (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 n... | https://api.github.com/repos/pandas-dev/pandas/pulls/53632 | 2023-06-12T23:26:07Z | 2023-06-23T15:31:24Z | 2023-06-23T15:31:24Z | 2023-07-02T08:37:20Z |
DOC: Added links to GitHub tutorials/resources for Forking Workflow in contributing.rst | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index ea69f0b907d8b..4b9a6ba1e069c 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -119,6 +119,22 @@ Some great resources for learning Git:
* the `NumPy documentation <ht... | - [x] closes #53626 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/53628 | 2023-06-12T21:02:39Z | 2023-06-13T17:17:49Z | 2023-06-13T17:17:49Z | 2023-06-13T17:17:57Z |
TYP: core.missing | diff --git a/pandas/core/arrays/sparse/array.py b/pandas/core/arrays/sparse/array.py
index 16e7835a7183d..269b7a086de93 100644
--- a/pandas/core/arrays/sparse/array.py
+++ b/pandas/core/arrays/sparse/array.py
@@ -769,7 +769,12 @@ def fillna(
)
new_values = np.asarray(self)
# inter... | - [ ] 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/53625 | 2023-06-12T20:26:01Z | 2023-06-14T17:11:11Z | 2023-06-14T17:11:11Z | 2023-06-14T17:14:48Z |
BUG: groupby sum turning `inf+inf` and `(-inf)+(-inf)` into `nan` | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index ba5334b2f4fa8..bdd83e2adefd6 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -458,8 +458,9 @@ Groupby/resample/rolling
- Bug in :meth:`GroupBy.groups` with a datetime key in conjunction with another k... | - [x] Closes #53606
- [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/53623 | 2023-06-12T17:10:23Z | 2023-06-14T02:53:13Z | 2023-06-14T02:53:13Z | 2023-06-28T05:40:57Z |
BUG: clean_fill_method failing to raise | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index baacc8c421414..13ba53682144f 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -502,9 +502,11 @@ Other
- Bug in :func:`assert_almost_equal` now throwing assertion error for two unequal sets (:issue:`517... | - [ ] 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/53620 | 2023-06-12T15:54:20Z | 2023-06-12T23:52:28Z | 2023-06-12T23:52:28Z | 2023-06-12T23:55:18Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 3ddb9d4ff6d54..adda422296396 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -105,8 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.errors.UnsupportedFunctionCall \
pandas.test \
pandas.NaT \
- p... | - [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/53619 | 2023-06-12T14:36:53Z | 2023-06-12T16:51:11Z | 2023-06-12T16:51:11Z | 2023-06-13T07:29:41Z |
Bump pypa/cibuildwheel from 2.13.0 to 2.13.1 | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index cdc4fd18995da..ea5ab81e74030 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -110,7 +110,7 @@ jobs:
path: ./dist
- name: Build wheels
- uses: pypa/cibuildwheel@v2.13.0
+ u... | Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.13.0 to 2.13.1.
<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.1</h2>
<ul>
<li>🛠 Updates the prerelease CPytho... | https://api.github.com/repos/pandas-dev/pandas/pulls/53614 | 2023-06-12T09:02:40Z | 2023-06-12T16:59:12Z | 2023-06-12T16:59:12Z | 2023-06-12T16:59:16Z |
DOC: pd.Period and pd.period_range should document that they accept datetime, date and pd.Timestamp | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index 54bf041d59264..e954ec9bccd9e 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -2656,7 +2656,7 @@ class Period(_Period):
Parameters
----------
- value : Period or str, default None
+ va... | - [x] closes #53038 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/53611 | 2023-06-12T02:32:41Z | 2023-06-12T17:24:54Z | 2023-06-12T17:24:54Z | 2023-06-12T18:08:22Z |
TST: Refactor slow test | diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py
index 6d09488df06e2..beddd59b0aa14 100644
--- a/pandas/tests/test_algos.py
+++ b/pandas/tests/test_algos.py
@@ -536,11 +536,9 @@ def test_objects(self):
assert isinstance(result, np.ndarray)
def test_object_refcount_bug(self):
- ... | Went from 2s to 0.05s locally | https://api.github.com/repos/pandas-dev/pandas/pulls/53610 | 2023-06-12T02:29:03Z | 2023-06-13T17:25:02Z | 2023-06-13T17:25:02Z | 2023-06-13T17:25:05Z |
TST: Mark numba & threading tests as single cpu | diff --git a/pandas/tests/groupby/aggregate/test_numba.py b/pandas/tests/groupby/aggregate/test_numba.py
index d585cc1648c5a..10ed32a334d18 100644
--- a/pandas/tests/groupby/aggregate/test_numba.py
+++ b/pandas/tests/groupby/aggregate/test_numba.py
@@ -13,6 +13,8 @@
)
import pandas._testing as tm
+pytestmark = pyte... | - [ ] 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/53608 | 2023-06-12T01:51:11Z | 2023-06-12T17:17:23Z | 2023-06-12T17:17:23Z | 2023-06-12T17:17:28Z |
DEPR: NDFrame.interpolate with ffill/bfill methods | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index baacc8c421414..0c35b0b49e4d4 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -284,6 +284,7 @@ Deprecations
- Deprecated option "mode.use_inf_as_na", convert inf entries to ``NaN`` before instead (:iss... | - [x] closes #53581 (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/53607 | 2023-06-12T00:45:39Z | 2023-06-12T20:44:22Z | 2023-06-12T20:44:22Z | 2023-12-11T23:49:03Z |
DOC: Fixed inconsistencies in pandas.DataFrame.pivot_table docstring parameter descriptions | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 671924c5e9607..b411cfc4a4685 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8822,22 +8822,22 @@ def pivot(self, *, columns, index=lib.NoDefault, values=lib.NoDefault) -> DataFr
values : list-like or scalar, optional
C... | - [x] closes #53351
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Updated the docstring for `pandas.DataFrame.pivot_table` as described in issue #53351 | https://api.github.com/repos/pandas-dev/pandas/pulls/53605 | 2023-06-11T17:27:13Z | 2023-06-12T17:28:58Z | 2023-06-12T17:28:58Z | 2023-06-27T04:59:58Z |
ENH: Series.explode to support pyarrow-backed list types | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index bf1a7cd683a89..bea2ad8c7450c 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -102,6 +102,7 @@ Other enhancements
- :meth:`DataFrame.stack` gained the ``sort`` keyword to dictate whether the resulting ... | - [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/53602 | 2023-06-11T13:23:40Z | 2023-06-13T23:18:29Z | 2023-06-13T23:18:29Z | 2023-06-13T23:27:43Z |
BUG: fix Series.apply(..., by_row), v2. | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 34b91823abc09..79bb32c54d832 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -112,7 +112,7 @@ Other enhancements
- :meth:`SeriesGroupby.transform` and :meth:`DataFrameGroupby.transform` now support pa... | Fixes https://github.com/pandas-dev/pandas/pull/53400#discussion_r1223790606 by making the `by_row` param take `"compat"` as a parameter and using that internally that when `apply` is given dicts og lists.
The compatability path is now to deprecate `by_rows=(True|"compat")` at some point, so `by_rows=False` will bec... | https://api.github.com/repos/pandas-dev/pandas/pulls/53601 | 2023-06-11T11:55:06Z | 2023-06-29T21:33:14Z | 2023-06-29T21:33:14Z | 2023-06-30T02:01:02Z |
DOC: Corrected minor typos in the paragraph below 'Formatting the Display' | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index 79b04ef57d9cf..bf7ecf1399cea 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -59,9 +59,9 @@
"\n",
"### Formatting Values\n",
"\n",
- "The [Styler][styler] distinguishes th... | - [ ] closes #53596
- [ ] 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/53598 | 2023-06-11T05:10:31Z | 2023-06-11T23:09:56Z | 2023-06-11T23:09:56Z | 2023-06-11T23:10:30Z |
ENH: Implement PandasArray, DTA, TDA interpolate | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index 8c57496e092c4..ea085b3d1f6ab 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -106,6 +106,7 @@
from pandas.core import (
algorithms,
+ missing,
nanops,
)
from pandas.co... | pushing towards #50950 | https://api.github.com/repos/pandas-dev/pandas/pulls/53594 | 2023-06-10T16:16:32Z | 2023-06-12T17:38:04Z | 2023-06-12T17:38:04Z | 2023-06-12T18:26:58Z |
CI: Fix the deprecation bot | diff --git a/.github/workflows/deprecation-tracking-bot.yml b/.github/workflows/deprecation-tracking-bot.yml
index c0d871ed54ed6..b3f9bcd840c68 100644
--- a/.github/workflows/deprecation-tracking-bot.yml
+++ b/.github/workflows/deprecation-tracking-bot.yml
@@ -1,11 +1,13 @@
+# This bot updates the issue with number DEP... | - [ ] 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/53593 | 2023-06-10T14:49:46Z | 2023-06-12T16:57:27Z | 2023-06-12T16:57:27Z | 2023-06-12T16:59:52Z |
TST: Add test for apply cast types GH#9506 | diff --git a/pandas/tests/apply/test_series_apply.py b/pandas/tests/apply/test_series_apply.py
index 425d2fb42a711..3e0ff19ae4c1a 100644
--- a/pandas/tests/apply/test_series_apply.py
+++ b/pandas/tests/apply/test_series_apply.py
@@ -271,6 +271,19 @@ def test_apply_empty_integer_series_with_datetime_index(by_row):
... | - [ ] closes #9506 (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/53591 | 2023-06-10T12:40:15Z | 2023-06-13T16:20:52Z | 2023-06-13T16:20:52Z | 2023-06-13T23:16:46Z |
PERF: Series.str.split(expand=True) for pyarrow-backed strings | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index baacc8c421414..a435358d787d5 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -316,6 +316,7 @@ Performance improvements
- Performance improvement in :meth:`Series.add` for pyarrow string and binary dty... | - [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/53585 | 2023-06-10T10:05:04Z | 2023-06-12T17:45:05Z | 2023-06-12T17:45:05Z | 2023-06-13T23:27:50Z |
REF: move interpolate validation to core.missing | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index f73ef36f76086..a07a2112faba1 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -143,6 +143,7 @@
arraylike,
common,
indexing,
+ missing,
nanops,
sample,
)
@@ -7907,20 +7908,7 @@ def interpolate(
... | Some cleanup found while working towards #50950. | https://api.github.com/repos/pandas-dev/pandas/pulls/53580 | 2023-06-09T22:00:13Z | 2023-06-12T18:44:33Z | 2023-06-12T18:44:33Z | 2023-06-12T18:47:47Z |
ENH: Groupby.transform support string input with engine=numba | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index baacc8c421414..e346870969741 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -103,6 +103,7 @@ Other enhancements
- :meth:`DataFrame.unstack` gained the ``sort`` keyword to dictate whether the resultin... | - [ ] 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/53579 | 2023-06-09T21:01:08Z | 2023-06-12T20:15:06Z | 2023-06-12T20:15:06Z | 2023-06-12T23:15:37Z |
CI: Ensure nightly wheels are uploaded instead of just sdist | diff --git a/ci/upload_wheels.sh b/ci/upload_wheels.sh
index e57e9b01b9830..3c4aa76c02003 100644
--- a/ci/upload_wheels.sh
+++ b/ci/upload_wheels.sh
@@ -28,12 +28,12 @@ upload_wheels() {
if compgen -G "./dist/*.gz"; then
echo "Found sdist"
anaconda -q -t ${TOKEN} upload --... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53578 | 2023-06-09T18:41:54Z | 2023-06-09T22:48:40Z | 2023-06-09T22:48:40Z | 2023-06-09T22:48:43Z |
PDEP-1 Revision (Decision Making) | diff --git a/web/pandas/pdeps/0001-purpose-and-guidelines.md b/web/pandas/pdeps/0001-purpose-and-guidelines.md
index 24c91fbab0808..49a3bc4c871cd 100644
--- a/web/pandas/pdeps/0001-purpose-and-guidelines.md
+++ b/web/pandas/pdeps/0001-purpose-and-guidelines.md
@@ -6,7 +6,7 @@
[#51417](https://github.com/pandas-dev/p... | The governance working group has been discussing the PDEP workflow and decision-making for some time now. **Feedback is welcome.**
This PR proposes some formulation of the existing workflow to clarify and facilitate it for current and future authors, and voting members.
In our discussions, we assessed that a more s... | https://api.github.com/repos/pandas-dev/pandas/pulls/53576 | 2023-06-09T15:32:48Z | 2024-04-01T18:27:58Z | 2024-04-01T18:27:58Z | 2024-04-01T20:21:32Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 598281e331f5c..3ddb9d4ff6d54 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -263,15 +263,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.core.window.ewm.ExponentialMovingWindow.cov \
pandas.api.indexers.BaseIndexer ... | - [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/53575 | 2023-06-09T14:51:35Z | 2023-06-09T20:15:24Z | 2023-06-09T20:15:24Z | 2023-06-10T14:25:53Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 191e0d03b3a1a..598281e331f5c 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -263,22 +263,12 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.core.window.ewm.ExponentialMovingWindow.cov \
pandas.api.indexers.BaseIndexer... | - [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/53573 | 2023-06-09T10:26:20Z | 2023-06-09T16:56:20Z | 2023-06-09T16:56:20Z | 2023-06-10T14:26:10Z |
DOC: Multi-conditional examples added to .loc docstring | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 38bf6c34bf9c9..4a2803f638c73 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -400,6 +400,29 @@ def loc(self) -> _LocIndexer:
max_speed
sidewinder 7
+ Multiple conditional using ``&`... | - [ ] closes #53546
Adds two examples of using `.loc` with multiple conditions and links to Boolean Indexing [user guide](https://pandas.pydata.org/pandas-docs/dev/user_guide/indexing.html#boolean-indexing).
NOTE: I was unable to get the documentation to build on my computer so I could not view the changes befor... | https://api.github.com/repos/pandas-dev/pandas/pulls/53572 | 2023-06-09T00:48:15Z | 2023-06-12T18:10:33Z | 2023-06-12T18:10:33Z | 2023-06-12T18:44:36Z |
DEPR: deprecate obj argument in GroupBy.get_group | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index e2f0904a78cf9..3c4ca23797f2c 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -289,6 +289,7 @@ Deprecations
- Deprecated constructing :class:`SparseArray` from scalar data, pass a sequence instead (:is... | - [x] closes #53545
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
`obj` argument was deprecated in `GroupBy.get_group` and removed from the parameters in `GroupBy.get_group` docs. | https://api.github.com/repos/pandas-dev/pandas/pulls/53571 | 2023-06-08T23:32:56Z | 2023-06-19T01:46:39Z | 2023-06-19T01:46:39Z | 2023-06-19T07:10:35Z |
TST: Use more pytest fixtures | diff --git a/pandas/tests/arrays/sparse/test_indexing.py b/pandas/tests/arrays/sparse/test_indexing.py
index f639e9b18596c..d63d0fb07b404 100644
--- a/pandas/tests/arrays/sparse/test_indexing.py
+++ b/pandas/tests/arrays/sparse/test_indexing.py
@@ -6,18 +6,25 @@
import pandas._testing as tm
from pandas.core.arrays.sp... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53567 | 2023-06-08T18:30:57Z | 2023-06-09T17:13:04Z | 2023-06-09T17:13:04Z | 2023-06-09T17:13:07Z |
Backport PR #53548: CI/DEPS: Add xfail(strict=False) to related unstable sorting changes in Numpy 1.25 | diff --git a/pandas/tests/frame/methods/test_nlargest.py b/pandas/tests/frame/methods/test_nlargest.py
index b5c33a41dd780..17dea51263222 100644
--- a/pandas/tests/frame/methods/test_nlargest.py
+++ b/pandas/tests/frame/methods/test_nlargest.py
@@ -9,6 +9,7 @@
import pandas as pd
import pandas._testing as tm
+from ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53566 | 2023-06-08T18:24:40Z | 2023-06-08T21:47:30Z | 2023-06-08T21:47:30Z | 2023-06-08T21:47:35Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index f2d6a2b222a3c..191e0d03b3a1a 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -267,10 +267,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.core.groupby.DataFrameGroupBy.ffill \
pandas.core.groupby.DataFrameGroupBy.med... | - [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/53564 | 2023-06-08T17:18:30Z | 2023-06-08T21:48:30Z | 2023-06-08T21:48:30Z | 2023-06-09T08:40:18Z |
TST: Use monkeypatch instead of custom func for env variables | diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py
index 7908c9df60df8..de3dd58d3b716 100644
--- a/pandas/_testing/__init__.py
+++ b/pandas/_testing/__init__.py
@@ -97,7 +97,6 @@
from pandas._testing.contexts import (
decompress_file,
ensure_clean,
- ensure_safe_environment_variables,
... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53563 | 2023-06-08T16:37:26Z | 2023-06-09T20:17:57Z | 2023-06-09T20:17:57Z | 2023-06-09T20:18:00Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 9e50b93e173c4..f2d6a2b222a3c 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -265,35 +265,27 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.api.indexers.VariableOffsetWindowIndexer \
pandas.core.groupby.DataFrameGroup... | - [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/53561 | 2023-06-08T12:45:44Z | 2023-06-08T16:18:42Z | 2023-06-08T16:18:42Z | 2023-06-08T17:09:18Z |
Update 02_read_write.rst | diff --git a/doc/source/getting_started/intro_tutorials/02_read_write.rst b/doc/source/getting_started/intro_tutorials/02_read_write.rst
index dbb1be8c4d875..832c2cc25712f 100644
--- a/doc/source/getting_started/intro_tutorials/02_read_write.rst
+++ b/doc/source/getting_started/intro_tutorials/02_read_write.rst
@@ -99,... | Grammatical error corrected. | https://api.github.com/repos/pandas-dev/pandas/pulls/53559 | 2023-06-08T07:51:11Z | 2023-06-08T15:13:01Z | 2023-06-08T15:13:01Z | 2023-06-08T15:14:17Z |
DEPR: deprecate unit parameters ’T’, 't', 'L', and 'l' | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index d9cdc8beaebea..5fd6953d0443a 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -295,10 +295,10 @@ Deprecations
- Deprecated option "mode.use_inf_as_na", convert inf entries to ``NaN`` before instead (:i... | - [x] closes #52536
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Added upper case ’T’ for minutes in `UnitChoices` list. Now mypy doesn’t raise an error.
Update:
Deprecated unit parameters ’T’, 't', 'L', 'l', and fixed test. | https://api.github.com/repos/pandas-dev/pandas/pulls/53557 | 2023-06-07T22:44:08Z | 2023-06-20T11:07:31Z | 2023-06-20T11:07:31Z | 2023-06-20T11:07:32Z |
ENH: Numba groupby support multiple labels | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 6bb972c21d927..a58406eb30976 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/53556 | 2023-06-07T16:30:30Z | 2023-06-07T21:34:39Z | 2023-06-07T21:34:39Z | 2023-06-07T22:23:37Z |
Backport PR #53435 on branch 2.0.x (DOC: Update release process) | diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst
index 994dfde0894f3..f7665dbed6499 100644
--- a/doc/source/development/maintaining.rst
+++ b/doc/source/development/maintaining.rst
@@ -368,11 +368,14 @@ Prerequisites
In order to be able to release a new pandas version, the... | Backport PR #53435: DOC: Update release process | https://api.github.com/repos/pandas-dev/pandas/pulls/53555 | 2023-06-07T15:09:28Z | 2023-06-07T16:32:26Z | 2023-06-07T16:32:25Z | 2023-06-07T16:32:26Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 304b4616355db..4d4efe4e1704c 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -263,11 +263,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.core.window.ewm.ExponentialMovingWindow.cov \
pandas.api.indexers.BaseIndexer ... | - [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/53554 | 2023-06-07T14:49:25Z | 2023-06-07T20:04:03Z | 2023-06-07T20:04:03Z | 2023-06-08T08:46:03Z |
TST: Add test for timedelta of fraction GH#9048 | diff --git a/pandas/tests/tools/test_to_timedelta.py b/pandas/tests/tools/test_to_timedelta.py
index 92db9af275340..828f991eccfa6 100644
--- a/pandas/tests/tools/test_to_timedelta.py
+++ b/pandas/tests/tools/test_to_timedelta.py
@@ -293,6 +293,11 @@ def test_to_timedelta_numeric_ea(self, any_numeric_ea_dtype):
... | - [ ] closes #9048 (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/53552 | 2023-06-07T10:18:30Z | 2023-06-07T15:40:49Z | 2023-06-07T15:40:49Z | 2023-06-07T22:41:11Z |
TST: Add test for complex categories GH#16399 | diff --git a/pandas/tests/dtypes/test_dtypes.py b/pandas/tests/dtypes/test_dtypes.py
index 155c61508b706..07a4e06db2e74 100644
--- a/pandas/tests/dtypes/test_dtypes.py
+++ b/pandas/tests/dtypes/test_dtypes.py
@@ -1174,6 +1174,15 @@ def test_cast_string_to_complex():
tm.assert_frame_equal(result, expected)
+def... | - [ ] closes #16399 (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/53551 | 2023-06-07T06:48:40Z | 2023-06-07T15:44:41Z | 2023-06-07T15:44:41Z | 2023-06-07T22:41:07Z |
TST: Use fixtures instead of TestPlotBase | diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py
index 921f2b3ef3368..8b357754085c8 100644
--- a/pandas/tests/plotting/common.py
+++ b/pandas/tests/plotting/common.py
@@ -11,9 +11,6 @@
import numpy as np
-from pandas.util._decorators import cache_readonly
-import pandas.util._test_dec... | Replaces the plotting tests' `TestPlotBase` methods into individual testing function and fixtures where appropriate | https://api.github.com/repos/pandas-dev/pandas/pulls/53550 | 2023-06-07T03:41:27Z | 2023-06-09T17:13:47Z | 2023-06-09T17:13:47Z | 2023-06-09T17:13:50Z |
Backport PR #53532 on branch 2.0.x (BUG: Series.str.split(expand=True) for ArrowDtype(pa.string())) | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 2c63d7d20ed1c..89c64b02e0cb5 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -22,6 +22,8 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :func:`read_csv` when defining ``dtype`` with ``bool[pyarro... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53549 | 2023-06-07T01:54:12Z | 2023-06-07T15:46:13Z | 2023-06-07T15:46:13Z | 2023-06-08T02:31:44Z |
CI/DEPS: Add xfail(strict=False) to related unstable sorting changes in Numpy 1.25 | diff --git a/pandas/core/sorting.py b/pandas/core/sorting.py
index 0c0b312c11c48..b63f3f28b8f6c 100644
--- a/pandas/core/sorting.py
+++ b/pandas/core/sorting.py
@@ -424,7 +424,7 @@ def lexsort_indexer(
def nargsort(
items: ArrayLike | Index | Series,
- kind: SortKind = "stable",
+ kind: SortKind = "quicks... | Notes:
* Due to https://github.com/numpy/numpy/pull/23707 and our usage of an unstable sorting algorithm (quicksort) everywhere and the CI runners able to use AVX-512 | https://api.github.com/repos/pandas-dev/pandas/pulls/53548 | 2023-06-07T01:03:26Z | 2023-06-08T18:09:06Z | 2023-06-08T18:09:06Z | 2023-12-04T19:14:06Z |
TST: Remove inheritance from pandas/tests/indexes | diff --git a/pandas/tests/indexes/categorical/test_category.py b/pandas/tests/indexes/categorical/test_category.py
index d7fdbb39f3e69..232d966e39a01 100644
--- a/pandas/tests/indexes/categorical/test_category.py
+++ b/pandas/tests/indexes/categorical/test_category.py
@@ -14,27 +14,15 @@
CategoricalIndex,
Ind... | Replaced the inheritance structure of `pandas/tests/indexes` to use parameterization to make them more independent. Tests are skipped appropriately where they are tested in the old subclass. | https://api.github.com/repos/pandas-dev/pandas/pulls/53544 | 2023-06-06T20:18:38Z | 2023-06-06T22:31:36Z | 2023-06-06T22:31:36Z | 2023-06-06T22:31:39Z |
TST: Clean up finalize tests | diff --git a/pandas/tests/generic/test_finalize.py b/pandas/tests/generic/test_finalize.py
index 9dfa2c8a5a90a..f23952b91044f 100644
--- a/pandas/tests/generic/test_finalize.py
+++ b/pandas/tests/generic/test_finalize.py
@@ -153,7 +153,7 @@
({"A": ["a", "b", "c"], "B": [1, 3, 5], "C": [2, 4, 6]},),
op... | - [ ] 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/53543 | 2023-06-06T19:07:49Z | 2023-06-07T00:17:23Z | 2023-06-07T00:17:23Z | 2023-06-07T13:56:29Z |
BUG: Fix metadata propagation in reductions | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index f1e370a0b8316..97de305077545 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -770,8 +770,10 @@ Styler
Metadata
^^^^^^^^
+- Fixed metadata propagation in :meth:`DataFrame.max`, :meth:`DataFrame.min`... | - [ ] 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/53542 | 2023-06-06T18:57:15Z | 2023-08-01T16:56:53Z | 2023-08-01T16:56:53Z | 2023-08-01T16:57:46Z |
CI: Bump builds to 3.11, update numpy nightly wheels location (#53508) | diff --git a/.circleci/config.yml b/.circleci/config.yml
index e704c37df3e45..276ff2ee8314a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -6,7 +6,7 @@ jobs:
image: ubuntu-2004:2022.04.1
resource_class: arm.large
environment:
- ENV_FILE: ci/deps/circle-38-arm64.yaml
+ ENV... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/53541 | 2023-06-06T18:16:26Z | 2023-06-08T01:54:45Z | 2023-06-08T01:54:45Z | 2023-06-08T01:54:48Z |
DOC: Fixing EX01 - Added more examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 28fec987efd1a..304b4616355db 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -263,16 +263,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.core.window.ewm.ExponentialMovingWindow.cov \
pandas.api.indexers.BaseIndexer ... | - [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/53540 | 2023-06-06T17:08:56Z | 2023-06-07T15:36:23Z | 2023-06-07T15:36:23Z | 2023-06-07T17:38:10Z |
BUG: Fix metadata propagation in squeeze and describe | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 6bb972c21d927..480548f705763 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -482,6 +482,7 @@ Styler
Metadata
^^^^^^^^
+- Fixed metadata propagation in :meth:`DataFrame.squeeze`, and :meth:`DataFra... | - [ ] 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/53538 | 2023-06-06T14:34:30Z | 2023-06-07T00:31:56Z | 2023-06-07T00:31:56Z | 2023-06-07T13:56:21Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 94644ca6049c3..28fec987efd1a 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -82,12 +82,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX01 --ignore_functions \
... | - [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/53536 | 2023-06-06T11:29:33Z | 2023-06-06T16:55:09Z | 2023-06-06T16:55:09Z | 2023-06-06T17:07:14Z |
BUG: Series.str.split(expand=True) for ArrowDtype(pa.string()) | diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst
index 2c63d7d20ed1c..89c64b02e0cb5 100644
--- a/doc/source/whatsnew/v2.0.3.rst
+++ b/doc/source/whatsnew/v2.0.3.rst
@@ -22,6 +22,8 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :func:`read_csv` when defining ``dtype`` with ``bool[pyarro... | - [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/53532 | 2023-06-06T01:59:41Z | 2023-06-07T00:15:57Z | 2023-06-07T00:15:57Z | 2023-06-08T02:31:47Z |
DOC: create a table for period aliases | diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst
index 97be46e338c09..fb1c37c1b9073 100644
--- a/doc/source/user_guide/timeseries.rst
+++ b/doc/source/user_guide/timeseries.rst
@@ -1299,6 +1299,31 @@ frequencies. We will refer to these aliases as *offset aliases*.
given frequ... | related to pr #53477
Updated documentation for [Time series / date functionality](https://pandas.pydata.org/docs/user_guide/timeseries.html#time-series-date-functionality)
Created a new table for `period aliases`. Added to the doc of `Period dtypes`reference to the table `period aliases` instead of [offset aliases]... | https://api.github.com/repos/pandas-dev/pandas/pulls/53530 | 2023-06-05T22:10:25Z | 2023-06-09T17:19:07Z | 2023-06-09T17:19:07Z | 2023-06-09T17:19:14Z |
DOC: Fixing EX01 - Added more examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 4962469dbf429..1a79e99966396 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -250,14 +250,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
pandas.DatetimeIndex.mean \
pandas.DatetimeIndex.std \
pandas.TimedeltaIndex... | - [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/53528 | 2023-06-05T17:30:12Z | 2023-06-05T18:30:09Z | 2023-06-05T18:30:09Z | 2023-06-06T08:51:00Z |
DOC: Fixing EX01 - Added examples | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 4962469dbf429..d23e1c912ebf4 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -82,15 +82,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX01 --ignore_functions \
... | - [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/53526 | 2023-06-05T13:40:45Z | 2023-06-05T17:35:06Z | 2023-06-05T17:35:05Z | 2023-06-06T08:51:30Z |
TST: Add test for boxable categories GH#21658 | diff --git a/pandas/tests/indexes/multi/test_compat.py b/pandas/tests/indexes/multi/test_compat.py
index 60608e0def7f5..f91856c3948a0 100644
--- a/pandas/tests/indexes/multi/test_compat.py
+++ b/pandas/tests/indexes/multi/test_compat.py
@@ -1,6 +1,7 @@
import numpy as np
import pytest
+import pandas as pd
from pan... | - [ ] closes #21658 (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/53524 | 2023-06-05T08:58:47Z | 2023-06-06T16:56:13Z | 2023-06-06T16:56:13Z | 2023-06-06T20:54:46Z |
docs: Fix alignment in "merge_ordered" docstring | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 65cd7e7983bfe..46fbcc86318a2 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -294,7 +294,7 @@ def merge_ordered(
... }
... )
>>> df1
- key lvalue group
+ key lvalue group
... | - [ ] 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/53522 | 2023-06-04T18:42:21Z | 2023-06-05T17:45:54Z | 2023-06-05T17:45:54Z | 2023-06-05T17:46:55Z |
DEPR `fill_method` and `limit` keywords in `pct_change` | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 762f41b4049c2..baacc8c421414 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -227,6 +227,7 @@ Other API changes
Deprecations
~~~~~~~~~~~~
- Deprecated 'broadcast_axis' keyword in :meth:`Series.align... | - [ ] Closes #53491
- [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/53520 | 2023-06-04T16:10:55Z | 2023-06-09T20:17:09Z | 2023-06-09T20:17:09Z | 2023-09-20T21:19:29Z |
BUG: groupby.nth after selection | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 92124a536fe26..57d2f0ce78f67 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -441,6 +441,8 @@ Groupby/resample/rolling
- Bug in :meth:`GroupBy.groups` with a datetime key in conjunction with another k... | - [x] closes #53518 (Replace xxxx with the GitHub issue number)
- [x] closes #11038
- [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-d... | https://api.github.com/repos/pandas-dev/pandas/pulls/53519 | 2023-06-04T13:59:38Z | 2023-06-05T17:51:30Z | 2023-06-05T17:51:29Z | 2023-06-05T18:07:43Z |
FIX `groupby` with column selection not returning tuple when grouping by list of a single element | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 6bb972c21d927..b30aad4091411 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -438,6 +438,7 @@ Groupby/resample/rolling
grouped :class:`Series` or :class:`DataFrame` was a :class:`DatetimeIndex`, :cl... | - [x] Closes #53500
- [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/53517 | 2023-06-04T10:04:31Z | 2023-06-06T20:53:56Z | 2023-06-06T20:53:56Z | 2023-06-28T05:41:16Z |
BUG/PERF: DataFrame.isin lossy data conversion | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 92124a536fe26..db46b82ab90ac 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 :class:`Series` reductions (:issue:`52341`)
- Perfo... | - [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/53514 | 2023-06-03T20:22:45Z | 2023-06-05T17:55:13Z | 2023-06-05T17:55:13Z | 2023-06-08T02:31:50Z |
BUG: merge_asof raising ValueError for read-only ndarrays | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index 92124a536fe26..fd298491d3816 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -446,6 +446,7 @@ Reshaping
^^^^^^^^^
- Bug in :func:`crosstab` when ``dropna=False`` would not keep ``np.nan`` in the resu... | - [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/53513 | 2023-06-03T10:47:30Z | 2023-06-05T17:57:47Z | 2023-06-05T17:57:47Z | 2023-06-08T02:31:53Z |
DEPR: Period[B] | diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst
index bc187361493c0..e9492b45c3be0 100644
--- a/doc/source/whatsnew/v2.1.0.rst
+++ b/doc/source/whatsnew/v2.1.0.rst
@@ -348,6 +348,7 @@ Deprecations
- Deprecated unused "closed" and "normalize" keywords in the :class:`DatetimeIndex` construct... | - [x] closes #53446 (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/53511 | 2023-06-03T03:21:20Z | 2023-07-24T17:35:42Z | 2023-07-24T17:35:42Z | 2023-07-24T18:34:37Z |
STY: Enable Ruff specific checks | diff --git a/pandas/_config/config.py b/pandas/_config/config.py
index e14f51df24a8a..920a33d39e1d1 100644
--- a/pandas/_config/config.py
+++ b/pandas/_config/config.py
@@ -66,8 +66,10 @@
)
import warnings
-from pandas._typing import F # noqa: TCH001
-from pandas._typing import T # noqa: TCH001
+from pandas._typi... | - [ ] 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/53510 | 2023-06-02T22:55:10Z | 2023-06-03T00:02:39Z | 2023-06-03T00:02:38Z | 2023-06-03T00:02:42Z |
DOC: Added Nav Links to Discussion and Development section on README | diff --git a/README.md b/README.md
index bbe080c52ab9b..1bff2941f86ca 100644
--- a/README.md
+++ b/README.md
@@ -168,7 +168,13 @@ For usage questions, the best place to go to is [StackOverflow](https://stackove
Further, general questions and discussions can also take place on the [pydata mailing list](https://groups.g... | - [x] closes #53507 (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/53509 | 2023-06-02T22:13:25Z | 2023-06-05T18:01:02Z | 2023-06-05T18:01:02Z | 2023-06-05T18:01:10Z |
CI: Bump builds to 3.11, update numpy nightly wheels location | diff --git a/.circleci/config.yml b/.circleci/config.yml
index 999bba1f9f77f..dfaade1d69c75 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -6,7 +6,7 @@ jobs:
image: ubuntu-2004:2022.04.1
resource_class: arm.large
environment:
- ENV_FILE: ci/deps/circle-39-arm64.yaml
+ ENV... | - [ ] 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/53508 | 2023-06-02T22:10:47Z | 2023-06-06T18:04:27Z | 2023-06-06T18:04:27Z | 2023-06-06T18:17:11Z |
Cython Groupby unused argument removal | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 796ebaca14c91..61f448cbe0c3f 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -495,7 +495,6 @@ def group_fillna_indexer(
ndarray[intp_t] labels,
ndarray[intp_t] sorted_labels,
ndarray[uint8_t] mask,
- str dir... | Seeing these cleanups going through the exercise of building in Rust
| https://api.github.com/repos/pandas-dev/pandas/pulls/53506 | 2023-06-02T20:58:29Z | 2023-06-03T20:53:42Z | 2023-06-03T20:53:42Z | 2023-06-03T20:53:42Z |
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 3da469c2e1fe6..a40d8e333abed 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... | - [x] closes #53497 (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/53505 | 2023-06-02T20:55:22Z | 2023-06-20T20:44:36Z | 2023-06-20T20:44:36Z | 2023-06-21T15:25:52Z |
DOC: Add Visible Table of Contents to Project README Documentation | diff --git a/README.md b/README.md
index 9f2bc800e8479..bbe080c52ab9b 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,19 @@ the broader goal of becoming **the most powerful and flexible open source data
analysis / manipulation tool available in any language**. It is already well on
its way towards this goal.
+#... | - [x] closes #53503
I have added a table of contents to the projects main README markdown file on my feature branch. I applied the same header styling to match the rest of the README. I tested the links on my branch and it all works.
I typically look for a table of contents on READMEs and I find it to be a valu... | https://api.github.com/repos/pandas-dev/pandas/pulls/53504 | 2023-06-02T17:59:33Z | 2023-06-02T20:59:27Z | 2023-06-02T20:59:27Z | 2023-06-02T20:59:35Z |
DEPR: deprecated `sheetname` from ExcelFile.parse | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index c194d98a89789..c463043b388a6 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -956,6 +956,7 @@ Deprecations
retain the previous behavior, use a list instead of a tuple (:issue:`18314`)
- ``Serie... | * ExcelFile.parse
* Made to raise FutureWarning and TypeError when using `sheetname`
* ExcelFile._parse_excel
* Changed parameter name from `sheetname` to `sheet_name`
- [ ] closes #20920
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/20938 | 2018-05-03T01:02:09Z | 2018-05-04T10:09:39Z | 2018-05-04T10:09:39Z | 2018-05-04T10:09:45Z |
CLN: removed unused "convert" parameter to _take | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 7a2bd2708b711..ffb124af4f5fc 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2641,7 +2641,7 @@ def _ixs(self, i, axis=0):
return self.loc[:, lab_slice]
else:
if isinstance(label, Index):
- ... | - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Followup to #20841: the ``convert`` parameter to ``_take`` is irrelevant: the conversion of negative to positive indices is required only for ``Categorical``s (and only until we normalize their ``take`` behavior with negative indices). | https://api.github.com/repos/pandas-dev/pandas/pulls/20934 | 2018-05-02T21:40:48Z | 2018-05-03T00:23:48Z | 2018-05-03T00:23:48Z | 2018-05-03T05:42:34Z |
Fixes Update docs on reserved attributes #20878 | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 66d183d910000..e834efd1cb6d1 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -96,7 +96,7 @@ of multi-axis indexing.
.. versionadded:: 0.18.1
- See more at :ref:`Selection by Position <indexing.integer>`,
+ See more ... | - [x] closes #20878
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/20933 | 2018-05-02T21:14:13Z | 2018-05-08T00:30:29Z | 2018-05-08T00:30:28Z | 2018-05-08T00:30:29Z |
Base Index Tests Cleanup Part 3 | diff --git a/pandas/conftest.py b/pandas/conftest.py
index c4aab1b632b00..137afaa3b3490 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -108,6 +108,9 @@ def nulls_fixture(request):
return request.param
+nulls_fixture2 = nulls_fixture # Generate cartesian product of nulls_fixture
+
+
TIMEZONES = [... | progress towards #20812
| https://api.github.com/repos/pandas-dev/pandas/pulls/20931 | 2018-05-02T18:09:29Z | 2018-05-03T10:38:38Z | 2018-05-03T10:38:38Z | 2018-05-03T22:18:19Z |
CLN: Fix typo in deprecation warning - "strudes" --> "strides" | diff --git a/pandas/core/base.py b/pandas/core/base.py
index 2f25a9ce41369..5022beabef76b 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -758,7 +758,7 @@ def nbytes(self):
@property
def strides(self):
""" return the strides of the underlying data """
- warnings.warn("{obj}.strud... | xref #20721
Minor typo, but might be nice to fix prior to the official 0.23.0 release. | https://api.github.com/repos/pandas-dev/pandas/pulls/20929 | 2018-05-02T17:40:50Z | 2018-05-03T00:33:29Z | 2018-05-03T00:33:29Z | 2018-05-03T01:43:33Z |
Added script to fetch wheels [ci skip] | diff --git a/scripts/download_wheels.py b/scripts/download_wheels.py
new file mode 100644
index 0000000000000..a4705d0e4e63c
--- /dev/null
+++ b/scripts/download_wheels.py
@@ -0,0 +1,44 @@
+"""Fetch wheels from wheels.scipy.org for a pandas version."""
+import argparse
+import pathlib
+import sys
+import urllib.parse
+... | [ci skip] | https://api.github.com/repos/pandas-dev/pandas/pulls/20928 | 2018-05-02T16:27:05Z | 2018-05-14T23:40:03Z | 2018-05-14T23:40:03Z | 2018-05-15T01:18:19Z |
BLD: Use relative path in setup.py for pxd includes | diff --git a/setup.py b/setup.py
index 973b4c0abcde2..a436f451a2a55 100755
--- a/setup.py
+++ b/setup.py
@@ -450,7 +450,7 @@ def srcpath(name=None, suffix='.pyx', subdir='src'):
def pxd(name):
- return os.path.abspath(pjoin('pandas', name + '.pxd'))
+ return pjoin('pandas', name + '.pxd')
# args to igno... | This caused failures on the conda-forge build
xref https://github.com/conda-forge/pandas-feedstock/pull/41 | https://api.github.com/repos/pandas-dev/pandas/pulls/20924 | 2018-05-02T13:52:29Z | 2018-05-02T14:46:02Z | 2018-05-02T14:46:02Z | 2018-05-02T14:46:09Z |
Follow-up #20347: incorporate review about _get_series_list | diff --git a/doc/source/text.rst b/doc/source/text.rst
index 02fa2d882f8b1..4af64d9f791cc 100644
--- a/doc/source/text.rst
+++ b/doc/source/text.rst
@@ -311,7 +311,7 @@ All one-dimensional list-likes can be arbitrarily combined in a list-like contai
s
u
- s.str.cat([u, pd.Index(u.values), ['A', 'B', 'C',... | Closes #20922
recap of #20347 :
Enabling alignment on top of the (v.0.22-)legal list of lists was relatively complex. The allowed argument types implemented in #20347 are as follows:
```
Type of (element of) "others" | alone | within list-like
------------------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/20923 | 2018-05-02T12:28:24Z | 2018-05-04T10:11:14Z | 2018-05-04T10:11:13Z | 2018-05-04T11:00:25Z |
DOC: update the Series.str.ismethods docstring | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index c6d45ce5413ac..4af5b0ee5dd98 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import numpy as np
from pandas.compat import zip
@@ -2400,12 +2401,144 @@ def rindex(self, sub, start=0, end=None)... | - [ ] closes #xxxx
- [x] tests ~added~ / passed (using scripts/validate_docstrings.py)
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
A result of the Pandas Sprint at PyData London 2018. | https://api.github.com/repos/pandas-dev/pandas/pulls/20913 | 2018-05-01T22:34:50Z | 2018-07-22T00:22:42Z | 2018-07-22T00:22:42Z | 2018-07-22T00:23:25Z |
BUG: DatetimeIndex._data should return an ndarray | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 3d7c4762d21ca..78fa6f8217157 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -506,6 +506,10 @@ def _shallow_copy(self, values=None, **kwargs):
attributes.update(kwargs)
if not len(values) and 'dt... | - [x] closes #20810
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The change I made seems to fix the case in the original issue without breaking any tests.
On my branch:
```
In [1]: idx1 = pd.DatetimeIndex(start="2012-01-01", periods=3, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/20912 | 2018-05-01T22:23:35Z | 2018-07-10T10:08:47Z | 2018-07-10T10:08:46Z | 2018-07-10T20:40:41Z |
Doc: Added docstring to Groupby mean | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index c019572f4324e..aa4c7452bcea9 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -1297,9 +1297,48 @@ def count(self):
@Appender(_doc_template)
def mean(self, *args, **kwargs):
"""
- ... | Added examples of the usage and what is returned | https://api.github.com/repos/pandas-dev/pandas/pulls/20910 | 2018-05-01T20:11:59Z | 2018-07-07T22:42:03Z | 2018-07-07T22:42:03Z | 2018-07-07T22:42:13Z |
missing one https | diff --git a/README.md b/README.md
index 5ff256158aa1b..cd2cb99992977 100644
--- a/README.md
+++ b/README.md
@@ -171,7 +171,7 @@ pip install pandas
```
## Dependencies
-- [NumPy](http://www.numpy.org): 1.9.0 or higher
+- [NumPy](https://www.numpy.org): 1.9.0 or higher
- [python-dateutil](https://labix.org/python-d... | www.numpy.org supports https now.
| https://api.github.com/repos/pandas-dev/pandas/pulls/20908 | 2018-05-01T16:58:44Z | 2018-05-02T10:26:38Z | 2018-05-02T10:26:38Z | 2018-05-02T10:26:40Z |
Use right assert raises | diff --git a/pandas/tests/io/test_pytables.py b/pandas/tests/io/test_pytables.py
index a6a38e005b9b6..4ba181384b3b3 100644
--- a/pandas/tests/io/test_pytables.py
+++ b/pandas/tests/io/test_pytables.py
@@ -4877,15 +4877,17 @@ def test_to_hdf_with_object_column_names(self):
if compat.PY3:
types_shou... | Closes https://github.com/pandas-dev/pandas/issues/20904
closes #20904
| https://api.github.com/repos/pandas-dev/pandas/pulls/20906 | 2018-05-01T15:19:50Z | 2018-05-01T17:46:51Z | 2018-05-01T17:46:50Z | 2018-05-01T17:46:54Z |
DOC: whatsnew for GH #18819 | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 604b68b650201..6c8a89ed9a80c 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -1225,6 +1225,7 @@ Reshaping
- Bug in :func:`DataFrame.unstack` which raises an error if ``index`` is a ``MultiIndex`` ... | - [x] closes #18819
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Just a whatsnew entry warning about the more strict check | https://api.github.com/repos/pandas-dev/pandas/pulls/20901 | 2018-05-01T13:44:09Z | 2018-05-01T14:04:10Z | 2018-05-01T14:04:10Z | 2018-05-01T14:16:34Z |
Mention NaN handling in dtype description | diff --git a/doc/source/io.rst b/doc/source/io.rst
index c5b7eff292722..aa2484b0cb5c3 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -168,7 +168,8 @@ General Parsing Configuration
dtype : Type name or dict of column -> type, default ``None``
Data type for data or columns. E.g. ``{'a': np.float64, 'b': ... | To achieve preservation and avoid interpretation of string or object dtypes, NaN value interpretation must be switched off.
- [x] closes issue #20875
- [ ] tests passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] `pandas.read_csv.html` renders text as intended
| https://api.github.com/repos/pandas-dev/pandas/pulls/20895 | 2018-05-01T08:06:29Z | 2018-05-14T19:16:15Z | 2018-05-14T19:16:15Z | 2018-05-15T08:44:56Z |
Preserve None in Series unique | diff --git a/pandas/_libs/hashtable_class_helper.pxi.in b/pandas/_libs/hashtable_class_helper.pxi.in
index dbeb8bda3e454..b92eb0e651276 100644
--- a/pandas/_libs/hashtable_class_helper.pxi.in
+++ b/pandas/_libs/hashtable_class_helper.pxi.in
@@ -870,7 +870,12 @@ cdef class PyObjectHashTable(HashTable):
for i in... | - [X] closes #20866
- [X] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/20893 | 2018-05-01T04:00:33Z | 2018-05-11T18:29:48Z | 2018-05-11T18:29:47Z | 2018-05-11T18:30:11Z |
Read from multiple <tbody> within a <table> | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 567a720fa5e32..35683701efdfd 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -443,6 +443,7 @@ Other Enhancements
- :meth:`DataFrame.to_sql` now performs a multivalue insert if the underlying conne... | - [x] closes #20690
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/20891 | 2018-05-01T01:28:15Z | 2018-05-01T17:47:47Z | 2018-05-01T17:47:47Z | 2018-05-01T19:08:36Z |
BUG: Fix Series.get() for ExtensionArray and Categorical | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 90ef80c958610..7837faf5b4c0f 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3082,12 +3082,17 @@ def get_value(self, series, key):
# use this, e.g. DatetimeIndex
s = getattr(series, '_values', N... | - [x] closes #20882
- [x] tests added / passed
- pandas/tests/extension/base/getitem.py::test_get()
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
- Not created - assume will go in v0.23 as part of ExtensionArray support
| https://api.github.com/repos/pandas-dev/pandas/pulls/20885 | 2018-04-30T16:42:33Z | 2018-05-09T11:00:03Z | 2018-05-09T11:00:03Z | 2018-05-09T13:39:15Z |
BUG: Fix #20744. loffset ignored in resample ffill | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 2cf8e3cedf742..728fb938b49d6 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -1203,6 +1203,7 @@ Groupby/Resample/Rolling
- Bug in :func:`DataFrameGroupBy.cumsum` and :func:`DataFrameGroupBy.cumpro... | - [x] closes #20744
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This replaces pull request #20867 | https://api.github.com/repos/pandas-dev/pandas/pulls/20884 | 2018-04-30T16:40:05Z | 2018-05-01T00:33:09Z | 2018-05-01T00:33:09Z | 2018-05-01T00:33:14Z |
DOC: Handle whitespace in pathnames | diff --git a/doc/make.py b/doc/make.py
index d85747458148d..cab5fa0ed4c52 100755
--- a/doc/make.py
+++ b/doc/make.py
@@ -233,10 +233,10 @@ def _sphinx_build(self, kind):
'-b{}'.format(kind),
'-{}'.format(
'v' * self.verbosity) if self.verbosity else ... | Fixed make.py - Now should be able to run make.py in paths with whitespaces (#20862)
| https://api.github.com/repos/pandas-dev/pandas/pulls/20880 | 2018-04-30T13:21:59Z | 2018-09-26T19:41:12Z | 2018-09-26T19:41:12Z | 2018-09-26T19:41:37Z |
DOC: Fix read_hdf docstring | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index 4004a6ea8f6ff..78436bd74ec09 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -282,38 +282,60 @@ def to_hdf(path_or_buf, key, value, mode=None, complevel=None, complib=None,
def read_hdf(path_or_buf, key=None, mode='r', **kwargs):
- ... | Read HDF docstring was not in NumPy format. Corrects the formatting
[skip ci]
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/20874 | 2018-04-30T07:46:01Z | 2018-04-30T15:06:06Z | 2018-04-30T15:06:06Z | 2018-06-02T10:33:40Z |
Allow `errors` keyword for HDF IO Encoding Err Handling | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 604b68b650201..776ff9709a749 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -450,6 +450,7 @@ Other Enhancements
- Updated :meth:`DataFrame.to_gbq` and :meth:`pandas.read_gbq` signature and docume... | - [X] closes #20835
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/20873 | 2018-04-30T06:21:31Z | 2018-05-01T17:48:41Z | 2018-05-01T17:48:40Z | 2018-05-01T20:06:16Z |
DOC: Link to new PyPI instead of legacy PyPI | diff --git a/README.md b/README.md
index 78e9b93ae535f..5ff256158aa1b 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@
<tr>
<td>Latest Release</td>
<td>
- <a href="https://pypi.python.org/pypi/pandas/">
+ <a href="https://pypi.org/project/pandas/">
<img src="https://img.shields.io/pypi/v/panda... | The new PyPI site has [officially launched](https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html), and they've recommended [linking to the new site](https://warehouse.readthedocs.io/api-reference/integration-guide/#migrating-to-the-new-pypi).
Links to the legacy site are currently re... | https://api.github.com/repos/pandas-dev/pandas/pulls/20872 | 2018-04-29T23:42:02Z | 2018-04-29T23:49:02Z | 2018-04-29T23:49:02Z | 2018-04-30T00:05:46Z |
DOC: Improve the docstring of Str.contains() | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index c6d45ce5413ac..339c1e057a10f 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -295,29 +295,123 @@ def str_count(arr, pat, flags=0):
def str_contains(arr, pat, case=True, flags=0, na=np.nan, regex=True):
"""
- Return boolean... | - [ ] closes #xxxx
- [ ] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
```############################################################################
################################## Validation ##################################
###############... | https://api.github.com/repos/pandas-dev/pandas/pulls/20870 | 2018-04-29T19:05:31Z | 2018-05-10T11:29:53Z | 2018-05-10T11:29:53Z | 2018-05-10T12:31:16Z |
PERF: Fixed regression in Series(index=idx) constructor | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 7abd95c68ea2b..1ef6f2d7eee22 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -41,7 +41,11 @@
maybe_cast_to_datetime, maybe_castable,
construct_1d_arraylike_from_scalar,
construct_1d_object_array_from_listlike)
-from pandas... | From https://github.com/pandas-dev/pandas/pull/18496/
Special cases empty series construction, since the reindex is not necessary.
xref https://github.com/pandas-dev/pandas/issues/18532#issuecomment-385190350
Setup
```python
data = None
idx = date_range(start=datetime(2015, 10, 26),
... | https://api.github.com/repos/pandas-dev/pandas/pulls/20865 | 2018-04-29T12:00:38Z | 2018-04-30T19:01:55Z | 2018-04-30T19:01:55Z | 2018-04-30T19:02:00Z |
DOC: Improve the docstring of String.str.zfill() | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index b27cfdfe3f1bd..93e6f8a53c804 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -2473,18 +2473,63 @@ def rjust(self, width, fillchar=' '):
def zfill(self, width):
"""
- Filling left side of strings in the Series/I... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Result of the Pandas sprint at PyData London 2018. Includes work by @owlas. | https://api.github.com/repos/pandas-dev/pandas/pulls/20864 | 2018-04-29T11:25:24Z | 2018-07-07T14:21:51Z | 2018-07-07T14:21:51Z | 2018-07-07T14:59:55Z |
DOC: update the pandas.Series.str.strip docstring | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index 9028ce1a77304..e422027b9b500 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -2557,12 +2557,66 @@ def encode(self, encoding, errors="strict"):
return self._wrap_result(result)
_shared_docs['str_strip'] = ("""
- Str... | - [ ] closes #xxxx
- [ ] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/20863 | 2018-04-29T11:24:12Z | 2018-07-07T22:12:44Z | 2018-07-07T22:12:43Z | 2018-07-07T22:12:44Z |
BUG: Correct Escaping for LaTeX, #20859 | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index c128058858c17..5f62d1176bc87 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -1164,6 +1164,7 @@ I/O
- Bug in :func:`DataFrame.to_latex()` where a non-string index-level name would result in an ``A... | - [x] closes #20859
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnewentry | https://api.github.com/repos/pandas-dev/pandas/pulls/20860 | 2018-04-29T10:39:41Z | 2018-04-30T11:21:02Z | 2018-04-30T11:21:02Z | 2018-04-30T11:21:09Z |
DOC: small whatsnew fixes [ci skip] | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index ffa4f1068f84d..c128058858c17 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -365,7 +365,7 @@ for storing ip addresses.
...:
``IPArray`` isn't a normal 1-D NumPy array, but because it's a... | [ci skip]
| https://api.github.com/repos/pandas-dev/pandas/pulls/20847 | 2018-04-27T15:23:08Z | 2018-04-27T18:29:19Z | 2018-04-27T18:29:19Z | 2018-04-27T18:29:22Z |
ENH: linearly spaced date_range (GH 20808) | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index d3746d9e0b61e..53fbe503ac807 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -523,6 +523,7 @@ Other Enhancements
library. (:issue:`20564`)
- Added new writer for exporting Stata dta files in ve... | - [X] closes #20808
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/20846 | 2018-04-27T15:14:38Z | 2018-05-03T10:42:05Z | 2018-05-03T10:42:05Z | 2018-05-03T10:42:12Z |
ENH: Add class to write dta format 117 files | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 207589092dd00..e1f6e2c7d12b5 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -503,6 +503,7 @@ Other Enhancements
- Updated :meth:`DataFrame.to_gbq` and :meth:`pandas.read_gbq` signature and docume... | Add export for dta 117 files which add support for long strings
Refactor StataWriter to simplify new writer
closes #16450
- [x] closes #16450
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/20844 | 2018-04-27T14:52:28Z | 2018-05-01T18:57:28Z | 2018-05-01T18:57:28Z | 2018-06-02T10:33:40Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.