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 |
|---|---|---|---|---|---|---|---|
TST: catch warnings in test_css | diff --git a/pandas/tests/io/formats/test_css.py b/pandas/tests/io/formats/test_css.py
index 904a333926c33..44f95266b6c78 100644
--- a/pandas/tests/io/formats/test_css.py
+++ b/pandas/tests/io/formats/test_css.py
@@ -1,5 +1,6 @@
import pytest
+from pandas.util import testing as tm
from pandas.io.formats.css import ... | closes #16033
| https://api.github.com/repos/pandas-dev/pandas/pulls/16094 | 2017-04-22T01:39:00Z | 2017-04-22T02:15:47Z | 2017-04-22T02:15:47Z | 2017-04-22T04:44:28Z |
BUG: fix degenerate MultiIndex sorting | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 781e90a39e48f..945922b5f9ba8 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -870,7 +870,7 @@ DataFrame.sort_index changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In certain cases, calling ``.sort_index()... | xref #15694
closes #15797 | https://api.github.com/repos/pandas-dev/pandas/pulls/16092 | 2017-04-22T01:29:47Z | 2017-04-22T02:58:17Z | 2017-04-22T02:58:17Z | 2017-04-22T05:49:41Z |
BUG: groupby-rolling with a timedelta | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 99df7426aca6d..781e90a39e48f 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1677,7 +1677,7 @@ Groupby/Resample/Rolling
- Bug in ``.groupby(..).resample()`` when passed the ``on=`` kwarg. (:issue... | closes #13966
xref to #15130, closed by #15175
| https://api.github.com/repos/pandas-dev/pandas/pulls/16091 | 2017-04-22T00:14:17Z | 2017-04-22T01:28:28Z | 2017-04-22T01:28:28Z | 2017-04-22T03:35:40Z |
BUG: bug in groupby on empty frame with multi groupers | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 86d9bef636e17..74c915e39b2b6 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1600,7 +1600,7 @@ Indexing
- Bug in the HTML display with with a ``MultiIndex`` and truncation (:issue:`14882`)
- Bug... | closes #16064
xref #14784 | https://api.github.com/repos/pandas-dev/pandas/pulls/16090 | 2017-04-21T23:11:51Z | 2017-04-22T00:05:27Z | 2017-04-22T00:05:27Z | 2017-04-22T02:21:27Z |
MAINT: Remove assertRaises from testing | diff --git a/pandas/tests/api/test_types.py b/pandas/tests/api/test_types.py
index 057f7d8f3e286..3b9148a1c91c6 100644
--- a/pandas/tests/api/test_types.py
+++ b/pandas/tests/api/test_types.py
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
+import pytest
+
from warnings import catch_warnings
import numpy as np
@@ -41,1... | Title is self-explanatory. Pretty hefty PR this one.
Partially addresses #15990.
| https://api.github.com/repos/pandas-dev/pandas/pulls/16089 | 2017-04-21T21:30:25Z | 2017-04-21T22:01:43Z | 2017-04-21T22:01:43Z | 2017-04-24T16:20:46Z |
PKG/DEP: Make importable without pytest | diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py
index 4d6b6c7daa3c6..3845ca2d81edd 100644
--- a/pandas/tests/io/parser/test_network.py
+++ b/pandas/tests/io/parser/test_network.py
@@ -22,7 +22,8 @@ def salaries_table():
@pytest.mark.parametrize(
"compression,extension"... | Closes https://github.com/pandas-dev/pandas/issues/16065
Edit: removed the top-level imports of pytest in pandas.util.testing | https://api.github.com/repos/pandas-dev/pandas/pulls/16088 | 2017-04-21T16:37:38Z | 2017-04-21T21:59:23Z | 2017-04-21T21:59:23Z | 2017-05-01T15:50:55Z |
DOC: document public/private subpackages in api.rst | diff --git a/doc/source/api.rst b/doc/source/api.rst
index caa5498db1ebf..ab14c2758ae49 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -5,6 +5,22 @@
API Reference
*************
+This page gives an overview of all public pandas objects, functions and
+methods. In general, all classes and functions expos... | WIP (have to run now) | https://api.github.com/repos/pandas-dev/pandas/pulls/16087 | 2017-04-21T14:59:40Z | 2017-04-21T22:37:45Z | 2017-04-21T22:37:45Z | 2017-04-21T22:39:42Z |
CLN: move tools.hashing to util.hashing | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 0e2182c58d44c..d79051ed2d66c 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -1,12 +1,16 @@
+from importlib import import_module
+
import numpy as np
+
import pandas as pd
from panda... | xref https://github.com/pandas-dev/pandas/issues/13634 | https://api.github.com/repos/pandas-dev/pandas/pulls/16086 | 2017-04-21T14:15:43Z | 2017-04-21T22:02:39Z | 2017-04-21T22:02:39Z | 2017-04-21T22:05:37Z |
DOC: some editing of 0.20 whatsnew file | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 02c54f28a1695..4c34ba2847f9e 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -3,7 +3,7 @@
v0.20.0 (May 12, 2017)
------------------------
-This is a major release from 0.19.2 and includes a sma... | - moved pandas.errors and pandas.testing to the reorganization section
- put ix and panel deprecations under deprecations | https://api.github.com/repos/pandas-dev/pandas/pulls/16085 | 2017-04-21T14:01:37Z | 2017-04-21T22:55:39Z | 2017-04-21T22:55:39Z | 2017-04-22T01:45:45Z |
MAINT: Remove assertIsInstance from testing | diff --git a/pandas/tests/dtypes/test_generic.py b/pandas/tests/dtypes/test_generic.py
index d550b5535cea3..e9af53aaa1e1a 100644
--- a/pandas/tests/dtypes/test_generic.py
+++ b/pandas/tests/dtypes/test_generic.py
@@ -20,23 +20,22 @@ class TestABCClasses(tm.TestCase):
sparse_array = pd.SparseArray(np.random.randn(1... | Title is self-explanatory.
Partially addresses #15990. | https://api.github.com/repos/pandas-dev/pandas/pulls/16081 | 2017-04-21T04:46:58Z | 2017-04-21T10:03:08Z | 2017-04-21T10:03:08Z | 2017-04-21T10:19:48Z |
COMPAT: HTML styling for MI and notebook 5.0 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 43cc4dda23c03..d570aa006188d 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -540,7 +540,7 @@ Other Enhancements
- HTML table output skips ``colspan`` or ``rowspan`` attribute if equal to 1. (:iss... | Fixes the visual styling of MI labels in notebook 5.0
Small summary:
- No change to regular non-MI tables
- top-align the row-labels in a MultiIndex
- left-align the column-labels in a MultiIndex
Closes #15379 | https://api.github.com/repos/pandas-dev/pandas/pulls/16080 | 2017-04-21T02:57:39Z | 2017-04-21T13:13:35Z | 2017-04-21T13:13:34Z | 2017-06-28T17:16:50Z |
Adding 'n/a' to list of strings denoting missing values | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 0c31bfe014a12..bd81b478b5326 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -226,7 +226,7 @@ NA and Missing Data Handling
na_values : scalar, str, list-like, or dict, default ``None``
Additional strings to recognize as NA/NaN. If dict passed, speci... | - [x] closes #16078
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16079 | 2017-04-20T23:17:07Z | 2017-06-02T00:28:09Z | 2017-06-02T00:28:09Z | 2017-06-02T00:29:34Z |
MAINT: Remove self.assert_* from testing | diff --git a/pandas/tests/dtypes/test_io.py b/pandas/tests/dtypes/test_io.py
index b6c10394dd232..443c0c5410e61 100644
--- a/pandas/tests/dtypes/test_io.py
+++ b/pandas/tests/dtypes/test_io.py
@@ -13,13 +13,13 @@ def test_convert_sql_column_floats(self):
arr = np.array([1.5, None, 3, 4.2], dtype=object)
... | Title is self-explanatory.
We should be using `tm.assert_*` instead (they are static methods after all) and shouldn't really be invoked by the test instance.
Partially addresses #15990. | https://api.github.com/repos/pandas-dev/pandas/pulls/16076 | 2017-04-20T19:15:38Z | 2017-04-20T22:21:04Z | 2017-04-20T22:21:04Z | 2017-04-20T23:08:59Z |
DOC: use anchor ref in what's new for excel style | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 6110454be7da8..43cc4dda23c03 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -430,7 +430,7 @@ For example, after running the following, ``styled.xlsx`` renders as below:
import os
os.remo... | see #16062 | https://api.github.com/repos/pandas-dev/pandas/pulls/16068 | 2017-04-20T12:38:38Z | 2017-04-20T12:59:06Z | 2017-04-20T12:59:06Z | 2017-04-20T14:02:04Z |
DOC: Fixed template structure CSS | diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb
index 40b692441e7dc..a9d9c8de40b70 100644
--- a/doc/source/style.ipynb
+++ b/doc/source/style.ipynb
@@ -49,6 +49,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
+ "collapsed": true,
"nbsphinx": "hidden"
},
"outputs... | This was overriding the CSS on the rest of the page.
Reported in
https://github.com/pandas-dev/pandas/pull/15581#issuecomment-295696168
Also inlines the CSS from our theme. | https://api.github.com/repos/pandas-dev/pandas/pulls/16067 | 2017-04-20T12:37:32Z | 2017-04-21T13:10:33Z | 2017-04-21T13:10:33Z | 2017-05-29T20:44:14Z |
BLD: 3.6.1 ABI compat | diff --git a/pandas/_libs/src/compat_helper.h b/pandas/_libs/src/compat_helper.h
index e3c40d2ca65f4..8f86bb3f8e62f 100644
--- a/pandas/_libs/src/compat_helper.h
+++ b/pandas/_libs/src/compat_helper.h
@@ -17,8 +17,19 @@ The full license is in the LICENSE file, distributed with this software.
PySlice_GetIndicesEx chang... | - [x] closes #15961
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
So I _think_ this works - locally was able to build a wheel with `3.6.1` and import it into a `3.6.0` environment, which was failing before this patch. | https://api.github.com/repos/pandas-dev/pandas/pulls/16066 | 2017-04-20T11:55:46Z | 2017-04-20T22:33:36Z | 2017-04-20T22:33:35Z | 2017-04-20T22:33:42Z |
Fix link to Style docs following nbsphinx move | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 17496c84b7181..1ad7279ea79f7 100644
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -58,7 +58,7 @@ We can render the HTML to get the following table.
:file: whatsnew_0171_html_table.html
:class:`~p... | https://api.github.com/repos/pandas-dev/pandas/pulls/16062 | 2017-04-20T06:23:30Z | 2017-04-20T10:14:57Z | 2017-04-20T10:14:57Z | 2017-04-20T10:50:06Z | |
MAINT: Remove tm.assertNotIsInstance from testing | diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py
index d53f131820dea..89d33a2689c80 100644
--- a/pandas/tests/indexes/common.py
+++ b/pandas/tests/indexes/common.py
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
+import pytest
+
from pandas import compat
from pandas.compat import PY3
@@ -793... | Title is self-explanatory.
Partially addresses #15990. | https://api.github.com/repos/pandas-dev/pandas/pulls/16061 | 2017-04-20T01:36:57Z | 2017-04-20T10:15:58Z | 2017-04-20T10:15:58Z | 2017-04-20T14:47:40Z |
BUG: memory leak on get_c_string | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index f64f592e109a1..9112cd124f3c9 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1489,7 +1489,7 @@ Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Improved performance of ``pd.wide_to_long()``... | - [x] closes #16057
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/16060 | 2017-04-19T23:31:32Z | 2017-04-20T10:16:36Z | 2017-04-20T10:16:36Z | 2017-04-20T10:16:40Z |
DOC/API: Move Styler import | diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb
index 06763b2a5e741..a0f487a9b2280 100644
--- a/doc/source/style.ipynb
+++ b/doc/source/style.ipynb
@@ -14,7 +14,7 @@
"\n",
"You can apply **conditional formatting**, the visual styling of a DataFrame\n",
"depending on the data within, by using... | From the top-level to pandas.io.formats.style.Styler, which is a bit wordy
but I was having circular-import issues at pandas.io.formats.
I think that's ok since people won't really be using this interactively.
Closes https://github.com/pandas-dev/pandas/issues/16009 | https://api.github.com/repos/pandas-dev/pandas/pulls/16059 | 2017-04-19T21:07:53Z | 2017-04-21T16:20:42Z | 2017-04-21T16:20:42Z | 2017-05-29T20:44:10Z |
TST: fix tests xref #13554 | diff --git a/pandas/tests/test_categorical.py b/pandas/tests/test_categorical.py
index 0594cc9878056..cf0ccb95eabf1 100644
--- a/pandas/tests/test_categorical.py
+++ b/pandas/tests/test_categorical.py
@@ -3043,9 +3043,10 @@ def test_pivot_table(self):
[Categorical(["a", "b", "z"], ordered=True),
... | https://api.github.com/repos/pandas-dev/pandas/pulls/16054 | 2017-04-19T09:54:49Z | 2017-04-19T10:20:27Z | 2017-04-19T10:20:27Z | 2017-04-19T10:25:45Z | |
DOC: fix typo magify -> magnify | diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb
index 06763b2a5e741..93323d046d495 100644
--- a/doc/source/style.ipynb
+++ b/doc/source/style.ipynb
@@ -849,7 +849,7 @@
"\n",
"bigdf.style.background_gradient(cmap, axis=1)\\\n",
" .set_properties(**{'max-width': '80px', 'font-size': '1pt'})... | Just a typo fix. | https://api.github.com/repos/pandas-dev/pandas/pulls/16052 | 2017-04-19T04:38:48Z | 2017-04-19T07:33:40Z | 2017-04-19T07:33:40Z | 2017-04-19T07:33:48Z |
PERF: better perf on _ensure_data in core/algorithms, helping perf of unique, duplicated, factorize | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 63df4b3d94bc8..8437861bea19e 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -14,6 +14,7 @@
from pandas.core.dtypes.common import (
is_unsigned_integer_dtype, is_signed_integer_dtype,
is_integer_dtype, is_compl... | xref #16043
```
before after ratio
[6f525eec] [3cc49f80]
+ 82.43μs 115.72μs 1.40 timeseries.DatetimeIndex.time_unique
+ 120.41ms 161.89ms 1.34 frame_methods.frame_duplicated.time_frame_duplicated_wide
+ 7.78ms 10.43ms 1.34 groupby.GroupBySuite.time_unique('int', 10... | https://api.github.com/repos/pandas-dev/pandas/pulls/16046 | 2017-04-18T12:15:34Z | 2017-04-18T12:45:37Z | 2017-04-18T12:45:37Z | 2017-04-18T13:19:17Z |
CLN: reorg pandas.tseries | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 868f0d7f9c962..caa5498db1ebf 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1761,7 +1761,7 @@ The following methods are available only for ``DataFrameGroupBy`` objects.
Resampling
----------
-.. currentmodule:: pandas.tseries.resample
+.. curr... | xref #13634 | https://api.github.com/repos/pandas-dev/pandas/pulls/16040 | 2017-04-18T01:51:45Z | 2017-04-18T12:17:07Z | 2017-04-18T12:17:07Z | 2017-04-21T13:15:18Z |
move io.c from using unbuffered fread()s to read()s. | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 6110454be7da8..e43dbf85db9dc 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1537,6 +1537,7 @@ Performance Improvements
function used the ``.name`` attribute of the group DataFrame (:issue:`150... | pandas already buffers reads coming from io.c itself, so it previously
used setbuf() to disable buffering inside fread(). however, certain
implementations of unbuffered stdio reads are sub-optimal. for example,
fread() in solaris ends up doing a read() for each individual byte of
the underlying filedescriptor, whic... | https://api.github.com/repos/pandas-dev/pandas/pulls/16039 | 2017-04-18T01:25:36Z | 2017-04-20T22:34:38Z | 2017-04-20T22:34:38Z | 2017-04-20T23:44:47Z |
DOC: Various doc fixes | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 9fe0b66028ac5..7951a4dd43534 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -176,7 +176,7 @@ The following are now part of this API:
``pandas.testing``
^^^^^^^^^^^^^^^^^^
-We are adding a stan... | - Fixed spacing
- Fixed method reference
- Fixed list line wrapping
- Fixed unbalanced ticks
- Fixed section-heading without colon
- Changed Interval Properties -> Attributes
- Changed Styler properties
xref https://github.com/pandas-dev/pandas/issues/16033
Will probably do more as followups, so let's keep ... | https://api.github.com/repos/pandas-dev/pandas/pulls/16035 | 2017-04-17T15:39:50Z | 2017-04-18T14:55:30Z | 2017-04-18T14:55:30Z | 2017-05-29T20:43:27Z |
CLN: remove old vb_suite files (now asv_bench) | diff --git a/test_perf.sh b/test_perf.sh
deleted file mode 100755
index 022de25bca8fc..0000000000000
--- a/test_perf.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-CURDIR=$(pwd)
-BASEDIR=$(cd "$(dirname "$0")"; pwd)
-python "$BASEDIR"/vb_suite/test_perf.py $@
diff --git a/vb_suite/.gitignore b/vb_suite/.gitignore
delet... | Removed the full `vb_suite` directory. We don't use it anymore, everything has been converted to the asv benchmarks, and we can always find it in the git history. | https://api.github.com/repos/pandas-dev/pandas/pulls/16034 | 2017-04-17T13:40:48Z | 2017-04-17T20:27:07Z | 2017-04-17T20:27:06Z | 2017-04-17T20:27:21Z |
CLN: move pandas.indexes -> pandas.core.indexes | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index de33b7d4e3371..9df82b8ac7338 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1344,6 +1344,7 @@ If indicated, a deprecation warning will be issued if you reference theses modul
"pandas.index",... | xref #13634
| https://api.github.com/repos/pandas-dev/pandas/pulls/16031 | 2017-04-17T11:19:03Z | 2017-04-17T14:10:28Z | 2017-04-17T14:10:28Z | 2017-04-17T16:35:55Z |
TST: reduce amount of nesting in tests, specifically move core routines higher | diff --git a/pandas/tests/core/__init__.py b/pandas/tests/computation/__init__.py
similarity index 100%
rename from pandas/tests/core/__init__.py
rename to pandas/tests/computation/__init__.py
diff --git a/pandas/tests/core/computation/test_compat.py b/pandas/tests/computation/test_compat.py
similarity index 100%
renam... | https://api.github.com/repos/pandas-dev/pandas/pulls/16030 | 2017-04-17T10:51:12Z | 2017-04-17T11:20:54Z | 2017-04-17T11:20:54Z | 2017-04-17T11:40:46Z | |
TST: partial indexing with __getitem__ and integer labels | diff --git a/pandas/tests/indexing/test_multiindex.py b/pandas/tests/indexing/test_multiindex.py
index 07786b9fb4b72..c39e25a1f1d74 100644
--- a/pandas/tests/indexing/test_multiindex.py
+++ b/pandas/tests/indexing/test_multiindex.py
@@ -275,6 +275,30 @@ def test_loc_multiindex(self):
xp = mi_int.ix[4]
... | - [x] closes #12416
- [x] tests added / passed
- [x] passes ``git diff master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
Just a test for the bug, which was fixed at some time in the past. | https://api.github.com/repos/pandas-dev/pandas/pulls/16029 | 2017-04-17T09:54:39Z | 2017-04-17T20:44:25Z | 2017-04-17T20:44:25Z | 2017-04-17T21:00:33Z |
BUG: Allow Series with same name with crosstab (#13279) | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 0025f8d098d81..07fb1fdfedfba 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -312,6 +312,7 @@ Reshaping
- Bug when using :func:`isin` on a large object series and large comparison array (:issue:`1... | - [x] closes #13279
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Before, passing two `Series` with the same name in `crosstab` raised a `KeyError` because of a block in `pivot_table` that tried to unstack a `MultiIndex` with du... | https://api.github.com/repos/pandas-dev/pandas/pulls/16028 | 2017-04-17T04:58:07Z | 2017-07-30T22:54:02Z | 2017-07-30T22:54:02Z | 2017-12-20T02:00:15Z |
MAINT: Remove assertIsNotNone from testing | diff --git a/pandas/tests/core/computation/test_eval.py b/pandas/tests/core/computation/test_eval.py
index 38a310a17a9ab..0ba4fe61ae78f 100644
--- a/pandas/tests/core/computation/test_eval.py
+++ b/pandas/tests/core/computation/test_eval.py
@@ -1308,16 +1308,17 @@ def test_column_in(self):
assert_series_equal(... | Title is self-explanatory.
Also removes some vestigial `assertIsNot` calls missed in #16024.
Partially addresses #15990. | https://api.github.com/repos/pandas-dev/pandas/pulls/16027 | 2017-04-17T03:20:34Z | 2017-04-17T07:52:52Z | 2017-04-17T07:52:52Z | 2017-04-17T08:30:33Z |
BUG: Handle iterable of arrays in convert | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index de33b7d4e3371..5129b70ad3358 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1565,6 +1565,7 @@ Plotting
- Bug in ``DataFrame.hist`` where ``plt.tight_layout`` caused an ``AttributeError`` (use... | DatetimeConverter.convert can take an array or iterable of arrays.
Fixed the converter to detect which case we're in and then re-use
the existing logic.
Posting here for feedback from @tacaswell. Specifically,
1. Presumably our other two converters `TimeConverter` and `PeriodConverter` could suffer from the sam... | https://api.github.com/repos/pandas-dev/pandas/pulls/16026 | 2017-04-17T02:35:21Z | 2017-04-18T00:24:29Z | 2017-04-18T00:24:29Z | 2017-05-29T20:43:44Z |
CLN: clean benchmarks to get them running | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 4fc6f9f634426..62f1c090a7462 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -26,7 +26,7 @@
// The Pythons you'd like to test against. If not provided, defaults
// to the current version of Python used to run `asv`.
... | Changes to be compatible with latest master / py3. | https://api.github.com/repos/pandas-dev/pandas/pulls/16025 | 2017-04-16T21:31:58Z | 2017-04-17T11:14:39Z | 2017-04-17T11:14:39Z | 2017-04-17T13:10:29Z |
MAINT: Remove tm.assertIsNot from testing | diff --git a/pandas/tests/core/sparse/test_frame.py b/pandas/tests/core/sparse/test_frame.py
index 279fe9ea75e53..0a58713125a30 100644
--- a/pandas/tests/core/sparse/test_frame.py
+++ b/pandas/tests/core/sparse/test_frame.py
@@ -422,24 +422,24 @@ def test_iloc(self):
def test_set_value(self):
- # ok as ... | Title is self-explanatory. Also clean up other non-`pytest` idioms where I was removing `assertIsNot`.
Partially addresses #15990.
| https://api.github.com/repos/pandas-dev/pandas/pulls/16024 | 2017-04-16T18:46:12Z | 2017-04-16T22:07:25Z | 2017-04-16T22:07:25Z | 2017-04-16T22:12:56Z |
CLN: move infer_dtype to pandas.api.types | diff --git a/pandas/__init__.py b/pandas/__init__.py
index 01bf22bcc5e73..5f6d54fd904b1 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -79,7 +79,7 @@
moved={'Timestamp': 'pandas.Timestamp',
'Timedelta': 'pandas.Timedelta',
... | https://api.github.com/repos/pandas-dev/pandas/pulls/16023 | 2017-04-16T18:32:33Z | 2017-04-16T21:31:38Z | 2017-04-16T21:31:38Z | 2017-04-16T21:33:16Z | |
CLN: update pandas.lib deprecation messages (GH15936) | diff --git a/pandas/__init__.py b/pandas/__init__.py
index 4e1bcbd613965..bdc19d2e515f1 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -74,8 +74,11 @@
parser = _DeprecatedModule(deprmod='pandas.parser',
removals=['na_values'],
moved={'CParserError': ... | Closes #15936 | https://api.github.com/repos/pandas-dev/pandas/pulls/16021 | 2017-04-16T10:45:04Z | 2017-04-16T18:28:33Z | 2017-04-16T18:28:33Z | 2017-04-16T18:28:42Z |
CLN: updates to benchmarks after repo reorg | diff --git a/asv_bench/benchmarks/binary_ops.py b/asv_bench/benchmarks/binary_ops.py
index cc869996b49cd..0ca21b929ea17 100644
--- a/asv_bench/benchmarks/binary_ops.py
+++ b/asv_bench/benchmarks/binary_ops.py
@@ -1,5 +1,8 @@
from .pandas_vb_common import *
-import pandas.core.computation.expressions as expr
+try:
+ ... | Follow-up on #15998 and #16005 | https://api.github.com/repos/pandas-dev/pandas/pulls/16020 | 2017-04-16T10:07:33Z | 2017-04-16T11:18:46Z | 2017-04-16T11:18:46Z | 2017-04-16T11:18:58Z |
MAINT: Remove assert_equal from testing.py | diff --git a/pandas/tests/core/computation/test_compat.py b/pandas/tests/core/computation/test_compat.py
index 7b6c0f9c4c9aa..9ee9f674a1ddd 100644
--- a/pandas/tests/core/computation/test_compat.py
+++ b/pandas/tests/core/computation/test_compat.py
@@ -30,7 +30,7 @@ def test_invalid_numexpr_version(engine, parser):
... | Title is self-explanatory.
Partially addresses #15990.
| https://api.github.com/repos/pandas-dev/pandas/pulls/16017 | 2017-04-16T05:23:39Z | 2017-04-16T18:27:08Z | 2017-04-16T18:27:08Z | 2017-04-16T18:29:17Z |
MAINT: Strip internals from TestCase class | diff --git a/pandas/tests/core/dtypes/test_dtypes.py b/pandas/tests/core/dtypes/test_dtypes.py
index ec9876df14e3b..46569fecf553f 100644
--- a/pandas/tests/core/dtypes/test_dtypes.py
+++ b/pandas/tests/core/dtypes/test_dtypes.py
@@ -40,7 +40,7 @@ def f():
self.assertNotEqual(np.str_, self.dtype)
def tes... | `TestCase` is a vestige from the `nosetest` framework. We want to discourage usage of `self.*` method calls under our new `pytest` framework, so this PR strips as much as possible from the class.
Partially addresses #15990. | https://api.github.com/repos/pandas-dev/pandas/pulls/16016 | 2017-04-16T03:46:25Z | 2017-04-16T18:27:46Z | 2017-04-16T18:27:46Z | 2017-04-16T18:29:14Z |
Categorical type | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index 3bda8c7eacb61..799d04859cc2a 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -638,9 +638,11 @@ and allows efficient indexing and storage of an index with a large number of dup
.. ipython:: python
+ from pandas.api.types im... | We extended the CategoricalDtype to accept optional `categories` and `ordered`
argument. CategoricalDtype is now part of the public API. This allows users to
specify the desired categories and orderedness of an operation ahead of time.
The current behavior, which is still possible with `categories=None`, the
defaul... | https://api.github.com/repos/pandas-dev/pandas/pulls/16015 | 2017-04-16T03:11:31Z | 2017-09-23T18:56:12Z | 2017-09-23T18:56:11Z | 2017-09-24T14:00:32Z |
CLN: move pandas.formats -> pandas.io.formats | diff --git a/MANIFEST.in b/MANIFEST.in
index 31de3466cb357..8bd83a7d56948 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -25,4 +25,4 @@ global-exclude *.png
# recursive-include LICENSES *
include versioneer.py
include pandas/_version.py
-include pandas/formats/templates/*.tpl
+include pandas/io/formats/templates/*.tp... | https://api.github.com/repos/pandas-dev/pandas/pulls/16013 | 2017-04-16T01:05:26Z | 2017-04-16T13:01:18Z | 2017-04-16T13:01:18Z | 2017-04-16T13:02:37Z | |
COMPAT: use the correct dtype for interval comparisons on 32-bit | diff --git a/pandas/tests/indexes/test_interval.py b/pandas/tests/indexes/test_interval.py
index 79b6ff2e7a2a7..2d0015a5258ed 100644
--- a/pandas/tests/indexes/test_interval.py
+++ b/pandas/tests/indexes/test_interval.py
@@ -779,8 +779,8 @@ def test_get_loc_closed(self):
... | https://api.github.com/repos/pandas-dev/pandas/pulls/16011 | 2017-04-16T00:02:45Z | 2017-04-16T00:51:29Z | 2017-04-16T00:51:29Z | 2017-04-16T00:59:02Z | |
TST: 32bit compat for interval get_indexer | diff --git a/pandas/tests/indexes/test_interval.py b/pandas/tests/indexes/test_interval.py
index 25ca961895ca3..79b6ff2e7a2a7 100644
--- a/pandas/tests/indexes/test_interval.py
+++ b/pandas/tests/indexes/test_interval.py
@@ -413,24 +413,24 @@ def test_get_loc_interval(self):
def test_get_indexer(self):
... | https://api.github.com/repos/pandas-dev/pandas/pulls/16006 | 2017-04-15T00:10:31Z | 2017-04-15T02:02:51Z | 2017-04-15T02:02:51Z | 2017-04-15T02:03:56Z | |
CLN/API: move plotting funcs to pandas.plotting | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index e8998bf6f6f5c..fb799c642131d 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -152,7 +152,7 @@ You can also create these other plots using the methods ``DataFrame.plot.<kind>`
In addition to these ``kind`` s, ... | closes #12548, rebase of #13579 | https://api.github.com/repos/pandas-dev/pandas/pulls/16005 | 2017-04-14T23:53:22Z | 2017-04-15T16:02:25Z | 2017-04-15T16:02:25Z | 2017-04-16T08:18:46Z |
TST: test addl feather dtypes | diff --git a/pandas/tests/io/test_feather.py b/pandas/tests/io/test_feather.py
index 6e2c28a0f68de..3fad2637ef057 100644
--- a/pandas/tests/io/test_feather.py
+++ b/pandas/tests/io/test_feather.py
@@ -8,23 +8,18 @@
from pandas.io.feather_format import to_feather, read_feather
from feather import FeatherError
-impor... | https://api.github.com/repos/pandas-dev/pandas/pulls/16004 | 2017-04-14T21:14:49Z | 2017-04-14T21:31:32Z | 2017-04-14T21:31:32Z | 2017-04-15T00:22:54Z | |
API: expose public testing functions in pandas.testing (GH9895) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 6d1765ce65714..d0f548cc3d0b1 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1886,3 +1886,13 @@ Working with options
get_option
set_option
option_context
+
+Testing functions
+~~~~~~~~~~~~~~~~~
+
+.. autosummary::
+ :toctree: generate... | Closes #9895
This just exposes a few of our testing functions publicly in `pandas.testing`.
- Alternative is to move the full testing module to `pandas.testing` (the actual code), question is then however how to only expose a subset of it publicly.
- I now only included the 3 most obvious ones (frame, series, in... | https://api.github.com/repos/pandas-dev/pandas/pulls/16003 | 2017-04-14T20:11:15Z | 2017-04-16T14:05:18Z | 2017-04-16T14:05:18Z | 2017-04-23T03:02:50Z |
Support dicts with default values in series.map | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 133757b131312..089c4f59445e3 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -449,10 +449,7 @@ Other Enhancements
- Integration with the ``feather-format``, including a new top-level ``pd.read_fea... | Closes https://github.com/pandas-dev/pandas/issues/15999
Still a work in progress. | https://api.github.com/repos/pandas-dev/pandas/pulls/16002 | 2017-04-14T19:43:47Z | 2017-04-15T13:46:44Z | 2017-04-15T13:46:44Z | 2017-04-15T23:10:32Z |
DEPR: more deprecation warnings | diff --git a/pandas/tests/io/test_pytables.py b/pandas/tests/io/test_pytables.py
index 9908a320a6646..2df8872e23616 100644
--- a/pandas/tests/io/test_pytables.py
+++ b/pandas/tests/io/test_pytables.py
@@ -150,20 +150,23 @@ class TestHDFStore(Base, tm.TestCase):
def test_factory_fun(self):
path = create_te... | https://api.github.com/repos/pandas-dev/pandas/pulls/16001 | 2017-04-14T19:28:36Z | 2017-04-14T19:55:20Z | 2017-04-14T19:55:20Z | 2017-04-14T20:11:54Z | |
TST: use checkstack level as per comments in groupby.agg with dicts depr testing | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 5e55196803c22..5591ce4b0d4aa 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -2843,7 +2843,7 @@ def _aggregate_multiple_funcs(self, arg, _level):
("using a dict on a Series for aggregation\n"
... | as per @jorisvandenbossche comments
https://github.com/pandas-dev/pandas/pull/15931#discussion_r111355878 | https://api.github.com/repos/pandas-dev/pandas/pulls/15992 | 2017-04-13T11:24:17Z | 2017-04-13T11:41:04Z | 2017-04-13T11:41:04Z | 2017-04-13T11:54:40Z |
DOC: Demo incorporating pytest into test classes | diff --git a/doc/source/_static/ci.png b/doc/source/_static/ci.png
index 82985ff8c204a..4570ed2155586 100644
Binary files a/doc/source/_static/ci.png and b/doc/source/_static/ci.png differ
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index aac1e4eade932..08e28582e7469 100644
--- a/doc/source/c... | Title is self-explanatory. Also changes CI GitHub UI photo to illustrate what most users (who are non-owners) will see (i.e. no "squash and merge").
<a href="https://github.com/pandas-dev/pandas/pull/15987#discussion_r111292547">#15987 (comment)</a> | https://api.github.com/repos/pandas-dev/pandas/pulls/15989 | 2017-04-13T03:03:41Z | 2017-04-13T22:47:39Z | 2017-04-13T22:47:39Z | 2017-04-14T02:13:25Z |
DEPR: Deprecate generic timestamp dtypes | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index a105a6801fb61..cb3e20e50380b 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1204,6 +1204,7 @@ Deprecations
- ``SparseArray.to_dense()`` has deprecated the ``fill`` parameter, as that parameter w... | We only use the nanosecond frequency, and `numpy` doesn't even handle generic timestamp `dtype` well internally with its `ndarray` object.
xref <a href="https://github.com/pandas-dev/pandas/issues/15524#issuecomment-282922120">#15524 (comment)</a>. | https://api.github.com/repos/pandas-dev/pandas/pulls/15987 | 2017-04-12T19:39:24Z | 2017-04-14T13:06:46Z | 2017-04-14T13:06:46Z | 2017-04-14T13:50:54Z |
TST: allow the network decorator to catch ssl certificate test failures | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index ef0fa04548cab..d5986a7f390e5 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -2213,6 +2213,7 @@ def dec(f):
'Temporary failure in name resolution',
'Name or service not known',
'Connection refused',
+ 'certificate v... | https://api.github.com/repos/pandas-dev/pandas/pulls/15985 | 2017-04-12T18:29:00Z | 2017-04-12T19:29:50Z | 2017-04-12T19:29:50Z | 2017-04-12T19:31:41Z | |
BUG: Don't overflow PeriodIndex in to_csv | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 07f393a814f8b..a105a6801fb61 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1344,6 +1344,7 @@ I/O
- Bug in ``pd.read_csv()`` in which invalid values for ``nrows`` and ``chunksize`` were allowed ... | Don't overflow time-stamp objects if being used as index in `to_csv`.
Closes #15982. | https://api.github.com/repos/pandas-dev/pandas/pulls/15984 | 2017-04-12T17:29:24Z | 2017-04-13T22:11:33Z | 2017-04-13T22:11:33Z | 2017-04-13T22:13:29Z |
DOC: Fix typo in timeseries.rst | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 54e574adc05d4..61812684e7648 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -113,7 +113,7 @@ For example:
pd.Period('2012-05', freq='D')
``Timestamp`` and ``Period`` can be the index. Lists of ``Timestamp`` and
-`... | Simple typo fix | https://api.github.com/repos/pandas-dev/pandas/pulls/15981 | 2017-04-12T04:22:27Z | 2017-04-12T07:21:15Z | 2017-04-12T07:21:15Z | 2017-06-03T12:47:29Z |
typo: comverted -> converted | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 823ed3b6ab8bb..09ddbc0932753 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1346,7 +1346,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
file
quoting : optional constant from csv module
... | only one character changed | https://api.github.com/repos/pandas-dev/pandas/pulls/15977 | 2017-04-11T19:25:52Z | 2017-04-11T20:22:11Z | 2017-04-11T20:22:11Z | 2017-04-11T20:46:31Z |
BUG: show series length in repr when truncated (GH15962) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0b95bf98b401d..4583e0d6eb836 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -518,6 +518,8 @@ Other Enhancements
- :method:`~MultiIndex.remove_unused_levels` has been added to facilitate :ref:`rem... | Also follow the display.show_dimensions option.
- [x] closes #15962, closes #7117
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15974 | 2017-04-11T13:05:17Z | 2017-04-18T08:34:37Z | 2017-04-18T08:34:37Z | 2017-04-18T08:44:46Z |
DOC: Fix typos in doc style.ipynb | diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb
index 38b39bad8b415..2b8bf35a913c1 100644
--- a/doc/source/style.ipynb
+++ b/doc/source/style.ipynb
@@ -99,7 +99,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "*Note*: The `DataFrame.style` attribute is a propetry that returns a `... | Simple typo fix. | https://api.github.com/repos/pandas-dev/pandas/pulls/15968 | 2017-04-10T16:11:37Z | 2017-04-11T11:37:02Z | 2017-04-11T11:37:02Z | 2017-04-11T11:37:16Z |
TST/DEPR: fix bunch of Panel deprecation warnings | diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py
index 97ed88b1dc22b..78aad90cacf94 100644
--- a/pandas/tests/computation/test_eval.py
+++ b/pandas/tests/computation/test_eval.py
@@ -1,4 +1,5 @@
import warnings
+from warnings import catch_warnings
import operator
from iterto... | https://api.github.com/repos/pandas-dev/pandas/pulls/15965 | 2017-04-10T12:49:42Z | 2017-04-11T10:29:31Z | 2017-04-11T10:29:31Z | 2017-04-11T10:39:21Z | |
DOC: remove Categorical.unique refs from doc-strings | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 2e6f693677e4e..bf9d521e2a12a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -660,14 +660,6 @@ the Categorical back to a numpy array, so categories and order information is no
Categorical.__array__
-Categorical methods
-
-.. autosummary::
- ... | closes #15957
| https://api.github.com/repos/pandas-dev/pandas/pulls/15964 | 2017-04-10T12:16:32Z | 2017-04-10T12:16:39Z | 2017-04-10T12:16:38Z | 2017-04-10T12:16:39Z |
DOC: suppress some doc build warnings | diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst
index 0086cb0f94747..3c6572229802d 100644
--- a/doc/source/dsintro.rst
+++ b/doc/source/dsintro.rst
@@ -979,6 +979,7 @@ Convert to a MultiIndex DataFrame
Alternatively, one can convert to an xarray ``DataArray``.
.. ipython:: python
+ :okwarning:
... | https://api.github.com/repos/pandas-dev/pandas/pulls/15958 | 2017-04-09T18:07:40Z | 2017-04-09T18:24:05Z | 2017-04-09T18:24:05Z | 2017-04-09T18:24:05Z | |
DOC: Fix a comment typo in pandas/tools/concat.py | diff --git a/pandas/tools/concat.py b/pandas/tools/concat.py
index 6405106118472..5df9a5abb78b2 100644
--- a/pandas/tools/concat.py
+++ b/pandas/tools/concat.py
@@ -278,7 +278,7 @@ def __init__(self, objs, axis=0, join='outer', join_axes=None,
break
else:
- # filter out the em... | https://api.github.com/repos/pandas-dev/pandas/pulls/15956 | 2017-04-09T14:34:43Z | 2017-04-09T14:40:13Z | 2017-04-09T14:40:13Z | 2017-04-09T14:56:07Z | |
Use DeprecationWarning instead of FutureWarning for is_.._dtype deprecations | diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py
index 3d12e334e7c0f..2245359fd8eac 100644
--- a/pandas/core/dtypes/common.py
+++ b/pandas/core/dtypes/common.py
@@ -211,8 +211,8 @@ def is_sparse(arr) -> bool:
warnings.warn(
"is_sparse is deprecated and will be removed in a future "... | xref https://github.com/pandas-dev/pandas/issues/54970
Those kind of helpers functions are, I think, for a large part used by other libraries, and to a lesser extent by direct user code. For that kind of deprecations, we first start with a DeprecationWarning, so it's not visible for the end-user (like users of seabo... | https://api.github.com/repos/pandas-dev/pandas/pulls/55703 | 2023-10-26T10:44:39Z | 2023-12-07T02:30:58Z | 2023-12-07T02:30:58Z | 2023-12-07T13:20:40Z |
Backport PR #55690 on branch 2.1.x (REGR: fix roundtripping datetimes with sqlite type detection) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 16f8e8d264268..89a0e4bc5c403 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -20,6 +20,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrameGroupBy.agg` and :meth:`SeriesGroupBy.agg` where if ... | Backport PR #55690
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
(cherry picked from commit aeb3644567a10296cc09aed03bf7e0a3780e67ee)
| https://api.github.com/repos/pandas-dev/pandas/pulls/55702 | 2023-10-26T10:14:37Z | 2023-10-26T12:10:07Z | 2023-10-26T12:10:07Z | 2023-10-26T12:10:15Z |
Backport PR #55527: BUG fix deprecation of `limit` and `fill_method` … | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 8863bfa9f3f69..722139ebd7333 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -8,6 +8,14 @@ including other versions of pandas.
{{ header }}
+.. ----------------------------------------------------... | …in `pct_change`
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs... | https://api.github.com/repos/pandas-dev/pandas/pulls/55701 | 2023-10-26T09:40:33Z | 2023-10-26T11:53:56Z | 2023-10-26T11:53:56Z | 2023-10-26T11:54:29Z |
TST: add missing assert in `test_apply_datetimetz` in test_series_apply.py | diff --git a/pandas/tests/apply/test_series_apply.py b/pandas/tests/apply/test_series_apply.py
index b8026d771baed..2557b1eab4029 100644
--- a/pandas/tests/apply/test_series_apply.py
+++ b/pandas/tests/apply/test_series_apply.py
@@ -213,7 +213,7 @@ def f(x):
exp = Series(["Asia/Tokyo"] * 25, name="XX")
... | I think assert is missing before `result == "Asia/Tokyo"`. Came across this when checking some Pylance warnings.
https://github.com/pandas-dev/pandas/blob/fe178189e589711559a3064fcefa4d330b7f41fa/pandas/tests/apply/test_series_apply.py#L211-L216
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/d... | https://api.github.com/repos/pandas-dev/pandas/pulls/55700 | 2023-10-26T08:49:01Z | 2023-10-26T14:54:35Z | 2023-10-26T14:54:35Z | 2023-10-26T15:10:36Z |
Backport PR #55173 on branch 2.1.x (BUG: .rolling() returns incorrect values when ts index is not nano seconds) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 8863bfa9f3f69..16f8e8d264268 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -14,6 +14,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | Backport PR #55173: BUG: .rolling() returns incorrect values when ts index is not nano seconds | https://api.github.com/repos/pandas-dev/pandas/pulls/55697 | 2023-10-26T02:15:08Z | 2023-10-26T09:59:18Z | 2023-10-26T09:59:18Z | 2023-10-26T09:59:19Z |
This fix allows a DataFrame to retain key order from a dictionary | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index 908027158725d..113d4bd16cafd 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -437,9 +437,9 @@ Other
- Bug in :func:`cut` incorrectly allowing cutting of timezone-aware datetimes with timezone-naive bi... | This fix allows a DataFrame to retain key order from a dictionary with only one column instead of sorting them alphabetically.
Note: I had to change the order for the rename tests in `test_rename.py` but the order there seemed trivial. If I'm wrong in my assumption please let me know. I also had to change the index... | https://api.github.com/repos/pandas-dev/pandas/pulls/55696 | 2023-10-26T01:19:04Z | 2023-10-30T17:02:57Z | 2023-10-30T17:02:57Z | 2023-10-30T17:03:03Z |
CLN: use numpy-provided versions of util funcs | diff --git a/pandas/_libs/missing.pyx b/pandas/_libs/missing.pyx
index 981d9cc9cbcb3..0fd1c2b21d5cd 100644
--- a/pandas/_libs/missing.pyx
+++ b/pandas/_libs/missing.pyx
@@ -32,8 +32,6 @@ from pandas._libs.tslibs.nattype cimport (
)
from pandas._libs.tslibs.np_datetime cimport (
get_datetime64_unit,
- get_date... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55695 | 2023-10-26T01:04:14Z | 2023-10-26T14:53:43Z | 2023-10-26T14:53:43Z | 2023-10-26T15:06:22Z |
REGR: fix read_parquet with column of large strings (avoid overflow from concat) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 1d2d89e7eadd1..684093d9cc097 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -28,6 +28,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrameGroupBy.agg` and :meth:`SeriesGroupBy.agg` where if ... | - [x] closes #55606
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/55691 | 2023-10-25T23:05:13Z | 2023-10-26T13:59:16Z | 2023-10-26T13:59:16Z | 2023-10-26T14:08:16Z |
REGR: fix roundtripping datetimes with sqlite type detection | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 145c364728b40..b4e903734c2d8 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -18,6 +18,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.sort_index` which was not sorting correctly when th... | - [x] closes #55554
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/55690 | 2023-10-25T22:13:53Z | 2023-10-26T09:57:48Z | 2023-10-26T09:57:48Z | 2023-10-26T10:15:40Z |
Update doc for parse_dates arg to read_csv | diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py
index df5b08029a08b..83d75508920a4 100644
--- a/pandas/io/parsers/readers.py
+++ b/pandas/io/parsers/readers.py
@@ -243,9 +243,9 @@
* ``list`` of ``int`` or names. e.g. If ``[1, 2, 3]`` -> try parsing columns 1, 2, 3
each as a separate... | Added note that values are joined with a space before parsing for the combined column cases.
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new f... | https://api.github.com/repos/pandas-dev/pandas/pulls/55688 | 2023-10-25T20:40:28Z | 2023-10-26T14:58:34Z | 2023-10-26T14:58:34Z | 2023-10-26T15:36:40Z |
Backport PR #55586 on branch 2.1.x (REGR: Groupby methods not supporting numba raising TypeError when the…) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 145c364728b40..8863bfa9f3f69 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -16,6 +16,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.join` where result has missing values and dtype is ... | Backport PR #55586: REGR: Groupby methods not supporting numba raising TypeError when the… | https://api.github.com/repos/pandas-dev/pandas/pulls/55686 | 2023-10-25T17:14:12Z | 2023-10-25T20:22:50Z | 2023-10-25T20:22:50Z | 2023-10-25T20:22:50Z |
Backport PR #55627 on branch 2.1.x (BUG: value_counts returning incorrect dtype for string dtype) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index cca508a4d04b9..9fbc9d3d3b273 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -25,6 +25,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed bug in :class:`.DataFrameGroupBy` reductions not preserving ... | Backport PR #55627: BUG: value_counts returning incorrect dtype for string dtype | https://api.github.com/repos/pandas-dev/pandas/pulls/55682 | 2023-10-25T10:59:38Z | 2023-10-25T17:03:03Z | 2023-10-25T17:03:03Z | 2023-10-25T17:03:03Z |
Backport PR #55621 on branch 2.1.x (BUG: mode not sorting values for arrow backed strings) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 8298cc0607512..db65e0b9f4315 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -31,6 +31,7 @@ Bug fixes
- Fixed bug in :meth:`Index.insert` raising when inserting ``None`` into :class:`Index` with ``dty... | #55621 | https://api.github.com/repos/pandas-dev/pandas/pulls/55680 | 2023-10-25T09:37:38Z | 2023-10-25T17:02:19Z | 2023-10-25T17:02:19Z | 2023-10-25T17:49:08Z |
BUG/PERF: merge_asof raising TypeError for various "by" column dtypes | diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst
index b74f93942c411..805c5970409fc 100644
--- a/doc/source/whatsnew/v2.2.0.rst
+++ b/doc/source/whatsnew/v2.2.0.rst
@@ -296,7 +296,7 @@ Other Deprecations
Performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Performance improvement in :func:... | - [x] closes #22794
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/55678 | 2023-10-25T02:35:10Z | 2023-10-25T17:07:22Z | 2023-10-25T17:07:22Z | 2023-11-16T12:56:59Z |
Backport PR #55670 on branch 2.1.x (REGR: merge_asof raising TypeError for "by" with datelike dtypes) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 8298cc0607512..cca508a4d04b9 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.resample` which was extrapolating back to ``origin`... | Backport PR #55670: REGR: merge_asof raising TypeError for "by" with datelike dtypes | https://api.github.com/repos/pandas-dev/pandas/pulls/55676 | 2023-10-25T01:36:19Z | 2023-10-25T09:40:02Z | 2023-10-25T09:40:02Z | 2023-10-25T09:40:02Z |
REF: organize Timedelta, Index tests | diff --git a/pandas/tests/indexes/period/test_formats.py b/pandas/tests/indexes/period/test_formats.py
index 723777fa826c5..888d814ac7eea 100644
--- a/pandas/tests/indexes/period/test_formats.py
+++ b/pandas/tests/indexes/period/test_formats.py
@@ -56,6 +56,15 @@ def test_get_values_for_csv():
class TestPeriodInde... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55675 | 2023-10-25T00:52:49Z | 2023-10-25T17:05:14Z | 2023-10-25T17:05:14Z | 2023-10-25T17:38:49Z |
REF: collect Timestamp tests by method | diff --git a/pandas/tests/scalar/timestamp/methods/__init__.py b/pandas/tests/scalar/timestamp/methods/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/scalar/timestamp/methods/test_as_unit.py b/pandas/tests/scalar/timestamp/methods/test_as_unit.py
new file mode 100644
index... | Mirror what we do for other classes. | https://api.github.com/repos/pandas-dev/pandas/pulls/55674 | 2023-10-24T23:47:54Z | 2023-10-25T17:03:59Z | 2023-10-25T17:03:59Z | 2023-10-25T17:39:07Z |
REF: organize Timestamp constructor tests | diff --git a/pandas/tests/scalar/timestamp/test_constructors.py b/pandas/tests/scalar/timestamp/test_constructors.py
index 5eddb4b83f44c..b0019d2381e47 100644
--- a/pandas/tests/scalar/timestamp/test_constructors.py
+++ b/pandas/tests/scalar/timestamp/test_constructors.py
@@ -8,7 +8,11 @@
import zoneinfo
import dat... | Nothing actually changed, just moved. | https://api.github.com/repos/pandas-dev/pandas/pulls/55673 | 2023-10-24T23:30:54Z | 2023-10-25T01:32:27Z | 2023-10-25T01:32:27Z | 2023-10-25T01:42:39Z |
REF: implement _construct_from_dt64_naive | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index 3431de01cb77e..eb7a38df3fee9 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -2246,21 +2246,29 @@ def _sequence_to_dt64ns(
else:
# data comes back here as either i8 to denote ... | Two ways we can end up going through _construct_from_dt64_naive; this makes it a little bit clearer to me how we get there. | https://api.github.com/repos/pandas-dev/pandas/pulls/55672 | 2023-10-24T23:01:49Z | 2023-10-25T01:33:51Z | 2023-10-25T01:33:51Z | 2023-10-25T01:42:23Z |
REGR: merge_asof raising TypeError for "by" with datelike dtypes | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 8298cc0607512..cca508a4d04b9 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.resample` which was extrapolating back to ``origin`... | - [x] closes #55453 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/55670 | 2023-10-24T22:14:02Z | 2023-10-25T01:35:16Z | 2023-10-25T01:35:16Z | 2023-11-16T12:57:00Z |
TST: de-duplicate, be stricter in excel/test_readers.py | diff --git a/pandas/tests/io/excel/test_readers.py b/pandas/tests/io/excel/test_readers.py
index c5bf935b0d54d..74fe5166df65f 100644
--- a/pandas/tests/io/excel/test_readers.py
+++ b/pandas/tests/io/excel/test_readers.py
@@ -117,6 +117,19 @@ def read_ext(engine_and_read_ext):
return read_ext
+def adjust_expect... | Motivated by #55564 where we'll need to extend `adjust_expected` to change the expected index resolution. | https://api.github.com/repos/pandas-dev/pandas/pulls/55669 | 2023-10-24T21:00:19Z | 2023-10-25T01:36:07Z | 2023-10-25T01:36:07Z | 2023-10-25T01:39:20Z |
Backport PR #55665 on branch 2.1.x (DOC: Update release date for 2.1.2) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 3dcd718bca6fd..6ffbc1f102ace 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_212:
-What's new in 2.1.2 (October ??, 2023)
+What's new in 2.1.2 (October 25, 2023)
---------... | Backport PR #55665: DOC: Update release date for 2.1.2 | https://api.github.com/repos/pandas-dev/pandas/pulls/55667 | 2023-10-24T17:41:20Z | 2023-10-24T19:50:39Z | 2023-10-24T19:50:39Z | 2023-10-24T19:50:39Z |
Backport PR #55655 on branch 2.1.x (BUG: infer_string not inferring string dtype when NA is first value) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 3dcd718bca6fd..7c04d1a03a6e4 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -35,6 +35,7 @@ Bug fixes
- Fixed bug in :meth:`Series.str.extractall` for :class:`ArrowDtype` dtype being converted to obje... | Backport PR #55655: BUG: infer_string not inferring string dtype when NA is first value | https://api.github.com/repos/pandas-dev/pandas/pulls/55666 | 2023-10-24T15:48:48Z | 2023-10-24T19:50:19Z | 2023-10-24T19:50:19Z | 2023-10-24T19:50:24Z |
DOC: Update release date for 2.1.2 | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 3dcd718bca6fd..6ffbc1f102ace 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -1,6 +1,6 @@
.. _whatsnew_212:
-What's new in 2.1.2 (October ??, 2023)
+What's new in 2.1.2 (October 25, 2023)
---------... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55665 | 2023-10-24T15:46:48Z | 2023-10-24T17:41:13Z | 2023-10-24T17:41:13Z | 2023-10-24T18:37:42Z |
BUG: DTA/TDA constructors with mismatched values/dtype resolutions | diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py
index 6d21f4a1ac8a2..8fb9e02cc34aa 100644
--- a/pandas/core/arrays/_mixins.py
+++ b/pandas/core/arrays/_mixins.py
@@ -128,17 +128,31 @@ def view(self, dtype: Dtype | None = None) -> ArrayLike:
dtype = pandas_dtype(dtype)
arr = ... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55658 | 2023-10-24T02:19:39Z | 2023-10-24T17:56:53Z | 2023-10-24T17:56:53Z | 2023-10-24T20:06:22Z |
TST: Avoid locals in test_eval | diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py
index f336ef34cae0a..2311ce928ee27 100644
--- a/pandas/tests/computation/test_eval.py
+++ b/pandas/tests/computation/test_eval.py
@@ -917,12 +917,9 @@ def test_complex_series_frame_alignment(self, engine, parser, r1, c1, r2, c2):... | Since there's a fixed random seed, the use of `locals()` can be removed | https://api.github.com/repos/pandas-dev/pandas/pulls/55656 | 2023-10-24T01:07:43Z | 2023-10-24T17:45:44Z | 2023-10-24T17:45:44Z | 2023-10-24T17:45:47Z |
BUG: infer_string not inferring string dtype when NA is first value | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 3dcd718bca6fd..7c04d1a03a6e4 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -35,6 +35,7 @@ Bug fixes
- Fixed bug in :meth:`Series.str.extractall` for :class:`ArrowDtype` dtype being converted to obje... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55655 | 2023-10-23T21:49:47Z | 2023-10-24T15:47:46Z | 2023-10-24T15:47:46Z | 2023-10-24T16:33:55Z |
TST: dont test private constructors | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index 3cf4dde3015c9..23ff5e7491ada 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -2308,6 +2308,7 @@ def _sequence_to_dt64ns(
# assume this data are epoch timestamps
if data.dtype != I... | Just makes working with these more difficult | https://api.github.com/repos/pandas-dev/pandas/pulls/55654 | 2023-10-23T21:39:09Z | 2023-10-24T00:29:29Z | 2023-10-24T00:29:29Z | 2023-10-24T01:07:14Z |
CI: Fix pyreadstat upgrade change | diff --git a/pandas/tests/io/test_spss.py b/pandas/tests/io/test_spss.py
index b612b64e3b020..10ad5f8991def 100644
--- a/pandas/tests/io/test_spss.py
+++ b/pandas/tests/io/test_spss.py
@@ -1,3 +1,4 @@
+import datetime
from pathlib import Path
import numpy as np
@@ -5,6 +6,7 @@
import pandas as pd
import pandas.... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55653 | 2023-10-23T21:16:37Z | 2023-10-23T22:47:34Z | 2023-10-23T22:47:34Z | 2023-12-04T19:14:07Z |
CLN: remove unused in tools.datetimes | diff --git a/pandas/_libs/tslibs/parsing.pyi b/pandas/_libs/tslibs/parsing.pyi
index 83a5b0085f0b4..2a2d98dab0d8b 100644
--- a/pandas/_libs/tslibs/parsing.pyi
+++ b/pandas/_libs/tslibs/parsing.pyi
@@ -23,11 +23,6 @@ def try_parse_dates(
values: npt.NDArray[np.object_], # object[:]
parser,
) -> npt.NDArray[n... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55652 | 2023-10-23T19:25:18Z | 2023-10-23T21:16:02Z | 2023-10-23T21:16:02Z | 2023-10-23T21:28:07Z |
Add missing space in read_csv usecols out-of-bounds case | diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx
index 5f51f48b43ca9..ed8ec38b56a86 100644
--- a/pandas/_libs/parsers.pyx
+++ b/pandas/_libs/parsers.pyx
@@ -993,7 +993,7 @@ cdef class TextReader:
missing_usecols = [col for col in self.usecols if col >= num_cols]
if missing_usec... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55651 | 2023-10-23T18:15:23Z | 2023-10-23T21:16:53Z | 2023-10-23T21:16:53Z | 2023-10-24T15:10:03Z |
Fixed GIL regressions with Cython 3 | diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx
index 5f51f48b43ca9..f4e82a729f13c 100644
--- a/pandas/_libs/parsers.pyx
+++ b/pandas/_libs/parsers.pyx
@@ -228,7 +228,7 @@ cdef extern from "pandas/parser/tokenizer.h":
# pick one, depending on whether the converter requires GIL
double ... | ref https://github.com/pandas-dev/pandas/pull/55179
The main issue was that the functions returning `double` were not marked `noexcept`, so in Cython 3.0 these now explicitly check the global Python error indicator, which requires a reacquisition of the GIL
The changes to `to_fw_string` were to fix warnings gener... | https://api.github.com/repos/pandas-dev/pandas/pulls/55650 | 2023-10-23T17:22:42Z | 2023-10-24T16:08:25Z | 2023-10-24T16:08:25Z | 2023-10-24T20:45:23Z |
Fixed typo in _misc.py | diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py
index 625780ac9fc67..5e5a55b4d0a98 100644
--- a/pandas/plotting/_misc.py
+++ b/pandas/plotting/_misc.py
@@ -329,7 +329,7 @@ def andrews_curves(
**kwargs,
) -> Axes:
"""
- Generate a matplotlib plot for visualising clusters of multivariate da... | visualising -> visualizing | https://api.github.com/repos/pandas-dev/pandas/pulls/55644 | 2023-10-23T10:54:45Z | 2023-10-23T12:50:23Z | 2023-10-23T12:50:23Z | 2023-10-23T12:50:33Z |
TST: Remove unnecessary read_csv usage during testing | diff --git a/pandas/tests/frame/test_stack_unstack.py b/pandas/tests/frame/test_stack_unstack.py
index e041eff697718..60da510fa26f4 100644
--- a/pandas/tests/frame/test_stack_unstack.py
+++ b/pandas/tests/frame/test_stack_unstack.py
@@ -1,5 +1,4 @@
from datetime import datetime
-from io import StringIO
import itertoo... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/55643 | 2023-10-23T02:56:46Z | 2023-10-30T17:04:43Z | 2023-10-30T17:04:43Z | 2023-10-30T17:04:46Z |
ENH: read_stata return non-nano | diff --git a/doc/source/whatsnew/v3.0.0.rst b/doc/source/whatsnew/v3.0.0.rst
index f9117253b61c1..405036174aef5 100644
--- a/doc/source/whatsnew/v3.0.0.rst
+++ b/doc/source/whatsnew/v3.0.0.rst
@@ -29,6 +29,7 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
- :func:`DataFrame.to_excel` now raises an ``UserWarnin... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55642 | 2023-10-23T02:12:55Z | 2024-02-02T17:56:48Z | 2024-02-02T17:56:48Z | 2024-02-02T20:19:16Z |
Backport PR #55640 on branch 2.1.x (DOC: Move whatsnew in 2.1.2) | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index ed8010c2ea258..3dcd718bca6fd 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -13,7 +13,6 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
-- Fixed bug where PDEP-6 warning... | Backport PR #55640: DOC: Move whatsnew in 2.1.2 | https://api.github.com/repos/pandas-dev/pandas/pulls/55641 | 2023-10-23T00:47:22Z | 2023-10-23T02:57:00Z | 2023-10-23T02:57:00Z | 2023-10-23T02:57:00Z |
DOC: Move whatsnew in 2.1.2 | diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst
index 97a718dd496e9..f76fef1545117 100644
--- a/doc/source/whatsnew/v2.1.2.rst
+++ b/doc/source/whatsnew/v2.1.2.rst
@@ -13,7 +13,6 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
-- Fixed bug where PDEP-6 warning... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55640 | 2023-10-22T21:45:50Z | 2023-10-23T00:47:12Z | 2023-10-23T00:47:12Z | 2023-10-23T09:26:44Z |
BUG: setitem casting object Index to arrow strings | diff --git a/doc/source/whatsnew/v2.1.4.rst b/doc/source/whatsnew/v2.1.4.rst
index 25afcbb3bb532..2a04adf2ac7f7 100644
--- a/doc/source/whatsnew/v2.1.4.rst
+++ b/doc/source/whatsnew/v2.1.4.rst
@@ -22,6 +22,8 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Bug in :class:`Series` constructor raising DeprecationWarning when... | - [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/55639 | 2023-10-22T21:34:42Z | 2023-11-21T20:16:02Z | 2023-11-21T20:16:02Z | 2023-11-21T20:33:16Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.