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: restructured offset deprecation whatsnew | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index d2a284ea545a1..67b4052b386c0 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -358,19 +358,30 @@ Other API changes
Deprecations
~~~~~~~~~~~~
-Deprecate aliases ``M``, ``SM``, ``BM``, ``CBM``, ``Q``,... | - [x] closes #56299
replaced offset deprecation text block in v2.2.0 with a table and made shorter headline | https://api.github.com/repos/pandas-dev/pandas/pulls/56364 | 2023-12-06T17:36:44Z | 2023-12-06T18:22:17Z | 2023-12-06T18:22:17Z | 2023-12-06T22:36:28Z |
DOC: Add example for `df.map` without `lambda` | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 3edfea4480e47..1630c2c31920d 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -10339,6 +10339,14 @@ def map(
0 NaN 4
1 5.0 5
+ It is also possible to use `map` with functions that are not
+ `lambda` funct... | - [x] Closes ##54648, #54649
| https://api.github.com/repos/pandas-dev/pandas/pulls/56363 | 2023-12-06T17:27:57Z | 2023-12-06T18:24:17Z | 2023-12-06T18:24:17Z | 2023-12-08T09:36:04Z |
remove unused code from JSONtoObj | diff --git a/pandas/_libs/src/vendored/ujson/python/JSONtoObj.c b/pandas/_libs/src/vendored/ujson/python/JSONtoObj.c
index e7c58d498f9be..b7ee58c63a275 100644
--- a/pandas/_libs/src/vendored/ujson/python/JSONtoObj.c
+++ b/pandas/_libs/src/vendored/ujson/python/JSONtoObj.c
@@ -38,43 +38,9 @@ Numeric decoder derived from... | I always thought we did some kind of direct serialization to NumPy with the ujson reader, but as it turns out we do not.
This must have all been started but at some point abandoned | https://api.github.com/repos/pandas-dev/pandas/pulls/56355 | 2023-12-06T04:10:17Z | 2023-12-06T18:26:25Z | 2023-12-06T18:26:25Z | 2023-12-10T08:12:11Z |
BUG read_csv(quotechar=, engine='pyarrow') | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index c69e61c899600..05065aef473c5 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -597,6 +597,7 @@ I/O
- Bug in :func:`read_csv` where ``engine="python"`` did not respect ``chunksize`` arg when ``skiprows`... | - [ ] closes #52266 (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/56352 | 2023-12-06T01:42:06Z | 2023-12-06T05:02:36Z | 2023-12-06T05:02:36Z | 2023-12-06T19:00:34Z |
BUG: astype(errors=ignore) for EAs | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index dea986c401b60..5bd5c511eb1ad 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -556,6 +556,7 @@ Numeric
Conversion
^^^^^^^^^^
- Bug in :meth:`DataFrame.astype` when called with ``str`` on unpickled ar... | - [ ] closes #55399 (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/56350 | 2023-12-06T00:32:08Z | 2023-12-06T01:42:29Z | 2023-12-06T01:42:29Z | 2023-12-06T01:42:32Z |
Backport PR #56294: BUG: Series(strings, dtype=ArrowDtype[timestamp]) raising | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 3caeef3d26ead..362ee81bbdc09 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -22,6 +22,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :class:`Series` constructor raising DeprecationWarning when... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/56349 | 2023-12-05T23:46:26Z | 2023-12-06T00:51:53Z | 2023-12-06T00:51:53Z | 2023-12-06T00:51:56Z |
Backport PR #56332: BUG: str.split for ArrowDtype with pat=None | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 3caeef3d26ead..5cd07030dfaae 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -25,10 +25,11 @@ Bug fixes
- Bug in :meth:`DataFrame.apply` where passing ``raw=True`` ignored ``args`` passed to the appli... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/56348 | 2023-12-05T23:40:56Z | 2023-12-06T00:46:48Z | 2023-12-06T00:46:48Z | 2023-12-06T00:46:51Z |
ENH: Implement Series.interpolate for ArrowDtype | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index 32044d1fc233a..89e916153ffa8 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -2086,6 +2086,23 @@ def interpolate(
See NDFrame.interpolate.__doc__.
"""
# NB: we re... | - [x] closes #56267 (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/56347 | 2023-12-05T23:33:10Z | 2024-02-08T16:47:01Z | 2024-02-08T16:47:00Z | 2024-02-08T16:47:04Z |
PERF: join on unordered CategoricalIndex | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index b092cf6f81ef2..cdfe973a667e6 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -479,6 +479,7 @@ Performance improvements
- Performance improvement in :func:`merge_asof` when ``by`` is not ``None`` (:iss... | - [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/56345 | 2023-12-05T22:34:16Z | 2023-12-06T01:00:42Z | 2023-12-06T01:00:42Z | 2023-12-06T01:01:39Z |
TST/CLN: Remove seldomly use items in _testing/__init__.py | diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py
index 0036c3ab25bf1..69b2b0876fc80 100644
--- a/pandas/_testing/__init__.py
+++ b/pandas/_testing/__init__.py
@@ -3,7 +3,6 @@
from decimal import Decimal
import operator
import os
-import re
from sys import byteorder
from typing import (
T... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/56344 | 2023-12-05T21:00:43Z | 2023-12-06T01:42:46Z | 2023-12-06T01:42:46Z | 2023-12-06T01:42:49Z |
DOC: add simple example to DataFrame.to_csv() | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index e6dcb634f7947..a1617934ccb29 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3950,14 +3950,17 @@ def to_csv(
Examples
--------
+ Create 'out.csv' containing 'df' without indices
+
>>> df = pd.Data... | - [x] This closes #56256. Adding a simple example without compression should improve usability for new users.
| https://api.github.com/repos/pandas-dev/pandas/pulls/56342 | 2023-12-05T10:07:39Z | 2023-12-05T21:57:20Z | 2023-12-05T21:57:20Z | 2023-12-08T09:36:10Z |
TST: Improved test coverage for Styler.bar error conditions | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 39d5b45862a8f..7d5c354aef002 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -4082,8 +4082,9 @@ def css_calc(x, left: float, right: float, align: str, color: str | list | tuple
return ret
values = ... | - [x] closes #56283
- Added two new unit tests `test_bar_color_and_cmap_error_raises()` and `test_bar_invalid_color_type_error_raises()` to improve the coverage of `Styler.bar` where the issue mentioned, ensuring the method raises the appropriate `ValueError`.
- Implemented a solution using `df.min/max` before `... | https://api.github.com/repos/pandas-dev/pandas/pulls/56341 | 2023-12-05T09:50:29Z | 2023-12-11T19:06:17Z | 2023-12-11T19:06:17Z | 2023-12-11T19:06:25Z |
TST: Remove groupby/test_function.py | diff --git a/pandas/tests/groupby/methods/test_nth.py b/pandas/tests/groupby/methods/test_nth.py
index e39cfd520ba1a..a8ed9e9d52021 100644
--- a/pandas/tests/groupby/methods/test_nth.py
+++ b/pandas/tests/groupby/methods/test_nth.py
@@ -898,3 +898,24 @@ def test_nth_after_selection(selection, dropna):
locs = [... | - [ ] 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/56338 | 2023-12-05T02:45:02Z | 2023-12-05T17:48:35Z | 2023-12-05T17:48:35Z | 2023-12-05T21:28:02Z |
DOC: add missing parameters to DateOffset classes: Milli, Micro and Nano | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 47e507a0150e2..3ea8fbf69b28b 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -1194,6 +1194,36 @@ cdef class Second(Tick):
cdef class Milli(Tick):
+ """
+ Offset ``n`` milliseconds.
+
+ ... | - [ ] towards DOC:#52431
Updated documentation by
1. adding missing parameters for offsets classes: Milli, Micro, Nano.
2. adding parameter description for offset classes: SemiMonthEnd, SemiMonthBegin
| https://api.github.com/repos/pandas-dev/pandas/pulls/56336 | 2023-12-05T01:49:36Z | 2023-12-06T00:50:05Z | 2023-12-06T00:50:05Z | 2023-12-06T00:50:13Z |
Backport PR #56308 on branch 2.1.x (REGR: Fix reading old pickles from pandas 1.3.5) | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 5c4db5b60b433..3caeef3d26ead 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed regression when tryin... | Backport PR #56308: REGR: Fix reading old pickles from pandas 1.3.5 | https://api.github.com/repos/pandas-dev/pandas/pulls/56335 | 2023-12-05T00:22:42Z | 2023-12-05T02:44:09Z | 2023-12-05T02:44:09Z | 2023-12-05T02:44:09Z |
ENH: Implement str.extract for ArrowDtype | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 318f746917fcd..7192cb9aef195 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -226,6 +226,7 @@ Other enhancements
- Allow passing ``read_only``, ``data_only`` and ``keep_links`` arguments to openpyxl u... | - [x] closes #56268 (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/56334 | 2023-12-05T00:19:39Z | 2023-12-05T23:24:43Z | 2023-12-05T23:24:43Z | 2023-12-05T23:36:04Z |
Backport PR #56174: CI: Add 3.12 builds | diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 14abcdbfdb310..b472587d8b58f 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -26,7 +26,7 @@ jobs:
timeout-minutes: 180
strategy:
matrix:
- env_file: [actions-39.yaml, ac... | - [ ] 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/56333 | 2023-12-04T23:29:49Z | 2023-12-07T13:00:55Z | 2023-12-07T13:00:55Z | 2023-12-07T20:32:15Z |
BUG: str.split for ArrowDtype with pat=None | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 4ef6a2463ee16..927c0ee4f532d 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -24,11 +24,12 @@ Bug fixes
- Bug in :class:`Series` constructor raising DeprecationWarning when ``index`` is a list of :cla... | - [x] closes #56271 (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/56332 | 2023-12-04T23:26:26Z | 2023-12-05T23:22:46Z | 2023-12-05T23:22:46Z | 2023-12-05T23:41:30Z |
TST/ CLN: Remove makeCustomIndex/DataFrame | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 21e07e8d00ad6..863a663fc2413 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -1490,9 +1490,9 @@ rows will skip the intervening rows.
.. ipython:: python
- from pandas._testing import makeCustomDataframe... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/56331 | 2023-12-04T22:35:46Z | 2023-12-05T17:50:19Z | 2023-12-05T17:50:19Z | 2023-12-05T17:50:22Z |
Address violation fix | diff --git a/pandas/core/methods/selectn.py b/pandas/core/methods/selectn.py
index 843c54de25bc9..a2f8ca94134b8 100644
--- a/pandas/core/methods/selectn.py
+++ b/pandas/core/methods/selectn.py
@@ -140,7 +140,10 @@ def compute(self, method: str) -> Series:
# arr passed into kth_smallest must be contiguous. We c... | Follow up to https://github.com/pandas-dev/pandas/pull/56000 looks like this still is an address violation when the array is empty, since `arr[0]` on an empty array is out of bounds | https://api.github.com/repos/pandas-dev/pandas/pulls/56328 | 2023-12-04T21:39:10Z | 2023-12-05T00:23:41Z | 2023-12-05T00:23:41Z | 2023-12-05T00:35:11Z |
Compiled pandas with -Wextra | diff --git a/meson.build b/meson.build
index 0bc04c59d8716..06623a305ab54 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,8 @@ project(
meson_version: '>=1.2.1',
default_options: [
'buildtype=release',
- 'c_std=c11'
+ 'c_std=c11',
+ 'warning_level=2',
]
)
diff --git... | Need to merge in https://github.com/pandas-dev/pandas/pull/56277 first then make sure this doesn't cause issues on other platforms, but seems to work for gcc | https://api.github.com/repos/pandas-dev/pandas/pulls/56327 | 2023-12-04T19:18:39Z | 2023-12-09T01:17:48Z | 2023-12-09T01:17:48Z | 2023-12-09T01:17:56Z |
Backport PR #56320 on branch 2.1.x (DOC: Move whatsnew) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 38416afc1c94c..a13a273b01257 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -38,7 +38,6 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :class:`.DataFrameGroupBy` reductions not preserving ... | Backport PR #56320: DOC: Move whatsnew | https://api.github.com/repos/pandas-dev/pandas/pulls/56326 | 2023-12-04T18:38:43Z | 2023-12-04T19:39:10Z | 2023-12-04T19:39:10Z | 2023-12-04T19:39:10Z |
BUG: avoid DeprecationWarning when the Series has index as list of Series (#55395) | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 3a72c0864d29c..890c4f6c09e45 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -21,6 +21,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Bug in :class:`Series` constructor raising DeprecationWarning wh... | (cherry picked from commit 171cbcd3a6e79a5b845f39d2304d664bec10b9db)
| https://api.github.com/repos/pandas-dev/pandas/pulls/56325 | 2023-12-04T18:32:32Z | 2023-12-04T19:42:41Z | 2023-12-04T19:42:41Z | 2023-12-04T19:42:46Z |
[pre-commit.ci] pre-commit autoupdate | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 70f919f2dc070..52463a462b785 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -20,11 +20,11 @@ ci:
repos:
- repo: https://github.com/hauntsaninja/black-pre-commit-mirror
# black compiled with mypyc
- rev: 23.10.1
+ ... | <!--pre-commit.ci start-->
updates:
- [github.com/hauntsaninja/black-pre-commit-mirror: 23.10.1 → 23.11.0](https://github.com/hauntsaninja/black-pre-commit-mirror/compare/23.10.1...23.11.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.1.6)
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/56324 | 2023-12-04T16:29:25Z | 2023-12-04T19:55:26Z | 2023-12-04T19:55:26Z | 2023-12-04T19:55:36Z |
BUG: Fixed bug when creating new column with missing values when setting a single string value | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 8c475791df64d..80d86805ded49 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -618,6 +618,7 @@ Indexing
- Bug in :meth:`DataFrame.loc` when setting :class:`Series` with extension dtype into NumPy dtype... | - [ ] closes #56204 (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/56321 | 2023-12-04T15:15:15Z | 2023-12-20T21:04:37Z | 2023-12-20T21:04:37Z | 2023-12-20T21:04:37Z |
DOC: Move whatsnew | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 38416afc1c94c..a13a273b01257 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -38,7 +38,6 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :class:`.DataFrameGroupBy` reductions not preserving ... | - [ ] 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/56320 | 2023-12-04T15:01:47Z | 2023-12-04T18:37:36Z | 2023-12-04T18:37:36Z | 2023-12-04T18:37:44Z |
DOC: more explicit note about upcoming CoW changes in copy() method docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index ace6323e84c77..db993714b4c80 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -6681,6 +6681,21 @@ def copy(self, deep: bool_t | None = True) -> Self:
and index are copied). Any changes to the data of the original
wil... | We already have a note about it in the "notes" section more down in the docstring; but given that the summary at the top already explains the current behaviour of shallow copies, I added a more explicit note at that place already. | https://api.github.com/repos/pandas-dev/pandas/pulls/56316 | 2023-12-04T11:02:51Z | 2023-12-04T12:25:58Z | 2023-12-04T12:25:58Z | 2023-12-04T12:26:01Z |
BUG / CoW: ensure ser[...] (indexing with Ellipsis) returns new object | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 6da0351766c91..fad654bbd8a68 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1065,6 +1065,8 @@ def __getitem__(self, key):
key = com.apply_if_callable(key, self)
if key is Ellipsis:
+ if using_copy_on_writ... | Small corner cases that I noticed where we are still unconditionally returning `self` instead of a shallow copy. | https://api.github.com/repos/pandas-dev/pandas/pulls/56314 | 2023-12-04T09:38:59Z | 2023-12-04T12:42:39Z | 2023-12-04T12:42:39Z | 2023-12-04T12:59:38Z |
Backport PR #56114: CLN: Get rid of PyArray_GetCastFunc | diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c
index 1fa82215179a8..912b0405d0800 100644
--- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c
+++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c
@@ -1306,14 +1306,7 @@ char **NpyArr_encodeLabe... | - [ ] 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/56313 | 2023-12-04T04:39:33Z | 2023-12-04T12:46:40Z | 2023-12-04T12:46:40Z | 2023-12-04T12:46:42Z |
DOC: Add whatsnew for concat regression | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 129f5cedb86c2..649ad37a56b35 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -761,6 +761,7 @@ Datetimelike
- Bug in parsing datetime strings with nanosecond resolution with non-ISO8601 formats incorre... | - [ ] xref #53641 (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/56312 | 2023-12-04T04:18:03Z | 2023-12-30T15:33:00Z | 2023-12-30T15:33:00Z | 2023-12-30T15:33:10Z |
REGR: Fix reading old pickles from pandas 1.3.5 | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 4ef6a2463ee16..a878185282c08 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -13,7 +13,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
+- Fixed regression when tryin... | - [ ] closes #55137 (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/56308 | 2023-12-03T18:29:34Z | 2023-12-05T00:22:33Z | 2023-12-05T00:22:33Z | 2023-12-05T00:40:41Z |
DOC: Tidy docstring | diff --git a/pandas/core/base.py b/pandas/core/base.py
index d4421560bcea7..9c722bad019a4 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -108,7 +108,7 @@ class PandasObject(DirNamesMixin):
@property
def _constructor(self):
"""
- Class constructor (for this class it's just `__cla... | - [ ] 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
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/56307 | 2023-12-03T17:32:35Z | 2023-12-04T18:55:46Z | 2023-12-04T18:55:46Z | 2023-12-04T18:55:54Z |
DOC: Adjust whatsnew | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index ade87c4215a38..0726bbf091966 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -110,7 +110,7 @@ documentation.
ExtensionArray.to_numpy converts to suitable NumPy dtype
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... | Cleaned up some whatsnews and put the down casting change into a separate section, that's potentially noisy so it should be easy to find | https://api.github.com/repos/pandas-dev/pandas/pulls/56300 | 2023-12-02T19:09:02Z | 2023-12-05T00:24:26Z | 2023-12-05T00:24:25Z | 2023-12-05T08:37:26Z |
DOC: Start migration guide for Copy-on-Write | diff --git a/doc/source/user_guide/copy_on_write.rst b/doc/source/user_guide/copy_on_write.rst
index fb0da70a0ea07..bc233f4323e2a 100644
--- a/doc/source/user_guide/copy_on_write.rst
+++ b/doc/source/user_guide/copy_on_write.rst
@@ -16,7 +16,7 @@ Copy-on-Write was first introduced in version 1.5.0. Starting from versio... | - [ ] 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/56298 | 2023-12-02T18:44:23Z | 2023-12-14T22:54:40Z | 2023-12-14T22:54:40Z | 2023-12-14T22:54:43Z |
CoW: Warn for inplace replace | diff --git a/pandas/core/internals/base.py b/pandas/core/internals/base.py
index b03b98d89ccd5..33f5b9feb1387 100644
--- a/pandas/core/internals/base.py
+++ b/pandas/core/internals/base.py
@@ -252,12 +252,16 @@ def replace(self, to_replace, value, inplace: bool) -> Self:
value=value,
inplace=i... | sits on the put mask pr https://github.com/pandas-dev/pandas/pull/56168/
xref https://github.com/pandas-dev/pandas/issues/56019
| https://api.github.com/repos/pandas-dev/pandas/pulls/56297 | 2023-12-02T17:39:00Z | 2023-12-08T11:01:45Z | 2023-12-08T11:01:45Z | 2023-12-08T11:30:53Z |
Assort IWYU Cleanups | diff --git a/pandas/_libs/include/pandas/parser/tokenizer.h b/pandas/_libs/include/pandas/parser/tokenizer.h
index aa79e55a72beb..209f375a5bf6c 100644
--- a/pandas/_libs/include/pandas/parser/tokenizer.h
+++ b/pandas/_libs/include/pandas/parser/tokenizer.h
@@ -18,11 +18,8 @@ See LICENSE for the license
#define ERROR_O... | include-what-you-use is a relatively common tool for cleaning up includes. it helps to localize includes and identify unnecessary ones
It has a few rough edges that don't make it 100% compatible with our code base, so I'm not sure we can do this in CI. But here were a few cleanups I manually gleaned from the IWYU ou... | https://api.github.com/repos/pandas-dev/pandas/pulls/56295 | 2023-12-02T01:09:03Z | 2023-12-04T19:01:34Z | 2023-12-04T19:01:34Z | 2023-12-04T19:17:16Z |
BUG: Series(strings, dtype=ArrowDtype[timestamp]) raising | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 9e3eb90436642..a18f4c60a1980 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -22,6 +22,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :class:`Series` constructor raising DeprecationWarning when... | - [x] closes #56266 (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/56294 | 2023-12-02T00:47:55Z | 2023-12-05T23:29:12Z | 2023-12-05T23:29:12Z | 2023-12-06T00:54:21Z |
CLN/TST: Remove makeTimeSeries | diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py
index 676757d8e095f..c5d338605b2ab 100644
--- a/pandas/_testing/__init__.py
+++ b/pandas/_testing/__init__.py
@@ -101,14 +101,11 @@
if TYPE_CHECKING:
from pandas._typing import (
Dtype,
- Frequency,
NpDtype,
)
... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/56293 | 2023-12-02T00:13:27Z | 2023-12-02T02:09:26Z | 2023-12-02T02:09:26Z | 2023-12-02T02:09:29Z |
ENH: Make get_dummies return ea booleans for ea inputs | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 919ac8b03f936..2e82387d64d7b 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -218,6 +218,7 @@ Other enhancements
- :meth:`~DataFrame.to_sql` with method parameter set to ``multi`` works with Oracle ... | - [ ] closes #56273 (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/56291 | 2023-12-02T00:04:52Z | 2023-12-10T19:11:14Z | 2023-12-10T19:11:14Z | 2023-12-10T19:40:52Z |
Convert ArrowExtensionArray to proper NumPy dtype | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 84a1c2f0077bd..d8eee7f9430cc 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -111,7 +111,7 @@ documentation.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
``to_nu... | - [ ] closes #56285 (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/56290 | 2023-12-01T23:32:02Z | 2023-12-21T22:15:50Z | 2023-12-21T22:15:50Z | 2023-12-21T22:15:53Z |
CoW: Add warnings for interpolate | diff --git a/pandas/core/internals/base.py b/pandas/core/internals/base.py
index 0fd91b163aba9..b03b98d89ccd5 100644
--- a/pandas/core/internals/base.py
+++ b/pandas/core/internals/base.py
@@ -284,7 +284,11 @@ def replace_list(
def interpolate(self, inplace: bool, **kwargs) -> Self:
return self.apply_wi... | sits on the put mask pr https://github.com/pandas-dev/pandas/pull/56168/
xref https://github.com/pandas-dev/pandas/issues/56019 | https://api.github.com/repos/pandas-dev/pandas/pulls/56289 | 2023-12-01T23:01:36Z | 2023-12-08T09:39:35Z | 2023-12-08T09:39:35Z | 2023-12-08T09:40:31Z |
CoW: Add warning for fillna | diff --git a/pandas/core/internals/base.py b/pandas/core/internals/base.py
index 664856b828347..0fd91b163aba9 100644
--- a/pandas/core/internals/base.py
+++ b/pandas/core/internals/base.py
@@ -190,6 +190,7 @@ def fillna(self, value, limit: int | None, inplace: bool, downcast) -> Self:
inplace=inplace,
... | sits on the put mask pr https://github.com/pandas-dev/pandas/pull/56168/
xref https://github.com/pandas-dev/pandas/issues/56019 | https://api.github.com/repos/pandas-dev/pandas/pulls/56288 | 2023-12-01T21:59:19Z | 2023-12-05T09:56:37Z | 2023-12-05T09:56:37Z | 2023-12-05T11:26:06Z |
DOC: Explicit how 'cond' is updated on 'where' | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index ced930b936ba5..98b14d045d491 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -10735,8 +10735,8 @@ def where(
element in the calling DataFrame, if ``cond`` is ``{cond}`` the
element is used; otherwise the correspondi... | This PR updates the section notes on `DataFrame.where(cond, other=nan, *, inplace=False, axis=None, level=None)` docstring.
Currently pandas isn't explicit on who is being updated when `cond` is misaligned with `other`. Just made that explicit to avoid confusion. | https://api.github.com/repos/pandas-dev/pandas/pulls/56286 | 2023-12-01T19:28:48Z | 2024-01-02T14:42:16Z | 2024-01-02T14:42:16Z | 2024-03-05T11:55:30Z |
Allow c files in src/include for gitignore | diff --git a/.gitignore b/.gitignore
index 051a3ec11b794..a188e216d9f70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,6 +39,7 @@
.mesonpy-native-file.ini
MANIFEST
compile_commands.json
+debug
.debug
# Python files #
@@ -104,10 +105,11 @@ scikits
# Generated Sources #
#####################
!skts.c
-!np_datet... | Projectile in emacs uses .gitignore to consider certain files are part of the project, so any of our extensions in the src/include subfolders were being excluded by our blanket rules on generated .c/.h files
I would imagine this has benefits for VSCode and other editors as well in terms of file discoverability and s... | https://api.github.com/repos/pandas-dev/pandas/pulls/56284 | 2023-12-01T16:47:23Z | 2023-12-04T19:10:59Z | 2023-12-04T19:10:59Z | 2023-12-04T19:17:37Z |
BUG: Fix `Timestamp('now')` and `Timestamp.now` unit inconsistency | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 723c33280a679..4f96bf967ad99 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -23,6 +23,7 @@ Bug fixes
~~~~~~~~~
- Bug in :class:`Series` constructor raising DeprecationWarning when ``index`` is a lis... | This fix make `Timestamp('now')` and `Timestamp('today')` return a Timestamp with unit 'us', the same as `Timestamp.now()` and `Timestamp.today()`.
- [x] closes #55879(Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebas... | https://api.github.com/repos/pandas-dev/pandas/pulls/56281 | 2023-12-01T15:35:58Z | 2023-12-07T18:04:13Z | 2023-12-07T18:04:13Z | 2023-12-08T03:02:25Z |
DEP: update python-calamine to 0.1.7 | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 7d08f2df5a8ca..4b62ecc79e4ef 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -46,7 +46,7 @@ dependencies:
- pyqt>=5.15.9
- pyreadstat>=1.2.0
- pytables>=3.8.0
- - python-calamine>=0.1.6
+ - python-calamine>=0.1.7
... | - [ ] 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
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/56280 | 2023-12-01T11:43:45Z | 2023-12-01T18:21:46Z | 2023-12-01T18:21:46Z | 2023-12-01T18:35:20Z |
Add Werror to CI | diff --git a/.circleci/setup_env.sh b/.circleci/setup_env.sh
index 4f81acb6d2099..eef4db1191a9a 100755
--- a/.circleci/setup_env.sh
+++ b/.circleci/setup_env.sh
@@ -55,6 +55,6 @@ if pip show pandas 1>/dev/null; then
fi
echo "Install pandas"
-python -m pip install --no-build-isolation -ve .
+python -m pip install --... | - [X] closes #55982 | https://api.github.com/repos/pandas-dev/pandas/pulls/56277 | 2023-12-01T04:59:14Z | 2023-12-06T00:53:42Z | 2023-12-06T00:53:42Z | 2023-12-10T03:15:04Z |
TST: Verify that float columns stay float after pivot (#7142) | diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py
index fc5a2eb468d4f..9881ab72f3ef5 100644
--- a/pandas/tests/reshape/test_pivot.py
+++ b/pandas/tests/reshape/test_pivot.py
@@ -167,6 +167,24 @@ def test_pivot_dtypes(self):
expected = Series(dict(float64=2))
tm.asser... | Just a test to confirm that #7142 stays fixed. Seems to have been solved in 0.19.2. | https://api.github.com/repos/pandas-dev/pandas/pulls/16815 | 2017-07-03T05:21:56Z | 2017-07-06T22:42:11Z | 2017-07-06T22:42:11Z | 2017-07-06T23:32:56Z |
fix BUG: ValueError when performing rolling covariance on multi indexed DataFrame | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index b2d382a3202a5..c4768f980bc6a 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -39,7 +39,7 @@ Bug Fixes
- Fixed issue with dataframe scatter plot for categorical data that reports incorrect column k... | - [x] tests added / passed
Proposed fix for #16789. Using class properties (with implemented setter/getter) rather than field variables. | https://api.github.com/repos/pandas-dev/pandas/pulls/16814 | 2017-07-02T12:19:12Z | 2017-07-03T17:23:45Z | 2017-07-03T17:23:45Z | 2017-07-07T13:10:42Z |
TST: Verify that positional shifting works with duplicate columns (#9… | diff --git a/pandas/tests/frame/test_timeseries.py b/pandas/tests/frame/test_timeseries.py
index 143a7ea8f6fb2..aaca8a60fe062 100644
--- a/pandas/tests/frame/test_timeseries.py
+++ b/pandas/tests/frame/test_timeseries.py
@@ -266,6 +266,28 @@ def test_shift_empty(self):
assert_frame_equal(df, rs)
+ def t... | Add a test to confirm that closes #9092 is solved (seems to work >= 0.18.0.) | https://api.github.com/repos/pandas-dev/pandas/pulls/16810 | 2017-07-01T01:12:13Z | 2017-07-02T17:38:59Z | 2017-07-02T17:38:59Z | 2017-07-02T17:39:02Z |
TST: Verify columns entirely below chop_threshold still print (#6839) | diff --git a/pandas/tests/io/formats/test_format.py b/pandas/tests/io/formats/test_format.py
index 4431108a55963..679d43ac492ca 100644
--- a/pandas/tests/io/formats/test_format.py
+++ b/pandas/tests/io/formats/test_format.py
@@ -209,6 +209,33 @@ def test_repr_chop_threshold(self):
with option_context("display.... | Just adds a confirming test for closes #6839. No need for whatsnew update. | https://api.github.com/repos/pandas-dev/pandas/pulls/16809 | 2017-07-01T00:34:52Z | 2017-07-01T06:54:06Z | 2017-07-01T06:54:06Z | 2017-07-01T06:54:09Z |
CI: use dist/trusty rather than os/linux | diff --git a/.travis.yml b/.travis.yml
index 5dc4256a268ad..897d31cf23a3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,44 +35,44 @@ matrix:
language: generic
env:
- JOB="3.5_OSX" TEST_ARGS="--skip-slow --skip-network"
- - os: linux
+ - dist: trusty
env:
- JOB="2.7_LOCAL... | closes #16730
| https://api.github.com/repos/pandas-dev/pandas/pulls/16806 | 2017-06-30T20:16:55Z | 2017-06-30T21:29:45Z | 2017-06-30T21:29:45Z | 2017-07-07T13:10:42Z |
BUG: render dataframe as html do not produce duplicate element id's (#16780) | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 17195715d0f95..6b806fd411d03 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -37,6 +37,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
- Fixed issue with dataframe scatter plot for categorical... | closes #16780
tests added / passed
passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16801 | 2017-06-29T22:15:44Z | 2017-07-03T12:39:56Z | 2017-07-03T12:39:56Z | 2017-07-07T13:10:42Z |
TST: register slow marker | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index c730142450ea6..17195715d0f95 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -37,7 +37,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
- Fixed issue with dataframe scatter plot for categorical... | Closes https://github.com/pandas-dev/pandas/issues/16680 | https://api.github.com/repos/pandas-dev/pandas/pulls/16797 | 2017-06-29T14:56:55Z | 2017-06-30T16:53:12Z | 2017-06-30T16:53:12Z | 2017-12-20T16:10:31Z |
DOC: Updated cookbook to show usage of Grouper instead of TimeGrouper… | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index 62aa487069132..32e7a616fe856 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -776,11 +776,17 @@ Resampling
The :ref:`Resample <timeseries.resampling>` docs.
-`TimeGrouping of values grouped across time
-<http://stackoverflow... | Added links to show usage of Grouper and removed SO links to TimeGrouper- #16747
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16794 | 2017-06-29T04:44:36Z | 2017-07-07T10:18:13Z | 2017-07-07T10:18:13Z | 2017-07-07T10:31:34Z |
BUG: Fix read of py3 PeriodIndex DataFrame HDF made in py2 (#16781) | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 0fac6367fd3a5..ebbdecb7dc0d0 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -38,6 +38,7 @@ Bug Fixes
~~~~~~~~~
- Fixed issue with dataframe scatter plot for categorical data that reports incorre... | …16781)
Reading a DataFrame with a PeriodIndex from an HDF file created in
Python2 in Python3 would incorrectly make the index an In64Index.
- closes #16781 | https://api.github.com/repos/pandas-dev/pandas/pulls/16790 | 2017-06-28T15:49:54Z | 2017-06-30T20:05:55Z | 2017-06-30T20:05:55Z | 2017-07-07T13:10:42Z |
Bug in pd.merge() when merge/join with multiple categorical columns | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index f8916f5464276..0fac6367fd3a5 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -55,8 +55,8 @@ Indexing
I/O
^^^
-- Bug in :func:`read_csv`` in which files weren't opened as binary files by the C e... | closes #16767 | https://api.github.com/repos/pandas-dev/pandas/pulls/16786 | 2017-06-28T11:04:20Z | 2017-06-30T19:49:13Z | 2017-06-30T19:49:13Z | 2017-07-07T13:10:42Z |
DOC: remove section on Panel4D support in HDF io | diff --git a/doc/source/io.rst b/doc/source/io.rst
index e7c1cc13d103d..2adbd59d492c0 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4459,34 +4459,6 @@ Performance
`Here <http://stackoverflow.com/questions/14355151/how-to-make-pandas-hdfstore-put-operation-faster/14370190#14370190>`__
for more informa... | Since this is deprecated, I don't think we need to advertise this in the latest docs (it is always available in older docs) | https://api.github.com/repos/pandas-dev/pandas/pulls/16783 | 2017-06-27T19:46:54Z | 2017-06-28T05:09:04Z | 2017-06-28T05:09:04Z | 2017-07-07T13:10:42Z |
BUG: allow empty multiindex (fixes .isin regression, GH16777) | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 77b3e3bd25740..3d6aba98d4d57 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -55,6 +55,7 @@ Indexing
^^^^^^^^
- Bug in ``Float64Index`` causing an empty array instead of ``None`` to be returned... | - [X] closes issue #16777
- [X] tests added / passed
- [X] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16782 | 2017-06-27T17:23:08Z | 2017-07-07T10:25:37Z | 2017-07-07T10:25:37Z | 2017-07-07T13:10:42Z |
DOC: some rst fixes | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index 865f1ccae2c04..61f43146aba85 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -1200,14 +1200,14 @@ Regroup columns of a DataFrame according to their sum, and sum the aggregated on
df
df.groupby(df.sum(), axis=1).sum()
-.. _g... | Fixes most of the sphinx warnings currently in the build log | https://api.github.com/repos/pandas-dev/pandas/pulls/16763 | 2017-06-23T11:12:58Z | 2017-06-23T20:59:30Z | 2017-06-23T20:59:30Z | 2017-06-23T20:59:30Z |
MAINT: Drop pd.options.display.mpl_style | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 74763dbc1c71a..de2516d75040b 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -75,6 +75,7 @@ Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :func:`... | Deprecated in 0.18.0
xref #12190
(another nice short deprecation! 😄 )
| https://api.github.com/repos/pandas-dev/pandas/pulls/16761 | 2017-06-23T04:56:59Z | 2017-06-27T15:23:45Z | 2017-06-27T15:23:45Z | 2017-06-27T15:48:09Z |
MAINT: Drop Index.sym_diff | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 9d330cf3fdf2d..74763dbc1c71a 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -75,6 +75,7 @@ Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :func:`... | Deprecated in 0.18.1
xref #12591, #12594
(a nice deprecation removal unlike `pd.eval` :smile:)
| https://api.github.com/repos/pandas-dev/pandas/pulls/16760 | 2017-06-23T04:42:15Z | 2017-06-27T15:22:10Z | 2017-06-27T15:22:10Z | 2017-06-27T15:44:22Z |
DOC: add section on data validation and library engarde | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 31849fc142aea..2348a3d10c54f 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -239,3 +239,14 @@ pandas own ``read_csv`` for CSV IO and leverages many existing packages such as
PyTables, h5py, and pymongo to move data between ... | - [x ] Improve docs
In section ``Pandas ecosystem``, added a section on data validation with pandas. | https://api.github.com/repos/pandas-dev/pandas/pulls/16758 | 2017-06-22T21:54:23Z | 2017-06-28T05:29:19Z | 2017-06-28T05:29:19Z | 2017-06-28T05:29:22Z |
FIX: Allow aggregate to return dictionaries again #16741 | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 9d330cf3fdf2d..36b1cb7b6d5c5 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -90,6 +90,8 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Fixes regression in 0.20, :func:`Series.aggregate` an... | Fixes a regression from 0.19 to 0.20. The function passed to `aggregate` is allowed again to return dictionaries.
- [X] closes #16741
- [X] tests added / passed, added `test_cython_agg_return_dict`
- [X] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16752 | 2017-06-22T18:07:55Z | 2017-06-30T20:25:15Z | 2017-06-30T20:25:15Z | 2017-06-30T20:25:19Z |
PKG: Added pyproject.toml for PEP 518 | diff --git a/MANIFEST.in b/MANIFEST.in
index 8bd83a7d56948..1a6b831c1b975 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -3,6 +3,7 @@ include LICENSE
include RELEASE.md
include README.rst
include setup.py
+include pyproject.toml
graft doc
prune doc/build
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/w... | Declaring build-time requirements: https://www.python.org/dev/peps/pep-0518/ | https://api.github.com/repos/pandas-dev/pandas/pulls/16745 | 2017-06-21T13:09:12Z | 2017-08-30T10:50:04Z | 2017-08-30T10:50:04Z | 2017-08-30T10:50:13Z |
Test for #16726. unittest that ensures datetime is understood | diff --git a/pandas/tests/series/test_datetime_values.py b/pandas/tests/series/test_datetime_values.py
index e1fc9af0cca89..e810eadd2dee9 100644
--- a/pandas/tests/series/test_datetime_values.py
+++ b/pandas/tests/series/test_datetime_values.py
@@ -409,3 +409,13 @@ def test_date_tz(self):
da... | - [x] closes #16726
- [x] test added
| https://api.github.com/repos/pandas-dev/pandas/pulls/16744 | 2017-06-21T11:24:41Z | 2017-06-23T13:49:49Z | 2017-06-23T13:49:49Z | 2017-06-23T13:50:00Z |
whatsnew v0.20.3 edits | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 265f0c8d0cf59..c730142450ea6 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -50,13 +50,13 @@ Conversion
Indexing
^^^^^^^^
-- Bug in ``Float64Index`` causing an empty array instead of None to b... | https://api.github.com/repos/pandas-dev/pandas/pulls/16743 | 2017-06-21T10:40:50Z | 2017-06-21T10:40:57Z | 2017-06-21T10:40:57Z | 2017-07-07T13:10:42Z | |
whatsnew v0.21.0.txt typos | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 45c92717b60f0..2daa03e6e97b1 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -22,8 +22,8 @@ New features
- Support for `PEP 519 -- Adding a file system path protocol
<https://www.python.org/d... | https://api.github.com/repos/pandas-dev/pandas/pulls/16742 | 2017-06-21T10:38:03Z | 2017-06-21T10:38:10Z | 2017-06-21T10:38:09Z | 2017-06-21T10:38:10Z | |
BUG: Load data from a CategoricalIndex for dtype comparison, closes #… | diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 9281c51059087..959858fb50f89 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,4 +1,4 @@
- [ ] closes #xxxx
- [ ] tests added / passed
- - [ ] passes ``git diff upstream/master --name-only... | Hello,
This is an attempt to solve #16627. I admit I'm relatively new to the pandas development process, so there is likely a better way than this (should I enable the `is_dtype_equal` method on a `CategoricalIndex`?)...
But here's one way to do it.
- [X] closes #16627
- [X] tests added / passed
- [X] pa... | https://api.github.com/repos/pandas-dev/pandas/pulls/16738 | 2017-06-20T21:42:45Z | 2017-06-30T18:50:52Z | 2017-06-30T18:50:52Z | 2017-07-14T15:26:11Z |
Typo? | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 340eb9aa053aa..e7c1cc13d103d 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -3407,7 +3407,7 @@ Fixed Format
This was prior to 0.13.0 the ``Storer`` format.
The examples above show storing using ``put``, which write the HDF5 to ``PyTables`` in a ... | https://api.github.com/repos/pandas-dev/pandas/pulls/16733 | 2017-06-20T06:24:04Z | 2017-06-20T07:12:12Z | 2017-06-20T07:12:12Z | 2017-06-20T07:12:32Z | |
BUG/MAINT: Change default of inplace to False in pd.eval | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index ce0d40d327c15..0338b25c4d329 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -45,6 +45,52 @@ Other Enhancements
Backwards incompatible API changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Improved e... | Deprecated back in 0.18.0.
xref #11149.
Also patches bug where we were improperly handling the `inplace=False` condition, as we were assuming that target input was non-None when that wasn't necessarily enforced.
| https://api.github.com/repos/pandas-dev/pandas/pulls/16732 | 2017-06-20T04:30:41Z | 2017-07-06T22:46:01Z | 2017-07-06T22:46:01Z | 2017-07-07T02:26:54Z |
Revert "CI: pin jemalloc=4.4.0 (#16727)" | diff --git a/ci/requirements-2.7.sh b/ci/requirements-2.7.sh
index 87daf740e059e..64d470e5c6e0e 100644
--- a/ci/requirements-2.7.sh
+++ b/ci/requirements-2.7.sh
@@ -4,4 +4,4 @@ source activate pandas
echo "install 27"
-conda install -n pandas -c conda-forge feather-format jemalloc=4.4.0
+conda install -n pandas -c... | This reverts commit 09d8c22d9f56f4a067880a28fbb1235bcf0a1e49.
closes #16729
| https://api.github.com/repos/pandas-dev/pandas/pulls/16731 | 2017-06-20T00:45:02Z | 2017-06-30T20:56:34Z | 2017-06-30T20:56:34Z | 2017-06-30T21:24:58Z |
MAINT: Drop Categorical.order & sort | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index d6b699abdba2d..45c92717b60f0 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -75,6 +75,7 @@ Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ``pd.re... | Deprecated back in 0.18.1
xref #12882.
| https://api.github.com/repos/pandas-dev/pandas/pulls/16728 | 2017-06-19T14:49:36Z | 2017-06-19T23:35:39Z | 2017-06-19T23:35:39Z | 2017-06-20T03:34:21Z |
CI: pin jemalloc=4.4.0 | diff --git a/ci/requirements-2.7.sh b/ci/requirements-2.7.sh
index 64d470e5c6e0e..87daf740e059e 100644
--- a/ci/requirements-2.7.sh
+++ b/ci/requirements-2.7.sh
@@ -4,4 +4,4 @@ source activate pandas
echo "install 27"
-conda install -n pandas -c conda-forge feather-format
+conda install -n pandas -c conda-forge fe... | xref https://issues.apache.org/jira/browse/ARROW-1127 | https://api.github.com/repos/pandas-dev/pandas/pulls/16727 | 2017-06-19T13:05:30Z | 2017-06-19T23:34:53Z | 2017-06-19T23:34:53Z | 2017-06-19T23:36:04Z |
BUG: Fix Series doesn't work in pd.astype(). Now treat Series as dict. | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index ebbdecb7dc0d0..8997d68c65615 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -46,7 +46,8 @@ Conversion
^^^^^^^^^^
- Bug in pickle compat prior to the v0.20.x series, when ``UTC`` is a timezone ... | - [x] closes #16717
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16725 | 2017-06-19T09:31:26Z | 2017-06-30T20:11:20Z | 2017-06-30T20:11:20Z | 2017-07-07T13:10:41Z |
BUG: fix to_latex bold_rows option | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 8997d68c65615..b2d382a3202a5 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -41,7 +41,6 @@ Bug Fixes
- Fixed compat with loading a ``DataFrame`` with a ``PeriodIndex``, from a ``format='fixed'`` ... | - [x] closes #16707
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16708 | 2017-06-15T18:48:35Z | 2017-06-30T20:34:12Z | 2017-06-30T20:34:11Z | 2017-07-07T13:10:41Z |
DOC: pin sphinx to version 1.5 | diff --git a/ci/requirements-3.6_DOC.run b/ci/requirements-3.6_DOC.run
index df8087f62ef16..f87760b507357 100644
--- a/ci/requirements-3.6_DOC.run
+++ b/ci/requirements-3.6_DOC.run
@@ -1,7 +1,7 @@
ipython
ipykernel
ipywidgets
-sphinx
+sphinx=1.5*
nbconvert
nbformat
notebook
| xref https://github.com/pandas-dev/pandas/pull/16702#issuecomment-308689543 | https://api.github.com/repos/pandas-dev/pandas/pulls/16704 | 2017-06-15T11:51:00Z | 2017-06-15T12:29:49Z | 2017-06-15T12:29:49Z | 2017-11-09T13:22:40Z |
DOC: fix wrongly placed versionadded | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index c57d7a9362490..4814e78ee6546 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -611,11 +611,12 @@ def str_extract(arr, pat, flags=0, expand=None):
flags : int, default 0 (no flags)
re module flags, e.g. re.IGNORECASE
- ... | Just came across a wrongly placed versionadded tag | https://api.github.com/repos/pandas-dev/pandas/pulls/16702 | 2017-06-15T07:47:14Z | 2017-06-15T10:13:15Z | 2017-06-15T10:13:14Z | 2017-11-09T13:21:49Z |
BUG: Fix regression for RGB(A) color arguments | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 249e05623a27f..acd19a8b8da10 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -59,7 +59,7 @@ I/O
Plotting
^^^^^^^^
-
+- Fix regression in series plotting that prevented RGB and RGBA tuples from ... | - [ ] closes #16695
- [x] test added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Fixes a regression in the plot API in which RGB and RGBA tuples in the `color` kwarg caused an error when passed to matplotlib. The root cause of this error is th... | https://api.github.com/repos/pandas-dev/pandas/pulls/16701 | 2017-06-15T06:33:34Z | 2017-06-16T12:46:19Z | 2017-06-16T12:46:19Z | 2017-07-07T13:10:41Z |
TST: Add test of building frame from named Series and columns (#9232) | diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py
index 8459900ea1059..97cf3ce8a7216 100644
--- a/pandas/tests/frame/test_constructors.py
+++ b/pandas/tests/frame/test_constructors.py
@@ -1108,6 +1108,22 @@ def test_constructor_Series_named(self):
expected = DataFra... | This test confirms that #9232 seems to work today, and so can be closed. | https://api.github.com/repos/pandas-dev/pandas/pulls/16700 | 2017-06-15T02:47:10Z | 2017-06-15T10:10:13Z | 2017-06-15T10:10:13Z | 2017-06-15T10:10:16Z |
DOC: add header=None to read_excel docstring | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index e3c9ae3f164cb..5db4603c37be0 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -77,7 +77,7 @@
header : int, list of ints, default 0
Row (0-indexed) to use for the column labels of the parsed
DataFrame. If a list of integers is passed those ... | Documentation added
| https://api.github.com/repos/pandas-dev/pandas/pulls/16689 | 2017-06-13T11:22:40Z | 2017-06-14T08:36:21Z | 2017-06-14T08:36:21Z | 2017-06-14T08:36:27Z |
Revert "BLD: fix numpy on 2.7 build as 1.13 was released but no deps are built for it | diff --git a/ci/requirements-2.7.build b/ci/requirements-2.7.build
index a7b950e615464..415df13179fcf 100644
--- a/ci/requirements-2.7.build
+++ b/ci/requirements-2.7.build
@@ -2,5 +2,5 @@ python=2.7*
python-dateutil=2.4.1
pytz=2013b
nomkl
-numpy=1.12*
+numpy
cython=0.23
| xref #16650
xref #16634
This reverts commit 789f7bbb52f279bd1ed53abf1a9580f682c2d6b9.
| https://api.github.com/repos/pandas-dev/pandas/pulls/16688 | 2017-06-13T11:13:55Z | 2017-06-13T11:52:34Z | 2017-06-13T11:52:34Z | 2017-06-13T12:05:44Z |
BUG: fix infer frequency for business daily | diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py
index f5ea4d7875931..efe713639fec9 100644
--- a/asv_bench/benchmarks/timeseries.py
+++ b/asv_bench/benchmarks/timeseries.py
@@ -53,7 +53,11 @@ def setup(self):
self.rng6 = date_range(start='1/1/1', periods=self.N, freq='B')
... | Closes #16624
Had to update a couple of tests, test_timedelta and test_business_daily, which appear to rely on the old incorrect behaviour. Added a new regression test, test_business_daily_look_alike, for the bug.
Modest performance impact: for 50,000-long business daily index, infer_freq goes from 2.54 ms to 3.... | https://api.github.com/repos/pandas-dev/pandas/pulls/16683 | 2017-06-12T13:32:48Z | 2017-07-07T13:11:46Z | 2017-07-07T13:11:46Z | 2017-07-07T13:11:50Z |
revert #16663, which was a revert of #16039 | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index f21230693686e..5820e4ab38130 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -54,8 +54,7 @@ Indexing
I/O
^^^
-- Bug in ``pd.read_csv()`` in which files containing EOF characters mid-field could... | i believe the issue with #16039 was the loss of the semantics provided by the "b" part of the mode in `fopen()`. this is a nop on unix-like systems, but appears to be significant on windows.
the equivalent functionality on windows in `open()` is the `O_BINARY` flag. this adds that to the `open()` call, and provides ... | https://api.github.com/repos/pandas-dev/pandas/pulls/16675 | 2017-06-12T01:51:46Z | 2017-06-13T10:20:48Z | 2017-06-13T10:20:48Z | 2017-07-07T13:10:41Z |
TST: Add test for groupby sum of large ints | diff --git a/pandas/tests/groupby/test_aggregate.py b/pandas/tests/groupby/test_aggregate.py
index 0de263589c6d6..b578a6efb0034 100644
--- a/pandas/tests/groupby/test_aggregate.py
+++ b/pandas/tests/groupby/test_aggregate.py
@@ -865,3 +865,20 @@ def test_agg_timezone_round_trip(self):
ts = df['B'].iloc[2]
... | Title is self-explanatory. Closes #14758. | https://api.github.com/repos/pandas-dev/pandas/pulls/16671 | 2017-06-11T21:54:58Z | 2017-06-12T10:46:53Z | 2017-06-12T10:46:53Z | 2017-06-13T01:15:18Z |
TST: Add test for groupby mean of ints | diff --git a/pandas/tests/groupby/test_aggregate.py b/pandas/tests/groupby/test_aggregate.py
index d7b46e6748b99..0de263589c6d6 100644
--- a/pandas/tests/groupby/test_aggregate.py
+++ b/pandas/tests/groupby/test_aggregate.py
@@ -234,6 +234,27 @@ def test_agg_grouping_is_list_tuple(self):
expected = grouped.mea... | Title is self-explanatory.
Closes #11199. | https://api.github.com/repos/pandas-dev/pandas/pulls/16670 | 2017-06-11T19:25:35Z | 2017-06-11T23:08:56Z | 2017-06-11T23:08:56Z | 2017-06-12T01:17:01Z |
PERF: HDFStore __unicode__ method | diff --git a/asv_bench/benchmarks/hdfstore_bench.py b/asv_bench/benchmarks/hdfstore_bench.py
index dc72f3d548aaf..7d490180e8af6 100644
--- a/asv_bench/benchmarks/hdfstore_bench.py
+++ b/asv_bench/benchmarks/hdfstore_bench.py
@@ -90,6 +90,15 @@ def time_query_store_table(self):
stop = self.df2.index[15000]
... | supersedes #16514
HDFStore unicode now only returns file path info. New info() method has the previous behavior of unicode.
```
import pandas as pd
store = pd.HDFStore('test.h5', 'w')
for i in range(5000):
store.put('table_{}'.format(i), pd.DataFrame([i]))
# Before
%time str(store)
CPU times: user 2... | https://api.github.com/repos/pandas-dev/pandas/pulls/16666 | 2017-06-11T11:35:07Z | 2017-06-11T23:48:31Z | 2017-06-11T23:48:31Z | 2017-06-12T01:06:49Z |
DOC: Fix typo in shared doc for align method | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index accb7d0db1d2c..98977bf8a595f 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5045,7 +5045,7 @@ def ranker(data):
return ranker(data)
_shared_docs['align'] = ("""
- Align two object on their axes with the
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/16665 | 2017-06-11T10:34:28Z | 2017-06-11T15:48:30Z | 2017-06-11T15:48:30Z | 2017-06-11T15:48:33Z | |
MAINT: Give nice error message if xarray import fails | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index accb7d0db1d2c..a674c3ca28ae8 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1501,7 +1501,17 @@ def to_xarray(self):
-----
See the `xarray docs <http://xarray.pydata.org/en/stable/>`__
"""
- import ... | Title is self-explanatory. Shouldn't `xarray` get the same nice error message as `feather-format`? | https://api.github.com/repos/pandas-dev/pandas/pulls/16664 | 2017-06-11T09:15:59Z | 2017-06-11T15:49:08Z | 2017-06-11T15:49:08Z | 2017-06-11T19:47:27Z |
BUG: csv parsing with EOF byte on windows, Revert gh-16039 | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 52f7701724f18..f21230693686e 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -54,6 +54,7 @@ Indexing
I/O
^^^
+- Bug in ``pd.read_csv()`` in which files containing EOF characters mid-field could... | #16039 created a bug in which files containing byte-like data could break on Windows, as EOF characters mid-field (despite being quoted) would cause premature line breaks. Given that this PR was a performance patch, this commit can be safely reverted.
Closes #16559 (confirmed with unit test).
cc @dgwynne | https://api.github.com/repos/pandas-dev/pandas/pulls/16663 | 2017-06-11T09:05:07Z | 2017-06-11T23:42:44Z | 2017-06-11T23:42:44Z | 2017-07-07T13:10:41Z |
DOC: improve read_excel docstring | diff --git a/doc/source/io.rst b/doc/source/io.rst
index bd81b478b5326..7ea476514e88d 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -712,6 +712,16 @@ index column inference and discard the last column, pass ``index_col=False``:
pd.read_csv(StringIO(data))
pd.read_csv(StringIO(data), index_col=Fals... | closes #16582
closes #16580
closes #16655
| https://api.github.com/repos/pandas-dev/pandas/pulls/16658 | 2017-06-10T15:05:58Z | 2017-06-11T23:19:39Z | 2017-06-11T23:19:39Z | 2017-07-07T13:10:41Z |
Revert "fix pytest-xidst version as 1.17 appears buggy (#16652)" | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index f4e6c979f28a4..8cf6f2ce636da 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -107,7 +107,7 @@ if [ -e ${REQ} ]; then
fi
time conda install -n pandas pytest
-time pip install pytest-xdist==1.16.0
+time pip install pytest-xdist
if [ "$L... | This reverts commit ec6bf6deaf502ac05a7120df13bd9b13cb3083f6.
1.17.1 released that fixes
closes #16653 | https://api.github.com/repos/pandas-dev/pandas/pulls/16657 | 2017-06-10T14:30:25Z | 2017-06-10T15:09:31Z | 2017-06-10T15:09:31Z | 2017-06-10T15:09:31Z |
CI: restore np 113 in ci builds | diff --git a/ci/requirements-3.6.build b/ci/requirements-3.6.build
index 8d09e0ee93070..1c4b46aea3865 100644
--- a/ci/requirements-3.6.build
+++ b/ci/requirements-3.6.build
@@ -2,5 +2,5 @@ python=3.6*
python-dateutil
pytz
nomkl
-numpy=1.12*
+numpy
cython
diff --git a/ci/requirements-3.6_DOC.build b/ci/requirements-... | closes #16634 | https://api.github.com/repos/pandas-dev/pandas/pulls/16656 | 2017-06-10T10:42:04Z | 2017-06-15T14:45:31Z | 2017-06-15T14:45:31Z | 2017-07-06T17:40:07Z |
COMPAT: numpy 1.13 test compat | diff --git a/ci/requirements-3.6_DOC.build b/ci/requirements-3.6_DOC.build
index bdcfe28105866..37faaa7e4db88 100644
--- a/ci/requirements-3.6_DOC.build
+++ b/ci/requirements-3.6_DOC.build
@@ -1,5 +1,5 @@
python=3.6*
python-dateutil
pytz
-numpy
+numpy=1.12*
cython
diff --git a/pandas/compat/numpy/__init__.py b/pand... | https://api.github.com/repos/pandas-dev/pandas/pulls/16654 | 2017-06-10T01:49:16Z | 2017-06-10T02:09:25Z | 2017-06-10T02:09:25Z | 2017-06-10T02:09:25Z | |
fix pytest-xidst version as 1.17 appears buggy | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 8cf6f2ce636da..f4e6c979f28a4 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -107,7 +107,7 @@ if [ -e ${REQ} ]; then
fi
time conda install -n pandas pytest
-time pip install pytest-xdist
+time pip install pytest-xdist==1.16.0
if [ "$L... | https://api.github.com/repos/pandas-dev/pandas/pulls/16652 | 2017-06-10T00:13:28Z | 2017-06-10T01:28:41Z | 2017-06-10T01:28:41Z | 2017-07-06T17:34:12Z | |
BLD: fix numpy on 2.7 build as 1.13 was released but no deps are built yet | diff --git a/ci/requirements-2.7.build b/ci/requirements-2.7.build
index 415df13179fcf..a7b950e615464 100644
--- a/ci/requirements-2.7.build
+++ b/ci/requirements-2.7.build
@@ -2,5 +2,5 @@ python=2.7*
python-dateutil=2.4.1
pytz=2013b
nomkl
-numpy
+numpy=1.12*
cython=0.23
| https://api.github.com/repos/pandas-dev/pandas/pulls/16650 | 2017-06-09T22:23:29Z | 2017-06-09T22:45:29Z | 2017-06-09T22:45:29Z | 2017-12-12T02:38:29Z | |
CLN: make license file machine readable | diff --git a/AUTHORS.md b/AUTHORS.md
new file mode 100644
index 0000000000000..dcaaea101f4c8
--- /dev/null
+++ b/AUTHORS.md
@@ -0,0 +1,57 @@
+About the Copyright Holders
+===========================
+
+* Copyright (c) 2008-2011 AQR Capital Management, LLC
+
+ AQR Capital Management began pandas development in 2008... | Splits extra information about the license and copyright holders to
AUTHORS.md.
The [gem used by GitHub's license detection](https://help.github.com/articles/licensing-a-repository/#detecting-a-license) now properly detects the correct license.
```
$ licensee
License file: LICENSE
License hash: d6dd3ea9454476... | https://api.github.com/repos/pandas-dev/pandas/pulls/16649 | 2017-06-09T21:08:15Z | 2017-06-09T22:46:34Z | 2017-06-09T22:46:34Z | 2017-06-09T22:47:12Z |
TST: Test against python-dateutil master | diff --git a/ci/requirements-3.6_NUMPY_DEV.build b/ci/requirements-3.6_NUMPY_DEV.build
index 738366867a217..900c050f1cc9e 100644
--- a/ci/requirements-3.6_NUMPY_DEV.build
+++ b/ci/requirements-3.6_NUMPY_DEV.build
@@ -1,4 +1,3 @@
python=3.6*
-python-dateutil
pytz
cython
diff --git a/ci/requirements-3.6_NUMPY_DEV.buil... | https://github.com/dateutil/dateutil/issues/397
just for testing | https://api.github.com/repos/pandas-dev/pandas/pulls/16648 | 2017-06-09T18:41:04Z | 2017-06-14T23:01:32Z | 2017-06-14T23:01:32Z | 2017-09-19T20:51:12Z |
BUG: TimedeltaIndex raising ValueError when slice indexing (#16637) | diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt
index 3d1bed2c9f1a9..ce7e8be16d8e2 100644
--- a/doc/source/whatsnew/v0.20.3.txt
+++ b/doc/source/whatsnew/v0.20.3.txt
@@ -41,6 +41,8 @@ Bug Fixes
- Fixed a pytest marker failing downstream packages' tests suites (:issue:`16680`)
- Fixed co... | Before accepting this Pull request is there any other kind of usage of loc that might fail using deltatimeindex that I am not aware of? I could take some time to fix it once and for all.
closes #16637
- [ x ] closes #16637
- [ x ] tests added / passed
- [ x ] passes ``git diff upstream/master --name-only -- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/16638 | 2017-06-08T13:48:25Z | 2017-07-06T12:23:39Z | 2017-07-06T12:23:39Z | 2017-07-07T13:12:14Z |
TST: fix numpy on 3.6 build as 1.13 was released but no deps are built yet | diff --git a/ci/requirements-3.6.build b/ci/requirements-3.6.build
index 1c4b46aea3865..8d09e0ee93070 100644
--- a/ci/requirements-3.6.build
+++ b/ci/requirements-3.6.build
@@ -2,5 +2,5 @@ python=3.6*
python-dateutil
pytz
nomkl
-numpy
+numpy=1.12*
cython
| https://api.github.com/repos/pandas-dev/pandas/pulls/16633 | 2017-06-08T10:39:47Z | 2017-06-08T10:47:19Z | 2017-06-08T10:47:19Z | 2017-07-06T17:34:47Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.