title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
DOC: Update roadmap for completions
diff --git a/doc/source/development/roadmap.rst b/doc/source/development/roadmap.rst index efee21b5889ed..8223edcf6f63a 100644 --- a/doc/source/development/roadmap.rst +++ b/doc/source/development/roadmap.rst @@ -141,20 +141,6 @@ ways for users to apply their own Numba-jitted functions where pandas accepts us and in g...
Moves "Improved documentation" to completed section. I don't think any others can be marked as done yet, though "Numba-accelerated operations" may be getting close (is that right @mroeschke?).
https://api.github.com/repos/pandas-dev/pandas/pulls/36728
2020-09-29T20:58:53Z
2020-09-30T12:37:42Z
2020-09-30T12:37:42Z
2020-09-30T12:37:44Z
CLN: private funcs in concat.py
diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py index f5d0c921e1006..7ad058cfeb83c 100644 --- a/pandas/core/internals/concat.py +++ b/pandas/core/internals/concat.py @@ -1,6 +1,6 @@ from collections import defaultdict import copy -from typing import Dict, List +from typing import TYPE_C...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Refactor/cleanup ``_get_empty_dtype_and_na`` in ``pandas/core/internals/concat.py`` Extract functions, add typing.
https://api.github.com/repos/pandas-dev/pandas/pulls/36726
2020-09-29T15:51:03Z
2020-10-04T04:39:42Z
2020-10-04T04:39:42Z
2020-10-04T13:22:33Z
TYP: update setup.cfg
diff --git a/setup.cfg b/setup.cfg index d938d2ef3972a..494c7ad328648 100644 --- a/setup.cfg +++ b/setup.cfg @@ -182,9 +182,6 @@ check_untyped_defs=False [mypy-pandas.core.groupby.base] check_untyped_defs=False -[mypy-pandas.core.groupby.generic] -check_untyped_defs=False - [mypy-pandas.core.groupby.grouper] chec...
https://api.github.com/repos/pandas-dev/pandas/pulls/36725
2020-09-29T15:39:55Z
2020-09-29T17:07:02Z
2020-09-29T17:07:02Z
2020-09-29T17:17:43Z
TYP: Ignore remaining mypy errors for pandas\tests\*
diff --git a/pandas/conftest.py b/pandas/conftest.py index 604815d496f80..5fb333acd718d 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -298,7 +298,9 @@ def unique_nulls_fixture(request): # ---------------------------------------------------------------- # Classes # --------------------------------------...
- [ ] closes #28926 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry These are the only 3 errors outstanding in pandas\tests\* that are stopping us closing #28926 ``` pandas\conftest.py:301: error: List item 0 h...
https://api.github.com/repos/pandas-dev/pandas/pulls/36724
2020-09-29T15:23:46Z
2020-09-29T20:30:56Z
2020-09-29T20:30:55Z
2020-09-30T11:06:32Z
DOC: Fix typo in docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bd720151fb15e..18a9c78912ba5 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3970,7 +3970,7 @@ def reindex_like( Maximum number of consecutive labels to fill for inexact matches. tolerance : optional ...
https://api.github.com/repos/pandas-dev/pandas/pulls/36723
2020-09-29T13:54:43Z
2020-09-29T15:41:03Z
2020-09-29T15:41:03Z
2020-09-29T16:39:28Z
CI unpin flake8, only run flake8-rst in pre-commit
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39fe509c6cd29..092515f1e450a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,6 +46,14 @@ repos: files: ^(environment.yml|requirements-dev.txt)$ pass_filenames: false additional_dependencies: [pyyaml...
- [ ] closes #34150 (maybe?) - [ ] 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/36722
2020-09-29T11:33:21Z
2020-10-10T22:29:29Z
2020-10-10T22:29:29Z
2020-10-11T08:36:20Z
CLN: Remove unnecessary rolling subclass
diff --git a/pandas/core/window/ewm.py b/pandas/core/window/ewm.py index 34d9d9d8c00ef..25938b57d9720 100644 --- a/pandas/core/window/ewm.py +++ b/pandas/core/window/ewm.py @@ -15,7 +15,7 @@ import pandas.core.common as common from pandas.core.window.common import _doc_template, _shared_docs, zsqrt -from pandas.cor...
- [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/36721
2020-09-29T05:56:37Z
2020-09-29T19:53:00Z
2020-09-29T19:53:00Z
2020-09-29T20:19:48Z
CLN: clean clipboard
diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py index a8020f4bb4e4f..f4f37fab99a5a 100644 --- a/pandas/io/clipboard/__init__.py +++ b/pandas/io/clipboard/__init__.py @@ -43,14 +43,15 @@ __version__ = "1.7.0" import contextlib -import ctypes -from ctypes import c_size_t, c_wchar, c_wch...
https://api.github.com/repos/pandas-dev/pandas/pulls/36720
2020-09-29T03:52:17Z
2020-10-02T23:19:55Z
null
2020-10-03T05:38:07Z
EA: Tighten signature on DatetimeArray._from_sequence
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index 6b051f1f73467..3e9a06a0faa17 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -296,7 +296,11 @@ def _simple_new(cls, values, freq=None, dtype=DT64NS_DTYPE): return result @classmetho...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry xref #33254 There are a few more steps to get DatetimeArray._from_sequence down to the ideal behavior, this is just trimming the signature down to...
https://api.github.com/repos/pandas-dev/pandas/pulls/36718
2020-09-29T01:22:42Z
2020-10-02T23:14:20Z
2020-10-02T23:14:20Z
2020-10-03T00:26:03Z
CLN: use standard method to set unhashable object
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bd720151fb15e..98fc96efa41f6 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1764,11 +1764,8 @@ def _drop_labels_or_levels(self, keys, axis: int = 0): # ---------------------------------------------------------------------- ...
#20589 mentioned lgtm. So I decided to test it. And it found this potential improvement. There is even a detailed reference with code examples. https://lgtm.com/rules/1780095/ Very interesting. Just trying to see if their suggestion works.
https://api.github.com/repos/pandas-dev/pandas/pulls/36717
2020-09-28T21:04:22Z
2020-09-30T04:40:29Z
null
2020-10-03T05:37:11Z
CI: remove duplicated code check #36642
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46de8d466dd11..b391871b18245 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,12 +37,6 @@ jobs: ci/code_checks.sh lint if: always() - - name: Dependencies consistency - run: | - source acti...
- [x] closes #36642
https://api.github.com/repos/pandas-dev/pandas/pulls/36716
2020-09-28T20:07:54Z
2020-10-20T23:08:47Z
2020-10-20T23:08:47Z
2020-10-21T00:28:58Z
TST: implement test to_string_empty_col for Series (GH13653)
diff --git a/pandas/tests/io/formats/test_format.py b/pandas/tests/io/formats/test_format.py index cce0783a3c867..68f5386fff7be 100644 --- a/pandas/tests/io/formats/test_format.py +++ b/pandas/tests/io/formats/test_format.py @@ -2846,6 +2846,13 @@ def test_to_string_multindex_header(self): exp = " r1 r2\na ...
- [x] closes #13653 - [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/36715
2020-09-28T19:40:21Z
2020-09-30T02:04:41Z
2020-09-30T02:04:41Z
2020-09-30T07:10:04Z
REF: rearrange test_to_latex.py
diff --git a/pandas/tests/io/formats/test_to_latex.py b/pandas/tests/io/formats/test_to_latex.py index 7a0d305758802..d3d865158309c 100644 --- a/pandas/tests/io/formats/test_to_latex.py +++ b/pandas/tests/io/formats/test_to_latex.py @@ -27,65 +27,13 @@ def _dedent(string): return dedent(string).lstrip() -class...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Rearranged tests in ``test_to_latex.py`` to the corresponding classes. Sorry for the messy diffs. All I did (except to small commits cd92db9 and 2b...
https://api.github.com/repos/pandas-dev/pandas/pulls/36714
2020-09-28T19:18:21Z
2020-09-30T12:38:18Z
2020-09-30T12:38:18Z
2020-10-04T13:25:48Z
CLN: pandas/core/indexing.py
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index fc1b9bee9ba03..ac4ff25081bb5 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -1,4 +1,5 @@ -from typing import TYPE_CHECKING, Hashable, List, Tuple, Union +from contextlib import suppress +from typing import TYPE_CHECKING, Any, Ha...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Slight clean-up of ``pandas/core/indexing.py``. - Use ``suppress`` instead of ``try/except/pass`` (starting from Python 3.7) - Slight rearrangeme...
https://api.github.com/repos/pandas-dev/pandas/pulls/36713
2020-09-28T18:27:50Z
2020-10-07T03:23:20Z
2020-10-07T03:23:20Z
2020-10-07T09:46:13Z
Fix small typo in timedeltas error message
diff --git a/pandas/core/tools/timedeltas.py b/pandas/core/tools/timedeltas.py index 791d5095283ba..372eac29bad9e 100644 --- a/pandas/core/tools/timedeltas.py +++ b/pandas/core/tools/timedeltas.py @@ -93,7 +93,7 @@ def to_timedelta(arg, unit=None, errors="raise"): unit = parse_timedelta_unit(unit) if er...
Small typo fix - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/36711
2020-09-28T18:10:00Z
2020-09-28T23:07:51Z
2020-09-28T23:07:51Z
2020-09-28T23:07:59Z
BUG: df.diff axis=1 mixed dtypes
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9b2540a1ce043..79a5d6cb458e0 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -100,6 +100,7 @@ is_dict_like, is_dtype_equal, is_extension_array_dtype, + is_float, is_float_dtype, is_hashable, is_integer, @@ -4...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36710
2020-09-28T18:00:46Z
2020-10-07T03:29:17Z
2020-10-07T03:29:17Z
2020-10-07T03:31:26Z
Fix delim_whitespace behavior in read_table, read_csv
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index afc0046ec6822..ae4d5ea692066 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -416,6 +416,7 @@ I/O - Bug in :meth:`read_csv` with ``engine='python'`` truncating data if multiple items present in first ...
- [x] closes #36583 - [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/36709
2020-09-28T17:22:46Z
2020-10-08T00:46:51Z
2020-10-08T00:46:50Z
2020-10-08T00:46:57Z
CI, CLN remove unnecessary noqa statements, add CI check
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7f669ee77c3eb..d0c9f12614d0d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,3 +43,7 @@ repos: entry: python -m scripts.generate_pip_deps_from_conda files: ^(environment.yml|requirements-dev.txt)$ p...
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` This changes loads of files, but most changes are quite trivial
https://api.github.com/repos/pandas-dev/pandas/pulls/36707
2020-09-28T17:00:05Z
2020-10-02T23:06:54Z
2020-10-02T23:06:54Z
2020-10-03T06:20:20Z
CI: npdev new exception message
diff --git a/pandas/tests/arithmetic/common.py b/pandas/tests/arithmetic/common.py index 755fbd0d9036c..cd8dd102dc27c 100644 --- a/pandas/tests/arithmetic/common.py +++ b/pandas/tests/arithmetic/common.py @@ -76,6 +76,13 @@ def assert_invalid_comparison(left, right, box): "Cannot compare type", ...
- [ ] 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/36706
2020-09-28T16:08:56Z
2020-09-28T21:36:32Z
2020-09-28T21:36:32Z
2020-09-30T21:13:54Z
CLN: remove unnecessary CategoricalIndex._convert_arr_indexer
diff --git a/pandas/core/indexes/category.py b/pandas/core/indexes/category.py index c798ae0bd4e4d..d3167189dbcc6 100644 --- a/pandas/core/indexes/category.py +++ b/pandas/core/indexes/category.py @@ -24,7 +24,6 @@ from pandas.core import accessor from pandas.core.arrays.categorical import Categorical, contains -im...
- [ ] 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/36705
2020-09-28T15:58:40Z
2020-09-30T01:56:35Z
2020-09-30T01:56:35Z
2020-09-30T02:46:40Z
Github action for release
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000000..de52145427636 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,135 @@ +name: Release Readiness + +on: + workflow_dispatch: + inputs: + version: + description: 'The pandas vers...
for initial feedback. maybe way off base with this. can be seen in action at https://github.com/simonjayhawkins/pandas/actions the alternative of retaining a separate repo for release can be seen at https://github.com/simonjayhawkins/pandas-release/actions
https://api.github.com/repos/pandas-dev/pandas/pulls/36704
2020-09-28T15:47:38Z
2021-01-05T19:18:58Z
null
2021-01-05T19:18:59Z
CLN: Format doc code blocks
diff --git a/doc/source/development/code_style.rst b/doc/source/development/code_style.rst index 11d0c35f92ff5..387f65ea583a0 100644 --- a/doc/source/development/code_style.rst +++ b/doc/source/development/code_style.rst @@ -172,5 +172,6 @@ Reading from a url .. code-block:: python from pandas.io.common import ...
Trying to make code blocks in documentation black compliant. Also a small update to the flake8-rst config making max-line-length equal to 88.
https://api.github.com/repos/pandas-dev/pandas/pulls/36700
2020-09-28T03:43:03Z
2020-09-29T20:29:25Z
2020-09-29T20:29:25Z
2020-10-01T08:08:54Z
CLN: Remove unused fixtures
diff --git a/pandas/conftest.py b/pandas/conftest.py index 604815d496f80..889bd2bed3504 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -174,14 +174,6 @@ def axis(request): axis_frame = axis -@pytest.fixture(params=[0, "index"], ids=lambda x: f"axis {repr(x)}") -def axis_series(request): - """ - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/36699
2020-09-28T02:30:15Z
2020-09-30T00:13:03Z
2020-09-30T00:13:03Z
2020-09-30T00:20:19Z
DEPR: is_all_dates
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 88ad1dde5c9b0..290983659f93b 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -214,6 +214,8 @@ Deprecations - :meth:`DataFrame.lookup` is deprecated and will be removed in a future version, use :meth:`...
- [x] closes #23598 - [x] closes #27744 - [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/36697
2020-09-28T01:30:00Z
2020-09-30T02:17:40Z
2020-09-30T02:17:40Z
2020-11-30T09:59:37Z
TYP: mostly datetimelike
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index 41c4de51fc2e1..9db22df20e66d 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -288,6 +288,7 @@ class Categorical(NDArrayBackedExtensionArray, PandasObject, ObjectStringArrayMi # tolist ...
- [ ] 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/36696
2020-09-28T01:25:33Z
2020-10-01T09:05:44Z
2020-10-01T09:05:44Z
2020-10-01T14:50:56Z
API: Deprecate regex=True default in Series.str.replace
diff --git a/doc/source/user_guide/text.rst b/doc/source/user_guide/text.rst index 2b27d37904599..9dd4fb68ae26a 100644 --- a/doc/source/user_guide/text.rst +++ b/doc/source/user_guide/text.rst @@ -255,7 +255,7 @@ i.e., from the end of the string to the beginning of the string: s2.str.rsplit("_", expand=True, n=1)...
From some old discussion it looks like there was interest in changing the default value of regex from True to False within Series.str.replace. I think this makes sense since it would align this method with others within pandas along with the standard library, and would also make fixing https://github.com/pandas-dev/pan...
https://api.github.com/repos/pandas-dev/pandas/pulls/36695
2020-09-28T00:58:54Z
2020-10-10T23:01:24Z
2020-10-10T23:01:24Z
2020-10-10T23:01:27Z
ENH: DatetimeArray/PeriodArray median
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 83a9c0ba61c2d..1f11ca6d4cc8b 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -1556,6 +1556,28 @@ def mean(self, skipna=True): # Don't have to worry about NA `result`, since no ...
- [x] closes #33760 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry nanops.nanmedian needs to be re-worked, and there's a lot more we can do to share reduction tests. saving for separate branches.
https://api.github.com/repos/pandas-dev/pandas/pulls/36694
2020-09-28T00:42:32Z
2020-10-07T03:28:11Z
2020-10-07T03:28:11Z
2020-10-07T15:00:51Z
CLN: OrderedDict->dict
diff --git a/pandas/compat/numpy/function.py b/pandas/compat/numpy/function.py index 5f627aeade47c..938f57f504b04 100644 --- a/pandas/compat/numpy/function.py +++ b/pandas/compat/numpy/function.py @@ -17,7 +17,6 @@ and methods that are spread throughout the codebase. This module will make it easier to adjust to futur...
- [x] closes #30469 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Grepping for OrderedDict in *.py files I see 84 more usages, but AFAICT these are all explicitly checking for the class, so I'm considering this as...
https://api.github.com/repos/pandas-dev/pandas/pulls/36693
2020-09-27T22:28:56Z
2020-09-29T22:48:23Z
2020-09-29T22:48:23Z
2020-09-29T22:48:29Z
BUG: DatetimeIndex.shift(1) with empty index
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 031c74b1cc367..3111277bed634 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -252,7 +252,8 @@ Datetimelike - Bug in :meth:`DatetimeIndex.slice_locs` where ``datetime.date`` objects were not accepted (...
- [x] closes #14811 - [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/36691
2020-09-27T22:13:20Z
2020-09-30T02:12:04Z
2020-09-30T02:12:04Z
2020-09-30T02:42:51Z
BUG: Don't ignore na_rep in DataFrame.to_html
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index cdd8e50d98077..0d83abc0d81cc 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -414,7 +414,6 @@ Strings - Bug in :func:`to_numeric` raising a ``TypeError`` when attempting to convert a string dtype :cla...
- [x] closes #13828 - [x] closes #9046 - [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/36690
2020-09-27T21:58:25Z
2020-10-24T02:49:09Z
2020-10-24T02:49:08Z
2020-10-24T02:51:30Z
DOC: Start v1.1.4 release notes
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 933ed3cb8babf..848121f822383 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.1 .. toctree:: :maxdepth: 2 + v1.1.4 v1.1.3 v1.1.2 v1.1.1 diff --git a/doc/source/...
I think this requires the v1.1.3 tag in order to pass
https://api.github.com/repos/pandas-dev/pandas/pulls/36689
2020-09-27T21:55:44Z
2020-10-05T20:05:44Z
2020-10-05T20:05:44Z
2020-10-05T20:16:33Z
Fix typo in timeseries.rst
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index d3d2bf8c72ba3..61902b4a41b7c 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -2210,7 +2210,7 @@ Time zone handling ------------------ pandas provides rich support for workin...
https://api.github.com/repos/pandas-dev/pandas/pulls/36687
2020-09-27T19:14:56Z
2020-09-28T02:43:53Z
2020-09-28T02:43:53Z
2020-09-28T02:44:06Z
TST: Add pytest-instafail to environment.yml
diff --git a/environment.yml b/environment.yml index 7f6ce8cb9fa3b..f97f8e2457585 100644 --- a/environment.yml +++ b/environment.yml @@ -58,6 +58,7 @@ dependencies: - pytest-cov - pytest-xdist>=1.21 - pytest-asyncio + - pytest-instafail # downstream tests - seaborn diff --git a/requirements-dev.txt b/...
Pretty useful pytest plugin for getting immediate feedback on test failures instead of waiting for an entire test suite to run: ``` (pandas-dev) ➜ pandas git:(add-pytest-instafail) ✗ pytest pandas/tests/groupby --instafail ===========================================================================================...
https://api.github.com/repos/pandas-dev/pandas/pulls/36686
2020-09-27T18:42:20Z
2020-09-29T13:02:13Z
2020-09-29T13:02:13Z
2020-09-29T13:34:44Z
DEPR: Deprecate params levels & codes in MultiIndex.copy
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index ddee06aeab779..e810fc0239b40 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -258,6 +258,7 @@ Deprecations ~~~~~~~~~~~~ - Deprecated parameter ``inplace`` in :meth:`MultiIndex.set_codes` and :meth:`M...
Deprecates params `levels` & `codes` in `MultiIndex.copy`.
https://api.github.com/repos/pandas-dev/pandas/pulls/36685
2020-09-27T18:18:08Z
2020-10-01T01:22:05Z
2020-10-01T01:22:05Z
2020-10-01T05:09:05Z
CLN remove unnecessary noqas from pandas/core
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index ba08d26fbc24f..d2005d46bbbf1 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -60,7 +60,7 @@ from pandas.core.indexers import validate_indices if TYPE_CHECKING: - from pandas import Categorical, DataFrame, Series #...
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/36684
2020-09-27T16:33:35Z
2020-09-27T19:33:22Z
2020-09-27T19:33:22Z
2020-09-28T16:57:30Z
bump pytables to 3.5.1 #24839
diff --git a/ci/deps/azure-37-minimum_versions.yaml b/ci/deps/azure-37-minimum_versions.yaml index afd5b07cc6654..f184ea87c89fe 100644 --- a/ci/deps/azure-37-minimum_versions.yaml +++ b/ci/deps/azure-37-minimum_versions.yaml @@ -20,7 +20,7 @@ dependencies: - numexpr=2.6.8 - numpy=1.16.5 - openpyxl=2.6.0 - - p...
- [x] closes #24839 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` PyTables 3.5.1 was released on March 14, 2019. And it offers better support for np16.
https://api.github.com/repos/pandas-dev/pandas/pulls/36683
2020-09-27T14:49:33Z
2020-09-30T02:23:32Z
2020-09-30T02:23:32Z
2020-10-03T05:35:12Z
TST: insert 'match' to bare pytest raises in pandas/tests/tseries/off…
diff --git a/pandas/tests/tseries/offsets/test_ticks.py b/pandas/tests/tseries/offsets/test_ticks.py index cc23f5f3201da..c1621669bffd0 100644 --- a/pandas/tests/tseries/offsets/test_ticks.py +++ b/pandas/tests/tseries/offsets/test_ticks.py @@ -266,10 +266,15 @@ def test_tick_rdiv(cls): off = cls(10) delta = ...
…sets/test_ticks.py - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry ref: https://github.com/pandas-dev/pandas/issues/30999
https://api.github.com/repos/pandas-dev/pandas/pulls/36682
2020-09-27T14:00:19Z
2020-09-30T17:49:26Z
2020-09-30T17:49:26Z
2020-09-30T17:49:26Z
CI: debug file leak
diff --git a/.travis.yml b/.travis.yml index 81cd461dd2c87..9ee913d72b8dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,20 +35,20 @@ matrix: fast_finish: true include: - - dist: bionic - python: 3.9-dev - env: - - JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" - - ...
Debug file leaks in cov build. Unrelated CI builds are commented out to save resource.
https://api.github.com/repos/pandas-dev/pandas/pulls/36681
2020-09-27T11:46:12Z
2020-09-27T13:34:07Z
null
2020-10-03T05:35:51Z
CLN: test_moments_rolling.py for sum
diff --git a/pandas/tests/window/moments/test_moments_rolling.py b/pandas/tests/window/moments/test_moments_rolling.py index ad7cdee89e6f8..e9c1938de1d28 100644 --- a/pandas/tests/window/moments/test_moments_rolling.py +++ b/pandas/tests/window/moments/test_moments_rolling.py @@ -211,17 +211,6 @@ def test_centered_axis...
- [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/36679
2020-09-26T23:45:16Z
2020-09-27T00:26:59Z
null
2020-09-27T00:27:03Z
CLN: test_moments_rolling.py for mean/std/var/count/median/min/max
diff --git a/pandas/tests/window/moments/test_moments_rolling.py b/pandas/tests/window/moments/test_moments_rolling.py index ad7cdee89e6f8..880316ec6111a 100644 --- a/pandas/tests/window/moments/test_moments_rolling.py +++ b/pandas/tests/window/moments/test_moments_rolling.py @@ -1,5 +1,3 @@ -import copy - import nump...
- [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/36678
2020-09-26T23:41:04Z
2020-09-28T01:57:39Z
2020-09-28T01:57:39Z
2020-09-28T01:57:44Z
CLN/TYP: aggregation methods in core.base
diff --git a/pandas/core/base.py b/pandas/core/base.py index 4d5cddc086b2a..b44c7886bd319 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -4,11 +4,12 @@ import builtins import textwrap -from typing import Any, Callable, Dict, FrozenSet, Optional, Union +from typing import Any, Callable, Dict, FrozenSe...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is in order to move _aggregate and _aggregate_multiple_funcs into core.aggregation - I think that's desirable. Type-hinting is slightly more str...
https://api.github.com/repos/pandas-dev/pandas/pulls/36677
2020-09-26T21:00:28Z
2020-10-02T23:02:02Z
2020-10-02T23:02:02Z
2020-10-11T13:22:02Z
CLN: moments/test_moments_rolling.py for apply
diff --git a/pandas/tests/window/moments/test_moments_rolling.py b/pandas/tests/window/moments/test_moments_rolling.py index da256e80dff7e..ad7cdee89e6f8 100644 --- a/pandas/tests/window/moments/test_moments_rolling.py +++ b/pandas/tests/window/moments/test_moments_rolling.py @@ -1,5 +1,4 @@ import copy -import warnin...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Overall easier to grok these tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/36676
2020-09-26T20:12:35Z
2020-09-26T23:19:53Z
2020-09-26T23:19:53Z
2020-09-26T23:39:40Z
REGR: Series.loc with a MultiIndex containing Timestamp raises InvalidIndexError
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 15777abcb8084..acf1dafc59885 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -37,6 +37,7 @@ Fixed regressions - Fixed regression in modulo of :class:`Index`, :class:`Series` and :class:`DataFrame` usi...
ci testing fix in https://github.com/pandas-dev/pandas/issues/35858#issuecomment-678683559 - [ ] closes #35858 - [ ] 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/36675
2020-09-26T19:59:34Z
2020-10-02T23:02:46Z
2020-10-02T23:02:46Z
2020-10-03T09:51:25Z
CLN: cleanups in DataFrame._reduce
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index cd85cce361cb4..a588830d1d584 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -638,10 +638,10 @@ def _can_fast_transpose(self) -> bool: """ Can we transpose this DataFrame without creating any new array objects. """...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Broken off from non-CLN work in the vicinity.
https://api.github.com/repos/pandas-dev/pandas/pulls/36674
2020-09-26T18:18:46Z
2020-10-02T22:29:40Z
2020-10-02T22:29:40Z
2020-10-02T23:00:37Z
Update pre-commit-config.yaml
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b7fd797fb7230..53ab61afe900b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,44 +1,59 @@ repos: - repo: https://github.com/python/black - rev: 19.10b0 + rev: 20.8b1 hooks: - id: black - language_ve...
Got this error from pre-commit when attempting to manually backport a PR. I guessed it may be because the pre-commit-config.yaml files between this branch and master were out of sync? That seemed to fix things for me, and regardless I figure it shouldn't be wrong to align these files (this PR is a straight checkout fro...
https://api.github.com/repos/pandas-dev/pandas/pulls/36673
2020-09-26T17:36:22Z
2020-09-26T22:56:59Z
null
2020-09-26T22:57:02Z
Backport PR #36670: DOC: Fix release note typo
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 97db7a3e4862d..91b9cf59687b3 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
https://api.github.com/repos/pandas-dev/pandas/pulls/36672
2020-09-26T17:00:11Z
2020-09-26T18:12:26Z
2020-09-26T18:12:26Z
2020-09-26T18:18:40Z
[MRG] TST: Added test for groupby apply datetimeindex fix
diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py index db5c4af9c6f53..176efdb6204da 100644 --- a/pandas/tests/groupby/test_apply.py +++ b/pandas/tests/groupby/test_apply.py @@ -681,6 +681,23 @@ def test_apply_aggregating_timedelta_and_datetime(): tm.assert_frame_equal(result, ex...
- [x] closes #26182 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry worked on by @ezebunandu and @amy12xx
https://api.github.com/repos/pandas-dev/pandas/pulls/36671
2020-09-26T16:31:18Z
2020-10-02T22:59:02Z
2020-10-02T22:59:01Z
2020-10-02T22:59:11Z
DOC: Fix release note typo
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 97db7a3e4862d..91b9cf59687b3 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
https://api.github.com/repos/pandas-dev/pandas/pulls/36670
2020-09-26T16:26:22Z
2020-09-26T16:51:52Z
2020-09-26T16:51:52Z
2020-09-26T17:21:29Z
Backport PR #36664 on branch 1.1.x (DOC: minor fix for 1.1.3 release notes)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index eded30ca45025..97db7a3e4862d 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
Backport PR #36664: DOC: minor fix for 1.1.3 release notes
https://api.github.com/repos/pandas-dev/pandas/pulls/36669
2020-09-26T16:09:12Z
2020-09-26T16:56:13Z
2020-09-26T16:56:13Z
2020-09-26T16:56:14Z
REGR: fillna not filling NaNs after pivot without explicitly listing pivot values on 1.1.x
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index eded30ca45025..0f908de41a7bb 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -34,6 +34,7 @@ Fixed regressions - Fixed regression when adding a :meth:`timedelta_range` to a :class:``Timestamp`` raised ...
- [ ] xref #36495 yet another alternative to fix directly on 1.1.x pending further discussion in #34407 on how to resolve the issues on master. cc @jorisvandenbossche @jbrockmendel This won't close issue until fix on master. could copy test to master with xfail (and would need to sync release notes if we merg...
https://api.github.com/repos/pandas-dev/pandas/pulls/36668
2020-09-26T14:15:29Z
2020-09-28T10:10:10Z
null
2020-09-28T10:21:15Z
REGR: fillna not filling NaNs after pivot without explicitly listing pivot values
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index eded30ca45025..0f908de41a7bb 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -34,6 +34,7 @@ Fixed regressions - Fixed regression when adding a :meth:`timedelta_range` to a :class:``Timestamp`` raised ...
- [ ] closes #36495 alternative to #34407 that only restores `self._consolidate_inplace()` to fix reported regression in #36495 This WILL fail see https://github.com/pandas-dev/pandas/pull/34407#issuecomment-699488350 and https://github.com/pandas-dev/pandas/pull/34407#issuecomment-699495512 if all green apart...
https://api.github.com/repos/pandas-dev/pandas/pulls/36667
2020-09-26T13:33:09Z
2020-09-26T14:51:33Z
null
2020-09-26T14:52:01Z
DOC: minor fix for 1.1.3 release notes
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index eded30ca45025..97db7a3e4862d 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
https://api.github.com/repos/pandas-dev/pandas/pulls/36664
2020-09-26T11:58:40Z
2020-09-26T16:08:54Z
2020-09-26T16:08:54Z
2020-09-26T16:43:55Z
CLN: lint fixup on 1.1.x
diff --git a/pandas/tests/frame/methods/test_replace.py b/pandas/tests/frame/methods/test_replace.py index c42039bb92154..a1d62a103b322 100644 --- a/pandas/tests/frame/methods/test_replace.py +++ b/pandas/tests/frame/methods/test_replace.py @@ -975,30 +975,15 @@ def test_replace_for_new_dtypes(self, datetime_frame): ...
xref https://github.com/pandas-dev/pandas/pull/36658#issuecomment-699475451
https://api.github.com/repos/pandas-dev/pandas/pulls/36663
2020-09-26T11:29:00Z
2020-09-26T12:12:29Z
2020-09-26T12:12:29Z
2020-09-26T12:12:35Z
Backport PR #36560 on branch 1.1.x ([BUG]: Fix regression in read_table with delim_whitespace=True)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index aeb9076617787..eded30ca45025 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -40,6 +40,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.apply` with ``raw=True`` and user-function returnin...
Backport PR #36560: [BUG]: Fix regression in read_table with delim_whitespace=True
https://api.github.com/repos/pandas-dev/pandas/pulls/36661
2020-09-26T10:33:25Z
2020-09-26T11:32:18Z
2020-09-26T11:32:18Z
2020-09-26T11:32:18Z
DEPR: DateOffset args don't end in 's'
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 016e8d90e7d21..a3353e3df8dae 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -265,6 +265,7 @@ Deprecations - Deprecated indexing :class:`DataFrame` rows with datetime-like strings ``df[string]``, use ...
Make deprecation DateOffset args don't end in 's'. Mentioned [here](https://github.com/pandas-dev/pandas/pull/36516#discussion_r492885786)
https://api.github.com/repos/pandas-dev/pandas/pulls/36660
2020-09-26T10:30:27Z
2021-03-21T00:32:59Z
null
2021-03-21T00:32:59Z
Backport PR #36595 on branch 1.1.x (Partial Revert "ENH: infer freq in timedelta_range (#32377)")
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 4ad85fd6bafa6..a60d4ef653f6b 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,6 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
Backport PR #36595: Partial Revert "ENH: infer freq in timedelta_range (#32377)"
https://api.github.com/repos/pandas-dev/pandas/pulls/36659
2020-09-26T08:36:59Z
2020-09-26T10:24:52Z
2020-09-26T10:24:52Z
2020-09-26T10:24:52Z
Backport PR #36444 on branch 1.1.x (BUG: inconsistent replace)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 4ad85fd6bafa6..7c7e40e633acc 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -34,6 +34,7 @@ Fixed regressions - Fixed regression in :meth:`Series.__getitem__` incorrectly raising when the input was a ...
Backport PR #36444: BUG: inconsistent replace
https://api.github.com/repos/pandas-dev/pandas/pulls/36658
2020-09-26T08:26:56Z
2020-09-26T10:21:57Z
2020-09-26T10:21:57Z
2020-09-26T10:21:57Z
CLN: More pytest idioms in pandas/tests/window
diff --git a/pandas/tests/window/conftest.py b/pandas/tests/window/conftest.py index 3b4ed4859b1cc..e5c5579d35a5c 100644 --- a/pandas/tests/window/conftest.py +++ b/pandas/tests/window/conftest.py @@ -344,3 +344,36 @@ def halflife_with_times(request): def dtypes(request): """Dtypes for window tests""" return...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Removed some unused variables, added some fixtures for DataFrames used in `test_pairwise.py`, and utilize more `pytest.mark.parameterize`
https://api.github.com/repos/pandas-dev/pandas/pulls/36657
2020-09-26T05:14:53Z
2020-09-30T03:50:57Z
2020-09-30T03:50:57Z
2020-09-30T03:51:00Z
ASV: used integer ndarray as indexer for Series.take indexing benchmark
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 836d3ca8602ec..74e0a3a434cde 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -191,7 +191,7 @@ def setup(self, index): } index = indexes[index] self.s = Series(np.rand...
- [x] closes #18000 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Series.take was using a list of booleans as indexers. Now, It is replaced with a random list of integers. Here are the benchmark results with `asv run --bench indexing.T...
https://api.github.com/repos/pandas-dev/pandas/pulls/36656
2020-09-26T04:19:56Z
2020-10-02T23:08:40Z
2020-10-02T23:08:40Z
2020-10-03T01:42:33Z
BUG: DataFrame.pivot drops column level names when both rows and columns are multiindexed
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 812af544ed9d8..e00fd2d3bbe04 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -512,6 +512,7 @@ Reshaping - Bug in func :meth:`crosstab` when using multiple columns with ``margins=True`` and ``normalize...
- [x] closes #36360 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fixed by checking for multi-indexed columns in `DataFrameGroupBy._wrap_aggregated_output`
https://api.github.com/repos/pandas-dev/pandas/pulls/36655
2020-09-26T03:35:11Z
2020-10-31T17:51:56Z
2020-10-31T17:51:55Z
2020-10-31T17:52:00Z
CLN: dont special-case DatetimeArray indexing
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index bd3112403b31b..d08e8e009811a 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -393,6 +393,7 @@ Indexing - Bug in :meth:`Index.get_indexer` and :meth:`Index.get_indexer_non_unique` where int64 arrays ar...
- [x] closes #36210 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry cc @jorisvandenbossche
https://api.github.com/repos/pandas-dev/pandas/pulls/36654
2020-09-26T02:46:43Z
2020-10-12T01:23:58Z
2020-10-12T01:23:57Z
2020-10-12T19:06:20Z
CLN: de-duplicate IntervalArray validators
diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 1011381f235ca..5105b5b9cc57b 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -852,15 +852,15 @@ def _validate_fill_value(self, value): return self._validate_scalar(value) def _validate_...
- [ ] 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/36653
2020-09-26T02:24:36Z
2020-10-01T01:15:04Z
2020-10-01T01:15:04Z
2020-10-01T01:55:54Z
Backport PR #36557 on branch 1.1.x ([BUG]: Fix bug with pre epoch normalization)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c63a78c76572f..4ad85fd6bafa6 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -38,6 +38,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.apply` with ``raw=True`` and user-function returnin...
Backport PR #36557: [BUG]: Fix bug with pre epoch normalization
https://api.github.com/repos/pandas-dev/pandas/pulls/36652
2020-09-26T01:23:23Z
2020-09-26T08:24:06Z
2020-09-26T08:24:06Z
2020-09-26T08:24:06Z
DOC: Fix remaining typos in docstrings 'handler' --> 'handle'
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index ef30d989dfbd2..9e1e0486d861a 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2298,7 +2298,7 @@ def to_parquet( path : str or file-like object If a string, it will be used as Root Directory path when writin...
Follow-on to https://github.com/pandas-dev/pandas/pull/36427#issuecomment-694249512
https://api.github.com/repos/pandas-dev/pandas/pulls/36650
2020-09-26T01:04:21Z
2020-09-28T22:40:38Z
2020-09-28T22:40:37Z
2020-09-28T22:40:46Z
DEPR: min_periods=None behavior for Rolling.count
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 016e8d90e7d21..3bfb507d2e140 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -265,6 +265,7 @@ Deprecations - Deprecated indexing :class:`DataFrame` rows with datetime-like strings ``df[string]``, use ...
- [x] closes #31302 - [x] closes #35579 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Additionally refactors `count` to take the `_apply` path to make this op consistent with the others.
https://api.github.com/repos/pandas-dev/pandas/pulls/36649
2020-09-26T00:16:08Z
2020-10-02T20:35:12Z
2020-10-02T20:35:11Z
2020-10-02T21:01:47Z
TST: GH23452 test reorder_categories() on categorical index
diff --git a/pandas/tests/indexing/test_categorical.py b/pandas/tests/indexing/test_categorical.py index 9f3ee81fac2eb..fae229aecc3d4 100644 --- a/pandas/tests/indexing/test_categorical.py +++ b/pandas/tests/indexing/test_categorical.py @@ -807,3 +807,31 @@ def test_loc_with_non_string_categories(self, idx_values, orde...
- [x] closes #23452 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Couldn't see entries for tests in whatsnew files so I assume it's not needed if only a test case is added This is my first Pandas contribution, look...
https://api.github.com/repos/pandas-dev/pandas/pulls/36648
2020-09-26T00:04:23Z
2020-10-03T18:17:08Z
2020-10-03T18:17:08Z
2020-10-07T23:05:45Z
ENH: match stdlib behavior for datetimelike comparisons
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 1236c672a1fa1..ebe6904823474 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -307,6 +307,7 @@ Datetimelike - Bug in :meth:`DatetimeIndex.searchsorted`, :meth:`TimedeltaIndex.searchsorted`, :meth:`Peri...
- [x] closes #28507 - [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/36647
2020-09-26T00:03:10Z
2020-10-04T04:47:47Z
2020-10-04T04:47:47Z
2020-10-04T18:05:57Z
BUG: ndarray[td64] // TimedeltaArray
diff --git a/pandas/core/arrays/timedeltas.py b/pandas/core/arrays/timedeltas.py index 3eaf428bc64b2..25c10516abb6b 100644 --- a/pandas/core/arrays/timedeltas.py +++ b/pandas/core/arrays/timedeltas.py @@ -689,13 +689,12 @@ def __rfloordiv__(self, other): elif is_timedelta64_dtype(other.dtype): o...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36646
2020-09-25T22:21:35Z
2020-09-26T01:15:21Z
2020-09-26T01:15:21Z
2020-09-26T01:19:16Z
REF: privatize in core.missing, remove unused kwarg
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index eae401f9744f0..c2fc72ff753a8 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -32,7 +32,7 @@ from pandas.core import ops from pandas.core.algorithms import factorize_array, unique -from pandas.core.missing import b...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Sits on top of #36624
https://api.github.com/repos/pandas-dev/pandas/pulls/36645
2020-09-25T22:09:50Z
2020-10-01T01:19:45Z
2020-10-01T01:19:45Z
2020-10-01T01:30:10Z
CLN: Fix some spelling
diff --git a/doc/source/development/policies.rst b/doc/source/development/policies.rst index a564afc408df9..ced5b686b8246 100644 --- a/doc/source/development/policies.rst +++ b/doc/source/development/policies.rst @@ -16,7 +16,7 @@ deprecations, API compatibility, and version numbering. A pandas release number is mad...
https://api.github.com/repos/pandas-dev/pandas/pulls/36644
2020-09-25T20:02:47Z
2020-09-26T01:16:37Z
2020-09-26T01:16:37Z
2020-09-26T01:19:47Z
TYP: selection and groups type-hinting in groupby
diff --git a/pandas/core/base.py b/pandas/core/base.py index 9e6f93b656af8..564a0af3527c5 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -9,7 +9,7 @@ import numpy as np import pandas._libs.lib as lib -from pandas._typing import AggFuncType, AggFuncTypeBase, Label +from pandas._typing import AggFuncTy...
- [ ] closes #xxxx - [ ] 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/36643
2020-09-25T18:42:21Z
2020-10-07T03:38:50Z
2020-10-07T03:38:50Z
2020-10-11T13:22:02Z
CLN: cleanup DataFrameInfo
diff --git a/pandas/io/formats/info.py b/pandas/io/formats/info.py index 7a53b46a4ac0f..e8e41d4325103 100644 --- a/pandas/io/formats/info.py +++ b/pandas/io/formats/info.py @@ -111,7 +111,6 @@ def _get_mem_usage(self, deep: bool) -> int: mem_usage : int Object's total memory usage in bytes. ...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Slightly clean-up DataFrameInfo. Make construction of header and separator cleaner.
https://api.github.com/repos/pandas-dev/pandas/pulls/36641
2020-09-25T17:51:47Z
2020-09-29T20:33:00Z
2020-09-29T20:33:00Z
2020-09-30T14:25:06Z
fix test test warnings
diff --git a/pandas/tests/io/excel/test_writers.py b/pandas/tests/io/excel/test_writers.py index e3ee53b63e102..0e27b87da9f3e 100644 --- a/pandas/tests/io/excel/test_writers.py +++ b/pandas/tests/io/excel/test_writers.py @@ -1286,10 +1286,9 @@ def test_merged_cell_custom_objects(self, merge_cells, path): expec...
- [ ] 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/36640
2020-09-25T17:47:53Z
2020-09-26T00:01:45Z
2020-09-26T00:01:45Z
2020-09-26T00:41:25Z
CFG use black profile in setup.cfg for isort
diff --git a/setup.cfg b/setup.cfg index e7d7df7ff19a2..d938d2ef3972a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -105,11 +105,7 @@ known_pre_core = pandas._libs,pandas._typing,pandas.util._*,pandas.compat,pandas known_dtypes = pandas.core.dtypes known_post_core = pandas.tseries,pandas.io,pandas.plotting sections = FU...
Since isort v5 some of the existing configs are unnecessary
https://api.github.com/repos/pandas-dev/pandas/pulls/36639
2020-09-25T17:02:58Z
2020-09-27T18:59:38Z
2020-09-27T18:59:38Z
2020-09-28T16:57:33Z
PERF: fix long string representation
diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py index 99992d0218a68..b9d41f142c2b5 100644 --- a/pandas/io/formats/format.py +++ b/pandas/io/formats/format.py @@ -10,7 +10,6 @@ from functools import partial from io import StringIO import math -from operator import itemgetter import re from sh...
- [x] closes #36636 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry - Fix long string representation for large dataframes. - Eliminate for loop, which was filtering out the proper rows/columns to be displayed. - Re...
https://api.github.com/repos/pandas-dev/pandas/pulls/36638
2020-09-25T15:55:36Z
2020-09-26T07:11:26Z
2020-09-26T07:11:26Z
2020-10-04T13:21:53Z
TST: GH 32431 check print label indexing on nan
diff --git a/pandas/tests/indexing/test_indexing.py b/pandas/tests/indexing/test_indexing.py index 472b29981e78c..ae5bf783e9d8a 100644 --- a/pandas/tests/indexing/test_indexing.py +++ b/pandas/tests/indexing/test_indexing.py @@ -829,6 +829,17 @@ def test_no_reference_cycle(self): del df assert wr() is...
- [x] closes #32431 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry --> not applicable This is my first contribution to pandas. I added a simple test that was requested in one of the open issues.
https://api.github.com/repos/pandas-dev/pandas/pulls/36635
2020-09-25T13:32:08Z
2020-11-18T13:53:17Z
2020-11-18T13:53:17Z
2020-11-18T13:53:20Z
Backport PR #36613 on branch 1.1.x (BUG: Fix unordered cut with Series labels)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c1effad34ab93..b356a09e22891 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -51,6 +51,7 @@ Bug fixes - Bug in :meth:`DataFrame.stack` raising a ``ValueError`` when stacking :class:`MultiIndex` column...
Backport PR #36613: BUG: Fix unordered cut with Series labels
https://api.github.com/repos/pandas-dev/pandas/pulls/36633
2020-09-25T09:43:31Z
2020-09-25T11:35:56Z
2020-09-25T11:35:56Z
2020-09-25T11:35:56Z
Replace single with double backticks in RST file #36617
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53ab61afe900b..7f669ee77c3eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,20 +34,6 @@ repos: rev: v1.6.0 hooks: - id: rst-backticks - # these exclusions should be removed and the files fixed - ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry closes https://github.com/pandas-dev/pandas/issues/36617
https://api.github.com/repos/pandas-dev/pandas/pulls/36632
2020-09-25T09:16:09Z
2020-09-26T22:50:28Z
2020-09-26T22:50:28Z
2020-09-26T22:50:28Z
Backport PR #36610 on branch 1.1.x (REGR: DataFrame.apply() with raw option and func returning string)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c1effad34ab93..34595ea4ec50f 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -35,6 +35,7 @@ Fixed regressions - Fixed regression in :meth:`Series.__getitem__` incorrectly raising when the input was a ...
Backport PR #36610: REGR: DataFrame.apply() with raw option and func returning string
https://api.github.com/repos/pandas-dev/pandas/pulls/36631
2020-09-25T09:04:06Z
2020-09-25T10:10:33Z
2020-09-25T10:10:33Z
2020-09-25T10:10:33Z
CLN:replace single with double backticks
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d01956bb79e11..de030482ffc59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,15 +53,6 @@ repos: plotting\.rst| 10min\.rst| basics\.rst| - categorical\.rst| - contributing\.rs...
#36617 doc/source/development/contributing.rst doc/source/development/contributing_docstring.rst doc/source/development/extending.rst doc/source/ecosystem.rst doc/source/getting_started/install.rst doc/source/getting_started/comparison/comparison_with_sql.rst doc/source/getting_st...
https://api.github.com/repos/pandas-dev/pandas/pulls/36630
2020-09-25T09:01:33Z
2020-09-26T22:53:15Z
null
2020-09-26T22:53:15Z
CLN: Improve setting of resample deprecation warnings' stacklevel
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a8b48f875c825..20887e05eea9c 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8221,24 +8221,25 @@ def resample( 2000-10-02 00:41:00 24 Freq: 17T, dtype: int64 """ - from pandas.core.resample impor...
- [N/A] closes #xxxx (see https://github.com/pandas-dev/pandas/pull/36369#issuecomment-698763910) - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [N/A] whatsnew entry The essence of the problem is that the tests for deprecated resample...
https://api.github.com/repos/pandas-dev/pandas/pulls/36629
2020-09-25T08:37:02Z
2020-12-18T11:11:51Z
null
2020-12-18T11:11:51Z
TST: check whether printing an IntervalIndex works (GH32553)
diff --git a/pandas/tests/indexing/interval/test_interval.py b/pandas/tests/indexing/interval/test_interval.py index 8976e87a1b75a..65be4611fb8fe 100644 --- a/pandas/tests/indexing/interval/test_interval.py +++ b/pandas/tests/indexing/interval/test_interval.py @@ -114,6 +114,10 @@ def test_loc_getitem_frame(self): ...
- [x] closes #32553 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry (not applicable) I just added a test that checks whether print succeeds, would we also want to check the exact output of the `str` function on an `I...
https://api.github.com/repos/pandas-dev/pandas/pulls/36628
2020-09-25T07:48:04Z
2020-12-02T17:52:30Z
null
2020-12-02T17:52:30Z
DOC: Replaced single backticks with double backticks in several rst files …
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d01956bb79e11..ad36a68c448a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,23 +36,6 @@ repos: - id: rst-backticks # these exclusions should be removed and the files fixed exclude: (?x)( - t...
…(#36617) I did not fix all of the files, but it's a start :).
https://api.github.com/repos/pandas-dev/pandas/pulls/36627
2020-09-25T07:45:46Z
2020-09-26T00:30:01Z
2020-09-26T00:30:01Z
2020-09-26T19:41:04Z
CI: add py38 slow build #35160
diff --git a/.travis.yml b/.travis.yml index 2ef8e0e03aaf8..2bf72bd159fc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,10 +41,10 @@ matrix: - JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" - env: - - JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not...
- [x] closes #35160 This issue was created before we dropped py36 support. So I think we should add equivalent CI build for py38.
https://api.github.com/repos/pandas-dev/pandas/pulls/36626
2020-09-25T04:11:33Z
2020-10-07T02:24:20Z
2020-10-07T02:24:19Z
2020-10-10T21:32:34Z
CLN: de-duplicate numeric type check in _libs/testing
diff --git a/pandas/_libs/testing.pyx b/pandas/_libs/testing.pyx index b2f19fcf5f5da..7a2fa471b9ba8 100644 --- a/pandas/_libs/testing.pyx +++ b/pandas/_libs/testing.pyx @@ -7,36 +7,13 @@ from numpy cimport import_array import_array() -from pandas._libs.util cimport is_array from pandas._libs.lib import is_complex...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry In `testing.pyx` we keep a list of numeric dtypes and use that for type checking. But we have functions that do this in `tslibs/util.pxd` so it's bet...
https://api.github.com/repos/pandas-dev/pandas/pulls/36625
2020-09-25T03:41:56Z
2020-10-06T22:08:04Z
2020-10-06T22:08:04Z
2020-10-06T22:08:07Z
CLN: simplify interpolate_2d and callers
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index d2f88b353e1c1..4e83284cb96ed 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -1643,7 +1643,7 @@ def fillna(self, value=None, method=None, limit=None): # TODO: dispatch when s...
- [ ] 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/36624
2020-09-25T03:20:47Z
2020-09-26T01:14:08Z
2020-09-26T01:14:08Z
2020-09-26T09:55:07Z
BUG: Categorical setitem, comparison with tuple category
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 2a8b6fe3ade6a..3c020e7c20876 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -240,7 +240,7 @@ Bug fixes Categorical ^^^^^^^^^^^ - :meth:`Categorical.fillna` will always return a copy, will validate ...
- [x] closes #20439 - [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/36623
2020-09-25T02:39:06Z
2020-10-02T22:43:24Z
2020-10-02T22:43:24Z
2020-10-02T22:59:40Z
Comment on stale PRs
diff --git a/.github/workflows/stale-pr.yml b/.github/workflows/stale-pr.yml index e77bf2b81fc86..2f55a180bc88c 100644 --- a/.github/workflows/stale-pr.yml +++ b/.github/workflows/stale-pr.yml @@ -2,7 +2,7 @@ name: "Stale PRs" on: schedule: # * is a special character in YAML so you have to quote this string - -...
Updating the stale PR action to comment in the PR. Should help to automate the process of pinging contributors who go quiet. Also updating to run once daily instead of every six hours.
https://api.github.com/repos/pandas-dev/pandas/pulls/36622
2020-09-25T02:11:21Z
2020-09-30T17:17:06Z
2020-09-30T17:17:06Z
2020-09-30T17:44:41Z
CLN: share setitem/getitem validators
diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py index 2bf530eb2bad4..4d13a18c8ef0b 100644 --- a/pandas/core/arrays/_mixins.py +++ b/pandas/core/arrays/_mixins.py @@ -14,6 +14,7 @@ from pandas.core.algorithms import take, unique from pandas.core.array_algos.transforms import shift from pand...
- [ ] 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/36619
2020-09-25T01:59:46Z
2020-09-26T01:19:54Z
2020-09-26T01:19:54Z
2020-09-26T01:21:03Z
CLN: Break up aggregate.transform
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 541c617f7f618..69ed78921607a 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -415,8 +415,6 @@ def transform( ValueError If the transform function fails or does not transform. """ - from pandas.co...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Precursor to #36478. Just breaks up transform without any code changes.
https://api.github.com/repos/pandas-dev/pandas/pulls/36618
2020-09-25T01:57:24Z
2020-09-26T23:21:42Z
2020-09-26T23:21:42Z
2020-10-11T13:22:10Z
Revert "[BUG]: Fix regression when adding timeldeta_range to timestamp"
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index da94e98bc78dd..34595ea4ec50f 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -38,7 +38,6 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.apply` with ``raw=True`` and user-function returnin...
Reverts pandas-dev/pandas#36582
https://api.github.com/repos/pandas-dev/pandas/pulls/36616
2020-09-25T01:29:21Z
2020-09-25T08:51:50Z
2020-09-25T08:51:50Z
2020-09-25T08:52:06Z
BUG: Fix unordered cut with Series labels
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index da94e98bc78dd..b382da2db01a4 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -53,6 +53,7 @@ Bug fixes - Bug in :meth:`DataFrame.stack` raising a ``ValueError`` when stacking :class:`MultiIndex` column...
- [x] closes #36603 - [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/36613
2020-09-24T21:21:09Z
2020-09-25T01:52:59Z
2020-09-25T01:52:59Z
2020-09-25T09:43:22Z
CLN: Avoid importing Series in core.aggregation
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 541c617f7f618..c813b65d3cbb7 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -6,6 +6,7 @@ from collections import defaultdict from functools import partial from typing import ( + TYPE_CHECKING, Any, Ca...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Breaks import cycles allowing aggregation to be imported at the top.
https://api.github.com/repos/pandas-dev/pandas/pulls/36612
2020-09-24T21:18:22Z
2020-09-24T23:36:59Z
2020-09-24T23:36:59Z
2020-09-26T12:00:22Z
PERF: Always using panda's hashtable approach, dropping np.in1d
diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py index 258c29c145721..3b65bccd48aee 100644 --- a/asv_bench/benchmarks/series_methods.py +++ b/asv_bench/benchmarks/series_methods.py @@ -90,6 +90,55 @@ def time_isin_long_series_long_values_floats(self): self.s_long_flo...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry numpy's `in1d` uses look-up in `O(log n)` in `in1d` compared to panda's `O(1)` so for a large number of unique elements in `values` pandas solution will become better. ...
https://api.github.com/repos/pandas-dev/pandas/pulls/36611
2020-09-24T20:16:34Z
2020-11-17T12:59:22Z
2020-11-17T12:59:22Z
2020-11-17T12:59:27Z
REGR: DataFrame.apply() with raw option and func returning string
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c1effad34ab93..34595ea4ec50f 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -35,6 +35,7 @@ Fixed regressions - Fixed regression in :meth:`Series.__getitem__` incorrectly raising when the input was a ...
- [ ] closes #35940 - [ ] 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/36610
2020-09-24T19:11:12Z
2020-09-24T23:42:19Z
2020-09-24T23:42:19Z
2020-09-25T09:06:31Z
CLN: de-duplicate _local_timestamps
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index b1f98199f9fba..6b051f1f73467 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -76,9 +76,7 @@ def tz_to_dtype(tz): def _field_accessor(name, field, docstring=None): def f(self): - valu...
- [ ] 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/36609
2020-09-24T19:09:00Z
2020-09-24T22:01:35Z
2020-09-24T22:01:35Z
2020-09-24T22:04:00Z
CI: rerun flaky test in html #36467
diff --git a/ci/build39.sh b/ci/build39.sh index faef2be03c2bb..2092ec385beef 100755 --- a/ci/build39.sh +++ b/ci/build39.sh @@ -2,7 +2,7 @@ # Special build for python3.9 until numpy puts its own wheels up pip install --no-deps -U pip wheel setuptools -pip install cython numpy python-dateutil pytz pytest pytest-xdi...
Part of #36467
https://api.github.com/repos/pandas-dev/pandas/pulls/36607
2020-09-24T18:24:54Z
2020-10-02T23:35:25Z
null
2020-10-03T05:36:33Z
CLN: assorted
diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index e346a14b531c5..3a628f997e5d6 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -392,7 +392,7 @@ class NaTType(_NaT): Returns ------- - string + str """, ...
- [x] closes #26982 - [x] closes #22373 - [ ] 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/36606
2020-09-24T16:14:11Z
2020-09-28T15:39:32Z
2020-09-28T15:39:32Z
2020-09-28T15:39:38Z
BUG: handle multi-dimensional grouping better
diff --git a/pandas/tests/groupby/test_grouping.py b/pandas/tests/groupby/test_grouping.py index 6c74e1521eeeb..39edc2b8d2527 100644 --- a/pandas/tests/groupby/test_grouping.py +++ b/pandas/tests/groupby/test_grouping.py @@ -124,6 +124,20 @@ def test_getitem_single_column(self): tm.assert_series_equal(result...
As described in issue #36158 multi-dimensional groups prepared with lambda or named function raise error on indices as isnan() is not defined for MultiIndex. Grouping already has the check for MultiIndex on line 440, but it's not triggered on __init__ when grouper is represented by **lambda** function and gets caste...
https://api.github.com/repos/pandas-dev/pandas/pulls/36605
2020-09-24T16:08:07Z
2020-10-31T19:11:35Z
2020-10-31T19:11:34Z
2020-10-31T19:11:38Z
BUG: propagate dropna in pd.Grouper
diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py index 6263d5337f42f..a509acb3604e1 100644 --- a/pandas/core/groupby/grouper.py +++ b/pandas/core/groupby/grouper.py @@ -99,6 +99,13 @@ class Grouper: .. versionadded:: 1.1.0 + dropna : bool, default True + If True, and i...
- [x] closes #36620 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry A precursor to #35751
https://api.github.com/repos/pandas-dev/pandas/pulls/36604
2020-09-24T15:59:41Z
2020-09-26T01:18:00Z
2020-09-26T01:17:59Z
2021-05-18T02:07:46Z