title stringlengths 1 185 | diff stringlengths 0 32.2M | body stringlengths 0 123k ⌀ | url stringlengths 57 58 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 ⌀ | updated_at stringlengths 20 20 |
|---|---|---|---|---|---|---|---|
PERF: stronger typing in libgroupby | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 91921ba0e64c2..b8342f87b2b0c 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -145,7 +145,7 @@ def group_median_float64(ndarray[float64_t, ndim=2] out,
@cython.wraparound(False)
def group_cumprod_float64(float64_t[:, ::1] ou... | - [ ] 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/43103 | 2021-08-18T22:40:45Z | 2021-08-19T00:18:50Z | 2021-08-19T00:18:50Z | 2021-08-19T01:50:48Z |
ENH: `Styler.format_index()` to display index values similarly to data-values with `format()` | diff --git a/doc/source/reference/style.rst b/doc/source/reference/style.rst
index 11d57e66c4773..e67813084e389 100644
--- a/doc/source/reference/style.rst
+++ b/doc/source/reference/style.rst
@@ -39,6 +39,7 @@ Style application
Styler.apply_index
Styler.applymap_index
Styler.format
+ Styler.format_index
... | - [x] adds features and method with docstrings
- [x] update user guide
- [x] whats new
- [x] add tests
This PR adds the method `format_index` so that the typical `format` routines can also be applied to display the index labels and columns headers of a Styler.
With all the recent functionality here is a comple... | https://api.github.com/repos/pandas-dev/pandas/pulls/43101 | 2021-08-18T20:57:36Z | 2021-09-16T22:16:23Z | 2021-09-16T22:16:23Z | 2021-09-20T22:41:11Z |
Backport PR #43097 on branch 1.3.x (DOC: `styler.format` does not, in fact, raise a KeyError) | diff --git a/pandas/io/formats/style_render.py b/pandas/io/formats/style_render.py
index 97a05329507c9..a2841ebcbab02 100644
--- a/pandas/io/formats/style_render.py
+++ b/pandas/io/formats/style_render.py
@@ -640,7 +640,7 @@ def format(
to. If the ``formatter`` argument is given in dict form but does not inclu... | Backport PR #43097: DOC: `styler.format` does not, in fact, raise a KeyError | https://api.github.com/repos/pandas-dev/pandas/pulls/43100 | 2021-08-18T20:19:05Z | 2021-08-18T22:55:54Z | 2021-08-18T22:55:54Z | 2021-08-18T22:55:54Z |
REF: ensure to_arrays returns matched-length arrays/columns | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 823de2133f0b3..c6b5803c3053a 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2323,6 +2323,8 @@ def _from_arrays(
manager = get_option("mode.data_manager")
columns = ensure_index(columns)
+ if len(columns) != len(a... | ATM we pass both 'columns' and `arr_names` to arrays_to_mgr and create_block_manager_from_arrays. This is part of en effort to align these before calling arrays_to_mgr, which will let us improve the performance of _form_blocks. | https://api.github.com/repos/pandas-dev/pandas/pulls/43099 | 2021-08-18T18:20:34Z | 2021-08-19T01:04:45Z | 2021-08-19T01:04:45Z | 2021-08-19T01:50:24Z |
TST: resolve most of future warnnings in SQL test, clean import | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index d6ace9a997951..4b8aa62ab8730 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -63,11 +63,6 @@
try:
import sqlalchemy
- from sqlalchemy import inspect
- from sqlalchemy.ext import declarative
- from... | xref #40686
| https://api.github.com/repos/pandas-dev/pandas/pulls/43098 | 2021-08-18T16:11:24Z | 2021-08-19T01:57:06Z | 2021-08-19T01:57:06Z | 2022-11-18T02:20:44Z |
DOC: `styler.format` does not, in fact, raise a KeyError | diff --git a/pandas/io/formats/style_render.py b/pandas/io/formats/style_render.py
index 8c8112cf585a1..ab0fd34047683 100644
--- a/pandas/io/formats/style_render.py
+++ b/pandas/io/formats/style_render.py
@@ -681,7 +681,7 @@ def format(
to. If the ``formatter`` argument is given in dict form but does not inclu... | This was actually never true from the start #40134. It might have been true at one point during the PR and then was overwritten without docs being corrected before final merge.
I.e. these docs have always been wrong since introduction.
Should be back portable.
```python
df = DataFrame([[1.0, 2.0]], columns=["... | https://api.github.com/repos/pandas-dev/pandas/pulls/43097 | 2021-08-18T14:57:04Z | 2021-08-18T20:18:14Z | 2021-08-18T20:18:14Z | 2021-08-19T05:23:02Z |
TST: refactor count rows in sql test | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index 6136bd0e1e057..d6ace9a997951 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -249,6 +249,24 @@ def create_and_load_types(conn, types_data: list[dict], dialect: str):
conn.execute(stmt)
+def count_rows... | xref #40686
| https://api.github.com/repos/pandas-dev/pandas/pulls/43083 | 2021-08-17T17:04:52Z | 2021-08-18T23:52:59Z | 2021-08-18T23:52:59Z | 2022-11-18T02:20:40Z |
Backport PR #43054 on branch 1.3.x (REGR: SeriesGrouper using Timestamp index) | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 549d0dcb593fd..1340188c3d609 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -16,7 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :class:`DataFrame` constructor failing to broadca... | Backport PR #43054: REGR: SeriesGrouper using Timestamp index | https://api.github.com/repos/pandas-dev/pandas/pulls/43081 | 2021-08-17T16:04:26Z | 2021-08-17T17:12:13Z | 2021-08-17T17:12:13Z | 2021-08-17T17:12:14Z |
REF: `axis in [...]` becomes `_get_axis_number(axis)` in Styler | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index ece016f495770..a5983d3e2e96a 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -1012,7 +1012,7 @@ def _update_ctx(self, attrs: DataFrame) -> None:
i, j = self.index.get_loc(rn), self.columns.get_loc(cn)... | - [x] address an item in #43048
| https://api.github.com/repos/pandas-dev/pandas/pulls/43078 | 2021-08-17T12:14:40Z | 2021-08-17T13:08:09Z | 2021-08-17T13:08:09Z | 2021-08-17T14:13:16Z |
Backport PR #43041 on branch 1.3.x (Fix len one list dataframe constructor bug for datetime) | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index b3cd6d00d4322..549d0dcb593fd 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :class:`Da... | Backport PR #43041: Fix len one list dataframe constructor bug for datetime | https://api.github.com/repos/pandas-dev/pandas/pulls/43077 | 2021-08-17T08:56:30Z | 2021-08-17T12:04:54Z | 2021-08-17T12:04:54Z | 2021-08-17T12:04:54Z |
PERF: is_string_dtype checks | diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py
index 3a870c2287584..069d7d8c76efb 100644
--- a/pandas/core/dtypes/common.py
+++ b/pandas/core/dtypes/common.py
@@ -564,8 +564,7 @@ def is_excluded_dtype(dtype) -> bool:
"""
These have kind = "O" but aren't string dtypes so need ... | Shaves 7-10% off of time_copy_overhead_single_col | https://api.github.com/repos/pandas-dev/pandas/pulls/43073 | 2021-08-17T01:18:07Z | 2021-08-17T13:09:48Z | 2021-08-17T13:09:48Z | 2021-08-17T14:21:16Z |
ENH: Add Arrow CSV Reader | diff --git a/asv_bench/benchmarks/io/csv.py b/asv_bench/benchmarks/io/csv.py
index 852c1e0d139e5..35058ba03ade8 100644
--- a/asv_bench/benchmarks/io/csv.py
+++ b/asv_bench/benchmarks/io/csv.py
@@ -206,7 +206,7 @@ def time_read_csv(self, bad_date_value):
class ReadCSVSkipRows(BaseIO):
fname = "__test__.csv"
- ... | - [ ] closes #23697
- [ ] 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
Picking up from #38370.
Perf is OK. (StringIO/Text buffer reading gets like 20% overhead... | https://api.github.com/repos/pandas-dev/pandas/pulls/43072 | 2021-08-17T01:01:49Z | 2021-08-27T23:18:01Z | 2021-08-27T23:18:00Z | 2021-09-01T01:47:06Z |
BENCH: Add pyarrow to env | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index e8e82edabbfa3..df50f67432fbb 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -46,17 +46,14 @@
"numba": [],
"numexpr": [],
"pytables": [null, ""], // platform dependent, see excludes below
+ "pya... | - [ ] 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
This came up while I was benchmarking the pyarrow csv reader that I am planning to PR soon,... | https://api.github.com/repos/pandas-dev/pandas/pulls/43071 | 2021-08-17T00:57:27Z | 2021-08-17T13:21:08Z | 2021-08-17T13:21:08Z | 2021-08-17T20:25:31Z |
Backport PR #43033 on branch 1.3.x (DOC: arguments options correction) | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 7ab2b9dec20c8..3358ec07eb819 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -1448,7 +1448,7 @@ def set_sticky(
Parameters
----------
- axis : {0 or 'index', 1 or 'columns', None}, default 0... | Backport PR #43033: DOC: arguments options correction | https://api.github.com/repos/pandas-dev/pandas/pulls/43070 | 2021-08-16T20:27:37Z | 2021-08-17T08:53:42Z | 2021-08-17T08:53:42Z | 2021-08-17T08:53:42Z |
Backport PR #43052 on branch 1.3.x (REGR: window ewm slowdown) | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 78f1883695c47..b3cd6d00d4322 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Performance regression in :met... | Backport PR #43052: REGR: window ewm slowdown | https://api.github.com/repos/pandas-dev/pandas/pulls/43069 | 2021-08-16T20:27:24Z | 2021-08-17T08:54:41Z | 2021-08-17T08:54:41Z | 2021-08-17T08:54:41Z |
TST: df.combine_first duplicates rows for nan index values (#39881) | diff --git a/pandas/tests/frame/methods/test_combine_first.py b/pandas/tests/frame/methods/test_combine_first.py
index dd91b32c8eb8c..382c11f23a517 100644
--- a/pandas/tests/frame/methods/test_combine_first.py
+++ b/pandas/tests/frame/methods/test_combine_first.py
@@ -492,3 +492,28 @@ def test_combine_preserve_dtypes()... | - [x] closes #39881
- [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 (n/a - added test case only)
| https://api.github.com/repos/pandas-dev/pandas/pulls/43066 | 2021-08-16T07:00:36Z | 2021-08-17T13:13:50Z | 2021-08-17T13:13:49Z | 2021-08-18T03:16:18Z |
REF: Move BaseIndexers and indexer.py functions into their own directory | diff --git a/pandas/api/indexers/__init__.py b/pandas/api/indexers/__init__.py
index 7dc824b691a01..78357f11dc3b7 100644
--- a/pandas/api/indexers/__init__.py
+++ b/pandas/api/indexers/__init__.py
@@ -3,7 +3,7 @@
"""
from pandas.core.indexers import check_array_indexer
-from pandas.core.window.indexers import (
+fr... | - [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
In preparation for unifying some `numba` code between groupby and rolling, moving `BaseIndexer`s to a new directory such that
`pandas/core/window.indexers.py`... | https://api.github.com/repos/pandas-dev/pandas/pulls/43065 | 2021-08-16T04:36:23Z | 2021-08-18T23:56:44Z | 2021-08-18T23:56:44Z | 2021-08-19T00:02:49Z |
BUG: Allow named aggregation with Resampler.agg | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index f0af60f80edd5..85846b638b1e2 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -329,6 +329,8 @@ Groupby/resample/rolling
- Bug in :meth:`SeriesGroupBy.nlargest` and :meth:`SeriesGroupBy.nsmallest` would... | - [x] closes #32803
- [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/43064 | 2021-08-16T04:31:42Z | 2021-08-17T16:15:28Z | 2021-08-17T16:15:27Z | 2021-08-17T16:29:23Z |
BENCH: fix misleading json asvs | diff --git a/asv_bench/benchmarks/io/json.py b/asv_bench/benchmarks/io/json.py
index d9d27ce7e5d8c..d1468a238c491 100644
--- a/asv_bench/benchmarks/io/json.py
+++ b/asv_bench/benchmarks/io/json.py
@@ -172,15 +172,19 @@ def time_to_json(self, orient, frame):
def peakmem_to_json(self, orient, frame):
getatt... | a third of the measured time is in concat ATM, which isnt what we're trying to measure | https://api.github.com/repos/pandas-dev/pandas/pulls/43063 | 2021-08-16T01:55:37Z | 2021-08-17T13:12:27Z | 2021-08-17T13:12:27Z | 2021-08-17T14:22:08Z |
DOC: Updating grammar for clarity and consistency | diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst
index 2b329ef362354..93d4b8852c60c 100644
--- a/doc/source/user_guide/10min.rst
+++ b/doc/source/user_guide/10min.rst
@@ -19,7 +19,7 @@ Customarily, we import as follows:
Object creation
---------------
-See the :ref:`Data Structure Intr... | ### Location of the documentation
[10 minutes to pandas](https://pandas.pydata.org/pandas-docs/stable/user_guide/10min.html)
### Documentation problem
Throughout the page, there are code examples with an accompanying explanation of what is happening. The explanation will sometimes end in a colon, and other times e... | https://api.github.com/repos/pandas-dev/pandas/pulls/43061 | 2021-08-15T23:39:54Z | 2021-08-17T16:18:23Z | 2021-08-17T16:18:23Z | 2021-08-17T18:47:25Z |
BUG: nlargest/nsmallest can now consider nan values like sort_values(ascending=True).head(n) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index f0af60f80edd5..b1752a506c486 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -288,7 +288,7 @@ Indexing
- Bug in :meth:`Index.get_indexer_non_unique` when index contains multiple ``np.nan`` (:issue:`35... | - [x] closes #28984
- [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
nsmallest/nlargest are now consistent with x.sort_values(ascending=False).head(n)/x.sort_... | https://api.github.com/repos/pandas-dev/pandas/pulls/43060 | 2021-08-15T23:33:31Z | 2021-09-07T23:17:39Z | 2021-09-07T23:17:38Z | 2021-09-07T23:17:44Z |
PERF: read_stata | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 0c00077f27635..00471a0ef893e 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -222,6 +222,7 @@ Performance improvements
- Performance improvement in :meth:`GroupBy.shift` when ``fill_value`` argument i... | ```
from asv_bench.benchmarks.io.stata import *
self = StataMissing()
self.setup("tc")
%timeit self.time_read_stata("tc")
150 ms ± 3.3 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master
114 ms ± 2.81 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- PR
```
cc @bashtage | https://api.github.com/repos/pandas-dev/pandas/pulls/43059 | 2021-08-15T19:42:59Z | 2021-08-18T00:07:52Z | 2021-08-18T00:07:52Z | 2021-08-18T00:50:25Z |
Backport PR #43046 on branch 1.3.x (DOC: Start v1.3.3 release notes) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 1978913da4073..ee2f44bd9e981 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -16,6 +16,7 @@ Version 1.3
.. toctree::
:maxdepth: 2
+ v1.3.3
v1.3.2
v1.3.1
v1.3.0
diff --git a/doc/source/... | Backport PR #43046: DOC: Start v1.3.3 release notes | https://api.github.com/repos/pandas-dev/pandas/pulls/43055 | 2021-08-15T16:15:57Z | 2021-08-15T17:13:11Z | 2021-08-15T17:13:11Z | 2021-08-15T17:13:11Z |
REGR: SeriesGrouper using Timestamp index | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index b3cd6d00d4322..4150c042cdc55 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -15,7 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Performance regression in :meth:... | - [x] closes https://github.com/pandas-dev/pandas/issues/42390
- [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
Not sure what the defining characteristic of th... | https://api.github.com/repos/pandas-dev/pandas/pulls/43054 | 2021-08-15T15:41:09Z | 2021-08-17T16:04:17Z | 2021-08-17T16:04:17Z | 2021-08-17T17:09:09Z |
REGR: window ewm slowdown | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index 78f1883695c47..b3cd6d00d4322 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Performance regression in :met... | - [x] closes #42333
- [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 (will move once 1.3.3 notes merged)
```
- 3.22±0.09ms 1.29±0.3ms 0.40 roll... | https://api.github.com/repos/pandas-dev/pandas/pulls/43052 | 2021-08-15T14:34:05Z | 2021-08-16T20:26:59Z | 2021-08-16T20:26:59Z | 2021-08-16T21:01:55Z |
DOC: Typo fix in "Extending Pandas" | diff --git a/doc/source/development/extending.rst b/doc/source/development/extending.rst
index f7beff2dd81cc..c10fcf6eacfc7 100644
--- a/doc/source/development/extending.rst
+++ b/doc/source/development/extending.rst
@@ -50,7 +50,7 @@ decorate a class, providing the name of attribute to add. The class's
Now users ca... | Fixes typo in docs `Dataframe` -> `DataFrame`
| https://api.github.com/repos/pandas-dev/pandas/pulls/43051 | 2021-08-15T13:39:41Z | 2021-08-15T17:07:44Z | 2021-08-15T17:07:44Z | 2021-08-15T17:07:51Z |
Backport PR #43045 on branch 1.3.x (1.3.2 release date) | diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst
index a94eab960418b..97803856c3d94 100644
--- a/doc/source/whatsnew/v1.3.2.rst
+++ b/doc/source/whatsnew/v1.3.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_132:
-What's new in 1.3.2 (August ??, 2021)
+What's new in 1.3.2 (August 15, 2021)
-----------... | Backport PR #43045 | https://api.github.com/repos/pandas-dev/pandas/pulls/43049 | 2021-08-15T10:41:48Z | 2021-08-15T11:38:37Z | 2021-08-15T11:38:37Z | 2021-08-15T11:38:44Z |
TST: cleanup of any_* test fixtures GH38017 | diff --git a/asv_bench/benchmarks/dtypes.py b/asv_bench/benchmarks/dtypes.py
index c561b80ed1ca6..c45d5a0814544 100644
--- a/asv_bench/benchmarks/dtypes.py
+++ b/asv_bench/benchmarks/dtypes.py
@@ -51,9 +51,9 @@ def time_pandas_dtype_invalid(self, dtype):
class SelectDtypes:
params = [
- tm.ALL_INT_DTYPES... | - [X] closes #38017
- [ ] 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 | https://api.github.com/repos/pandas-dev/pandas/pulls/43047 | 2021-08-15T09:33:55Z | 2021-08-18T17:22:25Z | 2021-08-18T17:22:24Z | 2021-08-18T17:22:43Z |
DOC: Start v1.3.3 release notes | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 77686935e071c..eeddbb819eca1 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -24,6 +24,7 @@ Version 1.3
.. toctree::
:maxdepth: 2
+ v1.3.3
v1.3.2
v1.3.1
v1.3.0
diff --git a/doc/source/... | ~~will fail till v1.3.2 tag exists~~
| https://api.github.com/repos/pandas-dev/pandas/pulls/43046 | 2021-08-15T08:57:46Z | 2021-08-15T16:15:33Z | 2021-08-15T16:15:33Z | 2021-08-15T16:15:37Z |
1.3.2 release date | diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst
index a94eab960418b..97803856c3d94 100644
--- a/doc/source/whatsnew/v1.3.2.rst
+++ b/doc/source/whatsnew/v1.3.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_132:
-What's new in 1.3.2 (August ??, 2021)
+What's new in 1.3.2 (August 15, 2021)
-----------... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/43045 | 2021-08-15T08:42:57Z | 2021-08-15T10:34:58Z | 2021-08-15T10:34:58Z | 2021-08-15T10:36:22Z |
BUG: also copy `uuid` in `Styler.copy` | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 00471a0ef893e..321383aca0892 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -239,6 +239,7 @@ Categorical
- Bug in :meth:`Series.where` with ``CategoricalDtype`` when passing a dtype-incompatible valu... | due after #43037
When a `styler` is copied this PR makes sure the set `uuid` is also copied. (also helps with an upcoming PR). | https://api.github.com/repos/pandas-dev/pandas/pulls/43044 | 2021-08-15T06:09:44Z | 2021-08-18T23:52:23Z | 2021-08-18T23:52:23Z | 2021-08-19T05:20:47Z |
BUG: JoinUnit._is_valid_na_for | diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py
index 1802a4d58a34a..0aed9e697ca66 100644
--- a/pandas/core/internals/concat.py
+++ b/pandas/core/internals/concat.py
@@ -10,7 +10,11 @@
import numpy as np
-from pandas._libs import internals as libinternals
+from pandas._libs import (
... | Fixing this unblocks a refactor to share some code with the ArrayManager logic which I _think_ will fix some of the broken ArrayManager cases. | https://api.github.com/repos/pandas-dev/pandas/pulls/43043 | 2021-08-14T20:52:22Z | 2021-08-16T20:48:34Z | 2021-08-16T20:48:34Z | 2021-08-16T21:47:04Z |
Fix len one list dataframe constructor bug for datetime | diff --git a/doc/source/whatsnew/v1.3.3.rst b/doc/source/whatsnew/v1.3.3.rst
index b3cd6d00d4322..549d0dcb593fd 100644
--- a/doc/source/whatsnew/v1.3.3.rst
+++ b/doc/source/whatsnew/v1.3.3.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
+- Fixed regression in :class:`Da... | - [x] closes #42810
- [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/43041 | 2021-08-14T19:30:31Z | 2021-08-17T06:26:17Z | 2021-08-17T06:26:16Z | 2021-08-17T09:00:04Z |
TST: refactor types table in SQL test | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index 99e12ef39c4ee..6136bd0e1e057 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -16,6 +16,7 @@
- Tests for the fallback mode (`TestSQLiteFallback`)
"""
+from __future__ import annotations
import csv
from ... | xref #40686
| https://api.github.com/repos/pandas-dev/pandas/pulls/43040 | 2021-08-14T19:25:08Z | 2021-08-17T14:28:01Z | 2021-08-17T14:28:01Z | 2022-11-18T02:20:39Z |
REF: address the floating "_" in `styler.uuid` | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index b5e1dc51a5a2d..8fb989bbb60b7 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -349,7 +349,7 @@ ExtensionArray
Styler
^^^^^^
--
+- Minor bug in :class:`.Styler` where the ``uuid`` at initialization m... | addresses the issue whereby the set uuid at initialisation has a floating underscore:
```python
>>> styler = Styler(df, uuid="abc")
>>> print(styler.uuid)
abc_
```
Note: This is v minor but was discovered, and is useful to fix, due to an upcoming PR.
| https://api.github.com/repos/pandas-dev/pandas/pulls/43037 | 2021-08-14T14:51:27Z | 2021-08-17T16:03:19Z | 2021-08-17T16:03:19Z | 2021-08-17T17:15:24Z |
BUG: don't manipulate `styler` object due to args in `to_html` | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 33179cbd3a4d2..daa6a5d894191 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -355,7 +355,7 @@ ExtensionArray
Styler
^^^^^^
- Minor bug in :class:`.Styler` where the ``uuid`` at initialization mainta... | This is the same as #42323 except for `to_html` instead of `to_latex`. | https://api.github.com/repos/pandas-dev/pandas/pulls/43034 | 2021-08-14T07:05:08Z | 2021-08-19T16:13:56Z | 2021-08-19T16:13:56Z | 2021-08-19T17:10:43Z |
DOC: arguments options correction | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index a72de753d6a8a..ece016f495770 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -1685,7 +1685,7 @@ def set_sticky(
Parameters
----------
- axis : {0 or 'index', 1 or 'columns', None}, default 0... | oversight in recent method addition for 1.4.0 / 1.3.2. backport.
no release note necessary. Can also be backported to 1.3.2.
| https://api.github.com/repos/pandas-dev/pandas/pulls/43033 | 2021-08-14T06:42:29Z | 2021-08-16T20:27:22Z | 2021-08-16T20:27:22Z | 2021-08-17T05:20:53Z |
DOC: Clarify dtype of returned object from window ops | diff --git a/pandas/core/window/doc.py b/pandas/core/window/doc.py
index b80a73a930818..9a645f55ffa39 100644
--- a/pandas/core/window/doc.py
+++ b/pandas/core/window/doc.py
@@ -16,7 +16,7 @@ def create_section_header(header: str) -> str:
template_returns = dedent(
"""
Series or DataFrame
- Return type... | - [x] closes #43023
- [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
| https://api.github.com/repos/pandas-dev/pandas/pulls/43030 | 2021-08-14T00:11:26Z | 2021-08-14T21:54:26Z | 2021-08-14T21:54:26Z | 2021-08-14T21:54:29Z |
DOC: Ensure pandas warnings & exceptions are always documented in API docs | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 892b8d6dfa0c8..eb0abe1829fc6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -164,3 +164,8 @@ repos:
entry: python scripts/no_bool_in_generic.py
language: python
files: ^pandas/core/generic\.py$
+ - ... | - [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
Also adds a pre-commit check that errors in `doc/source/reference/general_utility_functions.rst` are synced with `pandas/errors/__init__.py` | https://api.github.com/repos/pandas-dev/pandas/pulls/43029 | 2021-08-14T00:08:31Z | 2021-08-18T15:58:27Z | 2021-08-18T15:58:27Z | 2021-08-18T15:59:46Z |
DEPR: Int64Index, UInt64Index & Float64Index | diff --git a/doc/source/user_guide/advanced.rst b/doc/source/user_guide/advanced.rst
index 535b503e4372c..fd89e4e896178 100644
--- a/doc/source/user_guide/advanced.rst
+++ b/doc/source/user_guide/advanced.rst
@@ -851,12 +851,12 @@ values **not** in the categories, similarly to how you can reindex **any** panda
Int64In... | * [x] xref #42717
* [x] xref #41153 & #42706
Deprecates Int64Index, UInt64Index & Float64Index.
I don't think it will be sensible to emit a deprecation warning for these because they have a lot of internal usage as is, so I've just added texts explaining that these are deprecated and will be removed in Pandas 2.... | https://api.github.com/repos/pandas-dev/pandas/pulls/43028 | 2021-08-13T23:20:50Z | 2021-09-01T23:01:48Z | 2021-09-01T23:01:48Z | 2022-10-22T00:00:02Z |
Backport PR #42999 on branch 1.3.x (TST: Fix test related to reverting fastparquet nullable support) | diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py
index 49384cfb2e554..5671cce1b966d 100644
--- a/pandas/io/parquet.py
+++ b/pandas/io/parquet.py
@@ -311,7 +311,7 @@ def read(
):
parquet_kwargs: dict[str, Any] = {}
use_nullable_dtypes = kwargs.pop("use_nullable_dtypes", False)
- if ... | Backport PR #42999: TST: Fix test related to reverting fastparquet nullable support | https://api.github.com/repos/pandas-dev/pandas/pulls/43027 | 2021-08-13T21:38:49Z | 2021-08-13T22:43:56Z | 2021-08-13T22:43:56Z | 2021-08-13T22:43:56Z |
Bug in Series constructor returning wrong missing values | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index f0af60f80edd5..98ecff94773e0 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -264,6 +264,7 @@ Numeric
Conversion
^^^^^^^^^^
- Bug in :class:`UInt64Index` constructor when passing a list containing b... | - [x] closes #43017
- [x] xref #43018 (if the reindex case is ok, then this is done too)
- [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
This ensures consist... | https://api.github.com/repos/pandas-dev/pandas/pulls/43026 | 2021-08-13T20:29:34Z | 2021-08-19T02:01:55Z | 2021-08-19T02:01:54Z | 2022-04-01T20:45:26Z |
PERF: unstack | diff --git a/pandas/_libs/internals.pyi b/pandas/_libs/internals.pyi
index 3feefe7ac8ff4..609a886e74581 100644
--- a/pandas/_libs/internals.pyi
+++ b/pandas/_libs/internals.pyi
@@ -42,6 +42,7 @@ class BlockPlacement:
def __len__(self) -> int: ...
def delete(self, loc) -> BlockPlacement: ...
def append(se... | - [ ] closes #xxxx
- [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
Avoids expensive get_indexer calls.
```
from asv_bench.benchmarks.reshape import *
s... | https://api.github.com/repos/pandas-dev/pandas/pulls/43025 | 2021-08-13T19:42:26Z | 2021-08-18T23:51:29Z | 2021-08-18T23:51:29Z | 2021-08-18T23:54:46Z |
CLN: Dead version checking code post minimum version bump | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 901e4f6942897..cfd8b7884033f 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -499,6 +499,7 @@ Other API Changes
- Most Pandas classes had a ``__bytes__`` method, which was used for getting a pytho... | - [x] xref #26832
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/27063 | 2019-06-26T19:19:18Z | 2019-06-27T23:14:00Z | 2019-06-27T23:14:00Z | 2019-06-27T23:14:21Z |
Install pyreadstat using conda instead | diff --git a/environment.yml b/environment.yml
index de9bd67dd9f06..c21a0949fc403 100644
--- a/environment.yml
+++ b/environment.yml
@@ -79,5 +79,4 @@ dependencies:
- xlrd # pandas.read_excel, DataFrame.to_excel, pandas.ExcelWriter, pandas.ExcelFile
- xlsxwriter # pandas.read_excel, DataFrame.to_excel, pandas.E... | ```
> conda search pyreadstat -c conda-forge
Loading channels: done
# Name Version Build Channel
pyreadstat 0.2.1 py36h301d43c_0 conda-forge
pyreadstat 0.2.1 py37h301d43c_0 conda-forge
pyreadstat 0.2.5 py36h301d43c_0... | https://api.github.com/repos/pandas-dev/pandas/pulls/27061 | 2019-06-26T18:47:40Z | 2019-06-26T19:24:46Z | 2019-06-26T19:24:46Z | 2019-06-27T08:30:20Z |
Contributing Guide for Type Hints | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index 92d7cf1a79d8c..548760039ab28 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -710,6 +710,136 @@ You'll also need to
See :ref:`contributing.warnings` for more.
+... | Want to get this documented as we've been picking up momentum with type hints
@toobaz @TomAugspurger @vaibhavhrt @gwrome @makbigc | https://api.github.com/repos/pandas-dev/pandas/pulls/27050 | 2019-06-26T13:37:58Z | 2019-08-25T16:05:00Z | 2019-08-25T16:05:00Z | 2019-08-25T16:06:33Z |
Use mypy default follow import strategy | diff --git a/mypy.ini b/mypy.ini
index f8b37ee5b8663..d29beeca73f1b 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,6 +1,5 @@
[mypy]
ignore_missing_imports=True
-follow_imports=silent
[mypy-pandas.conftest,pandas.tests.*]
ignore_errors=True
\ No newline at end of file
| This was put in place as we were fixing up old annotations but isn't required at this point, so can safely remove and stick with mypy defaults (which is more strict)
| https://api.github.com/repos/pandas-dev/pandas/pulls/27048 | 2019-06-26T12:41:28Z | 2019-06-27T02:49:02Z | 2019-06-27T02:49:02Z | 2020-01-16T00:34:52Z |
ENH: Exclude nuisance columns from result of window functions | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 1980e00f1073d..a94cd041448e5 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -769,6 +769,7 @@ Groupby/resample/rolling
- Bug in :meth:`pandas.core.groupby.GroupBy.agg` where incorrect results are ... | - [x] closes #12537
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/27044 | 2019-06-25T22:21:11Z | 2019-07-01T16:41:06Z | 2019-07-01T16:41:06Z | 2019-07-11T15:46:40Z |
CLN: Remove no-longer-used BlockManager.xs | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 92ea936944a3c..c6be56df7ae0c 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -647,24 +647,13 @@ def _try_cast_result(self, result, dtype=None):
if self.is_integer or self.is_bool or self.i... | Also some unrecheable try_cast code. | https://api.github.com/repos/pandas-dev/pandas/pulls/27043 | 2019-06-25T20:59:23Z | 2019-06-26T15:56:35Z | 2019-06-26T15:56:35Z | 2020-04-05T17:36:42Z |
PKG: Add test extra | diff --git a/setup.cfg b/setup.cfg
index 68d042ecfc4b8..eb687c1f546d4 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -57,6 +57,7 @@ split_penalty_after_opening_bracket = 1000000
split_penalty_logical_operator = 30
[tool:pytest]
+# sync minversion with setup.cfg & install.rst
minversion = 4.0.2
testpaths = pandas
mark... | Closes https://github.com/pandas-dev/pandas/issues/25593 | https://api.github.com/repos/pandas-dev/pandas/pulls/27039 | 2019-06-25T17:03:55Z | 2019-06-26T12:18:55Z | 2019-06-26T12:18:55Z | 2019-06-26T12:18:59Z |
CLN: Remove never-True Block.is_sparse | diff --git a/pandas/core/dtypes/concat.py b/pandas/core/dtypes/concat.py
index a01ba7fc94f22..242885c7a9679 100644
--- a/pandas/core/dtypes/concat.py
+++ b/pandas/core/dtypes/concat.py
@@ -73,10 +73,7 @@ def _get_series_result_type(result, objs=None):
return DataFrame
# otherwise it is a SingleBlock... | Along with some non-reachable branches in Block.quantile. This in turn lets us get rid of Block._na_value. | https://api.github.com/repos/pandas-dev/pandas/pulls/27037 | 2019-06-25T14:18:15Z | 2019-06-25T16:13:20Z | 2019-06-25T16:13:20Z | 2019-06-25T17:59:44Z |
API/REGR: Convert to float for index union | diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst
index 4ea7c656fd197..02522e95a2d79 100644
--- a/doc/source/user_guide/indexing.rst
+++ b/doc/source/user_guide/indexing.rst
@@ -1559,11 +1559,11 @@ See :ref:`Advanced Indexing <advanced>` for usage of MultiIndexes.
index.levels[1]
... | This restores the 0.24.x behavior of Index.union(other) between
Float and (U)Int indexes. These are again floating dtype.
left | right | output of left.union(right)
----- | ----- | ------
int |float | float64
int |uint | object
float | uint | float64
https://github.com/pandas-dev/pandas/issues/26778... | https://api.github.com/repos/pandas-dev/pandas/pulls/27034 | 2019-06-25T11:52:28Z | 2019-06-27T17:24:54Z | 2019-06-27T17:24:53Z | 2019-06-27T17:24:58Z |
TST: parametrize pytable test | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index 20fd582179dc6..51ad01dd6b369 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -115,6 +115,7 @@ class ExtensionArray:
# ------------------------------------------------------------------------
# Constructors
... | This came up in troubleshooting a different branch, putting it up to trim the diff there.
Also a couple of small misc cleanups. | https://api.github.com/repos/pandas-dev/pandas/pulls/27032 | 2019-06-25T04:02:12Z | 2019-06-25T12:19:45Z | 2019-06-25T12:19:45Z | 2019-06-25T14:11:19Z |
CLN/PERF: remove gc.collect from the setting_with_copy checks as not needed | diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py
index 4c932cf3600e8..4e82fa5592529 100644
--- a/asv_bench/benchmarks/indexing.py
+++ b/asv_bench/benchmarks/indexing.py
@@ -5,7 +5,7 @@
from pandas import (Series, DataFrame, MultiIndex,
Int64Index, UInt64Index, Float... | This doesn't look might much of a perf gain, but in practice the gc collect can happen at odd times, so this change removes this uncertainty (and is much simpler code)
```
(pandas) bash-3.2$ asv continuous --bench chained_indexing master gc --config asv_bench/asv.conf.json
· Creating environments
· Discovering b... | https://api.github.com/repos/pandas-dev/pandas/pulls/27031 | 2019-06-25T03:03:33Z | 2019-06-27T16:37:36Z | 2019-06-27T16:37:36Z | 2019-06-27T16:37:37Z |
BUG: Restrict DTA to 1D | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 932ac71a23ed0..bdb73fa246d4f 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -16,12 +16,12 @@
from pandas.core.dtypes.common import (
ensure_float64, ensure_int64, ensure_object, ensure_platform_int,
ensure_uin... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Bug identified in #27015. Much less-kludgy patch for NDFrame.rank. | https://api.github.com/repos/pandas-dev/pandas/pulls/27027 | 2019-06-25T00:10:23Z | 2019-06-27T21:33:08Z | 2019-06-27T21:33:08Z | 2019-06-27T21:36:28Z |
BUG-26988 implement replace for categorical blocks | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index cd012fe755337..b36d4b230573e 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -297,6 +297,7 @@ Categorical
- Using date accessors on a categorical dtyped :class:`Series` of datetimes was not returning ... | - [X] closes #26988
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
The replace functions used in the code path that caused the bug report appeared to densify the series. This PR adds a replace function to `CategoricalBlock` that takes advantag... | https://api.github.com/repos/pandas-dev/pandas/pulls/27026 | 2019-06-24T23:22:15Z | 2019-11-16T21:54:02Z | 2019-11-16T21:54:02Z | 2019-11-16T21:54:12Z |
TST: Fix flaky test | diff --git a/pandas/tests/resample/test_resample_api.py b/pandas/tests/resample/test_resample_api.py
index 7157ecccace00..ca2fb1acb6afa 100644
--- a/pandas/tests/resample/test_resample_api.py
+++ b/pandas/tests/resample/test_resample_api.py
@@ -14,10 +14,15 @@
end=datetime(2005, 1, 10), freq='Min')
... | Addresses one of the checkboxes in #26823 | https://api.github.com/repos/pandas-dev/pandas/pulls/27010 | 2019-06-23T19:27:36Z | 2019-06-27T21:27:18Z | 2019-06-27T21:27:18Z | 2019-06-27T21:31:35Z |
PLT: Cleaner plotting backend API, and unify Series and DataFrame accessors | diff --git a/doc/source/development/extending.rst b/doc/source/development/extending.rst
index 12af80f1bce80..b492a4edd70a4 100644
--- a/doc/source/development/extending.rst
+++ b/doc/source/development/extending.rst
@@ -416,3 +416,30 @@ Below is an example to define two original properties, "internal_cache" as a tem
... | - [X] xref #26747
- [ ] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The main changes are:
The API that backends need to implement is simply a function `plot(data, kind, **kwargs)`. After testing different approaches (abstract class previously m... | https://api.github.com/repos/pandas-dev/pandas/pulls/27009 | 2019-06-23T12:18:33Z | 2019-07-03T18:21:02Z | 2019-07-03T18:21:02Z | 2019-07-03T18:28:35Z |
CLN: Fix typos (mainly in docs and comments) | diff --git a/asv_bench/benchmarks/offset.py b/asv_bench/benchmarks/offset.py
index 26e344758596f..9b738e699a5b3 100644
--- a/asv_bench/benchmarks/offset.py
+++ b/asv_bench/benchmarks/offset.py
@@ -9,7 +9,7 @@
pass
hcal = pd.tseries.holiday.USFederalHolidayCalendar()
-# These offests currently raise a NotImplime... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/27007 | 2019-06-23T07:46:10Z | 2019-06-24T15:52:42Z | 2019-06-24T15:52:42Z | 2019-06-24T15:56:10Z |
BUG: XlsxWriter ignoring formats on numpy types if merged cells | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 73745fe0d5988..e2c0c34f0a753 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -765,6 +765,7 @@ I/O
- Fixed bug in :func:`pandas.read_csv` where a BOM would result in incorrect parsing using engine=... | The XlsxWriter `write_cells` method takes a `cells` parameter that is itself derived from a generator of the various cells in the DataFrame. It calls the `_value_with_format()` to convert any numpy types to Python types for the Excel writer.
In the section of code that deals with writing merged cells, the original ... | https://api.github.com/repos/pandas-dev/pandas/pulls/27006 | 2019-06-23T06:12:41Z | 2019-06-28T12:38:32Z | 2019-06-28T12:38:32Z | 2019-06-28T23:11:27Z |
TST: fix flaky test | diff --git a/pandas/tests/series/indexing/test_datetime.py b/pandas/tests/series/indexing/test_datetime.py
index cba1444846d0c..a8120ec9c5c58 100644
--- a/pandas/tests/series/indexing/test_datetime.py
+++ b/pandas/tests/series/indexing/test_datetime.py
@@ -425,7 +425,7 @@ def test_datetime_indexing():
"""
-@pytest... | One of the tests that uses this fixture modifies its value, so the `scope` kwarg is incorrect. The failure depends on the order in which the test is run. AFAICT only showing up on OSX.
Hits one of the checkboxes in #26823. | https://api.github.com/repos/pandas-dev/pandas/pulls/27004 | 2019-06-22T23:28:15Z | 2019-06-23T09:05:27Z | 2019-06-23T09:05:27Z | 2019-06-23T16:10:38Z |
BUG: fix empty Series repr for subclasses | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index a897f364d8066..6c592d8ab5197 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -780,6 +780,7 @@ Other
- Removed unused C functions from vendored UltraJSON implementation (:issue:`26198`)
- Bug in :... | Currently, the 'Series' name is hardcoded in the empty repr. This small patch ensures it uses the name of the class. | https://api.github.com/repos/pandas-dev/pandas/pulls/27001 | 2019-06-22T13:44:00Z | 2019-06-25T00:47:47Z | 2019-06-25T00:47:47Z | 2019-07-09T15:02:19Z |
DOC: Do not mention private classes in the documentation | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index a16580679ff54..ac86815569a0c 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -256,8 +256,8 @@ fi
### DOCSTRINGS ###
if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
- MSG='Validate docstrings (GL03, GL06, GL07, GL09, SS04, SS05, PR03, PR04,... | - [x] closes #26981
- [x] tests `python validate_docstrings.py --errors=GL04` passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/26997 | 2019-06-22T09:30:32Z | 2019-06-23T11:58:07Z | 2019-06-23T11:58:06Z | 2019-06-23T11:58:07Z |
DOC: df.astype example using dictionary | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 360576ffdb00a..b08c101356157 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5622,6 +5622,31 @@ def astype(self, dtype, copy=True, errors='raise', **kwargs):
Examples
--------
+ Create a DataFrame:
+
+ ... | Closes #26990
| https://api.github.com/repos/pandas-dev/pandas/pulls/26994 | 2019-06-22T01:05:34Z | 2019-06-22T19:19:38Z | 2019-06-22T19:19:38Z | 2019-06-22T19:41:24Z |
xfail test_missing_required_dependency test | diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py
index 9fe8b0f9563ef..bb662e99664e2 100644
--- a/pandas/tests/test_downstream.py
+++ b/pandas/tests/test_downstream.py
@@ -133,13 +133,20 @@ def test_pyarrow(df):
tm.assert_frame_equal(result, df)
+@pytest.mark.xfail(reason="pandas-w... | See https://github.com/MacPython/pandas-wheels/pull/50. I can't get this test to work reliably. | https://api.github.com/repos/pandas-dev/pandas/pulls/26993 | 2019-06-21T20:58:02Z | 2019-06-21T22:10:44Z | 2019-06-21T22:10:44Z | 2020-04-28T20:42:11Z |
CLN: move pytables tests to tests/io/pytables dir | diff --git a/pandas/tests/io/pytables/__init__.py b/pandas/tests/io/pytables/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/io/pytables/test_compat.py b/pandas/tests/io/pytables/test_compat.py
index d74e1218ebdb0..34ed066dd3748 100644
--- a/pandas/tests/io/pytables/test_co... | This is a follow-up to [this comment](https://github.com/pandas-dev/pandas/pull/26818#issuecomment-504443559).
This moves two test modules (`test_pytables.py` and `test_pytables_missing.py`) into the new `tests/io/pytables` directory introduced in https://github.com/pandas-dev/pandas/pull/26818.
@jreback let me k... | https://api.github.com/repos/pandas-dev/pandas/pulls/26986 | 2019-06-21T16:09:09Z | 2019-06-21T17:55:28Z | 2019-06-21T17:55:28Z | 2019-06-21T17:55:34Z |
CLN: clean-up sanitize_array series construction | diff --git a/pandas/core/internals/construction.py b/pandas/core/internals/construction.py
index 96b4ab7f3fbc6..2dc63fb97ed54 100644
--- a/pandas/core/internals/construction.py
+++ b/pandas/core/internals/construction.py
@@ -21,8 +21,8 @@
is_extension_array_dtype, is_extension_type, is_float_dtype,
is_integer... | Some possible clean-up that I encountered when doing https://github.com/pandas-dev/pandas/pull/26848/ | https://api.github.com/repos/pandas-dev/pandas/pulls/26979 | 2019-06-21T07:08:27Z | 2019-06-28T12:32:41Z | 2019-06-28T12:32:41Z | 2019-06-28T12:32:45Z |
Assorted cleanups | diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py
index 907498c7ff350..7fe34279c0482 100644
--- a/pandas/core/internals/managers.py
+++ b/pandas/core/internals/managers.py
@@ -23,7 +23,6 @@
from pandas.core.dtypes.missing import isna
import pandas.core.algorithms as algos
-from pand... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26975 | 2019-06-20T23:00:10Z | 2019-06-21T00:51:19Z | 2019-06-21T00:51:19Z | 2019-06-21T00:56:41Z |
Surface NumPy FutureWarning about comparisons | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 68faa3eb3e883..73abd708415a1 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -76,13 +76,8 @@ def cmp_method(self, other):
result = ops._comp_method_OBJECT_ARRAY(op, self.values, other)
... | Closes https://github.com/pandas-dev/pandas/issues/22698
Specifically, see
https://github.com/pandas-dev/pandas/issues/22698#issuecomment-458968300.
I don't think we need to worry about the others in https://github.com/pandas-dev/pandas/issues/22698#issuecomment-422446071 datetimearray and integer array. I could... | https://api.github.com/repos/pandas-dev/pandas/pulls/26966 | 2019-06-20T14:00:58Z | 2019-06-21T01:11:56Z | 2019-06-21T01:11:56Z | 2019-06-21T01:11:56Z |
TST: fix class method of test BoolArray | diff --git a/pandas/tests/extension/arrow/bool.py b/pandas/tests/extension/arrow/bool.py
index 435ea4e3ec2b5..2263f53544e41 100644
--- a/pandas/tests/extension/arrow/bool.py
+++ b/pandas/tests/extension/arrow/bool.py
@@ -114,6 +114,7 @@ def copy(self, deep=False):
else:
return type(self)(copy.copy... | From discussion in https://github.com/pandas-dev/pandas/pull/26914. | https://api.github.com/repos/pandas-dev/pandas/pulls/26957 | 2019-06-20T06:18:12Z | 2019-06-20T06:58:53Z | 2019-06-20T06:58:52Z | 2019-06-20T06:59:23Z |
TST: Fix flaky import test | diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py
index 14d3ee5ac4fe2..9fe8b0f9563ef 100644
--- a/pandas/tests/test_downstream.py
+++ b/pandas/tests/test_downstream.py
@@ -1,7 +1,6 @@
"""
Testing that we work in the downstream packages
"""
-import builtins
import importlib
import subpr... | I'm not sure why, but the missing dependency test is
causing issues. Now we check that things work by running
it in a subprocess with site-packages disabled.
Closes https://github.com/pandas-dev/pandas/issues/26952 | https://api.github.com/repos/pandas-dev/pandas/pulls/26953 | 2019-06-20T01:38:08Z | 2019-06-20T11:48:14Z | 2019-06-20T11:48:14Z | 2019-06-20T11:48:18Z |
Additional tests for ufunc(Series) | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 77b689569d57f..dc04118222e16 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -773,7 +773,7 @@ Sparse
- Bug in :class:`SparseFrame` constructor where passing ``None`` as the data would cause ``defa... | This adds a set of tests for ufuncs on Series. The goal is to
establish the correct behavior prior to implementing `Series.__array_ufunc__`.
There are two kinds of xfails right now
1. Series[Sparse] fails because `Series.__array_ufunc__` doesn't
yet dispatch to `Series.array.__array_ufunc__`
2. `ufunc(seri... | https://api.github.com/repos/pandas-dev/pandas/pulls/26951 | 2019-06-19T18:02:20Z | 2019-06-21T15:58:29Z | 2019-06-21T15:58:29Z | 2019-06-21T15:58:34Z |
DOC: Make section title capitalization consistent #26830 | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index c9c76f307d93f..26e9b2fdb07a6 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -127,7 +127,7 @@ to build the documentation locally before pushing your changes.
.. _... | - [X] closes #26830
This superseeds #26933, and should contain all the fixes requested there.
| https://api.github.com/repos/pandas-dev/pandas/pulls/26950 | 2019-06-19T17:24:26Z | 2019-06-27T21:25:03Z | 2019-06-27T21:25:02Z | 2019-06-27T21:25:13Z |
BUG: modf(SparseArray) | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index b458b0f998255..e6bc422b52e89 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -769,6 +769,7 @@ Sparse
- Bug in :class:`SparseFrame` constructor where passing ``None`` as the data would cause ``defa... | Closes #26946
| https://api.github.com/repos/pandas-dev/pandas/pulls/26947 | 2019-06-19T15:19:48Z | 2019-06-19T17:57:41Z | 2019-06-19T17:57:41Z | 2019-06-19T18:40:58Z |
BUG: Fix skiplist init error with empty window | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index e6bc422b52e89..8767a0c2d5ea1 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -742,6 +742,7 @@ Groupby/Resample/Rolling
- Bug in :meth:`pandas.core.groupby.SeriesGroupBy.transform` where transformi... | - [x] fixes MemoryError issue in #26005
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26940 | 2019-06-19T11:44:17Z | 2019-06-21T01:19:27Z | 2019-06-21T01:19:27Z | 2019-07-11T15:47:45Z |
Add type hint for (core.arrays).ranges | diff --git a/pandas/core/arrays/_ranges.py b/pandas/core/arrays/_ranges.py
index 4fbb8ae9f9aee..7a83b7960a6e7 100644
--- a/pandas/core/arrays/_ranges.py
+++ b/pandas/core/arrays/_ranges.py
@@ -3,14 +3,19 @@
(and possibly TimedeltaArray/PeriodArray)
"""
+from typing import Tuple
+
import numpy as np
from pandas.... | - [x] xref #26792
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26936 | 2019-06-19T02:31:44Z | 2019-06-21T01:48:23Z | 2019-06-21T01:48:23Z | 2019-06-21T04:11:23Z |
DOC: Disallowing search engines in the development docs | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 11284254c7a0f..cfd7f6546833d 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -146,6 +146,7 @@ jobs:
git init
touch .nojekyll
echo "dev.pandas.io" > CNAME
+ printf "User-agent: *\nDisallow: /" > robots.txt
git add... | - [X] closes #26924
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26931 | 2019-06-18T20:25:05Z | 2019-06-18T23:57:08Z | 2019-06-18T23:57:08Z | 2019-06-19T08:20:58Z |
BUG: Fix timedelta64+Timestamp, closes #24775 | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 109005364fca6..81b7aa07b4c0b 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -603,6 +603,8 @@ Datetimelike
- Bug when comparing a :class:`PeriodIndex` against a zero-dimensional numpy array (:issu... | - [x] closes #24775
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26916 | 2019-06-18T03:08:55Z | 2019-06-25T12:48:14Z | 2019-06-25T12:48:14Z | 2019-06-25T14:10:04Z |
Fix miscellaneous small holiday errors | diff --git a/pandas/tseries/holiday.py b/pandas/tseries/holiday.py
index 030d2744cd7f5..7171a6a182bdc 100644
--- a/pandas/tseries/holiday.py
+++ b/pandas/tseries/holiday.py
@@ -148,8 +148,8 @@ class from pandas.tseries.offsets
--------
>>> from pandas.tseries.holiday import Holiday, nearest_workday
... | Modified an incorrect comment on US Memorial Day and corrected some holiday names.
Nothing affects the code, only trying to contribute because I noticed some issues while reading through. | https://api.github.com/repos/pandas-dev/pandas/pulls/26912 | 2019-06-17T22:59:38Z | 2019-06-18T16:00:42Z | 2019-06-18T16:00:42Z | 2019-06-18T16:00:45Z |
Raise a ValueError when index and data lengths don't match | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 18a3785867714..901e4f6942897 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -673,6 +673,8 @@ Indexing
^^^^^^^^
- Improved exception message when calling :meth:`DataFrame.iloc` with a list of n... | - [x] closes #26658
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26911 | 2019-06-17T21:44:44Z | 2019-06-26T19:48:44Z | 2019-06-26T19:48:44Z | 2019-06-26T19:48:49Z |
BUG: Fix rolling median and quantile with closed='left' and closed='neither' (#26005) | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index a6b74865f6619..114dd463e729c 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -744,6 +744,7 @@ Groupby/Resample/Rolling
- Bug in :meth:`pandas.core.frame.DataFrame.groupby` where passing a :class:`... | - [x] Fixes issues with rolling `median` (and also `quantile`) `closed='left'` and `closed='neither'` in #26005
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Here is my understanding of how it should work:
*Same as test cases, there is one... | https://api.github.com/repos/pandas-dev/pandas/pulls/26910 | 2019-06-17T20:44:10Z | 2019-06-21T17:01:35Z | 2019-06-21T17:01:35Z | 2019-07-11T15:47:48Z |
Allow multiple lambdas in Groupby.aggregate | diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst
index 54e26c155595b..147f07e36efb8 100644
--- a/doc/source/user_guide/groupby.rst
+++ b/doc/source/user_guide/groupby.rst
@@ -568,6 +568,29 @@ For a grouped ``DataFrame``, you can rename in a similar manner:
... | Closes https://github.com/pandas-dev/pandas/issues/26430
| https://api.github.com/repos/pandas-dev/pandas/pulls/26905 | 2019-06-17T16:47:42Z | 2019-06-27T23:20:11Z | 2019-06-27T23:20:11Z | 2019-07-22T13:36:16Z |
CLN: introduce test decorator skip_if_np_lt(ver_string) | diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py
index 3499d631376d8..c738cc74e46a4 100644
--- a/pandas/compat/numpy/__init__.py
+++ b/pandas/compat/numpy/__init__.py
@@ -1,9 +1,9 @@
""" support numpy compatiblitiy across versions """
-import re
-import numpy as np
from distutils.versi... | just make it a function instead of adding `n` flags.
| https://api.github.com/repos/pandas-dev/pandas/pulls/26901 | 2019-06-17T12:50:05Z | 2019-06-18T10:07:17Z | 2019-06-18T10:07:17Z | 2019-06-19T00:11:36Z |
DOC: Changed string to give intended explanation #26865 | diff --git a/doc/source/user_guide/missing_data.rst b/doc/source/user_guide/missing_data.rst
index 417eead3a2b33..cd70a109b3c77 100644
--- a/doc/source/user_guide/missing_data.rst
+++ b/doc/source/user_guide/missing_data.rst
@@ -606,7 +606,7 @@ list of regex -> list of regex:
.. ipython:: python
- df.replace([r'... | - [x] closes #26865
| https://api.github.com/repos/pandas-dev/pandas/pulls/26891 | 2019-06-16T20:06:33Z | 2019-06-16T20:47:34Z | 2019-06-16T20:47:34Z | 2019-06-17T11:21:38Z |
Add type hints for (BlockManager|SingleBlockManager).blocks | diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py
index a1e5468e2f871..907498c7ff350 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, Union
+from typin... | - [x] xref #26792 & #26871
This PR add a type hint for ``(BlockManager|SingleBlockManager).blocks`` and ``(BlockManager|SingleBlockManager).__init__``.
This follows up to the type hints added in #26871 and makes it easier to work with the ``BlockManager`` and blocks in Pandas. | https://api.github.com/repos/pandas-dev/pandas/pulls/26888 | 2019-06-16T18:12:58Z | 2019-06-19T00:19:16Z | 2019-06-19T00:19:16Z | 2019-06-19T13:34:50Z |
Enhancement Add max_level param to json_normalize | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 7caaec62c0a8a..ca058c919cad5 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -2186,6 +2186,19 @@ into a flat table.
json_normalize(data, 'counties', ['state', 'shortname', ['info', 'governor']])
+The m... | - [x] closes #23843
- [x] closes #23861
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26876 | 2019-06-16T03:43:16Z | 2019-07-03T11:21:58Z | 2019-07-03T11:21:58Z | 2019-07-06T14:56:19Z |
BUG: from_dict ignored order of OrderedDict (#8425) | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index ab242ece98181..510918e1e1698 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -1149,6 +1149,7 @@ Reshaping
- Bug in :func:`DataFrame.sort_index` where an error is thrown when a multi-indexed ``Data... | - [x] closes #8425
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Updated some existing test codes because index order in some DataFrames constructed by from_dict have changed after this fix. | https://api.github.com/repos/pandas-dev/pandas/pulls/26875 | 2019-06-16T03:15:53Z | 2019-07-08T01:26:50Z | 2019-07-08T01:26:50Z | 2019-07-08T22:24:41Z |
Small cleanups | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index b0c91543dabac..ebf1f692ccde6 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -401,10 +401,6 @@ def __array__(self, dtype=None):
return np.array(list(self), dtype=object)
... | Broken off from another branch to trim the diff on an upcoming PR. | https://api.github.com/repos/pandas-dev/pandas/pulls/26874 | 2019-06-16T02:46:04Z | 2019-06-16T08:53:07Z | 2019-06-16T08:53:07Z | 2019-06-16T16:05:22Z |
Add docstring to the insertion method & add empty result note | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 1d49dbdee9c03..5a90ae23dc84d 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -5047,6 +5047,17 @@ Example of a callable using PostgreSQL `COPY clause
from io import StringIO
def psql_insert_copy(table, ... | closes #21364
closes #26868
- [x] tests passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- **What's new?** Some small fixes in documentation.
| https://api.github.com/repos/pandas-dev/pandas/pulls/26872 | 2019-06-15T21:34:16Z | 2019-09-03T18:36:07Z | 2019-09-03T18:36:06Z | 2019-09-03T18:36:09Z |
Add type hints for (DataFrame|Series)._data | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 903fd7ffe706a..463659ca8ea44 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -6,7 +6,7 @@
import operator
import pickle
from textwrap import dedent
-from typing import Callable, FrozenSet, List, Set
+from typing import Callable, F... | - [x] xref #26792
This PR add a type hint for ``(DataFrame|Series)._data`` and ``NDFrame.__init__``. This makes it easier to work with the ``BlockManager`` in Pandas.
| https://api.github.com/repos/pandas-dev/pandas/pulls/26871 | 2019-06-15T18:49:38Z | 2019-06-16T14:05:21Z | 2019-06-16T14:05:21Z | 2019-06-16T14:12:08Z |
Add typing annotation to IntervalIndex.intersection | diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py
index 24fcb32d09d27..896935fa72adb 100644
--- a/pandas/core/indexes/interval.py
+++ b/pandas/core/indexes/interval.py
@@ -1140,7 +1140,10 @@ def overlaps(self, other):
@Appender(_index_shared_docs['intersection'])
@SetopCheck(op_... | Follow up https://github.com/pandas-dev/pandas/pull/26225#pullrequestreview-242044547 | https://api.github.com/repos/pandas-dev/pandas/pulls/26870 | 2019-06-15T13:56:51Z | 2019-06-18T15:59:35Z | 2019-06-18T15:59:35Z | 2019-06-18T15:59:39Z |
Annotate DataFrame (Part 1) | diff --git a/pandas/_typing.py b/pandas/_typing.py
index 37a5d7945955d..de9fb5b944186 100644
--- a/pandas/_typing.py
+++ b/pandas/_typing.py
@@ -1,5 +1,5 @@
from pathlib import Path
-from typing import IO, TYPE_CHECKING, AnyStr, Optional, TypeVar, Union
+from typing import IO, TYPE_CHECKING, AnyStr, Iterable, Optional... | - [x] Part of #26792
- [x] tests passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26867 | 2019-06-15T11:54:02Z | 2019-09-12T20:47:55Z | 2019-09-12T20:47:54Z | 2019-09-13T05:23:26Z |
BLD: fix build error for PyPy on macOS (#26536) | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 207d16afd350f..27d0460dfd93c 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -736,6 +736,11 @@ Sparse
- Bug in :class:`SparseDataFrame` when adding a column in which the length of values does not ... | - [x] closes #26536
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This change should have no effect on CPython, and may fix a crash in when trying to install using PyPy (see #26536).
I've given this a very quick check by installing locally ... | https://api.github.com/repos/pandas-dev/pandas/pulls/26862 | 2019-06-14T23:08:01Z | 2019-06-21T16:25:33Z | 2019-06-21T16:25:32Z | 2019-06-21T16:25:46Z |
DOC: Update development documentation urls | diff --git a/README.md b/README.md
index e8bfd28cc8208..aeeea1464e1fd 100644
--- a/README.md
+++ b/README.md
@@ -224,7 +224,7 @@ Most development discussion is taking place on github in this repo. Further, the
All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
... | In #26648 we started building the documentation in https://dev.pandas.io . Updated the links to the development documentation to point to the new url. | https://api.github.com/repos/pandas-dev/pandas/pulls/26857 | 2019-06-14T18:18:08Z | 2019-06-18T14:21:25Z | 2019-06-18T14:21:25Z | 2019-06-18T14:21:30Z |
DOC: Remove travis doc build | diff --git a/.travis.yml b/.travis.yml
index 4d1281819e2cd..8335a6ee92bef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,17 +48,10 @@ matrix:
env:
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow"
- # In allow_failures
- - dist: trusty
- env:
- - JOB="3.6, do... | In #26648 we started building the documentation in azure pipelines. Seems to work fine, removing the travis build here. | https://api.github.com/repos/pandas-dev/pandas/pulls/26856 | 2019-06-14T18:12:16Z | 2019-06-18T13:42:23Z | 2019-06-18T13:42:22Z | 2019-06-18T13:42:26Z |
[ENH] nargsort handles EA with its _values_for_argsort | diff --git a/pandas/core/sorting.py b/pandas/core/sorting.py
index 21c0c8f747b10..750a4c903176f 100644
--- a/pandas/core/sorting.py
+++ b/pandas/core/sorting.py
@@ -1,6 +1,4 @@
""" miscellaneous sorting / groupby utilities """
-import warnings
-
import numpy as np
from pandas._libs import algos, hashtable, lib
@@ ... | - closes #25439
- 1 test added and 1 test deleted
- passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- whatsnew entry
Presently, `nargsort` can handle EA too. Because `np.asanyarray` turns EA into `np.ndarray`.
https://github.com/pandas-dev/pandas/blob/430f0fd04646a0ab44ccbfbad706dfe22e9fabfe/p... | https://api.github.com/repos/pandas-dev/pandas/pulls/26854 | 2019-06-14T15:31:23Z | 2019-06-26T13:28:16Z | 2019-06-26T13:28:16Z | 2019-06-26T13:28:17Z |
DOC/CI: Failing documentation build on warnings | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index b40d46bdebe02..9238c27002337 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -5,6 +5,7 @@ jobs:
parameters:
name: macOS
vmImage: xcode9-macos10.13
+
- template: ci/azure/posix.yml
parameters:
name: Linux
@@ -134,7 +135,10 @... | - [X] closes #24661, xref #24173
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/26852 | 2019-06-14T15:05:23Z | 2019-06-17T07:24:30Z | 2019-06-17T07:24:30Z | 2019-06-17T09:13:13Z |
DOC: Fixing even more warnings (not many left) | diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template
index f18c61b5e2f95..b57ce83cfc33c 100644
--- a/doc/source/index.rst.template
+++ b/doc/source/index.rst.template
@@ -38,8 +38,7 @@ See the :ref:`overview` for more detail about what's in the library.
:maxdepth: 3
:hidden:
{% endif %}... | - [X] xref #24173
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Let's wait for the logs, tested locally only part of them, but this should fix most of the remaining warnings.
CC: @jorisvandenbossche | https://api.github.com/repos/pandas-dev/pandas/pulls/26850 | 2019-06-14T11:45:43Z | 2019-06-14T13:56:33Z | 2019-06-14T13:56:33Z | 2019-06-14T13:56:33Z |
DOC: fix typo | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index 135fb55cfce50..b5c7ae7a213cb 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -221,7 +221,7 @@ You'll need to have at least python3.5 installed on your system.
# ... | https://api.github.com/repos/pandas-dev/pandas/pulls/26849 | 2019-06-14T11:44:49Z | 2019-06-14T12:20:58Z | 2019-06-14T12:20:58Z | 2019-06-14T14:37:10Z | |
BUG: catch out-of-bounds datetime64 in Series/DataFrame constructor | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index a6b74865f6619..a897f364d8066 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -600,6 +600,7 @@ Datetimelike
- Bug in :meth:`isin` for datetimelike indexes; :class:`DatetimeIndex`, :class:`Timedelta... | - [x] closes https://github.com/pandas-dev/pandas/issues/26206
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
TODO: Need to add a whatsnew and test for DataFrame.
Question:
I am now letting this raise an error. But, an alternative could b... | https://api.github.com/repos/pandas-dev/pandas/pulls/26848 | 2019-06-14T10:14:08Z | 2019-06-21T07:05:08Z | 2019-06-21T07:05:08Z | 2019-06-21T07:05:12Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.