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 |
|---|---|---|---|---|---|---|---|
CI: Fix jedi upgrades causes deprecation warning | diff --git a/pandas/tests/arrays/categorical/test_warnings.py b/pandas/tests/arrays/categorical/test_warnings.py
index f66c327e9967d..9e164a250cdb1 100644
--- a/pandas/tests/arrays/categorical/test_warnings.py
+++ b/pandas/tests/arrays/categorical/test_warnings.py
@@ -14,6 +14,16 @@ async def test_tab_complete_warning(... | - [ ] closes #31324
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31323 | 2020-01-26T09:45:14Z | 2020-01-27T12:28:10Z | 2020-01-27T12:28:10Z | 2020-01-27T15:49:41Z |
CLN: dont return anything from _validate_indexer; annotations | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 10d9552e6f5a7..ae427d3b914e6 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3117,7 +3117,8 @@ def _convert_scalar_indexer(self, key, kind=None):
assert kind in ["loc", "getitem", "iloc", None]
... | https://api.github.com/repos/pandas-dev/pandas/pulls/31321 | 2020-01-26T04:07:50Z | 2020-01-31T03:41:02Z | 2020-01-31T03:41:02Z | 2020-01-31T04:15:16Z | |
Backport PR: Series rolling count ignores min_periods | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index a820ef132957a..9d5289ae8f2d0 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1165,6 +1165,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.groupby` when using nunique on axis=1 (:issue:`30253`... | This is a backport for #30923 | https://api.github.com/repos/pandas-dev/pandas/pulls/31320 | 2020-01-26T02:46:14Z | 2020-01-26T04:17:59Z | 2020-01-26T04:17:59Z | 2020-01-26T04:44:44Z |
REF: make PeriodIndex.get_value wrap PeriodIndex.get_loc | diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py
index fe6c1ba808f9a..ab6db7780b283 100644
--- a/pandas/core/indexes/period.py
+++ b/pandas/core/indexes/period.py
@@ -1,5 +1,5 @@
from datetime import datetime, timedelta
-from typing import Any
+from typing import TYPE_CHECKING, Any
import we... | AFAICT the only behavior this changes is in how datetime objects are treated. After this they are more consistent.
```
dti = pd.date_range("2016-01-01", periods=3, freq="MS")
pi = dti.to_period("H")
ser = pd.Series(range(7, 10), index=pi)
key = dti[0]
```
master
```
>>> pi.get_loc(key)
0
>>> pi.get_va... | https://api.github.com/repos/pandas-dev/pandas/pulls/31318 | 2020-01-26T01:34:53Z | 2020-01-28T02:22:56Z | 2020-01-28T02:22:55Z | 2020-03-12T13:31:07Z |
Move DataFrame.info() to live with similar functions | diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst
index dd2af6e2799c3..c7b1cc1c832be 100644
--- a/doc/source/reference/frame.rst
+++ b/doc/source/reference/frame.rst
@@ -28,6 +28,7 @@ Attributes and underlying data
:toctree: api/
DataFrame.dtypes
+ DataFrame.info
DataFrame.sel... | #31233
- [x ] closes #31233
(Not sure these are relevant for a doc change?)
- [ ] tests added / passed
- [ ] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31317 | 2020-01-26T00:23:12Z | 2020-01-26T01:15:23Z | 2020-01-26T01:15:23Z | 2020-01-29T04:39:19Z |
CLN: internals.managers | diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py
index 847f543ebca4d..a3675a1a58fd3 100644
--- a/pandas/core/internals/managers.py
+++ b/pandas/core/internals/managers.py
@@ -3,7 +3,7 @@
import itertools
import operator
import re
-from typing import List, Optional, Sequence, Tuple, ... | Mostly annotations, use fastpath for SingleBlockManager constructor where possible. | https://api.github.com/repos/pandas-dev/pandas/pulls/31316 | 2020-01-25T23:27:06Z | 2020-01-26T00:14:20Z | 2020-01-26T00:14:20Z | 2020-01-26T00:32:50Z |
REF: tighten what we accept in TimedeltaIndex._simple_new | diff --git a/pandas/core/arrays/timedeltas.py b/pandas/core/arrays/timedeltas.py
index d77a37ad355a7..a7b16fd86468e 100644
--- a/pandas/core/arrays/timedeltas.py
+++ b/pandas/core/arrays/timedeltas.py
@@ -195,9 +195,12 @@ def __init__(self, values, dtype=_TD_DTYPE, freq=None, copy=False):
def _simple_new(cls, valu... | https://api.github.com/repos/pandas-dev/pandas/pulls/31315 | 2020-01-25T22:37:05Z | 2020-02-09T15:01:20Z | 2020-02-09T15:01:20Z | 2020-02-09T15:40:34Z | |
REF: DatetimeIndex.get_value wrap DTI.get_loc | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index fbcca270b2be3..398d37cad9296 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -641,34 +641,10 @@ def get_value(self, series, key):
Fast lookup of value from 1-dimensional ndarray. Only ... | After this, DTI.get_value is identical to TDI.get_value. Separate PR to get PeriodIndex to match too, then de-duplicate. | https://api.github.com/repos/pandas-dev/pandas/pulls/31314 | 2020-01-25T22:33:42Z | 2020-01-26T00:23:57Z | 2020-01-26T00:23:57Z | 2020-01-26T00:38:36Z |
BUG: MultiIndex intersection with sort=False does not preserve order | diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py
index 0e188c58012fa..793f0c7c03c77 100644
--- a/asv_bench/benchmarks/multiindex_object.py
+++ b/asv_bench/benchmarks/multiindex_object.py
@@ -160,4 +160,43 @@ def time_equals_non_object_index(self):
self.mi_large... | - [x] closes #31325
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The intersection of 2 `MultiIndex` with `sort=False` does not preserve the order, whereas `Index. intersection()` does. This behavior does not seem ... | https://api.github.com/repos/pandas-dev/pandas/pulls/31312 | 2020-01-25T18:25:24Z | 2020-02-12T16:04:23Z | 2020-02-12T16:04:23Z | 2020-02-12T16:04:32Z |
xfail sparse warning; closes #31310 | diff --git a/pandas/tests/io/test_pickle.py b/pandas/tests/io/test_pickle.py
index 22c4e38206df6..04fd4835469a9 100644
--- a/pandas/tests/io/test_pickle.py
+++ b/pandas/tests/io/test_pickle.py
@@ -198,6 +198,7 @@ def test_pickle_path_localpath():
tm.assert_frame_equal(df, result)
+@pytest.mark.xfail(reason="Gi... | xref #31310
| https://api.github.com/repos/pandas-dev/pandas/pulls/31311 | 2020-01-25T17:36:58Z | 2020-01-26T00:26:02Z | 2020-01-26T00:26:02Z | 2020-01-26T00:26:20Z |
Backport PR #31292 on branch 1.0.x (CI: Updated version of macos image) | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 57032932b878c..d992c64073476 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -4,7 +4,7 @@ jobs:
- template: ci/azure/posix.yml
parameters:
name: macOS
- vmImage: xcode9-macos10.13
+ vmImage: macOS-10.14
- template: ci/azure/pos... | Backport PR #31292: CI: Updated version of macos image | https://api.github.com/repos/pandas-dev/pandas/pulls/31309 | 2020-01-25T15:38:35Z | 2020-01-25T16:08:09Z | 2020-01-25T16:08:09Z | 2020-01-25T16:08:09Z |
Add test for multiindex json | diff --git a/pandas/tests/io/json/test_pandas.py b/pandas/tests/io/json/test_pandas.py
index 638bcaa21bdf9..94d51589023c4 100644
--- a/pandas/tests/io/json/test_pandas.py
+++ b/pandas/tests/io/json/test_pandas.py
@@ -1647,3 +1647,18 @@ def test_frame_int_overflow(self):
expected = DataFrame({"col": ["319004412... | - [x] related to #31028 and adds test for #27618
- [x] tests added / passed
- [x] passes `black pandas`
| https://api.github.com/repos/pandas-dev/pandas/pulls/31307 | 2020-01-25T12:42:39Z | 2020-01-25T16:19:06Z | 2020-01-25T16:19:06Z | 2020-01-31T09:03:28Z |
REF: define _get_slice_axis in correct classes | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 6ac7876a809fc..4550be791b1ec 100755
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -1662,16 +1662,6 @@ def _convert_to_indexer(self, key, axis: int):
return {"key": key}
raise
- def _get_slice... | Since ix has been removed, a bunch of _NDFrameIndexer methods are defined in now-weird places. This fixes the one that confused me today. | https://api.github.com/repos/pandas-dev/pandas/pulls/31304 | 2020-01-25T04:36:10Z | 2020-01-26T00:40:31Z | 2020-01-26T00:40:31Z | 2020-01-26T00:46:49Z |
CLN: remove _set_subtyp | diff --git a/pandas/core/dtypes/generic.py b/pandas/core/dtypes/generic.py
index 4c3f8b7374465..435d80b2c4dfb 100644
--- a/pandas/core/dtypes/generic.py
+++ b/pandas/core/dtypes/generic.py
@@ -56,9 +56,7 @@ def _check(cls, inst) -> bool:
ABCSeries = create_pandas_abc_type("ABCSeries", "_typ", ("series",))
ABCDataFram... | its not used anywhere, apparently legacy leftover | https://api.github.com/repos/pandas-dev/pandas/pulls/31301 | 2020-01-25T02:37:01Z | 2020-01-25T16:01:40Z | 2020-01-25T16:01:40Z | 2020-01-25T16:04:55Z |
PERF: avoid copies if possible in fill_binop | diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py
index 9ed233cad65ce..76e90a26874fc 100644
--- a/pandas/core/ops/__init__.py
+++ b/pandas/core/ops/__init__.py
@@ -329,19 +329,25 @@ def fill_binop(left, right, fill_value):
Notes
-----
- Makes copies if fill_value is not None
+ Mak... | This has a small perf bump, but more importantly is necessary for the blockwise frame-with-frame PR that is coming up.
```
import pandas as pd
from pandas.core.ops import *
arr = np.arange(10**6)
df = pd.DataFrame({"A": arr})
ser = df["A"]
%timeit result = df.add(df, fill_value=4)
7.77 ms ± 20.4 µs per lo... | https://api.github.com/repos/pandas-dev/pandas/pulls/31300 | 2020-01-25T02:01:57Z | 2020-01-25T16:20:21Z | 2020-01-25T16:20:21Z | 2020-01-25T16:28:10Z |
REF: pass str_rep through arithmetic ops more consistently | diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py
index b74dea686a89f..c0fb959723127 100644
--- a/pandas/core/ops/__init__.py
+++ b/pandas/core/ops/__init__.py
@@ -836,7 +836,7 @@ def f(self, other, axis=default_axis, level=None):
return _combine_series_frame(self, other, op, axis=axis... | This doesn't get all of the places where we fail to pass str_rep, still working out a couple of places where passing it breaks tests. | https://api.github.com/repos/pandas-dev/pandas/pulls/31297 | 2020-01-24T23:11:03Z | 2020-02-23T16:18:50Z | 2020-02-23T16:18:50Z | 2020-02-23T17:13:37Z |
PERF: do DataFrame.op(series, axis=0) blockwise | diff --git a/asv_bench/benchmarks/arithmetic.py b/asv_bench/benchmarks/arithmetic.py
index d1e94f62967f4..5a8b109c21858 100644
--- a/asv_bench/benchmarks/arithmetic.py
+++ b/asv_bench/benchmarks/arithmetic.py
@@ -50,6 +50,36 @@ def time_frame_op_with_scalar(self, dtype, scalar, op):
op(self.df, scalar)
+cl... | Also fixes the same bug as #31271 (with the same test ported), so if this is accepted that will be closeable.
~2000x speedups for very-wide mixed-dtype cases.
```
arr = np.arange(10**6).reshape(100, -1)
df = pd.DataFrame(arr)
df["C"] = 1.0
ser = df[0]
In [11]: %timeit df.eq(ser, axis=0)
1.58 s ± 20 ms... | https://api.github.com/repos/pandas-dev/pandas/pulls/31296 | 2020-01-24T22:57:15Z | 2020-03-08T16:07:04Z | 2020-03-08T16:07:04Z | 2020-03-08T16:28:25Z |
PERF: optimize is_scalar, is_iterator | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index acd74591134bc..9702eb4615909 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -11,6 +11,9 @@ from cython import Py_ssize_t
from cpython.object cimport PyObject_RichCompareBool, Py_EQ
from cpython.ref cimport Py_INCREF
from cpython.tuple ci... | While working on #30349 I noticed that `is_scalar` is pretty slow for non-scalar args, turns out we can get a 9-19x improvement for listlike cases, 5-10x improvement for Decimal/Period/DateOffset/Interval, with small improvements in nearly every other case while we're at it (the fractions.Fraction object is the only on... | https://api.github.com/repos/pandas-dev/pandas/pulls/31294 | 2020-01-24T19:58:26Z | 2020-01-26T00:34:33Z | 2020-01-26T00:34:33Z | 2020-05-11T13:56:13Z |
CI: Updated version of macos image | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 57032932b878c..d992c64073476 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -4,7 +4,7 @@ jobs:
- template: ci/azure/posix.yml
parameters:
name: macOS
- vmImage: xcode9-macos10.13
+ vmImage: macOS-10.14
- template: ci/azure/pos... | - [x] closes #31281
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31292 | 2020-01-24T18:22:05Z | 2020-01-25T15:37:59Z | 2020-01-25T15:37:59Z | 2020-01-30T12:42:20Z |
BUG: Handle IntegerArray in pd.cut | diff --git a/pandas/core/reshape/tile.py b/pandas/core/reshape/tile.py
index 5a444d908b786..00a7645d0c7a5 100644
--- a/pandas/core/reshape/tile.py
+++ b/pandas/core/reshape/tile.py
@@ -14,7 +14,9 @@
is_datetime64_dtype,
is_datetime64tz_dtype,
is_datetime_or_timedelta_dtype,
+ is_extension_array_dtype,... | xref https://github.com/pandas-dev/pandas/issues/30944.
I think this doesn't close it, since only the pd.cut compoment
is fixed.
cc @jorisvandenbossche @jreback. The changes here attempt to be extremely conservative, since we're backporting stuff. I'm trying to not change behavior for anything other than IntegerAr... | https://api.github.com/repos/pandas-dev/pandas/pulls/31290 | 2020-01-24T18:18:11Z | 2020-01-28T01:52:09Z | 2020-01-28T01:52:09Z | 2020-01-28T12:41:00Z |
REF: combine all alignment into _align_method_FRAME | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 012fb1d0c2eb7..6b1f8e7f1c6a5 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -5341,7 +5341,7 @@ def reorder_levels(self, order, axis=0) -> "DataFrame":
# ----------------------------------------------------------------------
# Arit... | This puts us within striking distance of de-duplicating _flex_comp_method_FRAME and _comp_method_FRAME, with _arith_method_FRAME not far behind | https://api.github.com/repos/pandas-dev/pandas/pulls/31288 | 2020-01-24T17:22:04Z | 2020-01-31T03:36:34Z | 2020-01-31T03:36:34Z | 2020-01-31T04:23:10Z |
Backport PR #30929: ENH: Implement convert_dtypes' | diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst
index 01aa6c60e3b2f..dd2af6e2799c3 100644
--- a/doc/source/reference/frame.rst
+++ b/doc/source/reference/frame.rst
@@ -43,6 +43,7 @@ Conversion
:toctree: api/
DataFrame.astype
+ DataFrame.convert_dtypes
DataFrame.infer_objects... | https://api.github.com/repos/pandas-dev/pandas/pulls/31282 | 2020-01-24T14:36:45Z | 2020-01-24T15:34:14Z | 2020-01-24T15:34:14Z | 2020-01-24T15:34:18Z | |
Fixes non-existent doc/source/api.rst issue | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index 9599dc5bd1412..a9237c239701b 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -410,7 +410,7 @@ Some other important things to know about the docs:
doc build. This ... | Modified the path doc/source/api.rst | https://api.github.com/repos/pandas-dev/pandas/pulls/31280 | 2020-01-24T13:57:14Z | 2020-01-25T04:28:33Z | 2020-01-25T04:28:33Z | 2020-01-25T06:00:03Z |
DOC: move convert_dtypes whatsnew to 1.0 | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 087265858e850..94e537b4a997f 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -157,6 +157,36 @@ You can use the alias ``"boolean"`` as well.
s = pd.Series([True, False, None], dtype="boolean")
s... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
- moved whatsnew entry from 1.1 to 1.0
Per comment here from @jreback: https://github.com/pandas-dev/pandas/pull/30929#issuecomment-577989924
| https://api.github.com/repos/pandas-dev/pandas/pulls/31279 | 2020-01-24T13:45:32Z | 2020-01-24T14:29:06Z | 2020-01-24T14:29:06Z | 2020-01-24T16:00:05Z |
BUG: 27453 right merge order | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 8cb80c7c92f8e..e0d60e56796dd 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -168,6 +168,32 @@ key and type of :class:`Index`. These now consistently raise ``KeyError`` (:iss
...
KeyError: T... | Resurrection of #27762
I fixed the NameError in the test, and also changed the example given in the whatsnew entry (I couldn't see a difference between the outputs of 0.25.x and 1.0.0 in the original)
- [x] closes #27453
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/mas... | https://api.github.com/repos/pandas-dev/pandas/pulls/31278 | 2020-01-24T12:08:57Z | 2020-03-26T12:45:39Z | 2020-03-26T12:45:38Z | 2020-03-26T12:49:31Z |
ASV: add benchmarks for Series.array and extract_array | diff --git a/asv_bench/benchmarks/attrs_caching.py b/asv_bench/benchmarks/attrs_caching.py
index 501e27b9078ec..9c7b107b478d4 100644
--- a/asv_bench/benchmarks/attrs_caching.py
+++ b/asv_bench/benchmarks/attrs_caching.py
@@ -1,5 +1,6 @@
import numpy as np
+import pandas as pd
from pandas import DataFrame
try:
@@... | Just thought it would be useful to have a benchmark for `.array` (now the performance regression of https://github.com/pandas-dev/pandas/pull/31037 was caught indirectly through an indexing benchmark) | https://api.github.com/repos/pandas-dev/pandas/pulls/31277 | 2020-01-24T09:14:35Z | 2020-01-24T13:09:50Z | 2020-01-24T13:09:50Z | 2020-01-24T13:11:28Z |
Backport PR #31037: PERF: improve access of .array | diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py
index 4db3d3010adaf..075096f6cfb54 100644
--- a/pandas/core/arrays/numpy_.py
+++ b/pandas/core/arrays/numpy_.py
@@ -43,7 +43,6 @@ class PandasDtype(ExtensionDtype):
def __init__(self, dtype):
dtype = np.dtype(dtype)
self._dt... | https://github.com/pandas-dev/pandas/pull/31037 | https://api.github.com/repos/pandas-dev/pandas/pulls/31275 | 2020-01-24T08:32:43Z | 2020-01-24T09:06:31Z | 2020-01-24T09:06:31Z | 2020-01-24T09:06:39Z |
BUG: DataFrame.floordiv(ser, axis=0) not matching column-wise bheavior | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index b41fbe880a65d..266eed8a50ceb 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -119,6 +119,7 @@ Timezones
Numeric
^^^^^^^
+- Bug in :meth:`DataFrame.floordiv` with ``axis=0`` not treating division-by... | We're pretty close to being able to combine _combine_frame and _combine_match_index (and hopefully get rid of them both before long) | https://api.github.com/repos/pandas-dev/pandas/pulls/31271 | 2020-01-24T05:30:30Z | 2020-01-26T00:37:02Z | 2020-01-26T00:37:02Z | 2020-01-26T00:55:47Z |
BUG: passing TDA and wrong freq to TimedeltaIndex | diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py
index d0a31b68250ad..e78714487f01e 100644
--- a/pandas/core/indexes/timedeltas.py
+++ b/pandas/core/indexes/timedeltas.py
@@ -163,7 +163,7 @@ def __new__(
"represent unambiguous timedelta values durations."
... | Caught while working towards making TimedeltaArray._simple_new more strict about its inputs.
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31268 | 2020-01-24T04:56:03Z | 2020-01-25T16:18:11Z | 2020-01-25T16:18:11Z | 2020-01-25T16:31:07Z |
Backport PR #31036 on branch 1.0.x (BUG: AssertionError on Series.append(DataFrame) fix #30975 ) | diff --git a/pandas/tests/series/methods/test_append.py b/pandas/tests/series/methods/test_append.py
index dc0fca4bba067..4d64b5b397981 100644
--- a/pandas/tests/series/methods/test_append.py
+++ b/pandas/tests/series/methods/test_append.py
@@ -61,6 +61,16 @@ def test_append_tuples(self):
tm.assert_series_eq... | Backport PR #31036: BUG: AssertionError on Series.append(DataFrame) fix #30975 | https://api.github.com/repos/pandas-dev/pandas/pulls/31267 | 2020-01-24T03:38:02Z | 2020-01-24T04:34:47Z | 2020-01-24T04:34:47Z | 2020-01-24T04:34:47Z |
REF: do alignment before _combine_series_frame | diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py
index 1355060efd097..9ed233cad65ce 100644
--- a/pandas/core/ops/__init__.py
+++ b/pandas/core/ops/__init__.py
@@ -584,33 +584,23 @@ def flex_wrapper(self, other, level=None, fill_value=None, axis=0):
# DataFrame
-def _combine_series_frame(self,... | This will allow us to de-duplicate _construct_result calls (this does so for _comp_method_FRAME) and ultimately move all of the alignment into _align_method_FRAME | https://api.github.com/repos/pandas-dev/pandas/pulls/31266 | 2020-01-24T01:55:49Z | 2020-01-24T03:52:08Z | 2020-01-24T03:52:08Z | 2020-01-24T04:32:56Z |
Backport PR #31249 on branch 1.0.x (TST: Fix timestamp comparison test) | diff --git a/pandas/tests/scalar/timestamp/test_timestamp.py b/pandas/tests/scalar/timestamp/test_timestamp.py
index f1fcf46a936fd..2f3175598d592 100644
--- a/pandas/tests/scalar/timestamp/test_timestamp.py
+++ b/pandas/tests/scalar/timestamp/test_timestamp.py
@@ -751,7 +751,7 @@ def test_asm8(self):
def test_cl... | Backport PR #31249: TST: Fix timestamp comparison test | https://api.github.com/repos/pandas-dev/pandas/pulls/31265 | 2020-01-23T23:10:32Z | 2020-01-23T23:52:52Z | 2020-01-23T23:52:52Z | 2020-01-23T23:52:52Z |
BUG: na_logical_op with 2D inputs | diff --git a/pandas/core/ops/array_ops.py b/pandas/core/ops/array_ops.py
index b84d468fff736..cb7b8a5987b96 100644
--- a/pandas/core/ops/array_ops.py
+++ b/pandas/core/ops/array_ops.py
@@ -277,7 +277,7 @@ def na_logical_op(x: np.ndarray, y, op):
assert not (is_bool_dtype(x.dtype) and is_bool_dtype(y.dtype)... | Broken off from a branch implementing block-wise ops for op(dataframe, dataframe) | https://api.github.com/repos/pandas-dev/pandas/pulls/31263 | 2020-01-23T22:31:18Z | 2020-01-24T03:53:17Z | 2020-01-24T03:53:17Z | 2020-01-24T17:44:19Z |
PLT: Color attributes of medianprops etc are lost in df.boxplot and df.plot.boxplot | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 40abb8f83de2f..02fb4b3a619d7 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -192,6 +192,8 @@ Plotting
- :func:`.plot` for line/bar now accepts color by dictonary (:issue:`8193`).
-
+- Bug in :meth... | - [x] closes #30346
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Found out that not only `medianprops` info is lost, so is `whiskerprops`, `capprops` and `boxprops`, so I also added them alongside. Since this is ... | https://api.github.com/repos/pandas-dev/pandas/pulls/31262 | 2020-01-23T21:32:22Z | 2020-02-11T21:27:08Z | 2020-02-11T21:27:07Z | 2020-07-03T16:15:11Z |
Backport PR #31159 on branch 1.0.x (ENH: Implement _from_sequence_of_strings for BooleanArray) | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 99918aef7fd08..8c43b53f5cdfd 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -144,7 +144,7 @@ type dedicated to boolean data that can hold missing values. The default
``bool`` data type based on a boo... | Backport PR #31159: ENH: Implement _from_sequence_of_strings for BooleanArray | https://api.github.com/repos/pandas-dev/pandas/pulls/31261 | 2020-01-23T20:56:14Z | 2020-01-23T21:31:19Z | 2020-01-23T21:31:19Z | 2020-01-23T21:31:20Z |
DOC fix truncated documentation for Series.unstack(), Series. | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 6c04212e26924..15904769957ac 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -7371,7 +7371,7 @@ def at_time(
self: FrameOrSeries, time, asof: bool_t = False, axis=None
) -> FrameOrSeries:
"""
- Select va... | fixes https://github.com/pandas-dev/pandas/issues/31235
Changed "e.g. " to "e.g., "
Changed "a.k.a. " to "also known as"
This helps avoid the truncation caused in the docstring | https://api.github.com/repos/pandas-dev/pandas/pulls/31260 | 2020-01-23T20:37:29Z | 2020-01-24T17:49:59Z | 2020-01-24T17:49:58Z | 2020-01-24T19:30:59Z |
REF: avoid calling engine for EA values | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5d802e8a6a77f..3b69dae785534 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2892,14 +2892,17 @@ def _get_value(self, index, col, takeable: bool = False):
engine = self.index._engine
try:
- return engine.get_v... | https://api.github.com/repos/pandas-dev/pandas/pulls/31258 | 2020-01-23T20:06:07Z | 2020-01-23T23:01:08Z | 2020-01-23T23:01:08Z | 2020-01-23T23:12:57Z | |
BUG: DatetimeIndex.get_loc/get_value raise InvalidIndexError | diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py
index 0b89e702c9867..f0c6eedf5cee4 100644
--- a/pandas/core/groupby/grouper.py
+++ b/pandas/core/groupby/grouper.py
@@ -27,6 +27,7 @@
from pandas.core.groupby import ops
from pandas.core.groupby.categorical import recode_for_groupby, recode_... | almost done with the get_value/get_loc methods | https://api.github.com/repos/pandas-dev/pandas/pulls/31257 | 2020-01-23T19:57:39Z | 2020-01-24T00:23:33Z | 2020-01-24T00:23:33Z | 2020-01-24T00:31:20Z |
Backport PR #31025 on branch 1.0.x (ENH: Handle extension arrays in algorithms.diff) | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index aac5c7e02f681..99918aef7fd08 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -727,6 +727,7 @@ Deprecations
- Support for multi-dimensional indexing (e.g. ``index[:, None]``) on a :class:`Index` is dep... | Backport PR #31025: ENH: Handle extension arrays in algorithms.diff | https://api.github.com/repos/pandas-dev/pandas/pulls/31255 | 2020-01-23T19:03:08Z | 2020-01-23T19:33:19Z | 2020-01-23T19:33:19Z | 2020-01-23T19:33:20Z |
Backport PR #31187 on branch 1.0.x (BUG: IntegerArray.astype(boolean)) | diff --git a/pandas/core/arrays/integer.py b/pandas/core/arrays/integer.py
index 67036761bc62a..022e6a7322872 100644
--- a/pandas/core/arrays/integer.py
+++ b/pandas/core/arrays/integer.py
@@ -19,6 +19,7 @@
is_list_like,
is_object_dtype,
is_scalar,
+ pandas_dtype,
)
from pandas.core.dtypes.dtypes im... | Backport PR #31187: BUG: IntegerArray.astype(boolean) | https://api.github.com/repos/pandas-dev/pandas/pulls/31254 | 2020-01-23T19:02:18Z | 2020-01-23T19:32:25Z | 2020-01-23T19:32:25Z | 2020-01-23T19:32:25Z |
TST: Fix timestamp comparison test | diff --git a/pandas/tests/scalar/timestamp/test_timestamp.py b/pandas/tests/scalar/timestamp/test_timestamp.py
index f1fcf46a936fd..2f3175598d592 100644
--- a/pandas/tests/scalar/timestamp/test_timestamp.py
+++ b/pandas/tests/scalar/timestamp/test_timestamp.py
@@ -751,7 +751,7 @@ def test_asm8(self):
def test_cl... | - [x] closes #31175
- [x] tests added / passed
- tests/scalar/timestamp/test_timestamp.py
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
- Not needed for fixing a test
| https://api.github.com/repos/pandas-dev/pandas/pulls/31249 | 2020-01-23T15:52:37Z | 2020-01-23T23:10:18Z | 2020-01-23T23:10:17Z | 2020-01-24T16:00:07Z |
ENH: Implement DataFrame.value_counts | diff --git a/doc/source/getting_started/basics.rst b/doc/source/getting_started/basics.rst
index 277080006cb3c..c6d9a48fcf8ed 100644
--- a/doc/source/getting_started/basics.rst
+++ b/doc/source/getting_started/basics.rst
@@ -689,6 +689,17 @@ of a 1D array of values. It can also be used as a function on regular arrays:
... | - [x] closes #5377
- [x] tests added / passed
- [x] passes `black pandas`
- [x] whatsnew entry
This is picking up where https://github.com/pandas-dev/pandas/pull/27350 left off because I think it'd be a nice feature to have. At least one thing that still needs to be done is implementing `bins` when we have only a... | https://api.github.com/repos/pandas-dev/pandas/pulls/31247 | 2020-01-23T14:39:35Z | 2020-02-26T02:20:44Z | 2020-02-26T02:20:44Z | 2020-02-26T02:24:35Z |
Backport PR #31232 on branch 1.0.x (REGR: Fix IntervalIndex.map when result is object dtype) | diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py
index c4dac9d1c4a11..c98b4f21dbb92 100644
--- a/pandas/core/indexes/datetimelike.py
+++ b/pandas/core/indexes/datetimelike.py
@@ -164,22 +164,6 @@ def __contains__(self, key):
except (KeyError, TypeError, ValueError):
... | Backport PR #31232: REGR: Fix IntervalIndex.map when result is object dtype | https://api.github.com/repos/pandas-dev/pandas/pulls/31246 | 2020-01-23T14:16:12Z | 2020-01-23T15:23:12Z | 2020-01-23T15:23:12Z | 2020-01-23T15:56:52Z |
Backport PR #31167 on branch 1.0.x (DOC: fix DataFrame.plot docs ) | diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py
index dd907457f7c32..c239f11d5c6a1 100644
--- a/pandas/plotting/_core.py
+++ b/pandas/plotting/_core.py
@@ -374,7 +374,6 @@ def hist_frame(
<class 'numpy.ndarray'>
"""
-
_backend_doc = """\
backend : str, default None
Backend to use instead... | Backport PR #31167: DOC: fix DataFrame.plot docs | https://api.github.com/repos/pandas-dev/pandas/pulls/31244 | 2020-01-23T12:35:26Z | 2020-01-23T13:25:57Z | 2020-01-23T13:25:57Z | 2020-01-23T15:56:21Z |
ENH: add use_nullable_dtypes option in read_parquet | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 5d36c52da9f0d..d37aaaf1fb040 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -241,6 +241,10 @@ Other enhancements
- Calling a binary-input NumPy ufunc on multiple ``DataFrame`` objects now aligns, mat... | xref #29752, #30929
Using some work I am doing in pyarrow (https://github.com/apache/arrow/pull/6189), we are able to provide an option in `read_parquet` to directly use new nullable dtypes instead of first using the default conversion (eg which gives floats for ints with nulls) and doing the conversion afterwards
... | https://api.github.com/repos/pandas-dev/pandas/pulls/31242 | 2020-01-23T10:51:32Z | 2020-11-29T16:10:19Z | 2020-11-29T16:10:19Z | 2020-11-29T16:15:15Z |
TST: add tzaware case to indices fixture | diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py
index f3ebe8313d0c6..dbfa39ef690f5 100644
--- a/pandas/tests/indexes/common.py
+++ b/pandas/tests/indexes/common.py
@@ -6,6 +6,7 @@
from pandas._libs.tslib import iNaT
+from pandas.core.dtypes.common import is_datetime64tz_dtype
from pan... | Much easier alternative to #31236. | https://api.github.com/repos/pandas-dev/pandas/pulls/31241 | 2020-01-23T05:36:36Z | 2020-01-24T00:59:33Z | 2020-01-24T00:59:33Z | 2020-01-24T01:07:21Z |
Backport PR #31211 on branch 1.0.x (BUG: Fixed upcast dtype for datetime64 in merge) | diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py
index c6f30ef65e9d5..c75373b82305c 100644
--- a/pandas/core/internals/concat.py
+++ b/pandas/core/internals/concat.py
@@ -350,7 +350,7 @@ def _get_empty_dtype_and_na(join_units):
dtype = upcast_classes["datetimetz"]
return ... | Backport PR #31211: BUG: Fixed upcast dtype for datetime64 in merge | https://api.github.com/repos/pandas-dev/pandas/pulls/31240 | 2020-01-23T04:26:44Z | 2020-01-23T08:46:12Z | 2020-01-23T08:46:12Z | 2020-01-23T09:42:21Z |
REGR: Prevent indexes that aren't directly backed by numpy from entering libreduction code paths | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index ca1be3154757a..9947866a76e3f 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -14,7 +14,7 @@
is_list_like,
is_sequence,
)
-from pandas.core.dtypes.generic import ABCMultiIndex, ABCSeries
+from pandas.core.dtypes.generic import ABCS... | - [X] closes #31223
- [X] closes #31248
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
No whatsnew since this is a regression. | https://api.github.com/repos/pandas-dev/pandas/pulls/31238 | 2020-01-23T02:38:37Z | 2020-01-28T01:57:19Z | 2020-01-28T01:57:19Z | 2020-01-30T09:59:53Z |
CI: Fix Assign CI not working with quotes | diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml
index 019ecfc484ca5..a6d3f1f383751 100644
--- a/.github/workflows/assign.yml
+++ b/.github/workflows/assign.yml
@@ -7,9 +7,8 @@ jobs:
one:
runs-on: ubuntu-latest
steps:
- - name:
- run: |
- if [[ "${{ github.eve... | - [x] closes #29768
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Examples(all three passed)

| https://api.github.com/repos/pandas-dev/pandas/pulls/31237 | 2020-01-23T02:28:50Z | 2020-01-25T03:17:39Z | 2020-01-25T03:17:39Z | 2020-01-25T03:19:51Z |
REGR: Fix IntervalIndex.map when result is object dtype | diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py
index 1bfec9fbad0ed..e50d752f910e0 100644
--- a/pandas/core/indexes/datetimelike.py
+++ b/pandas/core/indexes/datetimelike.py
@@ -164,22 +164,6 @@ def __contains__(self, key: Any) -> bool:
is_scalar(res) or isinstance(re... | - [X] closes #31202
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
No whatnew since this is a regression.
| https://api.github.com/repos/pandas-dev/pandas/pulls/31232 | 2020-01-23T01:22:55Z | 2020-01-23T14:16:00Z | 2020-01-23T14:16:00Z | 2020-02-24T18:13:47Z |
Backport PR #31229 on branch 1.0.x ((Fixes CI) Replaced set comprehension with a generator) | diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py
index b8d66874bc660..b7164477c31f2 100644
--- a/pandas/tests/io/parser/test_network.py
+++ b/pandas/tests/io/parser/test_network.py
@@ -205,7 +205,7 @@ def test_read_csv_chunked_download(self, s3_resource, caplog):
wit... | Backport PR #31229: (Fixes CI) Replaced set comprehension with a generator | https://api.github.com/repos/pandas-dev/pandas/pulls/31231 | 2020-01-23T00:50:26Z | 2020-01-23T03:07:15Z | 2020-01-23T03:07:15Z | 2020-01-23T03:07:15Z |
make TDI.get_value use get_loc, fix wrong-dtype NaT | diff --git a/pandas/core/arrays/timedeltas.py b/pandas/core/arrays/timedeltas.py
index 516a271042c9b..d77a37ad355a7 100644
--- a/pandas/core/arrays/timedeltas.py
+++ b/pandas/core/arrays/timedeltas.py
@@ -44,10 +44,6 @@
from pandas.tseries.offsets import Tick
-def _is_convertible_to_td(key):
- return isinstance... | the wrong-dtype NaT is a bug, the DTI analogue is fixed in #31163.
The refactor to make get_value is get_loc is basically what we want all of them index subclasses to do (at which point we de-duplicate and possibly get rid of get_value altogether)
cc @jreback | https://api.github.com/repos/pandas-dev/pandas/pulls/31230 | 2020-01-23T00:30:46Z | 2020-01-23T14:27:36Z | 2020-01-23T14:27:35Z | 2020-01-23T17:29:18Z |
(Fixes CI) Replaced set comprehension with a generator | diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py
index b8d66874bc660..b7164477c31f2 100644
--- a/pandas/tests/io/parser/test_network.py
+++ b/pandas/tests/io/parser/test_network.py
@@ -205,7 +205,7 @@ def test_read_csv_chunked_download(self, s3_resource, caplog):
wit... | - [x] closes #31149
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31229 | 2020-01-23T00:14:58Z | 2020-01-23T00:49:55Z | 2020-01-23T00:49:55Z | 2020-01-24T12:18:37Z |
TST: parametrize tests | diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py
index 656b274aa1a9e..a240e6cef5930 100644
--- a/pandas/tests/computation/test_eval.py
+++ b/pandas/tests/computation/test_eval.py
@@ -573,45 +573,39 @@ def test_series_negate(self):
result = pd.eval(expr, engine=self... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31228 | 2020-01-23T00:03:11Z | 2020-01-23T15:55:56Z | 2020-01-23T15:55:56Z | 2020-01-24T12:19:57Z |
CLN: unused kwarg, poorly named obj->key | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 0b67ae902b075..722fe152e6a85 100755
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -1577,7 +1577,7 @@ def _validate_read_indexer(
"https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-loc... | elsehwere we use `obj = self.obj` which is either a Series or DataFrame, better to call this `key` like we do elsewhere | https://api.github.com/repos/pandas-dev/pandas/pulls/31226 | 2020-01-22T23:21:17Z | 2020-01-23T17:53:24Z | 2020-01-23T17:53:24Z | 2020-01-23T17:53:27Z |
REF/TST: collect misplaced tests | diff --git a/pandas/tests/indexes/multi/test_compat.py b/pandas/tests/indexes/multi/test_compat.py
index d92cff1e10496..545a7ddef29bb 100644
--- a/pandas/tests/indexes/multi/test_compat.py
+++ b/pandas/tests/indexes/multi/test_compat.py
@@ -112,10 +112,6 @@ def test_ndarray_compat_properties(idx, compat_props):
id... | ATM we are mixing/matching pytest vs UnitTest idioms, which is confusing for me because I have to track down both inheritance and fixtures. So I'm trying to clean this up, leading to some yak shaving.
| https://api.github.com/repos/pandas-dev/pandas/pulls/31224 | 2020-01-22T22:49:36Z | 2020-01-23T14:25:31Z | 2020-01-23T14:25:31Z | 2020-01-23T17:20:01Z |
Backport PR #31215 on branch 1.0.x (Follow-up: XLSB Support) | diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst
index b5c512cdc8328..8f5900a2a1ba6 100644
--- a/doc/source/getting_started/install.rst
+++ b/doc/source/getting_started/install.rst
@@ -264,7 +264,7 @@ pyarrow 0.12.0 Parquet, ORC (requires 0.13.0)... | Backport PR #31215: Follow-up: XLSB Support | https://api.github.com/repos/pandas-dev/pandas/pulls/31221 | 2020-01-22T20:11:35Z | 2020-01-22T21:08:55Z | 2020-01-22T21:08:55Z | 2020-01-23T09:40:20Z |
DOC: fixup whatsnew | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 59c90534beefd..c8e811ce82b1f 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -17,6 +17,7 @@ Enhancements
Nonmonotonic PeriodIndex Partial String Slicing
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... | The lack of newline below the ipython directive may be causing issues. | https://api.github.com/repos/pandas-dev/pandas/pulls/31217 | 2020-01-22T19:09:30Z | 2020-01-22T19:37:57Z | 2020-01-22T19:37:57Z | 2020-01-22T19:38:00Z |
Follow-up: XLSB Support | diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst
index b5c512cdc8328..8f5900a2a1ba6 100644
--- a/doc/source/getting_started/install.rst
+++ b/doc/source/getting_started/install.rst
@@ -264,7 +264,7 @@ pyarrow 0.12.0 Parquet, ORC (requires 0.13.0)... | Updated min version for `pyxlsb` to 1.0.6 and removed the now unnecessary xfail for read from url. Turns out the other xfail is actually unnecessary so I've removed it.
Question: is my name supposed to show up in the contributors list?
- [X] closes #8540
- [X] tests added / passed
- [X] passes `black pandas`
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/31215 | 2020-01-22T18:38:45Z | 2020-01-22T20:11:24Z | 2020-01-22T20:11:24Z | 2020-02-01T20:33:13Z |
BUG: Fixed upcast dtype for datetime64 in merge | diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py
index c6f30ef65e9d5..c75373b82305c 100644
--- a/pandas/core/internals/concat.py
+++ b/pandas/core/internals/concat.py
@@ -350,7 +350,7 @@ def _get_empty_dtype_and_na(join_units):
dtype = upcast_classes["datetimetz"]
return ... | Closes https://github.com/pandas-dev/pandas/issues/31208 | https://api.github.com/repos/pandas-dev/pandas/pulls/31211 | 2020-01-22T15:34:12Z | 2020-01-23T04:26:33Z | 2020-01-23T04:26:32Z | 2020-01-23T20:57:16Z |
Backport PR #31203 on branch 1.0.x (numpydev ragged array dtype warning) | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index ed99c4eb46e48..b89ead2fe7b47 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -2058,7 +2058,7 @@ def drop(self, codes, level=None, errors="raise"):
if not isinstance(codes, (np.ndarray, Index)):
... | Backport PR #31203: numpydev ragged array dtype warning | https://api.github.com/repos/pandas-dev/pandas/pulls/31209 | 2020-01-22T15:10:17Z | 2020-01-22T21:06:16Z | 2020-01-22T21:06:16Z | 2020-01-23T09:41:02Z |
BUG: no longer raise user warning when plotting tz aware time series | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 16d9d341f785d..6e053208f7692 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -97,7 +97,7 @@ I/O
Plotting
^^^^^^^^
--
+- Plotting tz-aware timeseries no longer gives UserWarning (:issue:`31205`)
-
... | - [x] closes #31205
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31207 | 2020-01-22T14:35:16Z | 2020-02-03T07:36:36Z | 2020-02-03T07:36:36Z | 2020-02-05T18:54:49Z |
Backport PR #31017 on branch 1.0.x (REG: restore format_type attr) | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index d61d1cf7f0257..4f12c0225bd2d 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -2474,6 +2474,7 @@ class Fixed:
"""
pandas_kind: str
+ format_type: str = "fixed" # GH#30962 needed by dask
obj_type: Type[Union[DataFr... | Backport PR #31017: REG: restore format_type attr | https://api.github.com/repos/pandas-dev/pandas/pulls/31206 | 2020-01-22T14:17:27Z | 2020-01-22T21:08:28Z | 2020-01-22T21:08:27Z | 2020-01-23T09:41:34Z |
numpydev ragged array dtype warning | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index b684908c25fe5..a26a01ab7be21 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -2058,7 +2058,7 @@ def drop(self, codes, level=None, errors="raise"):
if not isinstance(codes, (np.ndarray, Index)):
... | Closes #31201
There are still two failures in the Categorical constructor I'm looking into. Not sure what's best yet.
```python
In [2]: pd.Categorical(['a', ('a', 'b')])
/Users/taugspurger/sandbox/pandas/pandas/core/dtypes/cast.py:1066: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences... | https://api.github.com/repos/pandas-dev/pandas/pulls/31203 | 2020-01-22T12:41:36Z | 2020-01-22T14:46:59Z | 2020-01-22T14:46:58Z | 2020-01-22T17:48:55Z |
DOC Remove Python 2 specific comments from documentation | diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst
index b5c512cdc8328..25b499a46ffaf 100644
--- a/doc/source/getting_started/install.rst
+++ b/doc/source/getting_started/install.rst
@@ -146,7 +146,6 @@ Installing using your Linux distribution's package manager.
~~~~~~~~~~~~~~... | A few minor fixes to remove Python 2 specific comments from the documentation, since 1.0 does not support Python 2.
| https://api.github.com/repos/pandas-dev/pandas/pulls/31198 | 2020-01-22T09:45:56Z | 2020-01-26T02:31:18Z | 2020-01-26T02:31:18Z | 2020-01-26T09:42:56Z |
TST: More regression tests | diff --git a/pandas/tests/io/excel/test_writers.py b/pandas/tests/io/excel/test_writers.py
index 55b987a599670..f7b49ccb1a72d 100644
--- a/pandas/tests/io/excel/test_writers.py
+++ b/pandas/tests/io/excel/test_writers.py
@@ -258,6 +258,36 @@ def test_read_excel_parse_dates(self, ext):
)
tm.ass... | - [x] closes #30986
- [x] closes #19020
- [x] closes #19974
- [x] closes #18265
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/31196 | 2020-01-22T05:20:27Z | 2020-01-24T19:04:56Z | 2020-01-24T19:04:55Z | 2020-01-24T19:12:23Z |
Backport PR #43274 on branch 1.3.x (PERF: indexing) | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 9aac0a9ad9681..7c1a414c1f37d 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -21,6 +21,16 @@ Fixed regressions
.. ---------------------------------------------------------------------------
+.. _w... | Backport PR #43274: PERF: indexing | https://api.github.com/repos/pandas-dev/pandas/pulls/43303 | 2021-08-30T15:49:24Z | 2021-08-30T18:13:45Z | 2021-08-30T18:13:45Z | 2021-08-30T18:13:46Z |
BUG: Solves errors when calling series methods in DataFrame.query with numexpr | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index f6e90a3341424..0eae3c4c8cc83 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -426,6 +426,7 @@ Indexing
- Bug in :meth:`Index.get_indexer_non_unique` when index contains multiple ``np.nan`` (:issue:`35... | - [x] closes #22435
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
The initial issue #22435 (check that there is no conflicting names failing) was actually h... | https://api.github.com/repos/pandas-dev/pandas/pulls/43301 | 2021-08-30T12:19:11Z | 2021-09-25T15:31:04Z | 2021-09-25T15:31:03Z | 2021-09-25T15:31:09Z |
TST: added test for to_string when max_rows is zero (GH35394) | diff --git a/pandas/tests/io/formats/test_to_string.py b/pandas/tests/io/formats/test_to_string.py
index 1d3804a955433..5e7aeb7f226de 100644
--- a/pandas/tests/io/formats/test_to_string.py
+++ b/pandas/tests/io/formats/test_to_string.py
@@ -315,3 +315,26 @@ def test_to_string_na_rep_and_float_format(na_rep):
... | - [x] closes #35394
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Provided tests for `to_string` when `max_rows=0`.
Tests and linter pass locally. | https://api.github.com/repos/pandas-dev/pandas/pulls/43300 | 2021-08-30T10:20:01Z | 2021-09-01T18:08:25Z | 2021-09-01T18:08:24Z | 2021-09-01T18:08:28Z |
BUG: Fixes to FixedForwardWindowIndexer and GroupbyIndexer (#43267) | diff --git a/doc/source/whatsnew/v1.3.4.rst b/doc/source/whatsnew/v1.3.4.rst
index b6ee2d57a0965..f36c0afac763e 100644
--- a/doc/source/whatsnew/v1.3.4.rst
+++ b/doc/source/whatsnew/v1.3.4.rst
@@ -33,6 +33,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Fixed bug in :meth:`pandas.DataFrame.groupby.rolling` and :class... | - [x] closes https://github.com/pandas-dev/pandas/issues/43267
This PR addresses three issues, two major and one minor:
(1) If you repeated the use of a FixedForwardWindowIndexer, the indexer would be mutated and a window_size of 0 would be used. This would lead to an empty end array which unsurprisingly led to ... | https://api.github.com/repos/pandas-dev/pandas/pulls/43291 | 2021-08-30T01:02:42Z | 2021-10-16T20:26:52Z | 2021-10-16T20:26:52Z | 2021-10-16T20:39:23Z |
PERF: Styler 2 | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 68a7b12d37339..31e10534d853a 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -1023,12 +1023,13 @@ def _update_ctx(self, attrs: DataFrame) -> None:
)
for cn in attrs.columns:
+ j = se... | extends the idea pushed by @jbrockmendel in #43285
```python
>>> df = pd.DataFrame(np.random.randn(10000, 1))
>>> % timeit df.style.applymap_index(lambda v: "color: blue;")._compute()
29.7 ms ± 396 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # Master
24.4 ms ± 347 µs per loop (mean ± std. dev. of 7 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/43287 | 2021-08-29T17:07:11Z | 2021-08-30T22:58:12Z | 2021-08-30T22:58:11Z | 2021-08-31T04:48:29Z |
PERF: Styler | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 5d523f59a46f8..3e5bf6f47ca82 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -1023,7 +1023,8 @@ def _update_ctx(self, attrs: DataFrame) -> None:
)
for cn in attrs.columns:
- for rn, ... | ```
from asv_bench.benchmarks.io.style import *
self = Render()
self.setup(36, 12)
%timeit self.setup(36, 12); self.time_apply_render(36, 12)
29.2 ms ± 1.2 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <- master
9.98 ms ± 706 µs per loop (mean ± std. dev. of 7 runs, 1 loop each) # <- PR
```
cc @... | https://api.github.com/repos/pandas-dev/pandas/pulls/43285 | 2021-08-29T14:35:11Z | 2021-08-30T13:10:30Z | 2021-08-30T13:10:30Z | 2021-08-30T14:42:34Z |
ENH: `styler.latex` options | diff --git a/doc/source/user_guide/options.rst b/doc/source/user_guide/options.rst
index 00da304ec9516..1ba7ea21d6c8c 100644
--- a/doc/source/user_guide/options.rst
+++ b/doc/source/user_guide/options.rst
@@ -502,6 +502,10 @@ styler.format.escape None Whether to escape "html" or
styler.html.... | adds item to #41395
- [x] added to config
- [x] method and docstrings added
- [x] options.rst docs
- [x] adds tests
- [x] whatsnew entry
will update user guide as a follow on after all options added.
| https://api.github.com/repos/pandas-dev/pandas/pulls/43284 | 2021-08-29T10:49:31Z | 2021-09-01T19:36:08Z | 2021-09-01T19:36:08Z | 2021-09-01T21:50:56Z |
ENH: `styler.html.mathjax` option | diff --git a/doc/source/user_guide/options.rst b/doc/source/user_guide/options.rst
index c415616affcd5..00da304ec9516 100644
--- a/doc/source/user_guide/options.rst
+++ b/doc/source/user_guide/options.rst
@@ -499,6 +499,9 @@ styler.format.thousands None String representation for t
... | This pandas option is added to allow the `Styler` options to be independent from the others. See #41395
- [x] add option in config
- [x] add tests
- [x] whats new
- [x] `options.rst`
will update styler user guide as a follow on when all options PRs merged.
:
return result
-def mask_zero_div_zero(x, y, result):
+def mask_zero_div_zero(x, y, res... | ```
from asv_bench.benchmarks.arithmetic import *
self = MixedFrameWithSeriesAxis()
self.setup("floordiv")
%timeit self.time_frame_op_with_series_axis1("floordiv")
27.9 ms ± 987 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master
23.7 ms ± 630 µs per loop (mean ± std. dev. of 7 runs, 10 loops e... | https://api.github.com/repos/pandas-dev/pandas/pulls/43281 | 2021-08-29T03:39:09Z | 2021-08-29T09:02:00Z | 2021-08-29T09:02:00Z | 2021-08-29T14:05:40Z |
Backport PR #43260 on branch 1.3.x (CI: Remove aiobotocore pin again) | diff --git a/ci/deps/actions-39.yaml b/ci/deps/actions-39.yaml
index 8704c65b5a83d..03f2bc84bcc01 100644
--- a/ci/deps/actions-39.yaml
+++ b/ci/deps/actions-39.yaml
@@ -30,7 +30,6 @@ dependencies:
- python-dateutil
- pytz
- s3fs>=0.4.2
- - aiobotocore<=1.3.3
- scipy
- sqlalchemy
- xlrd
diff --git a/c... | Backport PR #43260: CI: Remove aiobotocore pin again | https://api.github.com/repos/pandas-dev/pandas/pulls/43279 | 2021-08-28T22:35:13Z | 2021-08-29T07:53:04Z | 2021-08-29T07:53:04Z | 2021-08-29T07:53:04Z |
PERF: column_arrays | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 0010624609907..bd50e5ac452e6 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -228,6 +228,11 @@ def get_values(self, dtype: DtypeObj | None = None) -> np.ndarray:
# expected "ndarray")
... | Shaves a couple percent off of time_to_json_wide asv
Reprises #42824. | https://api.github.com/repos/pandas-dev/pandas/pulls/43278 | 2021-08-28T21:13:47Z | 2021-09-11T14:53:40Z | 2021-09-11T14:53:40Z | 2021-09-11T17:02:47Z |
PERF: read_stata | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index 0a608ba4194f4..1deaa634ce3ae 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -53,7 +53,6 @@
DatetimeIndex,
NaT,
Timestamp,
- concat,
isna,
to_datetime,
to_timedelta,
@@ -1663,7 +1662,7 @@ def read(
# restart... | ```
from asv_bench.benchmarks.io.stata import *
self = StataMissing()
self.setup("td")
%timeit self.time_read_stata("td")
113 ms ± 1.44 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master
94.4 ms ± 1.72 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- PR
```
cc @bashtage | https://api.github.com/repos/pandas-dev/pandas/pulls/43277 | 2021-08-28T18:51:27Z | 2021-08-30T13:27:32Z | 2021-08-30T13:27:32Z | 2021-08-30T14:43:15Z |
PERF: indexing | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 9aac0a9ad9681..7c1a414c1f37d 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -21,6 +21,16 @@ Fixed regressions
.. ---------------------------------------------------------------------------
+.. _w... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Added a check as suggested in https://github.com/pandas-dev/pandas/pull/39280#issuecomment-... | https://api.github.com/repos/pandas-dev/pandas/pulls/43274 | 2021-08-28T18:07:09Z | 2021-08-30T15:48:51Z | 2021-08-30T15:48:51Z | 2021-08-30T15:49:36Z |
TYP: indexes | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 41355b9a44b85..e5f12ec53a6d4 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -2498,7 +2498,7 @@ def __reduce__(self):
"""The expected NA value to use with this index."""
@cache_readonly
- def _isnan... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/43273 | 2021-08-28T16:42:02Z | 2021-08-29T09:00:53Z | 2021-08-29T09:00:53Z | 2021-08-29T14:05:06Z |
TST: added test for ea dtypes conversion to datetimetzdtype (GH37553) | diff --git a/pandas/tests/series/methods/test_astype.py b/pandas/tests/series/methods/test_astype.py
index 7fbdc455a8dcf..732d375d136d0 100644
--- a/pandas/tests/series/methods/test_astype.py
+++ b/pandas/tests/series/methods/test_astype.py
@@ -16,6 +16,7 @@
NA,
Categorical,
CategoricalDtype,
+ Dateti... | - [x] closes #37553
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Provided tests for type cast `ExtensionDtypes` -> `DatetimeTZDtype`.
Tests and linter pass locally. | https://api.github.com/repos/pandas-dev/pandas/pulls/43270 | 2021-08-28T16:21:54Z | 2021-08-31T23:32:33Z | 2021-08-31T23:32:33Z | 2021-08-31T23:32:37Z |
BENCH: update `class SelectDtypes` to allow testing against 1.3.x | diff --git a/asv_bench/benchmarks/dtypes.py b/asv_bench/benchmarks/dtypes.py
index c45d5a0814544..55f6be848aa13 100644
--- a/asv_bench/benchmarks/dtypes.py
+++ b/asv_bench/benchmarks/dtypes.py
@@ -50,15 +50,26 @@ def time_pandas_dtype_invalid(self, dtype):
class SelectDtypes:
- params = [
- tm.ALL_INT_NU... | doesn't need backport since benchmarks on master are used for comparing branches and finding performance regressions
xref #43047 | https://api.github.com/repos/pandas-dev/pandas/pulls/43269 | 2021-08-28T11:16:16Z | 2021-08-31T23:29:59Z | 2021-08-31T23:29:58Z | 2021-09-01T10:09:36Z |
PERF: to_datetime with uint | diff --git a/asv_bench/benchmarks/inference.py b/asv_bench/benchmarks/inference.py
index 0aa924dabd469..4cbaa184791b8 100644
--- a/asv_bench/benchmarks/inference.py
+++ b/asv_bench/benchmarks/inference.py
@@ -115,19 +115,27 @@ def time_maybe_convert_objects(self):
class ToDatetimeFromIntsFloats:
def setup(self):
... | - [x] closes #42606
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
```python
#PR
In [3]: %time index = pd.to_datetime(np.arange(1_000_000).astype("uint64")... | https://api.github.com/repos/pandas-dev/pandas/pulls/43268 | 2021-08-28T07:56:35Z | 2021-08-30T13:12:40Z | 2021-08-30T13:12:39Z | 2021-08-30T13:48:35Z |
REF: Remove Numba compat pre 0.50.1 | diff --git a/pandas/core/util/numba_.py b/pandas/core/util/numba_.py
index 96907df3c48ad..03a0157a8bde4 100644
--- a/pandas/core/util/numba_.py
+++ b/pandas/core/util/numba_.py
@@ -9,8 +9,6 @@
from pandas.compat._optional import import_optional_dependency
from pandas.errors import NumbaUtilError
-from pandas.util.v... | No longer needed since the bump https://github.com/pandas-dev/pandas/issues/43257#issuecomment-907452377 | https://api.github.com/repos/pandas-dev/pandas/pulls/43266 | 2021-08-27T23:47:34Z | 2021-08-30T07:50:59Z | 2021-08-30T07:50:59Z | 2021-08-30T16:53:36Z |
DEPR: Passing in a string column label for DataFrame.ewm(times=...) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 2f8cb346935a9..17a5c292112b9 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -271,6 +271,7 @@ Other Deprecations
- Deprecated dropping of nuisance columns in :class:`Rolling`, :class:`Expanding`, and ... | - [x] xref https://github.com/pandas-dev/pandas/pull/42834#discussion_r680451102
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/43265 | 2021-08-27T23:43:08Z | 2021-09-05T01:43:20Z | 2021-09-05T01:43:20Z | 2021-09-05T02:48:57Z |
TYP: nanops | diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py
index db7289f7c3547..a80bd8ba76dac 100644
--- a/pandas/core/nanops.py
+++ b/pandas/core/nanops.py
@@ -27,11 +27,11 @@
F,
Scalar,
Shape,
+ npt,
)
from pandas.compat._optional import import_optional_dependency
from pandas.core.dtypes.common... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/43264 | 2021-08-27T22:25:19Z | 2021-08-30T07:50:06Z | 2021-08-30T07:50:06Z | 2021-08-30T14:48:26Z |
BUG: rolling.corr with MultiIndex columns | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index a85b84aad9f94..5ccf3015ac257 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -408,6 +408,7 @@ Groupby/resample/rolling
- Bug in :meth:`pandas.DataFrame.rolling` operation along rows (``axis=1``) incor... | - [x] closes #21157
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/43261 | 2021-08-27T19:31:50Z | 2021-09-07T05:18:00Z | 2021-09-07T05:18:00Z | 2021-09-07T05:18:03Z |
CI: Remove aiobotocore pin again | diff --git a/ci/deps/actions-39.yaml b/ci/deps/actions-39.yaml
index 530e095895b77..a78fb30019b53 100644
--- a/ci/deps/actions-39.yaml
+++ b/ci/deps/actions-39.yaml
@@ -31,7 +31,6 @@ dependencies:
- python-dateutil
- pytz
- s3fs>=0.4.2
- - aiobotocore<=1.3.3
- scipy
- sqlalchemy
- xlrd
diff --git a/c... | - [x] closes #43168
This should be fixed now.
| https://api.github.com/repos/pandas-dev/pandas/pulls/43260 | 2021-08-27T18:41:19Z | 2021-08-28T22:34:44Z | 2021-08-28T22:34:44Z | 2021-08-28T22:34:47Z |
Backport PR #43251 on branch 1.3.x (Bug in RangeIndex.where raising AssertionError when result is not from RangeIndex) | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 3dee3aa5e7c7a..9aac0a9ad9681 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -17,7 +17,7 @@ Fixed regressions
- Fixed regression in :class:`DataFrame` constructor failing to broadcast for defined :cla... | Backport PR #43251: Bug in RangeIndex.where raising AssertionError when result is not from RangeIndex | https://api.github.com/repos/pandas-dev/pandas/pulls/43259 | 2021-08-27T18:16:33Z | 2021-08-28T07:46:58Z | 2021-08-28T07:46:58Z | 2021-08-28T07:46:58Z |
TST: added tests for to_json when called on complex data (GH41174) | diff --git a/pandas/tests/io/json/test_pandas.py b/pandas/tests/io/json/test_pandas.py
index af75313b766a6..a856f031e20ba 100644
--- a/pandas/tests/io/json/test_pandas.py
+++ b/pandas/tests/io/json/test_pandas.py
@@ -1782,3 +1782,41 @@ def e(self):
# JSON keys should be all non-callable non-underscore attribut... | - [x] closes #41174
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Provided tests for `to_json` when called on complex data on both `Series` and `DataFrame`. Coefficients are both... | https://api.github.com/repos/pandas-dev/pandas/pulls/43258 | 2021-08-27T18:11:18Z | 2021-08-30T07:52:26Z | 2021-08-30T07:52:26Z | 2021-08-30T07:52:37Z |
ENH: `styler.format` options | diff --git a/doc/source/user_guide/options.rst b/doc/source/user_guide/options.rst
index 62a347acdaa34..41e0b754cfa81 100644
--- a/doc/source/user_guide/options.rst
+++ b/doc/source/user_guide/options.rst
@@ -138,7 +138,7 @@ More information can be found in the `IPython documentation
import pandas as pd
pd.set_... | - [x] adds to #41395
- [x] add options
- [x] add tests
- [x] update `Styler.format` docstring
- [x] update `options.rst`
- [x] update `Styler` init docstring
- [x] whatsnew
update user guide **will be a follow-on when all options are merged**
 for how to run them
| https://api.github.com/repos/pandas-dev/pandas/pulls/43255 | 2021-08-27T16:56:15Z | 2021-08-27T18:40:02Z | 2021-08-27T18:40:02Z | 2021-08-27T18:40:03Z |
BUG: fix is_named_tuple for objects that are not subclass of tuple #40682 | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 2f8cb346935a9..b7c4d8827ade0 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -375,6 +375,7 @@ I/O
- Bug in :func:`read_csv` with multi-header input and arguments referencing column names as tuples (:i... | - [x] closes #40682
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/43253 | 2021-08-27T16:44:41Z | 2021-09-04T14:33:27Z | 2021-09-04T14:33:26Z | 2022-11-18T02:20:50Z |
Bug in RangeIndex.where raising AssertionError when result is not from RangeIndex | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 3dee3aa5e7c7a..9aac0a9ad9681 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -17,7 +17,7 @@ Fixed regressions
- Fixed regression in :class:`DataFrame` constructor failing to broadcast for defined :cla... | - [x] closes #43240
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
cc @jbrockmendel
2 options here:
- calling ``_shallow_copy`` which handles the cast to ... | https://api.github.com/repos/pandas-dev/pandas/pulls/43251 | 2021-08-27T14:31:54Z | 2021-08-27T18:16:25Z | 2021-08-27T18:16:24Z | 2021-08-27T18:17:33Z |
Backport PR #43172 on branch 1.3.x (BUG: Pass index data correctly in groupby.transform/agg w/ engine=numba) | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 1340188c3d609..3dee3aa5e7c7a 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -25,7 +25,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- Bug in :meth:`.DataFrameGroupBy.agg` and :meth:`.DataFrameGro... | Backport PR #43172: BUG: Pass index data correctly in groupby.transform/agg w/ engine=numba | https://api.github.com/repos/pandas-dev/pandas/pulls/43250 | 2021-08-27T13:52:52Z | 2021-08-27T18:12:42Z | 2021-08-27T18:12:42Z | 2021-08-27T18:12:42Z |
ENH: consistency of input args for boundaries in DataFrame.between_time() #40245 | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 69ad20269319f..f19b0fe10fe6e 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -108,6 +108,7 @@ Other enhancements
- Methods that relied on hashmap based algos such as :meth:`DataFrameGroupBy.value_coun... | - [ ] xref #40245
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/43248 | 2021-08-27T10:17:39Z | 2021-09-10T17:17:38Z | 2021-09-10T17:17:38Z | 2021-09-27T11:39:31Z |
DOC PR09 Add "." on to_hdf format parameter | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 4927f479ba905..11c63aba43aac 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2645,7 +2645,7 @@ def to_hdf(
which may perform worse but allow more flexible operations
like searching / selecting subsets o... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
From #28602:
```
pandas.Series.to_hdf: Parameter "format" description should finish with ... | https://api.github.com/repos/pandas-dev/pandas/pulls/43246 | 2021-08-27T08:03:16Z | 2021-08-27T08:09:21Z | 2021-08-27T08:09:21Z | 2021-08-27T08:45:44Z |
PERF: DataFrame._reduce | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index e02a88aafcf34..6688150400aaa 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -9824,26 +9824,28 @@ def _reduce(
assert filter_type is None or filter_type == "bool", filter_type
out_dtype = "bool" if filter_type == "bool" els... | ```
from asv_bench.benchmarks.groupby import *
self = GroupByMethods()
self.setup("int", "skew", "direct", 2)
%timeit self.time_dtype_as_group("int", "skew", "direct", 2)
434 ms ± 17.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <- master
367 ms ± 8.51 ms per loop (mean ± std. dev. of 7 runs, 1 l... | https://api.github.com/repos/pandas-dev/pandas/pulls/43243 | 2021-08-27T02:53:03Z | 2021-08-30T15:14:33Z | 2021-08-30T15:14:33Z | 2021-08-30T15:16:32Z |
DOC: Update minimum pip version | diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst
index e42ef334c60a4..20ae37c85a9d9 100644
--- a/doc/source/getting_started/install.rst
+++ b/doc/source/getting_started/install.rst
@@ -132,6 +132,9 @@ Installing from PyPI
pandas can be installed via pip from
`PyPI <https://... | - [ ] closes #42745
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/43241 | 2021-08-27T00:17:37Z | 2021-08-27T13:51:09Z | 2021-08-27T13:51:09Z | 2021-08-27T15:28:49Z |
ENH: Add Storage Options kwarg to read_table | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 205a49e7786a7..663b0a30aa48f 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -92,7 +92,7 @@ Other enhancements
- :meth:`Series.sample`, :meth:`DataFrame.sample`, and :meth:`.GroupBy.sample` now accept... | - [x] closes #39167
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Follow up from https://github.com/pandas-dev/pandas/pull/35381 - looks like this was misse... | https://api.github.com/repos/pandas-dev/pandas/pulls/43239 | 2021-08-26T22:29:29Z | 2021-08-31T13:13:23Z | 2021-08-31T13:13:22Z | 2021-08-31T13:13:23Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.