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: add read_json test with date values GH33787 | diff --git a/pandas/tests/io/json/test_readlines.py b/pandas/tests/io/json/test_readlines.py
index abc65f2f1eda1..4ba9f48a40fbc 100644
--- a/pandas/tests/io/json/test_readlines.py
+++ b/pandas/tests/io/json/test_readlines.py
@@ -26,6 +26,21 @@ def test_read_jsonl():
tm.assert_frame_equal(result, expected)
+def... | - [x ] closes #33787
- [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
First attempt at contributing to pandas, or any open source projects! I think all the l... | https://api.github.com/repos/pandas-dev/pandas/pulls/42894 | 2021-08-04T22:48:35Z | 2021-08-05T12:02:33Z | 2021-08-05T12:02:33Z | 2021-08-05T12:02:39Z |
Backport PR #42508 on branch 1.3.x (read_excel() modifies provided types dict when accessing file with duplicate column) | diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst
index c716460e997d0..4e6ea85e2ff1d 100644
--- a/doc/source/whatsnew/v1.3.2.rst
+++ b/doc/source/whatsnew/v1.3.2.rst
@@ -30,6 +30,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
+- Bug in :meth:`pandas.read_excel` modifies the dtypes dictionary ... | Backport PR #42508: read_excel() modifies provided types dict when accessing file with duplicate column | https://api.github.com/repos/pandas-dev/pandas/pulls/42893 | 2021-08-04T21:55:40Z | 2021-08-05T05:51:34Z | 2021-08-05T05:51:34Z | 2021-08-05T05:51:34Z |
TST: DataFrame initialization with an empty DataFrame with dtype | diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py
index 3c1614ac9f153..23d24e2f3cecb 100644
--- a/pandas/tests/frame/test_constructors.py
+++ b/pandas/tests/frame/test_constructors.py
@@ -1203,6 +1203,12 @@ def test_constructor_DataFrame(self, float_frame):
df_caste... | - [x] closes #20654
- [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/42890 | 2021-08-04T21:25:25Z | 2021-08-31T23:42:14Z | 2021-08-31T23:42:14Z | 2021-08-31T23:42:17Z |
CI: Revive Banklist Tests | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 1f1556123db17..4c7b13bcf989f 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -2502,14 +2502,16 @@ Read a URL with no options:
.. ipython:: python
- url = (
- "https://raw.githubusercontent.com/pan... | - [x] closes #38988
- [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 | https://api.github.com/repos/pandas-dev/pandas/pulls/42889 | 2021-08-04T21:07:22Z | 2021-09-01T16:15:36Z | 2021-09-01T16:15:36Z | 2021-09-01T16:15:40Z |
PERF: Groupby.shift dont re-call libgroupby.group_shift_indexer | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index e57e48cb3ab11..5f9b1dec062f8 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -3031,15 +3031,19 @@ def shift(self, periods=1, freq=None, axis=0, fill_value=None):
if freq is not None or axis !=... | ATM we're calling libgroupby.group_shift_indexer for every column, but we only need to call it once. | https://api.github.com/repos/pandas-dev/pandas/pulls/42885 | 2021-08-04T15:25:11Z | 2021-08-04T22:24:51Z | 2021-08-04T22:24:51Z | 2021-08-04T22:47:51Z |
BUG: dataframe.rolling along rows drops float16 | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 6763c3043b102..c49dc859d324b 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -271,6 +271,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.groupby.rolling.var` would calculate the rolling varian... | - [x] closes #41779
- [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
| https://api.github.com/repos/pandas-dev/pandas/pulls/42884 | 2021-08-04T15:16:36Z | 2021-08-05T12:01:47Z | 2021-08-05T12:01:46Z | 2021-08-05T12:02:57Z |
TST: remove chained assignment outside indexing tests | diff --git a/pandas/tests/frame/methods/test_dropna.py b/pandas/tests/frame/methods/test_dropna.py
index 76a6f3aa25362..bc2b48d3312d7 100644
--- a/pandas/tests/frame/methods/test_dropna.py
+++ b/pandas/tests/frame/methods/test_dropna.py
@@ -66,7 +66,7 @@ def test_dropIncompleteRows(self, float_frame):
def test_d... | Small piece broken off from https://github.com/pandas-dev/pandas/pull/41878
This updates a bunch of tests that are unnecessarily using chained assignment. Outside tests specifically about indexing, I think it's better/cleaner to use the more idiomatic single .loc call (and also makes it easier to change the behavio... | https://api.github.com/repos/pandas-dev/pandas/pulls/42882 | 2021-08-04T14:31:23Z | 2021-08-04T15:45:00Z | 2021-08-04T15:45:00Z | 2021-08-04T15:52:20Z |
Backport PR #42861 on branch 1.3.x | diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst
index 9b412d6d46c5e..c716460e997d0 100644
--- a/doc/source/whatsnew/v1.3.2.rst
+++ b/doc/source/whatsnew/v1.3.2.rst
@@ -22,7 +22,7 @@ Fixed regressions
- Regression in :meth:`DataFrame.drop` does nothing if :class:`MultiIndex` has duplicates ... | waiting on green tests
| https://api.github.com/repos/pandas-dev/pandas/pulls/42879 | 2021-08-04T10:26:08Z | 2021-08-04T12:28:37Z | 2021-08-04T12:28:37Z | 2021-08-05T07:41:06Z |
TST: update message in skip_array_manager mark | diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py
index 62e31c0e46715..b78f1652dc419 100644
--- a/pandas/util/_test_decorators.py
+++ b/pandas/util/_test_decorators.py
@@ -286,7 +286,8 @@ def async_mark():
skip_array_manager_not_yet_implemented = pytest.mark.skipif(
- get_option("mo... | Tiny PR, but I noticed this confusing message while running some tests (this skip is used generally, and JSON C code now actually no longer relies on the Block)
| https://api.github.com/repos/pandas-dev/pandas/pulls/42877 | 2021-08-04T09:34:16Z | 2021-08-04T15:26:07Z | 2021-08-04T15:26:07Z | 2021-08-04T15:29:31Z |
DOC: add cookbook link about hidden sheets | diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst
index 5f3da133d9c09..03221e71ea32a 100644
--- a/doc/source/user_guide/cookbook.rst
+++ b/doc/source/user_guide/cookbook.rst
@@ -1211,6 +1211,9 @@ The :ref:`Excel <io.excel>` docs
`Modifying formatting in XlsxWriter output
<https://pb... | - [x] closes #19842
- [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
Just a tiny addition to the cookbook section of the User Guide.
| https://api.github.com/repos/pandas-dev/pandas/pulls/42874 | 2021-08-04T03:50:11Z | 2021-08-04T23:52:02Z | 2021-08-04T23:52:02Z | 2022-06-07T03:22:09Z |
TST: Replace deprecated pyarrow.parquet.ParquetDataset | diff --git a/pandas/compat/pyarrow.py b/pandas/compat/pyarrow.py
index cc5c7a2e51976..9bf7139769baa 100644
--- a/pandas/compat/pyarrow.py
+++ b/pandas/compat/pyarrow.py
@@ -11,8 +11,10 @@
pa_version_under2p0 = _palv < Version("2.0.0")
pa_version_under3p0 = _palv < Version("3.0.0")
pa_version_under4p0 = _... | - [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
Ref: [ARROW-13074](https://issues.apache.org/jira/browse/ARROW-13074?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=173... | https://api.github.com/repos/pandas-dev/pandas/pulls/42873 | 2021-08-03T21:50:11Z | 2021-08-04T02:15:23Z | 2021-08-04T02:15:23Z | 2021-08-04T20:41:24Z |
BUG: GH42866 DatetimeIndex de-serializing fails in PYTHONOPTIMIZE mode | diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst
index c716460e997d0..7a310115b194e 100644
--- a/doc/source/whatsnew/v1.3.2.rst
+++ b/doc/source/whatsnew/v1.3.2.rst
@@ -32,6 +32,8 @@ Bug fixes
~~~~~~~~~
- 1D slices over extension types turn into N-dimensional slices over ExtensionArrays (:... | - [x] closes #42866
- [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/42871 | 2021-08-03T17:36:59Z | 2021-08-05T11:48:24Z | 2021-08-05T11:48:24Z | 2021-08-05T11:48:43Z |
DEPR: Index inferring numeric dtype from ndarray[object] | diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py
index 97e07a76b9149..7a55dd69ba7b7 100644
--- a/pandas/_testing/__init__.py
+++ b/pandas/_testing/__init__.py
@@ -219,7 +219,7 @@ def box_expected(expected, box_cls, transpose=True):
else:
expected = pd.array(expected)
eli... | - [x] closes #40489
- [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
| https://api.github.com/repos/pandas-dev/pandas/pulls/42870 | 2021-08-03T17:33:39Z | 2021-08-08T23:34:30Z | 2021-08-08T23:34:29Z | 2021-08-13T09:38:26Z |
Backport PR #42839 on branch 1.3.x (BUG: `styler.hide_columns` now hides the index name header row) | diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst
index 8723b1b766485..9b412d6d46c5e 100644
--- a/doc/source/whatsnew/v1.3.2.rst
+++ b/doc/source/whatsnew/v1.3.2.rst
@@ -31,7 +31,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- 1D slices over extension types turn into N-dimensional slices over... | Backport PR #42839: BUG: `styler.hide_columns` now hides the index name header row | https://api.github.com/repos/pandas-dev/pandas/pulls/42867 | 2021-08-03T17:15:23Z | 2021-08-03T19:27:55Z | 2021-08-03T19:27:55Z | 2021-08-03T19:27:56Z |
Add warning about NA merges | diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst
index 49a21f87382b3..0596687b4d15e 100644
--- a/doc/source/getting_started/comparison/comparison_with_sql.rst
+++ b/doc/source/getting_started/comparison/comparison_with_sql.rst
@@ ... | This is in reference to #32306.
While the discussion on how to fix this is still ongoing, a warning will help users to at least know about this and take the appropriate precautions.
| https://api.github.com/repos/pandas-dev/pandas/pulls/42865 | 2021-08-03T13:05:01Z | 2021-08-19T12:54:30Z | 2021-08-19T12:54:30Z | 2021-08-19T12:54:34Z |
REGR: `styler.highlight_min/max` did not ignore `pd.NA` and caused error | diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst
index 9b412d6d46c5e..c716460e997d0 100644
--- a/doc/source/whatsnew/v1.3.2.rst
+++ b/doc/source/whatsnew/v1.3.2.rst
@@ -22,7 +22,7 @@ Fixed regressions
- Regression in :meth:`DataFrame.drop` does nothing if :class:`MultiIndex` has duplicates ... | - [x] closes #42750
- [x] tests added / passed
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42861 | 2021-08-03T08:07:50Z | 2021-08-04T02:11:20Z | 2021-08-04T02:11:19Z | 2021-08-04T11:25:02Z |
Backport PR #42842 on branch 1.3.x (CI: Upgrade codecov-action to v2) | diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml
index a2818c85ffa33..d9e78b197de7a 100644
--- a/.github/workflows/database.yml
+++ b/.github/workflows/database.yml
@@ -99,7 +99,7 @@ jobs:
run: python ci/print_skipped.py
- name: Upload coverage to Codecov
- uses: codecov/c... | Backport PR #42842: CI: Upgrade codecov-action to v2 | https://api.github.com/repos/pandas-dev/pandas/pulls/42860 | 2021-08-03T07:28:37Z | 2021-08-03T08:40:20Z | 2021-08-03T08:40:20Z | 2021-08-03T08:40:20Z |
DEPR: unused kind arg in Index methods | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index ad6a9d994bf7b..1f65dcb97e637 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -160,6 +160,8 @@ Deprecations
- Deprecated treating ``numpy.datetime64`` objects as UTC times when passed to the :class:`Ti... | - [ ] 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
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/42857 | 2021-08-02T22:07:55Z | 2021-08-05T00:05:42Z | 2021-08-05T00:05:42Z | 2021-08-05T14:20:05Z |
BUG : Allow axis = 'columns' with limit and no method to work on fillna. | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 8608dffd58090..f9788a3e02019 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -224,7 +224,7 @@ Indexing
Missing
^^^^^^^
--
+- Bug in :meth:`DataFrame.fillna` with limit and no method ignores axis='c... | - [x] closes #40989
- [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
Added an if-condition for when axis = 1 so as to transpose the result in pandas/tests/fram... | https://api.github.com/repos/pandas-dev/pandas/pulls/42856 | 2021-08-02T17:24:37Z | 2021-08-20T13:50:30Z | 2021-08-20T13:50:30Z | 2021-08-20T13:50:44Z |
REF: date arg not reachable in DTI._maybe_cast_slice_bound | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index 9712a5d95a234..8a181e856b27f 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -722,7 +722,7 @@ def _maybe_cast_slice_bound(self, label, side: str, kind=lib.no_default):
if self._is_... | - [ ] 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
Tracked all the places where _maybe_cast_slice_bound is called and concluded that stdlib da... | https://api.github.com/repos/pandas-dev/pandas/pulls/42855 | 2021-08-02T14:40:39Z | 2021-08-05T00:15:25Z | 2021-08-05T00:15:25Z | 2021-08-05T02:42:36Z |
BLD: split join.pyx from algos.pyx | diff --git a/ci/lint.sh b/ci/lint.sh
index 3adfa8d1e3d33..61d74ae28377e 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -20,7 +20,7 @@ if [ "$LINT" ]; then
echo "Linting *.py DONE"
echo "Linting *.pyx"
- for path in 'window.pyx'
+ for path in 'window.pyx' "src/join.pyx"
do
echo "linting -> p... | closes #13921
| https://api.github.com/repos/pandas-dev/pandas/pulls/13925 | 2016-08-06T19:48:36Z | 2016-08-06T21:44:17Z | 2016-08-06T21:44:17Z | 2016-08-06T21:44:17Z |
BUG: pd.to_datetime doesn't raises AttributeError with specific input… | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index f68fa957df133..c1e69b0bcae13 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -858,6 +858,7 @@ Bug Fixes
- Bug in ``factorize`` raises ``AmbiguousTimeError`` if data contains datetime near DST boun... | - [x] closes #12424
- [x] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
…s when errors='ignore'(#12424)
| https://api.github.com/repos/pandas-dev/pandas/pulls/13909 | 2016-08-04T19:38:56Z | 2016-08-05T19:52:05Z | 2016-08-05T19:52:05Z | 2016-08-05T20:03:56Z |
API/BUG: Fix Series ops inconsistencies | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index cc3cc631b9575..6d28bca3d43b6 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -475,6 +475,143 @@ New Behavior:
type(s.tolist()[0])
+.. _whatsnew_0190.api.series_ops:
+
+``Series`` operators ... | - [x] closes #1134, closes #4581, closes #13538
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This includes the fix only for #1134 and not for other inconsistencies (like #13637), as it needs further discussions.
Changes:
- series comparison operator to check ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13894 | 2016-08-03T22:55:56Z | 2016-08-25T10:20:52Z | 2016-08-25T10:20:52Z | 2016-08-25T15:13:56Z |
DOC: small releasenote fixes | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 0c60aeeae333b..0363d49333253 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -301,7 +301,7 @@ For ``MultiIndex``, values are dropped if any level is missing by default. Speci
``Index.astype()`` ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13886 | 2016-08-03T13:39:26Z | 2016-08-03T14:51:54Z | 2016-08-03T14:51:54Z | 2016-08-03T20:49:32Z | |
DOC: Update README to link to install instructions. | diff --git a/README.md b/README.md
index e1149ac10795e..1334d9696764b 100644
--- a/README.md
+++ b/README.md
@@ -129,102 +129,27 @@ Here are just a few of the things that pandas does well:
The source code is currently hosted on GitHub at:
http://github.com/pydata/pandas
-Binary installers for the latest released ve... | Want any updates to the actual install instructions? Should we remove the section on wakari? Do we have a preference for conda-forge over the default channel?
| https://api.github.com/repos/pandas-dev/pandas/pulls/13882 | 2016-08-02T12:30:44Z | 2016-08-28T18:26:12Z | 2016-08-28T18:26:12Z | 2017-04-05T02:07:02Z |
TST: Add first line comment tests in read_csv | diff --git a/pandas/io/tests/parser/comment.py b/pandas/io/tests/parser/comment.py
index f7cd1e190ec16..9987a017cf985 100644
--- a/pandas/io/tests/parser/comment.py
+++ b/pandas/io/tests/parser/comment.py
@@ -104,3 +104,15 @@ def test_custom_comment_char(self):
result = self.read_csv(StringIO(data), comment='#... | Title is self-explanatory. Closes #4623.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13881 | 2016-08-02T10:38:42Z | 2016-08-03T10:15:47Z | 2016-08-03T10:15:47Z | 2016-08-03T15:24:11Z |
BUG: Series creation with datetime64 with non-ns unit as object dtype | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 425b8daec6081..d069a25c58143 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -842,6 +842,8 @@ Bug Fixes
- Bug in ``RangeIndex`` can be created without no arguments rather than raises ``TypeError``... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
found a bug related to `datetime64` with non-ns unit.
```
# OK
pd.Series(np.array([np.datetime64('2011-01-01')]))
#0 2011-01-01
# dtype: datetime64[ns]
# OK
pd.Series([np.datetime64('2011-01-01')], dtype=object)... | https://api.github.com/repos/pandas-dev/pandas/pulls/13876 | 2016-08-01T23:50:25Z | 2016-08-02T10:14:09Z | 2016-08-02T10:14:09Z | 2016-08-02T11:19:37Z |
TST: use types.api in plotting | diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py
index d80eb891c5bd6..faf16430fc94f 100644
--- a/pandas/tests/plotting/common.py
+++ b/pandas/tests/plotting/common.py
@@ -8,7 +8,7 @@
from pandas import DataFrame
from pandas.compat import zip, iteritems, OrderedDict
from pandas.util.deco... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
remove warning related to #13147 and #13621
| https://api.github.com/repos/pandas-dev/pandas/pulls/13867 | 2016-08-01T13:58:59Z | 2016-08-01T19:20:30Z | 2016-08-01T19:20:30Z | 2016-08-01T20:31:20Z |
BUG: SparseDataFrame may not preserve passed dtype | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 64e6bc0ab307c..7ed98bd3170c0 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -752,6 +752,7 @@ Bug Fixes
- Bug in ``SparseSeries`` with ``MultiIndex`` ``[]`` indexing result may have normal ``Index... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
`SparseDataFrame` may reset passed sparse data's `dtype` and `fill_value` as below.
**on current master:**
```
arr = pd.SparseArray([1, 0, 3, 0], dtype=np.int64, fill_value=0)
# OK, dtype and fill_value are kept
... | https://api.github.com/repos/pandas-dev/pandas/pulls/13866 | 2016-08-01T13:27:30Z | 2016-08-03T10:18:04Z | 2016-08-03T10:18:04Z | 2016-08-03T11:37:36Z |
CLN: Removed / filled stub read_csv tests | diff --git a/pandas/io/tests/parser/common.py b/pandas/io/tests/parser/common.py
index 7e9513c0bcff3..f8fc6c2bf78c3 100644
--- a/pandas/io/tests/parser/common.py
+++ b/pandas/io/tests/parser/common.py
@@ -149,11 +149,6 @@ def test_squeeze_no_view(self):
result = self.read_csv(StringIO(data), index_col='time', ... | Title is self-explanatory.
xref #4782
| https://api.github.com/repos/pandas-dev/pandas/pulls/13864 | 2016-08-01T11:00:41Z | 2016-08-01T19:21:39Z | 2016-08-01T19:21:39Z | 2016-08-02T01:19:30Z |
MAINT: Nicer error msg for NULL byte in read_csv | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index abbe7bdf18461..8c615741679b5 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -2190,7 +2190,17 @@ def _next_line(self):
next(self.data)
while True:
- orig_line = next(self.data)
+ ... | Provides a nicer error message for the Python engine in `read_csv` when the data contains a `NULL` byte.
Closes #2741.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13859 | 2016-07-31T20:54:47Z | 2016-08-01T21:17:12Z | 2016-08-01T21:17:11Z | 2016-08-02T01:20:46Z |
BUG: disallow 'w' mode in pd.read_hdf (#13623) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 62091d7ff03ff..1d69579df21df 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -379,6 +379,7 @@ API changes
- The ``pd.read_json`` and ``DataFrame.to_json`` has gained support for reading and writin... | - [x] closes #13623
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Passing mode='w' to read_hdf raises ValueError.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13858 | 2016-07-31T18:38:17Z | 2016-08-01T19:22:43Z | 2016-08-01T19:22:43Z | 2016-08-01T19:22:46Z |
CLN: Removed colSpace parameter | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 62091d7ff03ff..82e65b0acc21b 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -670,6 +670,7 @@ Deprecations
- ``Categorical.reshape`` has been deprecated and will be removed in a subsequent release... | Title is self-explanatory. Seems like it was already done in `DataFrame.to_string()` some time ago.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13857 | 2016-07-31T16:47:22Z | 2016-08-01T20:58:38Z | 2016-08-01T20:58:38Z | 2016-08-02T01:20:20Z |
ENH: Sparse int64 and bool dtype support enhancement | diff --git a/doc/source/sparse.rst b/doc/source/sparse.rst
index db9734edde482..b6c5c15bc9081 100644
--- a/doc/source/sparse.rst
+++ b/doc/source/sparse.rst
@@ -132,6 +132,61 @@ keeps an arrays of all of the locations where the data are not equal to the
fill value. The ``block`` format tracks only the locations and si... | - [x] closes #667, closes #8292, closes #13001, closes #8276, closes #13110
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Currently, sparse doesn't support `int64` and `bool` dtypes actually. When `int` or `bool` values are passed, it is coerced to `float... | https://api.github.com/repos/pandas-dev/pandas/pulls/13849 | 2016-07-30T10:26:34Z | 2016-08-31T07:57:34Z | 2016-08-31T07:57:33Z | 2016-09-01T01:33:21Z |
BUG: Fix edge cases in merge_asof() by comparing factorized keys (#13709) | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index dcd07911f2ff0..86d5f84cb9b36 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -293,6 +293,43 @@ def time_join_dataframe_integer_key(self):
merge(self.df, self.df2, on='key1')
... | closes #13709
Also removes unnecessary check_duplicates.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13836 | 2016-07-29T15:57:25Z | 2016-08-01T20:56:54Z | 2016-08-01T20:56:54Z | 2016-08-01T20:56:59Z |
BLD: use tempita for hashtable | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 52b1a3aae788c..7920f05b5e7a1 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -413,7 +413,7 @@ def _value_counts_arraylike(values, dropna=True):
freq = values.freq
values = values.view(np.int64)
- ... | - [x] closes #13786
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/13815 | 2016-07-27T11:06:35Z | 2016-07-28T23:41:41Z | 2016-07-28T23:41:41Z | 2016-07-28T23:50:26Z |
TST: AmbiguousTimeError with set_index() | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 375bbd79fd29b..73bab3136eb73 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -753,6 +753,8 @@ Bug Fixes
- Bug in ``.unstack`` with ``Categorical`` dtype resets ``.ordered`` to ``True`` (:issue:`13... | - [x] closes #12920
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
this has been fixed by #13750. added tests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13814 | 2016-07-27T11:03:16Z | 2016-07-27T21:31:55Z | 2016-07-27T21:31:55Z | 2016-07-27T22:23:52Z |
BUG, COMPAT: Fix multi-char sep + non-utf8 in read_csv for Python 2 | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 11d2fab464d1f..59a1a5f063f3a 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -788,3 +788,4 @@ Bug Fixes
- Bugs in ``Index.difference`` and ``DataFrame.join`` raise in Python3 when using mixed-inte... | Title is self-explanatory. Closes #3404.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13812 | 2016-07-27T04:07:34Z | 2016-07-28T23:43:39Z | 2016-07-28T23:43:39Z | 2016-07-29T02:27:56Z |
DOC: Fix groupby nth | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 6179857978b7b..fffa57626d5f0 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -1205,32 +1205,55 @@ def nth(self, n, dropna=None):
Examples
--------
- >>> df = DataFrame([[1, np.nan], [1, 4], [5, 6]], columns... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
Current API doc looks incorrect. Fixed it to meet #11039.
- http://pandas-docs.github.io/pandas-docs-travis/generated/pandas.core.groupby.GroupBy.nth.html
cc @behzadnouri
| https://api.github.com/repos/pandas-dev/pandas/pulls/13810 | 2016-07-27T00:48:19Z | 2016-07-29T00:28:21Z | 2016-07-29T00:28:21Z | 2016-07-29T00:35:17Z |
DOC: contributing: explain how to set the asv reporting threshold | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 666111470811f..54de4d86a48d9 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -577,13 +577,14 @@ To install asv::
If you need to run a benchmark, change your directory to ``asv_bench/`` and run::
- asv cont... | The default `asv continuous` reporting threshold is 100% change (2x), which probably is far too large for pandas use case, so instruct how to set it lower. (Probably the asv default should be changed, but that's a different issue.)
| https://api.github.com/repos/pandas-dev/pandas/pulls/13807 | 2016-07-26T19:41:47Z | 2016-07-27T09:37:43Z | 2016-07-27T09:37:43Z | 2016-07-27T09:37:44Z |
ASV: fix params to be strings (for better repr) | diff --git a/asv_bench/benchmarks/inference.py b/asv_bench/benchmarks/inference.py
index ee9d3104be4b1..0f9689dadcbb0 100644
--- a/asv_bench/benchmarks/inference.py
+++ b/asv_bench/benchmarks/inference.py
@@ -139,19 +139,26 @@ def time_dtype_infer_uint32(self):
class to_numeric(object):
+
+ param_names = ['dtyp... | Small fix to using params in asv (otherwise the name was huge, list of 500000 elements)
cc @gfyoung (just so you know I changed this for future reference)
| https://api.github.com/repos/pandas-dev/pandas/pulls/13805 | 2016-07-26T18:29:31Z | 2016-07-27T10:19:31Z | 2016-07-27T10:19:31Z | 2016-07-27T10:19:32Z |
CLN: Removed the kwds param in to_csv | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 03f8dbc20b52e..96f25144225ed 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -693,6 +693,7 @@ Removal of prior version deprecations/changes
- ``DataFrame.to_sql()`` has dropped the ``mysql`` optio... | We aren't using it anymore with the removal of parameters like `engine`. Closes #8206.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13804 | 2016-07-26T15:21:51Z | 2016-07-29T07:56:20Z | 2016-07-29T07:56:20Z | 2016-07-29T07:58:41Z |
TST: Add test for skipfooter + decimal in read_csv | diff --git a/pandas/io/tests/parser/python_parser_only.py b/pandas/io/tests/parser/python_parser_only.py
index 6f0ea75c4da93..0408401672a2f 100644
--- a/pandas/io/tests/parser/python_parser_only.py
+++ b/pandas/io/tests/parser/python_parser_only.py
@@ -185,3 +185,19 @@ def test_temporary_file(self):
result = s... | Title is self-explanatory. Only for Python engine because C engine doesn't support `skipfooter` yet.
Closes #6971.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13800 | 2016-07-26T08:54:02Z | 2016-07-26T22:44:17Z | 2016-07-26T22:44:16Z | 2016-07-27T00:55:35Z |
DOC: Added example to NDFrame.where | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 7380c543857a2..0a6691936d97d 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -828,6 +828,8 @@ To select a row where each column meets its own criterion:
df[row_mask]
+.. _indexing.where_mask:
+
The :meth:`~pandas.DataFram... | https://api.github.com/repos/pandas-dev/pandas/pulls/13798 | 2016-07-26T03:24:00Z | 2016-08-15T14:00:01Z | 2016-08-15T14:00:01Z | 2016-08-15T14:00:25Z | |
DOC: contributing: fix asv usage instructions | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 51fa2a9de953b..666111470811f 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -575,42 +575,34 @@ To install asv::
pip install git+https://github.com/spacetelescope/asv
-If you need to run a benchmark, chan... | The current asv usage instructions in contributing.rst may be unclear for PRs with multiple commits.
By default `asv continuous` uses head^ as the commit to compare to, whereas for PRs you usually want to compare to master. Write the instructions so that the comparison point is clear.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13794 | 2016-07-26T00:18:40Z | 2016-07-26T08:46:33Z | 2016-07-26T08:46:33Z | 2016-07-26T09:02:21Z |
DOC: show failing string on numeric parse | diff --git a/pandas/src/inference.pyx b/pandas/src/inference.pyx
index fe4748eb0eba0..039e0df4193b3 100644
--- a/pandas/src/inference.pyx
+++ b/pandas/src/inference.pyx
@@ -686,9 +686,9 @@ def maybe_convert_numeric(object[:] values, set na_values,
raise ValueError('integer out of range')
... | - [ ] related to #13746
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry not needed?
``` python
# before
In [7]: pd.to_numeric(['a'])
ValueError: Unable to parse string
# after
In [1]: pd.to_numeric(['a'])
ValueError: Unable to parse string "a" at position 0
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/13773 | 2016-07-24T14:22:07Z | 2016-07-26T18:25:33Z | 2016-07-26T18:25:33Z | 2016-07-29T21:33:03Z |
BUG: value_counts may raise OutOfBoundsDatetime | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 721da38baf67d..227975819372b 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -747,6 +747,8 @@ Bug Fixes
- Bug in invalid datetime parsing in ``to_datetime`` and ``DatetimeIndex`` may raise ``TypeE... | - [x] closes #13663
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
The root cause looks normal `Index` raises `OutOfBoudsDatetime`. I think it should be coerced to `object` dtype because user specifies no dtype.
```
pd.Index([datetime(9999, 1, 1)])
# on current... | https://api.github.com/repos/pandas-dev/pandas/pulls/13772 | 2016-07-24T10:43:30Z | 2016-07-24T13:51:12Z | 2016-07-24T13:51:12Z | 2016-07-24T14:19:37Z |
PEP8: test/indexes/base | diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py
index cc5dd24292bb8..0ddc71b01c22a 100644
--- a/pandas/tests/indexes/test_base.py
+++ b/pandas/tests/indexes/test_base.py
@@ -2,9 +2,6 @@
from datetime import datetime, timedelta
-# TODO(wesm): fix long line flake8 issues
-# flake8:... | - [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/13771 | 2016-07-24T10:39:37Z | 2016-07-24T13:50:32Z | 2016-07-24T13:50:32Z | 2016-07-24T14:20:12Z |
TST: add timedelta describe | diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py
index b71235a8f6576..370f3b5ee5b8b 100644
--- a/pandas/tests/frame/test_analytics.py
+++ b/pandas/tests/frame/test_analytics.py
@@ -295,6 +295,43 @@ def test_describe_datetime_columns(self):
self.assertEqual(result.columns... | - [x] closes #6145
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
Must be fixed by `timedelta` dtype. Added tests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13769 | 2016-07-24T07:06:59Z | 2016-07-24T13:52:46Z | 2016-07-24T13:52:46Z | 2016-07-24T14:15:36Z |
ENH: concat and append now can handle unordered categories | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index d59ad68c9ea83..59ddfe602c033 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -675,12 +675,60 @@ be lexsorted, use ``sort_categories=True`` argument.
union_categoricals([a, b], sort_categories=True)
-.. note::... | - [x] closes #13524
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
**on current master:**
```
# different categoricals
pd.concat([pd.Series([1, 2], dtype='category'),
pd.Series([3, 4], dtype='category')])
# ValueError: incompatible categories in cate... | https://api.github.com/repos/pandas-dev/pandas/pulls/13767 | 2016-07-24T01:33:28Z | 2016-09-07T13:18:27Z | 2016-09-07T13:18:27Z | 2017-01-08T06:23:17Z |
ENH: level keyword in rename (GH4160) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0b95bf98b401d..0995df8101d06 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -490,6 +490,8 @@ Other Enhancements
- ``DataFrame.plot`` now prints a title above each subplot if ``suplots=True`` and ... | - [ ] part of #4160
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13766 | 2016-07-23T16:30:21Z | 2017-04-18T10:01:05Z | 2017-04-18T10:01:05Z | 2017-04-18T10:14:27Z |
BUG: RangeIndex accepting length-1 arrays as argument | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 3600b8f52873b..c58af7ad4e327 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -979,6 +979,7 @@ Bug Fixes
- Bugs in ``Index.difference`` and ``DataFrame.join`` raise in Python3 when using mixed-inte... | - [x] closes #13542
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13765 | 2016-07-23T15:26:05Z | 2016-08-15T17:52:44Z | 2016-08-15T17:52:44Z | 2016-08-15T17:52:45Z |
DOC: fix slashes in read_csv line_terminator/sep kwargs descriptions | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index fe05b3715f45d..4ffd9c5466b6c 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1306,7 +1306,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
quotechar='"', line_terminator='\n', chunksize=None,
... | - [x] closes #13738
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Added additional '\' characters in order to produce the correct format in the documentation.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13761 | 2016-07-23T05:18:55Z | 2016-07-25T15:14:32Z | 2016-07-25T15:14:32Z | 2016-07-25T21:46:54Z |
PERF/BUG: improve factorize for datetimetz | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
new file mode 100644
index 0000000000000..310a4c5549e4f
--- /dev/null
+++ b/asv_bench/benchmarks/algorithms.py
@@ -0,0 +1,17 @@
+import numpy as np
+import pandas as pd
+
+
+class algorithm(object):
+ goal_time = 0.2
+
+ def setu... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
because `factorize` internally localize datetimetz, it raises when data contains DST boundary.
```
dti = pd.date_range('2016-11-06', freq='H', periods=5, tz='US/Eastern')
dti.factorize()
# AmbiguousTimeError: Canno... | https://api.github.com/repos/pandas-dev/pandas/pulls/13750 | 2016-07-22T07:17:58Z | 2016-07-24T15:34:24Z | 2016-07-24T15:34:24Z | 2016-07-24T16:12:37Z |
DOC: some general doc/sphinx fixes | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index 12e0ecfba97da..1414d2dd3c8dc 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -428,15 +428,13 @@ Using a non-regular, but still monotonic index, rolling with an integer window d
.. ipython:: python
-
- dft = Dat... | https://api.github.com/repos/pandas-dev/pandas/pulls/13740 | 2016-07-21T09:56:02Z | 2016-07-21T12:23:05Z | 2016-07-21T12:23:05Z | 2016-07-21T12:23:06Z | |
TST/BUG: Added more tests for Period(NaT) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index b6168f7737654..11b94e08798a4 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -527,9 +527,12 @@ Previous Behavior:
New Behavior:
+These result in ``pd.NaT`` without providing ``freq`` option.
+... | - [x] follow-up of #12759
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
- because `Period(NaT)` had separate impl until #12579, there were some bugs related to `pd.isnull`. Now all the issues are fixed, thus added explicit tests and what's new.
- Also updated w... | https://api.github.com/repos/pandas-dev/pandas/pulls/13737 | 2016-07-21T09:03:42Z | 2016-07-21T10:54:49Z | 2016-07-21T10:54:49Z | 2016-07-21T11:00:41Z |
CNL: remove the io.data and io.wb modules | diff --git a/doc/source/remote_data.rst b/doc/source/remote_data.rst
index 842fcb6896680..019aa82fed1aa 100644
--- a/doc/source/remote_data.rst
+++ b/doc/source/remote_data.rst
@@ -2,34 +2,21 @@
.. currentmodule:: pandas
-.. ipython:: python
- :suppress:
-
- import os
- import csv
- import pandas as pd
-
-... | Closes #13724
| https://api.github.com/repos/pandas-dev/pandas/pulls/13735 | 2016-07-21T08:51:00Z | 2016-07-24T18:03:22Z | 2016-07-24T18:03:22Z | 2016-07-25T15:18:01Z |
TST, COMPAT: Make MMapWrapper tests Windows compatible | diff --git a/pandas/io/tests/test_common.py b/pandas/io/tests/test_common.py
index 5740944558a5d..0acf3244fe8fa 100644
--- a/pandas/io/tests/test_common.py
+++ b/pandas/io/tests/test_common.py
@@ -138,6 +138,6 @@ def test_next(self):
for line in lines:
next_line = next(wrapper)
- self... | Partially addresses #13721 by addressing the `MMapWrapper` test failure. The issue was we didn't have control over the newline character, so the test was re-written to give us that control.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13732 | 2016-07-21T02:45:27Z | 2016-07-24T15:44:52Z | 2016-07-24T15:44:52Z | 2016-07-24T18:47:01Z |
Groupby getitem works with all index types | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index b6168f7737654..2ff725262903b 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -727,6 +727,7 @@ Bug Fixes
- Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform i... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Previously `df.groupby(0)[df.columns]` would fail if all column names
were integers (meaning `df.columns` was an `Int64Index`). This was
because the implementation of `__getitem__` in `SelectionMixin` was
checking f... | https://api.github.com/repos/pandas-dev/pandas/pulls/13731 | 2016-07-20T23:49:21Z | 2016-07-23T15:37:53Z | 2016-07-23T15:37:53Z | 2016-07-23T15:59:01Z |
DOC: Fixed formatting and errors in whatsnew v1.1.0 | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 55e2a810e6fc3..172d48572190c 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -42,8 +42,8 @@ For example, the below now works:
.. _whatsnew_110.period_index_partial_string_slicing:
-Nonmonotonic Pe... | cc @TomAugspurger
Minor fixes for formatting, spelling, and grammar. Please let me know if any of this is too nit-picky, I can revert to just the definite spelling/syntax errors. | https://api.github.com/repos/pandas-dev/pandas/pulls/35398 | 2020-07-23T22:35:25Z | 2020-07-24T13:06:26Z | 2020-07-24T13:06:26Z | 2020-07-25T14:49:01Z |
CLN: Remove leftover partial-result code from apply | diff --git a/pandas/core/apply.py b/pandas/core/apply.py
index d4be660939773..733dbeed34b72 100644
--- a/pandas/core/apply.py
+++ b/pandas/core/apply.py
@@ -252,33 +252,20 @@ def apply_broadcast(self, target: "DataFrame") -> "DataFrame":
return result
def apply_standard(self):
-
- # partial resul... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/35397 | 2020-07-23T21:38:32Z | 2020-07-24T12:46:55Z | 2020-07-24T12:46:55Z | 2020-07-24T12:47:03Z |
PKG: Set max pin for Cython | diff --git a/pyproject.toml b/pyproject.toml
index aaebcff8e4c1e..f282f2a085000 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@
requires = [
"setuptools",
"wheel",
- "Cython>=0.29.16", # Note: sync with setup.py
+ "Cython>=0.29.16,<3", # Note: sync with setup.py
"numpy==1.15.4; ... | We know that pandas doesn't work with Cython 3.0
(https://github.com/pandas-dev/pandas/issues/34213,
https://github.com/pandas-dev/pandas/issues/34014)
This sets the maximum supported version of Cython in our pyproject.toml
to ensure that pandas 1.1.0 can continue to be built from source without
Cython pre-insta... | https://api.github.com/repos/pandas-dev/pandas/pulls/35396 | 2020-07-23T17:56:06Z | 2020-07-23T19:10:34Z | 2020-07-23T19:10:34Z | 2020-07-23T19:41:13Z |
Matplotlib 3.3 compatibility fixups | diff --git a/ci/deps/azure-37-locale.yaml b/ci/deps/azure-37-locale.yaml
index 77aae791a47c1..4dbb6a5344976 100644
--- a/ci/deps/azure-37-locale.yaml
+++ b/ci/deps/azure-37-locale.yaml
@@ -18,7 +18,7 @@ dependencies:
- ipython
- jinja2
- lxml
- - matplotlib <3.3.0
+ - matplotlib>=3.3.0
- moto
- nomkl
... | Closes #34850
Closes https://github.com/pandas-dev/pandas/issues/35350
Haven't tested with matplotlib's older than 3.2 yet. We'll see what CI says. | https://api.github.com/repos/pandas-dev/pandas/pulls/35393 | 2020-07-23T15:00:41Z | 2020-07-23T22:06:05Z | 2020-07-23T22:06:03Z | 2020-07-23T22:06:10Z |
CLN: resolve isort mypy import confilict test_transform | diff --git a/pandas/tests/groupby/transform/test_transform.py b/pandas/tests/groupby/transform/test_transform.py
index cdaf27e214d80..c09f35526a6bf 100644
--- a/pandas/tests/groupby/transform/test_transform.py
+++ b/pandas/tests/groupby/transform/test_transform.py
@@ -4,7 +4,7 @@
import numpy as np
import pytest
-f... | Part of #35134
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/35386 | 2020-07-22T21:37:04Z | 2020-07-29T14:33:03Z | 2020-07-29T14:33:02Z | 2020-07-29T16:46:03Z |
Storage options | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index ab233f653061a..35403b5c8b66f 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -1649,29 +1649,72 @@ options include:
Specifying any of the above options will produce a ``ParserWarning`` unless the
python engin... | - [x] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/35381 | 2020-07-22T15:47:31Z | 2020-08-10T15:19:25Z | 2020-08-10T15:19:25Z | 2020-08-10T15:19:27Z |
CLN: resolve isort mypy import confilict test_join | diff --git a/pandas/tests/reshape/merge/test_join.py b/pandas/tests/reshape/merge/test_join.py
index c33443e24b268..d4d4c4190417e 100644
--- a/pandas/tests/reshape/merge/test_join.py
+++ b/pandas/tests/reshape/merge/test_join.py
@@ -2,7 +2,7 @@
from numpy.random import randn
import pytest
-from pandas._libs import ... | Part of #35134
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/35380 | 2020-07-22T15:12:29Z | 2020-07-29T14:33:44Z | 2020-07-29T14:33:44Z | 2020-07-29T16:45:38Z |
DOC: Expanded Using a Docker Container section | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index b85e9403038ab..b6b2c60787492 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -153,14 +153,38 @@ to build the documentation locally before pushing your changes.
Usin... | - [x] closes #35345
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Added Docker installation link, Docker commands, and PyCharm sections. | https://api.github.com/repos/pandas-dev/pandas/pulls/35379 | 2020-07-22T14:18:12Z | 2020-08-01T13:10:25Z | 2020-08-01T13:10:24Z | 2020-08-01T16:27:54Z |
[FIX] Handle decimal and thousand separator in 'round_trip' converer | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 33e70daa55e66..2ee15c506d033 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -141,6 +141,7 @@ I/O
^^^
- Bug in :meth:`to_csv` caused a ``ValueError`` when it was called with a filename in combinati... | - [x] closes #35365
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
In case of non c-locale decimal and tsep, copy and fixup the source string before passing it to PyOS_string_to_double | https://api.github.com/repos/pandas-dev/pandas/pulls/35377 | 2020-07-22T11:32:33Z | 2020-08-11T00:36:27Z | 2020-08-11T00:36:27Z | 2020-08-11T00:36:31Z |
Change defaults for rolling/expanding.apply engine kwargs to None | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 43d1244c15d8a..55e2a810e6fc3 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -338,7 +338,7 @@ Other enhancements
- :meth:`read_csv` now accepts string values like "0", "0.0", "1", "1.0" as convertible... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This change was supposed to be apart of https://github.com/pandas-dev/pandas/pull/35182 but was overlooked. Since 1.1 isn't out, this doesn't need to be backported corre... | https://api.github.com/repos/pandas-dev/pandas/pulls/35374 | 2020-07-22T05:42:56Z | 2020-07-22T10:45:41Z | 2020-07-22T10:45:41Z | 2020-07-22T16:34:10Z |
DOC: Fix heading capitalization in doc/source/whatsnew - part6 (#32550) (open PR again due to branch removed) | diff --git a/doc/source/whatsnew/v0.22.0.rst b/doc/source/whatsnew/v0.22.0.rst
index 75949a90d09a6..66d3ab3305565 100644
--- a/doc/source/whatsnew/v0.22.0.rst
+++ b/doc/source/whatsnew/v0.22.0.rst
@@ -1,7 +1,7 @@
.. _whatsnew_0220:
-v0.22.0 (December 29, 2017)
----------------------------
+Version 0.22.0 (December 2... | - [ ] Modify files v0.22.0.rst, v0.23.1.rst, v0.19.0.rst, v0.24.0.rst, v0.24.2.rst
-[ ] Add exceptions in 'validate_rst_title_capitalization.py' | https://api.github.com/repos/pandas-dev/pandas/pulls/35368 | 2020-07-21T20:22:21Z | 2020-08-07T09:35:40Z | 2020-08-07T09:35:40Z | 2020-08-07T09:35:56Z |
fix bug when combining groupby with resample and interpolate with dat… | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 42f95d88d74ac..d30c3f597896f 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -249,8 +249,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrameGroupBy.count` and :meth:`SeriesGroupBy.sum` returning... | …etime-index (GH 35325)
- [x] closes #35325
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/35360 | 2020-07-20T22:06:37Z | 2020-08-19T20:23:00Z | 2020-08-19T20:22:59Z | 2020-08-20T00:09:38Z |
REF: implement _apply_blockwise | diff --git a/pandas/core/window/ewm.py b/pandas/core/window/ewm.py
index 7a2d8e84bec76..c57c434dd3040 100644
--- a/pandas/core/window/ewm.py
+++ b/pandas/core/window/ewm.py
@@ -12,9 +12,7 @@
from pandas.util._decorators import Appender, Substitution, doc
from pandas.core.dtypes.common import is_datetime64_ns_dtype
... | Preliminary pushing towards #34714 | https://api.github.com/repos/pandas-dev/pandas/pulls/35359 | 2020-07-20T21:35:19Z | 2020-08-06T23:50:50Z | 2020-08-06T23:50:50Z | 2020-08-06T23:54:44Z |
CI: pin matplotlib for doc build | diff --git a/ci/deps/azure-37-locale.yaml b/ci/deps/azure-37-locale.yaml
index 714e1100b1e1a..77aae791a47c1 100644
--- a/ci/deps/azure-37-locale.yaml
+++ b/ci/deps/azure-37-locale.yaml
@@ -18,7 +18,7 @@ dependencies:
- ipython
- jinja2
- lxml
- - matplotlib
+ - matplotlib <3.3.0
- moto
- nomkl
- num... | Should fix the doc build. We have https://github.com/pandas-dev/pandas/issues/34850 to fix this. | https://api.github.com/repos/pandas-dev/pandas/pulls/35358 | 2020-07-20T20:39:45Z | 2020-07-20T22:17:51Z | 2020-07-20T22:17:51Z | 2020-07-21T11:16:24Z |
PERF: BlockManager.equals blockwise | diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py
index 8551ce9f14e6c..f59bb31af2828 100644
--- a/pandas/core/dtypes/missing.py
+++ b/pandas/core/dtypes/missing.py
@@ -10,7 +10,7 @@
from pandas._libs import lib
import pandas._libs.missing as libmissing
from pandas._libs.tslibs import NaT, iN... | https://api.github.com/repos/pandas-dev/pandas/pulls/35357 | 2020-07-20T20:19:40Z | 2020-08-07T21:03:01Z | 2020-08-07T21:03:01Z | 2020-08-07T21:32:41Z | |
REF: Avoid post-processing in blockwise op | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index c50b753cf3293..9123734e69958 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -1031,11 +1031,36 @@ def _cython_agg_blocks(
agg_blocks: List[Block] = []
new_items: List[np.ndarray] = []... | Small step towards #34714
cc @TomAugspurger IIRC you implemented split_frames/split_items, which this removes | https://api.github.com/repos/pandas-dev/pandas/pulls/35356 | 2020-07-20T19:04:37Z | 2020-08-08T14:51:40Z | 2020-08-08T14:51:39Z | 2020-08-08T17:30:51Z |
DOC: Fix small spelling mistake in style docs | diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb
index fd8dda4fe365e..77a1fef28f373 100644
--- a/doc/source/user_guide/style.ipynb
+++ b/doc/source/user_guide/style.ipynb
@@ -141,7 +141,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "In this case, the cell's... | This pull request fixes a small spelling mistake in the pandas style user guide.
I believe this change does not justify a whatsnew entry, since it is extremely small. It does not refer to a particular issue on GitHub. I have not run `black` or `flake8`, since I believe the change is out of scope for these tools.
... | https://api.github.com/repos/pandas-dev/pandas/pulls/35355 | 2020-07-20T17:49:30Z | 2020-07-29T09:12:22Z | 2020-07-29T09:12:22Z | 2020-07-29T09:12:42Z |
REGR: MultiIndex Indexing | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 3dbee7d0929cb..986d6323e704e 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3397,7 +3397,10 @@ def _reindex_non_unique(self, target):
new_indexer = np.arange(len(self.take(indexer)))
... | - [ ] closes #35351
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/35353 | 2020-07-20T16:22:31Z | 2020-07-21T11:20:02Z | 2020-07-21T11:20:00Z | 2020-07-21T11:30:10Z |
TYP: remove # type: ignore for unpacking compression_args | diff --git a/pandas/io/common.py b/pandas/io/common.py
index bd77a1e69c138..6ac8051f35b6f 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -267,8 +267,8 @@ def file_path_to_url(path: str) -> str:
def get_compression_method(
- compression: Optional[Union[str, Mapping[str, str]]]
-) -> Tuple[Optional... | eg. compresslevel for GzipFile is an int and compression in get_handle is Optional[Union[str, Mapping[str, Any]]] = None
once we adopt TypedDict, then maybe we could be more explicit here, but for now Any is appropriate.
the ignored message for GZipFile is `error: Argument 2 to "GzipFile" has incompatible type **... | https://api.github.com/repos/pandas-dev/pandas/pulls/35344 | 2020-07-19T14:43:11Z | 2020-07-29T09:16:25Z | 2020-07-29T09:16:25Z | 2020-07-29T10:42:52Z |
CLN: resolve isort mypy import confilict test_algos | diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py
index a080bf0feaebc..6c6bdb6b1b2bd 100644
--- a/pandas/tests/test_algos.py
+++ b/pandas/tests/test_algos.py
@@ -6,7 +6,8 @@
from numpy.random import RandomState
import pytest
-from pandas._libs import algos as libalgos, groupby as libgroupby, hash... | Part of #35134
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/35339 | 2020-07-18T20:36:07Z | 2020-07-29T09:15:18Z | 2020-07-29T09:15:18Z | 2020-07-29T16:45:22Z |
BUG: assign consensus name to index union in array case GH13475 | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 15616f4a6f27c..0082f76f8f97e 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -162,6 +162,7 @@ Reshaping
^^^^^^^^^
- Bug in :meth:`DataFrame.pivot_table` with ``aggfunc='count'`` or ``aggfunc='sum'`... | - [x] closes #13475
- [x] tests added / passed (except known datetime64 issue in #35080)
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/35338 | 2020-07-18T19:53:49Z | 2020-08-07T22:22:57Z | 2020-08-07T22:22:56Z | 2020-08-07T22:23:03Z |
DOC: Improve DataFrame.dropna subset example | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index f52341ed782d8..3f634c1e6e1ff 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4966,9 +4966,10 @@ def dropna(self, axis=0, how="any", thresh=None, subset=None, inplace=False):
Define in which columns to look for missing values.
-... | In the examples for [DataFrame.dropna](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.dropna.html), which begin like so:
```pycon
>>> df = pd.DataFrame({"name": ['Alfred', 'Batman', 'Catwoman'],
... "toy": [np.nan, 'Batmobile', 'Bullwhip'],
... "b... | https://api.github.com/repos/pandas-dev/pandas/pulls/35337 | 2020-07-18T19:25:08Z | 2020-07-29T09:13:53Z | 2020-07-29T09:13:53Z | 2020-07-31T15:58:44Z |
REF: remove special casing from Index.equals (always dispatch to subclass) | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 1be381e38b157..7ba94c76d0037 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -4252,16 +4252,15 @@ def equals(self, other: Any) -> bool:
if not isinstance(other, Index):
return False
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/35330 | 2020-07-17T16:56:27Z | 2020-08-03T23:30:25Z | 2020-08-03T23:30:25Z | 2020-08-04T08:55:57Z | |
More whatsnew cleanup. | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index b9ef1aae9a801..285cfdfc4c431 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -274,6 +274,8 @@ change, as ``fsspec`` will still bring in the same packages as before.
Other enhancements
^^^^^^^^^^^^^^^... | Closes https://github.com/pandas-dev/pandas/issues/35276 | https://api.github.com/repos/pandas-dev/pandas/pulls/35329 | 2020-07-17T16:38:08Z | 2020-07-17T17:32:56Z | 2020-07-17T17:32:55Z | 2020-07-17T17:32:59Z |
Optimize array_equivalent for NDFrame.equals | diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py
index 75188ad5b00eb..8551ce9f14e6c 100644
--- a/pandas/core/dtypes/missing.py
+++ b/pandas/core/dtypes/missing.py
@@ -355,7 +355,9 @@ def _isna_compat(arr, fill_value=np.nan) -> bool:
return True
-def array_equivalent(left, right, stric... | Closes #35249
```python
In [1]: import numpy as np
In [2]: import pandas as pd
In [3]: N = 10**3
In [4]: float_df = pd.DataFrame(np.random.randn(N, N))
# 1.0.5
1.52 ms ± 94 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
# master
83.6 ms ± 1.15 ms per loop (mean ± std. dev. of 7 runs, 10 loops ea... | https://api.github.com/repos/pandas-dev/pandas/pulls/35328 | 2020-07-17T15:51:14Z | 2020-07-17T18:49:29Z | 2020-07-17T18:49:28Z | 2020-07-17T18:58:31Z |
Doc fixups | diff --git a/doc/source/reference/groupby.rst b/doc/source/reference/groupby.rst
index 76cb53559f334..ccf130d03418c 100644
--- a/doc/source/reference/groupby.rst
+++ b/doc/source/reference/groupby.rst
@@ -128,6 +128,7 @@ The following methods are available only for ``SeriesGroupBy`` objects.
.. autosummary::
:toct... | https://api.github.com/repos/pandas-dev/pandas/pulls/35327 | 2020-07-17T15:08:57Z | 2020-07-17T16:30:41Z | 2020-07-17T16:30:41Z | 2020-07-17T16:39:31Z | |
Fix AttributeError when groupby as_index=False on empty DataFrame | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index b9ef1aae9a801..52b19fd4ebf2e 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1117,6 +1117,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.ewm.cov` was throwing ``AssertionError`` for :class:`... | - [x] closes #35246
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/35324 | 2020-07-17T13:46:10Z | 2020-07-17T18:49:54Z | 2020-07-17T18:49:54Z | 2020-07-17T18:49:55Z |
Remove deprecated warn kwarg for matplotlib use | diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py
index 25394dc6775d8..a4a1d83177c50 100644
--- a/pandas/util/_test_decorators.py
+++ b/pandas/util/_test_decorators.py
@@ -94,7 +94,7 @@ def safe_import(mod_name: str, min_version: Optional[str] = None):
def _skip_if_no_mpl():
mod = saf... | The warn param has been deprecated in 3.2.1: https://matplotlib.org/3.2.1/api/prev_api_changes/api_changes_3.2.0.html#matplotlib-use
On the most recent matplotlib, this is failing for me with
```
TypeError: use() got an unexpected keyword argument 'warn'
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/35323 | 2020-07-17T13:04:46Z | 2020-07-17T16:24:15Z | 2020-07-17T16:24:15Z | 2020-08-17T22:04:24Z |
DOC: Rst Formatting, make sure continuation prompt are used. | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 04d1dbceb3342..50d87ff60143f 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -59,7 +59,7 @@ class _IndexSlice:
>>> midx = pd.MultiIndex.from_product([['A0','A1'], ['B0','B1','B2','B3']])
>>> columns = ['foo', 'bar']
... | Without the `...` for some tools it may look like
`with ExcelWriter('path_to_file.xlsx',` is an input and
`date...` is the output.
I initially thought that I could use the hanging indent to separate
code continuation from output but `pandas/core/indexing.py`
proved me wrong as the example just after the one I fi... | https://api.github.com/repos/pandas-dev/pandas/pulls/35317 | 2020-07-17T01:46:44Z | 2020-09-10T18:53:41Z | 2020-09-10T18:53:41Z | 2020-09-10T18:53:46Z |
DOC: extra closing parens make example invalid. | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index 37d83a73c6597..5ecbb2c3ffd35 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -983,7 +983,7 @@ def is_list_like(obj: object, allow_sets: bool = True) -> bool:
False
>>> is_list_like(np.array([2]))
True
- >>> is_list_like(np.... | No attached issues or need for what's new / test... unless you want to actually get a linter the parse the docstrings and make the the examples are syntactically correct ?
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`... | https://api.github.com/repos/pandas-dev/pandas/pulls/35316 | 2020-07-17T01:29:39Z | 2020-07-17T10:25:51Z | 2020-07-17T10:25:51Z | 2020-07-17T10:25:52Z |
DOC: whatsnew for 1.2 | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index ad5bb5a5b2d72..17043b83f03df 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -10,6 +10,14 @@ This is the list of changes to pandas between each release. For full details,
see the `commit logs <https://git... | @mroeschke re: #35302
| https://api.github.com/repos/pandas-dev/pandas/pulls/35315 | 2020-07-17T00:00:29Z | 2020-07-29T09:20:33Z | 2020-07-29T09:20:33Z | 2020-07-29T19:07:43Z |
BUG: GroupBy.apply() returns different results if a different GroupBy method is called first | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 10dfd8406b8ce..c633583ebc2cd 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -155,7 +155,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrameGroupBy.apply` that would some times throw an erroneous ... | - [x] closes #34656
- [x] closes #34271
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
_Behavioural Changes_
_.apply()_
Calls to `self._set_group_selection` have been replaced with `with _group_selection_conte... | https://api.github.com/repos/pandas-dev/pandas/pulls/35314 | 2020-07-16T23:28:41Z | 2020-08-07T16:56:13Z | 2020-08-07T16:56:13Z | 2020-08-07T16:56:25Z |
pin numpy<1.19 in doc build | diff --git a/environment.yml b/environment.yml
index 32ff8c91cb69c..53106906a52cb 100644
--- a/environment.yml
+++ b/environment.yml
@@ -3,7 +3,8 @@ channels:
- conda-forge
dependencies:
# required
- - numpy>=1.15
+ # Pin numpy<1.19 until MPL 3.3.0 is released.
+ - numpy>=1.15,<1.19.0
- python=3
- pytho... | Doc build is failing on master with a warning from NumPy via matplotlib. Waiting on a release with https://github.com/matplotlib/matplotlib/pull/17289 (3.3.0), so pinning numpy<1.19 for now. | https://api.github.com/repos/pandas-dev/pandas/pulls/35312 | 2020-07-16T21:32:11Z | 2020-07-16T22:43:07Z | 2020-07-16T22:43:07Z | 2020-07-17T15:13:38Z |
TYP: Add MyPy Error Codes | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 69ce0f1adce22..816bb23865c04 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -230,6 +230,11 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
invgrep -R --include="*.py" -P '# type: (?!ignore)' pandas
RET=$(($RET + $?)) ; echo $MSG "DONE... | - [ ] closes #29197
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/35311 | 2020-07-16T21:01:31Z | 2020-08-06T15:12:34Z | 2020-08-06T15:12:34Z | 2020-08-06T15:57:50Z |
CI: Skip test for 3.7.0 exactly | diff --git a/pandas/tests/io/json/test_json_table_schema.py b/pandas/tests/io/json/test_json_table_schema.py
index df64af6ac2265..22b4ec189a0f1 100644
--- a/pandas/tests/io/json/test_json_table_schema.py
+++ b/pandas/tests/io/json/test_json_table_schema.py
@@ -1,6 +1,7 @@
"""Tests for Table Schema integration."""
fro... | xref https://github.com/pandas-dev/pandas/issues/35309
This test segfaults for python 3.7.0 exactly, but seems to pass for other versions. Just skipping in, to get MacPython all passing again. | https://api.github.com/repos/pandas-dev/pandas/pulls/35310 | 2020-07-16T20:20:03Z | 2020-07-17T13:25:28Z | 2020-07-17T13:25:28Z | 2020-07-17T15:13:58Z |
CLN: consistent EA._reduce signatures | diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
index 32a2a30fcfd43..2553a65aed07b 100644
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -1120,7 +1120,7 @@ def _concat_same_type(
# of objects
_can_hold_na = True
- def _reduce(self, name, skipna=True, **kwargs):
... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/35308 | 2020-07-16T15:23:52Z | 2020-07-16T22:44:19Z | 2020-07-16T22:44:19Z | 2020-07-17T07:58:50Z |
Revert BUG: Ensure same index is returned for slow and fast path in … | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index de3a05a2ccdfb..cee3680b4bf65 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1114,10 +1114,6 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.resample` where an ``AmbiguousTimeError`` would be r... | …groupby.apply #31613
xref https://github.com/pandas-dev/pandas/pull/34998. | https://api.github.com/repos/pandas-dev/pandas/pulls/35306 | 2020-07-16T13:44:49Z | 2020-07-16T14:56:09Z | 2020-07-16T14:56:09Z | 2020-07-16T15:06:59Z |
TST: xfail more 32-bits | diff --git a/pandas/tests/window/test_rolling.py b/pandas/tests/window/test_rolling.py
index 8d72e2cb92ca9..bea239a245a4f 100644
--- a/pandas/tests/window/test_rolling.py
+++ b/pandas/tests/window/test_rolling.py
@@ -7,7 +7,7 @@
import pandas.util._test_decorators as td
import pandas as pd
-from pandas import DataF... | xref #35294 | https://api.github.com/repos/pandas-dev/pandas/pulls/35304 | 2020-07-16T11:29:48Z | 2020-07-16T13:04:54Z | 2020-07-16T13:04:53Z | 2020-07-16T13:29:02Z |
Fixed reindexing arith with duplicates | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 814dbe999d5c1..37b4a182b6a9d 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -915,6 +915,7 @@ Numeric
- Bug in :meth:`DataFrame.count` with ``level="foo"`` and index level ``"foo"`` containing NaNs ca... | Closes https://github.com/pandas-dev/pandas/issues/35194
Still need to run ASV on this. This was a regression from 0.25.x to 1.0. It doesn't have to go in 1.1, but probably better for 1.1.0.rc0 than a 1.1.1 release. | https://api.github.com/repos/pandas-dev/pandas/pulls/35303 | 2020-07-16T11:20:33Z | 2020-07-16T22:49:14Z | 2020-07-16T22:49:13Z | 2020-07-16T22:49:17Z |
BUG: date_range doesn't propagate ambigous=False to tz_localize | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 2066858e5de86..b16ca0a80c5b4 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -71,7 +71,7 @@ Timedelta
Timezones
^^^^^^^^^
--
+- Bug in :func:`date_range` was raising AmbiguousTimeError for valid in... | - [x] closes #35297
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/35302 | 2020-07-16T08:20:58Z | 2020-08-01T17:10:10Z | 2020-08-01T17:10:10Z | 2020-08-01T17:18:24Z |
TST: Remove deprecated use of apply_index | diff --git a/pandas/tests/tseries/offsets/test_offsets_properties.py b/pandas/tests/tseries/offsets/test_offsets_properties.py
index 81465e733da85..ca14b202ef888 100644
--- a/pandas/tests/tseries/offsets/test_offsets_properties.py
+++ b/pandas/tests/tseries/offsets/test_offsets_properties.py
@@ -12,7 +12,6 @@
from hyp... | Noticed this warning. apply_index is deprecated, so not likely to get attention anyway. Removing. | https://api.github.com/repos/pandas-dev/pandas/pulls/35298 | 2020-07-15T20:15:40Z | 2020-07-16T19:39:00Z | 2020-07-16T19:39:00Z | 2020-07-16T19:39:05Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.