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
CLN: Clean nanops.get_corr_func
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index 822ab775e7e46..9494248a423a8 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -1332,30 +1332,33 @@ def nancorr( def get_corr_func(method): - if method in ["kendall", "spearman"]: - from scipy.stats import kendalltau, spearm...
Small cleaning (instead of creating a dictionary of functions and then returning only one, just return the one)
https://api.github.com/repos/pandas-dev/pandas/pulls/33244
2020-04-02T18:06:58Z
2020-04-07T00:18:58Z
2020-04-07T00:18:58Z
2020-04-07T01:25:31Z
DOC: Contributing - escaping backslash.
diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index 88782701b096c..31241287c61cb 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -295,7 +295,7 @@ Below is a brief overview on how to set-up a virtual environment with P...
Non-escaped backslash disappeared in resulting doc. - [ ] 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/33243
2020-04-02T18:05:19Z
2020-04-02T23:25:28Z
2020-04-02T23:25:28Z
2020-04-02T23:25:34Z
tostring->tobytes
diff --git a/pandas/_libs/writers.pyx b/pandas/_libs/writers.pyx index 091d76df26a17..2d5b31d7ccbcf 100644 --- a/pandas/_libs/writers.pyx +++ b/pandas/_libs/writers.pyx @@ -112,7 +112,7 @@ def convert_json_to_lines(arr: object) -> str: if not in_quotes: num_open_brackets_seen -= 1 - r...
- [x] closes #33238 - [ ] 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/33241
2020-04-02T17:28:22Z
2020-04-02T21:13:16Z
2020-04-02T21:13:16Z
2020-05-05T09:10:25Z
CLN: remove Block.merge
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 8e2592a603716..de4e3b76420af 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -307,9 +307,6 @@ def shape(self): def dtype(self): return self.values.dtype - def merge(self, other):...
Then move _merge_blocks to the one module where it is used, and add annotations
https://api.github.com/repos/pandas-dev/pandas/pulls/33240
2020-04-02T17:22:50Z
2020-04-03T17:37:51Z
2020-04-03T17:37:51Z
2020-04-03T17:39:09Z
ENH: provide standard BaseIndexers in pandas.api.indexers
diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py index 5133bbd285b50..f85dc83ab8605 100644 --- a/asv_bench/benchmarks/rolling.py +++ b/asv_bench/benchmarks/rolling.py @@ -165,4 +165,26 @@ def peakmem_fixed(self): self.roll.max() +class ForwardWindowMethods: + params = (...
- [X] closes #33201 - [X] 1 test modified / 1 passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry This PR adds a forward-looking `pandas.api.indexers.BaseIndexer` subclass implementation and exposes it to users as discussed in #33180 . #...
https://api.github.com/repos/pandas-dev/pandas/pulls/33236
2020-04-02T12:36:58Z
2020-04-08T17:20:51Z
2020-04-08T17:20:50Z
2020-04-09T06:34:57Z
TST: Use try/except block to properly catch and handle the exception
diff --git a/pandas/_libs/hashtable_class_helper.pxi.in b/pandas/_libs/hashtable_class_helper.pxi.in index 3ce3bc519b311..c251c92cb072a 100644 --- a/pandas/_libs/hashtable_class_helper.pxi.in +++ b/pandas/_libs/hashtable_class_helper.pxi.in @@ -12,9 +12,6 @@ WARNING: DO NOT edit .pxi FILE directly, .pxi is generated fr...
Now no more warnings - [x] closes #32951 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/33235
2020-04-02T11:58:29Z
2020-04-28T19:40:32Z
2020-04-28T19:40:31Z
2020-05-28T22:10:39Z
Ods loses spaces 32207
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 19e8acdaa7384..329aa3200d43a 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -408,6 +408,7 @@ I/O - Bug in :meth:`read_csv` was raising a misleading exception on a permissions issue (:issue:`23784`) ...
- [X] closes #32207 - [X] tests added / passed tests.io.excel.test_reader_spaces - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` (I had to use git diff master though) - [ ] whatsnew entry. It's only a bug fix does it need a whatsnew? I'm not sure how you make xlsx...
https://api.github.com/repos/pandas-dev/pandas/pulls/33233
2020-04-02T06:10:54Z
2020-04-06T23:26:49Z
2020-04-06T23:26:48Z
2020-04-06T23:26:52Z
REF: put concatenate_block_managers in internals.concat
diff --git a/pandas/core/internals/__init__.py b/pandas/core/internals/__init__.py index bc45b7c74ecc1..1090f862acb8a 100644 --- a/pandas/core/internals/__init__.py +++ b/pandas/core/internals/__init__.py @@ -14,11 +14,8 @@ _safe_reshape, make_block, ) -from pandas.core.internals.managers import ( - Block...
https://api.github.com/repos/pandas-dev/pandas/pulls/33231
2020-04-02T03:23:23Z
2020-04-06T23:20:24Z
2020-04-06T23:20:24Z
2020-04-06T23:28:14Z
DOC: Fixed examples in `pandas/core/groupby/`
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 0454150f61045..6f14c8183f0c4 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -288,10 +288,6 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pytest -q --doctest-modules pandas/core/generic.py RET=$(($RET + $?)) ; echo $MSG "DONE" - ...
- [ ] 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/33230
2020-04-02T02:08:28Z
2020-04-10T19:20:22Z
2020-04-10T19:20:21Z
2020-04-10T19:22:18Z
REF: sql insert_data operate column-wise to avoid internals
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index a2e66e9ab8e30..c657a925a5eab 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -692,37 +692,25 @@ def insert_data(self): column_names = list(map(str, temp.columns)) ncols = len(column_names) data_list = [None] * ncols - block...
https://api.github.com/repos/pandas-dev/pandas/pulls/33229
2020-04-02T01:11:32Z
2020-04-07T18:19:41Z
2020-04-07T18:19:41Z
2020-04-07T18:26:37Z
Clean Up Categorical Test for JSON
diff --git a/pandas/tests/io/json/test_pandas.py b/pandas/tests/io/json/test_pandas.py index b74abc965f7fa..d9071a80b5db7 100644 --- a/pandas/tests/io/json/test_pandas.py +++ b/pandas/tests/io/json/test_pandas.py @@ -15,16 +15,6 @@ from pandas import DataFrame, DatetimeIndex, Series, Timestamp, read_json import panda...
This is a little wonky in its current state, bolting categoricals onto an existing object / fixture Instead just localized this to the one test that covers it for now
https://api.github.com/repos/pandas-dev/pandas/pulls/33228
2020-04-02T00:55:27Z
2020-04-03T03:20:19Z
2020-04-03T03:20:19Z
2020-04-04T15:25:12Z
CLN: De-privatize names
diff --git a/pandas/_libs/tslibs/conversion.pyx b/pandas/_libs/tslibs/conversion.pyx index 6fa9159c469c2..5a8d0a0ec1670 100644 --- a/pandas/_libs/tslibs/conversion.pyx +++ b/pandas/_libs/tslibs/conversion.pyx @@ -44,8 +44,8 @@ from pandas._libs.tslibs.tzconversion cimport ( # ------------------------------------------...
xref #32942, these are some of the more common offenders. I'd actually prefer to not have the _NS_DTYPE and _TD_DTYPE objects and just use the pertinent strings, but if we are going to use the objects, might as well de-code-smell them.
https://api.github.com/repos/pandas-dev/pandas/pulls/33227
2020-04-01T22:58:54Z
2020-04-02T14:20:30Z
2020-04-02T14:20:30Z
2020-04-02T15:23:16Z
Fix typos in 09_timeseries.rst
diff --git a/doc/source/getting_started/intro_tutorials/09_timeseries.rst b/doc/source/getting_started/intro_tutorials/09_timeseries.rst index d7c1709ced51a..15bdf43543d9a 100644 --- a/doc/source/getting_started/intro_tutorials/09_timeseries.rst +++ b/doc/source/getting_started/intro_tutorials/09_timeseries.rst @@ -96,...
- [ ] 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/33226
2020-04-01T22:48:58Z
2020-04-02T16:18:02Z
2020-04-02T16:18:02Z
2020-04-02T16:18:08Z
CI: Checking all the examples in `pandas/core/series.py`
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index d30785d675788..c8d08277e9a26 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -271,8 +271,7 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then RET=$(($RET + $?)) ; echo $MSG "DONE" MSG='Doctests series.py' ; echo $MSG - pytest -q --do...
Since all the examples are passing, there is no reason not to check for all the examples (IMO).
https://api.github.com/repos/pandas-dev/pandas/pulls/33225
2020-04-01T21:38:23Z
2020-04-01T22:09:50Z
2020-04-01T22:09:50Z
2020-04-06T08:43:47Z
REF: misplaced Index.__contains__ tests
diff --git a/pandas/tests/arrays/categorical/test_indexing.py b/pandas/tests/arrays/categorical/test_indexing.py index 1cbf64a1529c2..abfae189bb4d7 100644 --- a/pandas/tests/arrays/categorical/test_indexing.py +++ b/pandas/tests/arrays/categorical/test_indexing.py @@ -85,6 +85,15 @@ def test_setitem_same_ordered_rasies...
https://api.github.com/repos/pandas-dev/pandas/pulls/33223
2020-04-01T21:15:02Z
2020-04-02T14:19:51Z
2020-04-02T14:19:51Z
2020-04-02T15:32:22Z
CLN: Use C-API for datetime.date
diff --git a/pandas/_libs/tslibs/strptime.pyx b/pandas/_libs/tslibs/strptime.pyx index a48c3365947dc..ce4d3a4ef8e02 100644 --- a/pandas/_libs/tslibs/strptime.pyx +++ b/pandas/_libs/tslibs/strptime.pyx @@ -4,7 +4,6 @@ import time import locale import calendar import re -import datetime from _thread import allocate...
- [ ] 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/33222
2020-04-01T21:00:37Z
2020-04-02T01:38:15Z
2020-04-02T01:38:15Z
2020-04-03T11:38:33Z
TST: misplaced validate_indices tests
diff --git a/pandas/tests/indexing/test_indexers.py b/pandas/tests/indexing/test_indexers.py index 35c0c06e86099..744f9441e7376 100644 --- a/pandas/tests/indexing/test_indexers.py +++ b/pandas/tests/indexing/test_indexers.py @@ -1,7 +1,8 @@ # Tests aimed at pandas.core.indexers import numpy as np +import pytest -fr...
https://api.github.com/repos/pandas-dev/pandas/pulls/33221
2020-04-01T20:42:28Z
2020-04-02T14:23:10Z
2020-04-02T14:23:10Z
2020-04-02T15:22:43Z
ENH: Add isocalendar accessor to DatetimeIndex and Series.dt
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 0d49a2d8db77c..a09a5576ca378 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -772,6 +772,7 @@ There are several time/date properties that one can access from ``Timestamp`` or ...
This PR adds the the isocalendar property to `DatetimeIndex` and the corresponding `Series.dt` accessor. The property returns a DataFrame, e.g.: ```python >>> idx = pd.date_range(start='2019-12-29', freq='D', periods=4) >>> idx.isocalendar year week day 0 2019 52 7 1 2020 1 1 2 2020 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33220
2020-04-01T20:35:15Z
2020-04-12T21:34:32Z
2020-04-12T21:34:32Z
2020-04-13T20:01:43Z
REF: DataFrame.mask tests
diff --git a/pandas/tests/frame/indexing/test_indexing.py b/pandas/tests/frame/indexing/test_indexing.py index 9e6d41a8886b3..406a01efb84e5 100644 --- a/pandas/tests/frame/indexing/test_indexing.py +++ b/pandas/tests/frame/indexing/test_indexing.py @@ -392,16 +392,6 @@ def test_getitem_boolean_casting(self, datetime_fr...
we already did this for Series.mask
https://api.github.com/repos/pandas-dev/pandas/pulls/33219
2020-04-01T20:27:39Z
2020-04-02T14:18:32Z
2020-04-02T14:18:31Z
2020-04-02T15:25:48Z
32380 deprecate squeeze in groupby
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 19db7dcb4b83e..41d519e0765dc 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -590,6 +590,7 @@ Deprecations - :func:`pandas.api.types.is_categorical` is deprecated and will be removed in a future versi...
- [x] closes #32380 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I deprecated the squeeze keyword. I think I got every points this keyword was used. I hope that I considered every point necessary to deprecate a ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33218
2020-04-01T20:02:44Z
2020-05-22T23:49:12Z
2020-05-22T23:49:11Z
2020-05-23T19:59:10Z
BUG: Block.setitem GH#32395
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index bdfb44cdc2fa3..0827bc21cd75d 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -854,8 +854,10 @@ def setitem(self, indexer, value): if is_extension_array_dtype(getattr(value, "dtype", None))...
@h-vishal this is based on what you have in #32479. Can you adapt parts of this to address comments over there? (that should be merged, not this, as you did the real work)
https://api.github.com/repos/pandas-dev/pandas/pulls/33217
2020-04-01T19:12:18Z
2020-04-03T16:53:41Z
null
2020-04-23T22:38:33Z
Added option to include/ignore file extensions in `scripts/validate_unwanted/patterns.py`
diff --git a/scripts/validate_unwanted_patterns.py b/scripts/validate_unwanted_patterns.py index b476ab5a818c5..193fef026a96b 100755 --- a/scripts/validate_unwanted_patterns.py +++ b/scripts/validate_unwanted_patterns.py @@ -16,9 +16,8 @@ import sys import token import tokenize -from typing import IO, Callable, Iter...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- This is needed for the check in #32942 to ignore cython files.
https://api.github.com/repos/pandas-dev/pandas/pulls/33216
2020-04-01T19:04:40Z
2020-04-10T21:08:17Z
2020-04-10T21:08:17Z
2020-04-11T12:59:39Z
REF: .dot tests
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 75c935cdf2e60..80573f32b936e 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -8,7 +8,7 @@ from pandas._libs import NaT, algos as libalgos, lib, writers import pandas._libs.internals as libinter...
Fully parametrized over Series/DataFrame
https://api.github.com/repos/pandas-dev/pandas/pulls/33214
2020-04-01T18:21:13Z
2020-04-10T20:53:21Z
2020-04-10T20:53:21Z
2020-04-10T21:13:43Z
DOC: Added check for standard pandas reference
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index be6c076952ca1..73b3314e58969 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -237,6 +237,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then invgrep -RI --exclude=\*.{svg,c,cpp,html,js} --exclude-dir=env "\s$" * RET=$(($RET + $?)) ; ech...
- [x] xref #32316 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry As suggested by @datapythonista , I've added checks in `ci/code_checks.sh` to look if the pandas is being referenced in a standardized way i.e pandas,...
https://api.github.com/repos/pandas-dev/pandas/pulls/33213
2020-04-01T18:00:21Z
2020-04-16T23:11:21Z
null
2020-04-16T23:11:21Z
CI: Make `isort` to check the "scripts" folder as well
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index be6c076952ca1..da878d3343233 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -121,7 +121,7 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then # Imports - Check formatting using isort see setup.cfg for settings MSG='Check import format using...
https://api.github.com/repos/pandas-dev/pandas/pulls/33212
2020-04-01T17:38:43Z
2020-04-01T18:42:20Z
2020-04-01T18:42:20Z
2020-04-01T18:50:11Z
CLN: remove Block.is_categorical_astype
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 778e2866f1eff..bdfb44cdc2fa3 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -50,7 +50,7 @@ pandas_dtype, ) from pandas.core.dtypes.concat import concat_categorical, concat_datetime -from pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/33211
2020-04-01T17:10:17Z
2020-04-01T18:33:51Z
2020-04-01T18:33:51Z
2020-04-01T18:38:16Z
DOC: Fixed examples in pandas/core/indexes/
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 732f9c5181b97..067d88a666bb3 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -278,6 +278,10 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pytest -q --doctest-modules pandas/core/groupby/groupby.py -k"-cumcount -describe -pipe" RET=$(...
- [ ] 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/33208
2020-04-01T14:56:35Z
2020-04-03T10:50:32Z
2020-04-03T10:50:32Z
2020-04-03T10:57:32Z
Add test for #24615 (Accept PandasArray (with correct dtype) in DatetimeArray constructor)
diff --git a/pandas/tests/arrays/test_datetimes.py b/pandas/tests/arrays/test_datetimes.py index 7d80ad3d8c6be..e5d679950d860 100644 --- a/pandas/tests/arrays/test_datetimes.py +++ b/pandas/tests/arrays/test_datetimes.py @@ -374,6 +374,13 @@ def test_searchsorted_invalid_types(self, other, index): with pytest....
issue #24615 I added a test for the issue 24615.
https://api.github.com/repos/pandas-dev/pandas/pulls/33204
2020-04-01T13:32:47Z
2020-04-04T01:01:23Z
null
2020-04-04T01:01:23Z
DOC: Fix Error in pandas.Series.last
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 143e4543e7ab8..0ecfbce460b3a 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8062,15 +8062,21 @@ def first(self: FrameOrSeries, offset) -> FrameOrSeries: def last(self: FrameOrSeries, offset) -> FrameOrSeries: """ - ...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.Series.last`: ``` ##################################################...
https://api.github.com/repos/pandas-dev/pandas/pulls/33199
2020-04-01T06:13:23Z
2020-04-03T14:42:31Z
2020-04-03T14:42:31Z
2020-04-03T14:42:43Z
Requested ASV
diff --git a/asv_bench/benchmarks/arithmetic.py b/asv_bench/benchmarks/arithmetic.py index 5a8b109c21858..2745db58e83e3 100644 --- a/asv_bench/benchmarks/arithmetic.py +++ b/asv_bench/benchmarks/arithmetic.py @@ -50,6 +50,23 @@ def time_frame_op_with_scalar(self, dtype, scalar, op): op(self.df, scalar) +cl...
I think this was requested a while ago and has been sitting in a local branch
https://api.github.com/repos/pandas-dev/pandas/pulls/33197
2020-04-01T03:19:34Z
2020-04-02T00:06:13Z
2020-04-02T00:06:13Z
2020-04-02T00:13:49Z
Added test for #5091 (Missing Periods for some DateOffsets)
diff --git a/pandas/tests/indexes/period/test_to_timestamp.py b/pandas/tests/indexes/period/test_to_timestamp.py index 23787586cb3d3..0df7d873dcb7d 100644 --- a/pandas/tests/indexes/period/test_to_timestamp.py +++ b/pandas/tests/indexes/period/test_to_timestamp.py @@ -10,6 +10,7 @@ Timedelta, Timestamp, ...
- [x] closes #5091
https://api.github.com/repos/pandas-dev/pandas/pulls/33195
2020-04-01T01:39:05Z
2020-04-01T03:51:35Z
null
2020-04-01T03:51:35Z
REF: test_mutate_columns -> test_setitem
diff --git a/pandas/tests/frame/test_mutate_columns.py b/pandas/tests/frame/indexing/test_setitem.py similarity index 87% rename from pandas/tests/frame/test_mutate_columns.py rename to pandas/tests/frame/indexing/test_setitem.py index e3f2a67c2f469..c12643f413490 100644 --- a/pandas/tests/frame/test_mutate_columns.py ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33193
2020-04-01T00:55:59Z
2020-04-01T17:55:37Z
2020-04-01T17:55:36Z
2020-04-01T17:56:25Z
CLN: Rename ordered_fixture --> ordered
diff --git a/pandas/conftest.py b/pandas/conftest.py index 0b14c12f2356f..e1088dae3925a 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -182,7 +182,7 @@ def observed(request): @pytest.fixture(params=[True, False, None]) -def ordered_fixture(request): +def ordered(request): """ Boolean 'ordere...
A pretty small and straightforward rename to make things more readable and consistent with our existing naming convention for fixtures.
https://api.github.com/repos/pandas-dev/pandas/pulls/33192
2020-04-01T00:47:49Z
2020-04-01T15:44:42Z
2020-04-01T15:44:42Z
2020-04-01T15:44:47Z
REF: misplaced sort_index test
diff --git a/pandas/tests/series/methods/test_sort_index.py b/pandas/tests/series/methods/test_sort_index.py index d4ebc9062a0c9..2d4fdfd5a3950 100644 --- a/pandas/tests/series/methods/test_sort_index.py +++ b/pandas/tests/series/methods/test_sort_index.py @@ -8,6 +8,10 @@ class TestSeriesSortIndex: + def test_...
https://api.github.com/repos/pandas-dev/pandas/pulls/33191
2020-03-31T23:25:51Z
2020-04-01T00:23:39Z
2020-04-01T00:23:39Z
2020-04-01T00:53:42Z
CLN: Correct docstring to describe actual functionality.
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index a66c9cd86d00c..306636278bcbe 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -462,7 +462,7 @@ class _BaseOffset: def _validate_n(self, n): """ - Require that `n` be a nonzero...
- [x] closes #20560
https://api.github.com/repos/pandas-dev/pandas/pulls/33190
2020-03-31T22:37:05Z
2020-04-01T00:25:17Z
2020-04-01T00:25:16Z
2020-04-01T00:25:23Z
REF: set_axis tests
diff --git a/pandas/tests/frame/test_alter_axes.py b/pandas/tests/frame/test_alter_axes.py index 74fe3bfd41b8f..961c18749f055 100644 --- a/pandas/tests/frame/test_alter_axes.py +++ b/pandas/tests/frame/test_alter_axes.py @@ -776,35 +776,3 @@ def test_set_reset_index(self): df = df.set_index("B") df ...
Fully parametrized over Series/DataFrame
https://api.github.com/repos/pandas-dev/pandas/pulls/33189
2020-03-31T20:57:56Z
2020-03-31T21:24:43Z
2020-03-31T21:24:43Z
2020-03-31T21:44:26Z
ADMIN: Create separate issue templates for different usecases
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index e33835c462511..0000000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,29 +0,0 @@ -#### Code Sample, a copy-pastable example if possible - -```python -# Your code here - -``` -#### Problem description - -[this sh...
revival of #31551 originally opened by @jschendel ---- > I recall this being mentioned on one of the core dev calls a few months back, and took inspiration from [rapidsai/cudf](https://github.com/rapidsai/cudf) for the various templates. > > Added templates for the following use cases: > > * Bug Report...
https://api.github.com/repos/pandas-dev/pandas/pulls/33187
2020-03-31T17:54:33Z
2020-04-03T19:43:12Z
2020-04-03T19:43:12Z
2020-04-06T08:24:06Z
TST: cover search_sorted scalar mixed timezones case
diff --git a/pandas/tests/series/methods/test_searchsorted.py b/pandas/tests/series/methods/test_searchsorted.py index fd6c6f74a9136..5a6ec0039c7cd 100644 --- a/pandas/tests/series/methods/test_searchsorted.py +++ b/pandas/tests/series/methods/test_searchsorted.py @@ -40,6 +40,14 @@ def test_searchsorted_datetime64_sca...
- [X] closes #30086 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Raises a `ValueError` on version 0.25.1 (reporter's version), as expected: ``` >>> import pandas as pd >>> pd.__version__ '0.25.1' >>> ser = ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33185
2020-03-31T17:17:12Z
2020-03-31T18:24:23Z
2020-03-31T18:24:22Z
2020-03-31T18:24:29Z
REF/CLN: test_get_dummies
diff --git a/pandas/tests/reshape/test_reshape.py b/pandas/tests/reshape/test_get_dummies.py similarity index 84% rename from pandas/tests/reshape/test_reshape.py rename to pandas/tests/reshape/test_get_dummies.py index 6113cfec48df9..c003bfa6a239a 100644 --- a/pandas/tests/reshape/test_reshape.py +++ b/pandas/tests/re...
https://api.github.com/repos/pandas-dev/pandas/pulls/33184
2020-03-31T16:48:35Z
2020-04-01T00:28:49Z
2020-04-01T00:28:49Z
2020-04-01T11:00:23Z
REF: fillna tests
diff --git a/pandas/tests/indexes/categorical/test_category.py b/pandas/tests/indexes/categorical/test_category.py index 954601ad423bf..543edc6b66ff2 100644 --- a/pandas/tests/indexes/categorical/test_category.py +++ b/pandas/tests/indexes/categorical/test_category.py @@ -442,18 +442,6 @@ def test_frame_repr(self): ...
This gets them all for tests.indexes, a fraction for tests.series, and none for DataFrame. This will take multiple passes
https://api.github.com/repos/pandas-dev/pandas/pulls/33183
2020-03-31T16:06:42Z
2020-03-31T16:38:07Z
2020-03-31T16:38:07Z
2020-03-31T17:34:41Z
BUG: support min/max functions for rolling windows with custom BaseIndexer
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 19e8acdaa7384..15a2f3e8ea08c 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -102,7 +102,8 @@ Other API changes - Added :meth:`DataFrame.value_counts` (:issue:`5377`) - :meth:`Groupby.groups` now ret...
- [X] xref #32865 - [X] 1 tests added / 1 passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry ## The problem We currently don't support several rolling window functions when building a rolling window object using a custom class descended ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33180
2020-03-31T13:48:19Z
2020-04-03T19:58:23Z
2020-04-03T19:58:23Z
2020-04-09T06:35:39Z
DOC: Fixed examples in pandas/core/arrays/
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index be6c076952ca1..a9a8b9aa14c5e 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -288,26 +288,17 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then RET=$(($RET + $?)) ; echo $MSG "DONE" MSG='Doctests interval classes' ; echo $MSG - pytes...
- [ ] 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/33179
2020-03-31T12:52:44Z
2020-04-01T19:07:42Z
2020-04-01T19:07:42Z
2020-04-01T19:09:11Z
WEB: Moving pandas blog to the website
diff --git a/web/pandas/community/blog/2019-user-survey.md b/web/pandas/community/blog/2019-user-survey.md new file mode 100644 index 0000000000000..73c426e7cbec9 --- /dev/null +++ b/web/pandas/community/blog/2019-user-survey.md @@ -0,0 +1,172 @@ +Title: 2019 pandas user survey +Date: 2019-08-22 + +<style type="text/cs...
Moving the pandas blog posts (now in a separate repo/project) to the `web/community/blog/` in our website. The static site generator we're using for the web, renders them automatically using our layout: ![pandas_blog_2](https://user-images.githubusercontent.com/10058240/78026717-01a10b80-7354-11ea-830e-65af77ed4838....
https://api.github.com/repos/pandas-dev/pandas/pulls/33178
2020-03-31T12:35:55Z
2020-04-07T20:04:50Z
2020-04-07T20:04:50Z
2020-04-07T20:04:50Z
Issue #33161 - Use empty_frame fixture
diff --git a/pandas/tests/frame/indexing/test_indexing.py b/pandas/tests/frame/indexing/test_indexing.py index 4fa5e4196ae5b..a7321104f2879 100644 --- a/pandas/tests/frame/indexing/test_indexing.py +++ b/pandas/tests/frame/indexing/test_indexing.py @@ -22,11 +22,13 @@ ) import pandas._testing as tm from pandas.array...
Replaced Empty data frames with fixture empty_frame() - [ ] 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/33177
2020-03-31T11:46:30Z
2020-03-31T15:21:56Z
null
2020-04-01T12:50:18Z
DOC: Fix examples in pandas/core/ops/
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index e987e147fa343..3e9138814fbdf 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -310,7 +310,11 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pytest -q --doctest-modules pandas/core/indexes/ RET=$(($RET + $?)) ; echo $MSG "DONE" - M...
- [ ] 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/33176
2020-03-31T10:50:36Z
2020-04-03T15:11:06Z
2020-04-03T15:11:06Z
2020-04-03T16:17:15Z
CI: add doctest check for done modules
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 5401cc81785ab..be6c076952ca1 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -279,8 +279,8 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pytest -q --doctest-modules pandas/core/groupby/groupby.py -k"-cumcount -describe -pipe" RET=$((...
- [ ] 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/33175
2020-03-31T10:26:47Z
2020-03-31T13:12:11Z
2020-03-31T13:12:11Z
2020-03-31T13:14:37Z
CLN: using C-API of datetime
diff --git a/pandas/_libs/tslibs/conversion.pyx b/pandas/_libs/tslibs/conversion.pyx index a318bea14b52b..6fa9159c469c2 100644 --- a/pandas/_libs/tslibs/conversion.pyx +++ b/pandas/_libs/tslibs/conversion.pyx @@ -8,8 +8,7 @@ cnp.import_array() import pytz # stdlib datetime imports -from datetime import time as date...
- [ ] 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/33174
2020-03-31T10:16:14Z
2020-03-31T14:49:43Z
2020-03-31T14:49:43Z
2020-04-01T09:37:46Z
CLN: Added static types
diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx index 5272a0a042d0e..1b980aea372e2 100644 --- a/pandas/_libs/tslibs/parsing.pyx +++ b/pandas/_libs/tslibs/parsing.pyx @@ -189,8 +189,13 @@ cdef inline bint does_string_look_like_time(str parse_string): return 0 <= hour <= 23 and 0 <= mi...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- I'll revert any change related to styling, I applied "black" formatting in some places, just so I could think straight.
https://api.github.com/repos/pandas-dev/pandas/pulls/33169
2020-03-31T08:46:57Z
2020-04-03T19:42:16Z
2020-04-03T19:42:16Z
2020-04-06T08:43:09Z
CLN: Replace DataFrame() with empty_frame in tests
diff --git a/pandas/tests/frame/indexing/test_indexing.py b/pandas/tests/frame/indexing/test_indexing.py index 9e6d41a8886b3..9d7a0ace00f8b 100644 --- a/pandas/tests/frame/indexing/test_indexing.py +++ b/pandas/tests/frame/indexing/test_indexing.py @@ -817,9 +817,9 @@ def test_setitem_with_empty_listlike(self): ...
- [ ] closes #33161 - [ ] 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/33167
2020-03-31T06:09:22Z
2020-05-08T15:58:32Z
null
2020-05-08T15:58:33Z
CLN: Replace DataFrame() with empty_frame() in tests
diff --git a/pandas/tests/frame/indexing/test_indexing.py b/pandas/tests/frame/indexing/test_indexing.py index 4fa5e4196ae5b..274057da76b2b 100644 --- a/pandas/tests/frame/indexing/test_indexing.py +++ b/pandas/tests/frame/indexing/test_indexing.py @@ -44,7 +44,7 @@ def test_get(self, float_frame): @pytest.mark.pa...
- [ ] closes #33161 - [ ] 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/33165
2020-03-31T04:48:29Z
2020-03-31T04:55:20Z
null
2020-03-31T04:56:20Z
REF: collect .get tests
diff --git a/pandas/tests/frame/indexing/test_get.py b/pandas/tests/frame/indexing/test_get.py new file mode 100644 index 0000000000000..5f2651eec683c --- /dev/null +++ b/pandas/tests/frame/indexing/test_get.py @@ -0,0 +1,27 @@ +import pytest + +from pandas import DataFrame +import pandas._testing as tm + + +class Test...
https://api.github.com/repos/pandas-dev/pandas/pulls/33164
2020-03-31T04:02:59Z
2020-03-31T13:39:48Z
2020-03-31T13:39:48Z
2020-03-31T14:00:16Z
Json parametrize more2
diff --git a/pandas/conftest.py b/pandas/conftest.py index 2ee64403c7cf4..0b14c12f2356f 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -526,6 +526,64 @@ def empty_frame(): return DataFrame() +@pytest.fixture +def int_frame(): + """ + Fixture for DataFrame of ints with index of unique strings...
https://api.github.com/repos/pandas-dev/pandas/pulls/33163
2020-03-31T02:22:57Z
2020-03-31T16:39:21Z
2020-03-31T16:39:21Z
2023-04-12T20:17:14Z
DOC: Make doc decorator a class and replace Appender by doc
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 9121e00b3e8d6..3c1602344c314 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -757,7 +757,7 @@ def _validate_shift_value(self, fill_value): "will raise in a future versi...
- [x] work for #31942 - [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/33160
2020-03-31T01:58:25Z
2020-05-22T10:04:56Z
2020-05-22T10:04:56Z
2020-05-22T10:05:05Z
CLN: use ._data less in reshape
diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index b4497ce1780e6..10f3e29cc5024 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -395,7 +395,7 @@ def __init__( # Need to flip BlockManager axis in the DataFrame special case self._is_frame =...
https://api.github.com/repos/pandas-dev/pandas/pulls/33159
2020-03-31T01:09:34Z
2020-03-31T16:42:08Z
2020-03-31T16:42:08Z
2020-03-31T17:25:25Z
BUG: isna_old with td64, dt64tz, period
diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py index d461db2d05f9d..f7b0615366ba0 100644 --- a/pandas/core/dtypes/missing.py +++ b/pandas/core/dtypes/missing.py @@ -16,30 +16,24 @@ ensure_object, is_bool_dtype, is_complex_dtype, - is_datetime64_dtype, - is_datetime64tz_d...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Started as a CLN branch and i left that in for now, can separate if desired. the bugfix is on L287.
https://api.github.com/repos/pandas-dev/pandas/pulls/33158
2020-03-31T00:57:28Z
2020-03-31T16:48:51Z
2020-03-31T16:48:51Z
2020-03-31T17:22:32Z
Backport PR #33102 on branch 1.0.x (PERF: fix performance regression in memory_usage(deep=True) for object dtype)
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 2187668c96ca4..a3aff45afa116 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -619,4 +619,17 @@ def time_select_dtypes(self, n): self.df.select_dtypes(include="int")...
Backport PR #33102: PERF: fix performance regression in memory_usage(deep=True) for object dtype
https://api.github.com/repos/pandas-dev/pandas/pulls/33157
2020-03-31T00:12:22Z
2020-05-05T15:55:25Z
2020-05-05T15:55:25Z
2020-05-05T15:55:25Z
REF: collect .drop tests
diff --git a/pandas/tests/frame/methods/test_drop.py b/pandas/tests/frame/methods/test_drop.py index 0bc234dcb39aa..177d10cdbf615 100644 --- a/pandas/tests/frame/methods/test_drop.py +++ b/pandas/tests/frame/methods/test_drop.py @@ -6,7 +6,7 @@ from pandas.errors import PerformanceWarning import pandas as pd -from ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33156
2020-03-30T23:40:47Z
2020-03-31T17:07:55Z
2020-03-31T17:07:55Z
2020-03-31T17:24:38Z
REF: PeriodIndex test_indexing tests
diff --git a/pandas/tests/indexes/period/test_indexing.py b/pandas/tests/indexes/period/test_indexing.py index a4c6764d065c9..39688e5b92380 100644 --- a/pandas/tests/indexes/period/test_indexing.py +++ b/pandas/tests/indexes/period/test_indexing.py @@ -216,165 +216,7 @@ def test_getitem_day(self): ...
This should be it for the PeriodIndex tests for now.
https://api.github.com/repos/pandas-dev/pandas/pulls/33154
2020-03-30T19:55:53Z
2020-03-30T20:58:01Z
2020-03-30T20:58:01Z
2020-03-30T21:57:59Z
REF: test_rename_axis
diff --git a/pandas/tests/frame/methods/test_rename.py b/pandas/tests/frame/methods/test_rename.py index e69a562f8214d..ffad526d3f4d1 100644 --- a/pandas/tests/frame/methods/test_rename.py +++ b/pandas/tests/frame/methods/test_rename.py @@ -67,30 +67,6 @@ def test_rename_chainmap(self, args, kwargs): expected ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33152
2020-03-30T19:01:00Z
2020-03-30T20:59:41Z
2020-03-30T20:59:41Z
2020-03-30T21:58:22Z
REF: misplaced DataFrame arithmetic tests
diff --git a/pandas/tests/frame/test_arithmetic.py b/pandas/tests/frame/test_arithmetic.py index 9e0b51767df2c..89f8bc433419b 100644 --- a/pandas/tests/frame/test_arithmetic.py +++ b/pandas/tests/frame/test_arithmetic.py @@ -8,7 +8,9 @@ import pytz import pandas as pd +from pandas import DataFrame, MultiIndex, Seri...
https://api.github.com/repos/pandas-dev/pandas/pulls/33151
2020-03-30T18:48:42Z
2020-03-30T21:01:18Z
2020-03-30T21:01:18Z
2020-03-30T21:56:50Z
REF: test_reindex_like
diff --git a/pandas/tests/frame/indexing/test_indexing.py b/pandas/tests/frame/indexing/test_indexing.py index 4fa5e4196ae5b..c7bb058cbf151 100644 --- a/pandas/tests/frame/indexing/test_indexing.py +++ b/pandas/tests/frame/indexing/test_indexing.py @@ -1639,11 +1639,6 @@ def test_reindex_methods(self, method, expected_...
https://api.github.com/repos/pandas-dev/pandas/pulls/33150
2020-03-30T18:45:37Z
2020-03-31T17:08:51Z
2020-03-31T17:08:51Z
2020-03-31T17:28:08Z
DOC: Fix capitalization among headings in documentation files (#32550)
diff --git a/doc/source/user_guide/options.rst b/doc/source/user_guide/options.rst index 5817efb31814e..398336960e769 100644 --- a/doc/source/user_guide/options.rst +++ b/doc/source/user_guide/options.rst @@ -140,7 +140,7 @@ More information can be found in the `ipython documentation .. _options.frequently_used: -...
Headers updated for the following files: ``` - [x] doc/source/user_guide/options.rst - [x] doc/source/user_guide/reshaping.rst - [x] doc/source/user_guide/text.rst - [x] doc/source/user_guide/timeseries.rst - [x] doc/source/user_guide/visualization.rst ``` Other files updated in #32944, #32978, #32991 and ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33149
2020-03-30T18:27:38Z
2020-03-31T17:24:31Z
2020-03-31T17:24:31Z
2020-04-07T18:38:10Z
More Json parametrize
diff --git a/pandas/conftest.py b/pandas/conftest.py index ad21d46e601e8..2ee64403c7cf4 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -521,6 +521,11 @@ def index_or_series_obj(request): # ---------------------------------------------------------------- # DataFrames # -----------------------------------...
follow on to #31191 - still a few more passes to go
https://api.github.com/repos/pandas-dev/pandas/pulls/33148
2020-03-30T17:56:19Z
2020-03-30T21:05:13Z
2020-03-30T21:05:13Z
2020-03-30T21:55:42Z
DOC: Fix capitalization among headings in documentation files (#32550)
diff --git a/doc/source/user_guide/categorical.rst b/doc/source/user_guide/categorical.rst index a55326db748fd..25885e246bb2a 100644 --- a/doc/source/user_guide/categorical.rst +++ b/doc/source/user_guide/categorical.rst @@ -799,7 +799,7 @@ Assigning a ``Categorical`` to parts of a column of other types will use the va...
Headers updated for the following files: ``` - [x] doc/source/user_guide/categorical.rst - [x] doc/source/user_guide/computation.rst - [x] doc/source/user_guide/cookbook.rst - [x] doc/source/user_guide/gotchas.rst - [x] doc/source/user_guide/groupby.rst ``` Other files updated in #32944, #32978 , #32991 and...
https://api.github.com/repos/pandas-dev/pandas/pulls/33147
2020-03-30T17:48:56Z
2020-04-07T01:28:26Z
2020-04-07T01:28:26Z
2020-04-07T18:29:58Z
CLN: Use doc decorator for case using __doc__
- [ ] works for #31942 - [ ] 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/33145
2020-03-30T16:02:19Z
2020-03-30T19:09:54Z
null
2020-03-31T01:50:19Z
add match message for pytest.raises()
diff --git a/pandas/tests/groupby/test_categorical.py b/pandas/tests/groupby/test_categorical.py index da8327f64e26f..a9d219504e809 100644 --- a/pandas/tests/groupby/test_categorical.py +++ b/pandas/tests/groupby/test_categorical.py @@ -609,7 +609,8 @@ def test_bins_unequal_len(): bins = pd.cut(series.dropna().val...
- [x] ref #30999 - [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/33144
2020-03-30T15:51:23Z
2020-04-19T22:22:23Z
2020-04-19T22:22:23Z
2020-04-19T22:22:28Z
STY: Using __all__; removed "noqa" comment
diff --git a/pandas/_libs/tslibs/__init__.py b/pandas/_libs/tslibs/__init__.py index 8d3b00e4a44b9..4a4e53eaa45fa 100644 --- a/pandas/_libs/tslibs/__init__.py +++ b/pandas/_libs/tslibs/__init__.py @@ -1,4 +1,21 @@ -# flake8: noqa +__all__ = [ + "localize_pydatetime", + "normalize_date", + "NaT", + "NaTType"...
- [ ] 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/33143
2020-03-30T15:14:02Z
2020-04-10T15:44:35Z
2020-04-10T15:44:35Z
2020-04-10T15:45:40Z
CLN: unused import _libs/reduction + remove "noqa" comment in _libs/__init__.py
diff --git a/pandas/_libs/__init__.py b/pandas/_libs/__init__.py index af67cb3be7102..141ca0645b906 100644 --- a/pandas/_libs/__init__.py +++ b/pandas/_libs/__init__.py @@ -1,6 +1,15 @@ -# flake8: noqa +__all__ = [ + "NaT", + "NaTType", + "OutOfBoundsDatetime", + "Period", + "Timedelta", + "Timestamp"...
- [ ] 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/33142
2020-03-30T14:56:56Z
2020-03-30T18:13:35Z
2020-03-30T18:13:35Z
2020-03-30T18:21:01Z
BUG: to_sql no longer raises an AttributeError when saving an OBB date
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 58ac2b4cba3b7..408b7d6235f3d 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -405,7 +405,7 @@ I/O - Bug in :meth:`read_csv` was causing a segfault when there were blank lines between the header and da...
- [x] closes #26761 - [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/33140
2020-03-30T02:24:35Z
2020-03-30T16:24:41Z
2020-03-30T16:24:41Z
2020-03-30T16:24:45Z
REF: de-curry unstack functions
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index b2a8c7a0864b8..ef4d7b98deac7 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -1,5 +1,4 @@ from datetime import datetime, timedelta -import functools import inspect import re from typing import ...
I find this much easier to follow without the double-partial. We also avoid re-doing some work, though AFAICT its pretty tiny perf-wise.
https://api.github.com/repos/pandas-dev/pandas/pulls/33139
2020-03-30T01:39:12Z
2020-03-30T21:09:52Z
2020-03-30T21:09:52Z
2020-03-30T21:56:02Z
BUG: Fix SeriesGroupBy.quantile for nullable integers
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 6f2b9b4f946c7..3dd8fd4a38d7e 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -445,6 +445,7 @@ Groupby/resample/rolling - Bug in :meth:`DataFrameGroupby.transform` produces incorrect result with transf...
- [x] closes #33136 - [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/33138
2020-03-30T00:46:21Z
2020-04-07T23:10:11Z
2020-04-07T23:10:11Z
2023-02-28T17:47:32Z
BUG: DataFrame.resample raised AmbiguousTimeError at a midnight DST transition
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 8db837a38170b..ef6569f229566 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -422,7 +422,7 @@ Groupby/resample/rolling - Bug in :meth:`GroupBy.apply` raises ``ValueError`` when the ``by`` axis is not ...
- [x] closes #25758 - [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/33137
2020-03-30T00:27:12Z
2020-04-03T16:18:29Z
2020-04-03T16:18:28Z
2020-04-03T16:18:34Z
BUG: fix ngroups and len(groups) inconsistency when using [Grouper(freq=)] (GH33132)
diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py index 742de397956c0..47cce84836ed1 100644 --- a/pandas/core/groupby/ops.py +++ b/pandas/core/groupby/ops.py @@ -39,6 +39,7 @@ from pandas.core.dtypes.missing import _maybe_fill, isna import pandas.core.algorithms as algorithms +from pandas.core.ar...
- [ ] closes #33132 - [ ] 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/33135
2020-03-29T22:52:13Z
2020-04-11T15:29:31Z
null
2020-04-11T15:29:31Z
BUG: create new MI from MultiIndex._get_level_values
diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py index 68d7e8dd384f0..c638c59909488 100644 --- a/pandas/core/indexes/period.py +++ b/pandas/core/indexes/period.py @@ -323,8 +323,8 @@ def _formatter_func(self): @cache_readonly def _engine(self): - # To avoid a reference cycle...
- [x] closes #33131 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Closes #33131, a weakref was released too early.
https://api.github.com/repos/pandas-dev/pandas/pulls/33134
2020-03-29T22:38:56Z
2020-03-31T17:10:07Z
2020-03-31T17:10:07Z
2020-03-31T17:16:50Z
BUG: to_datetime with infer_datetime_format dropped timezone names
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 8db837a38170b..be48552fb04e9 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -313,7 +313,7 @@ Timedelta Timezones ^^^^^^^^^ -- +- Bug in :func:`to_datetime` with ``infer_datetime_format=True`` wher...
- [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/33133
2020-03-29T22:33:25Z
2020-03-31T17:11:07Z
2020-03-31T17:11:07Z
2020-03-31T17:11:52Z
CLN: Added static types
diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx index 8187fb508291a..e4aeb7ad69792 100644 --- a/pandas/_libs/parsers.pyx +++ b/pandas/_libs/parsers.pyx @@ -34,6 +34,7 @@ cimport numpy as cnp from numpy cimport ndarray, uint8_t, uint64_t, int64_t, float64_t cnp.import_array() +cimport pandas._libs.u...
- [ ] 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/33126
2020-03-29T19:33:37Z
2020-04-03T19:41:19Z
2020-04-03T19:41:19Z
2020-04-06T08:41:06Z
REF: reshape.concat operate on arrays, not SingleBlockManagers
diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py index c6efd6a2ac6a7..c6ce4aea9fa40 100644 --- a/pandas/core/internals/managers.py +++ b/pandas/core/internals/managers.py @@ -1623,33 +1623,6 @@ def fast_xs(self, loc): """ raise NotImplementedError("Use series._values[...
cc @TomAugspurger is there a better way to handle the assert_series_equal patch for the PandasArray tests?
https://api.github.com/repos/pandas-dev/pandas/pulls/33125
2020-03-29T18:57:11Z
2020-04-10T16:10:01Z
2020-04-10T16:10:01Z
2020-04-10T17:49:18Z
REF: DataFrame.isna internals access
diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py index 309c9f03ba6ed..d461db2d05f9d 100644 --- a/pandas/core/dtypes/missing.py +++ b/pandas/core/dtypes/missing.py @@ -152,7 +152,7 @@ def _isna_new(obj): ): return _isna_ndarraylike(obj) elif isinstance(obj, ABCDataFrame): - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33124
2020-03-29T18:32:25Z
2020-03-30T21:46:40Z
2020-03-30T21:46:40Z
2020-03-30T21:54:00Z
REF: remove placement kwarg from Block.concat_same_type
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index b2a8c7a0864b8..596e99440d57e 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -326,16 +326,15 @@ def dtype(self): def merge(self, other): return _merge_blocks([self, other]) - def...
On the path to getting concat logic out of internals
https://api.github.com/repos/pandas-dev/pandas/pulls/33123
2020-03-29T17:59:33Z
2020-03-30T21:49:20Z
2020-03-30T21:49:20Z
2020-03-30T21:53:20Z
CLN: Remove unused cdef variables
diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx index c6b68d9a0ab5c..8187fb508291a 100644 --- a/pandas/_libs/parsers.pyx +++ b/pandas/_libs/parsers.pyx @@ -267,7 +267,7 @@ cdef class TextReader: cdef: parser_t *parser - object file_handle, na_fvalues + object na_fvalues ...
- [ ] 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/33122
2020-03-29T16:01:01Z
2020-03-29T18:02:36Z
2020-03-29T18:02:36Z
2020-03-29T18:06:32Z
DOC: Updating capitalization of doc/source/development
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c8d08277e9a26..732f9c5181b97 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -327,7 +327,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then RET=$(($RET + $?)) ; echo $MSG "DONE" MSG='Validate correct capitalization among titles in d...
Regarding issue #32550. Changes to documentation folder doc/source/development to capitalise title strings and keep keyword exceptions as is
https://api.github.com/repos/pandas-dev/pandas/pulls/33121
2020-03-29T15:50:25Z
2020-04-03T00:12:37Z
2020-04-03T00:12:37Z
2020-04-17T11:08:20Z
Fix ambiguous reference to "previous" section
diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst index c6d9a48fcf8ed..aa93f37a313f9 100644 --- a/doc/source/user_guide/basics.rst +++ b/doc/source/user_guide/basics.rst @@ -7,8 +7,8 @@ ============================== Here we discuss a lot of the essential functionality common to the p...
This section originally came just after "10 minutes to pandas", but now it's after the "Getting started tutorials". Also, the examples have diverged a bit, so let's not pretend that we are creating the same objects. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git dif...
https://api.github.com/repos/pandas-dev/pandas/pulls/33119
2020-03-29T13:59:18Z
2020-03-29T15:31:04Z
2020-03-29T15:31:03Z
2020-03-29T18:19:53Z
BUG: conversion of empty DataFrame to SparseDtype (#33113)
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 567b6853bd633..3ff4e4e7da636 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -1068,6 +1068,7 @@ Sparse - Bug in :meth:`Series.sum` with ``SparseArray`` raises ``TypeError`` (:issue:`25777`) - Bug whe...
- [x] closes #33113 - [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/33118
2020-03-29T13:54:40Z
2020-06-25T23:13:00Z
2020-06-25T23:13:00Z
2020-06-25T23:13:05Z
DOC: Partial fix SA04 errors in docstrings #28792
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8deeb415c17c9..1aa1db52daa58 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -839,7 +839,8 @@ def style(self) -> "Styler": See Also -------- - io.formats.style.Styler + io.formats.style.Styler : Helps style ...
- [x] xref #28792
https://api.github.com/repos/pandas-dev/pandas/pulls/33117
2020-03-29T12:30:19Z
2020-04-02T11:47:57Z
2020-04-02T11:47:57Z
2020-04-02T12:38:10Z
Fix grammar
diff --git a/doc/source/getting_started/intro_tutorials/10_text_data.rst b/doc/source/getting_started/intro_tutorials/10_text_data.rst index 936d00f68e3f0..4c03a276090d7 100644 --- a/doc/source/getting_started/intro_tutorials/10_text_data.rst +++ b/doc/source/getting_started/intro_tutorials/10_text_data.rst @@ -238,7 +...
- [ ] 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/33116
2020-03-29T12:03:13Z
2020-03-29T15:29:31Z
2020-03-29T15:29:31Z
2020-03-29T18:20:18Z
CLN: update Appender to doc decorator with case __doc__
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index b7c071a8dfbbf..093c925acbc49 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -31,7 +31,7 @@ from pandas._libs import Timestamp, lib from pandas._typing import FrameOrSeries -from pandas.util._decor...
- [x] working for #31942 - [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/33112
2020-03-29T04:29:38Z
2020-03-30T03:39:57Z
2020-03-30T03:39:57Z
2020-03-30T15:39:07Z
Bug 29764 groupby loses index name sometimes
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index b16ca0a80c5b4..010c8a22dcc9f 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -132,9 +132,8 @@ Plotting Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ +- Bug in :meth:`DataFrame.groupby` does not...
- [x] closes #29764 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry´ Some group by functions lost the column index name. For the functions running into ```_get_cythonized_result``` in groupby.py, the index name was j...
https://api.github.com/repos/pandas-dev/pandas/pulls/33111
2020-03-29T01:19:03Z
2020-09-04T16:35:05Z
null
2020-09-05T19:04:06Z
REF: push concat logic out of internals and into concat_compat
diff --git a/pandas/core/dtypes/concat.py b/pandas/core/dtypes/concat.py index 49034616b374a..ecfaac2210807 100644 --- a/pandas/core/dtypes/concat.py +++ b/pandas/core/dtypes/concat.py @@ -97,6 +97,9 @@ def is_nonempty(x) -> bool: # Creating an empty array directly is tempting, but the winnings would be # mar...
This changes some empty-array behavior for concat_compat to match the behavior of pd.concat(list_of_series), see new test. The follow-up to this basically gets concat out of internals altogether.
https://api.github.com/repos/pandas-dev/pandas/pulls/33110
2020-03-29T00:38:07Z
2020-03-29T14:54:03Z
2020-03-29T14:54:03Z
2020-03-29T15:12:22Z
REF: DataFrame delitem, take, pop, filter tests
diff --git a/pandas/tests/frame/indexing/test_delitem.py b/pandas/tests/frame/indexing/test_delitem.py new file mode 100644 index 0000000000000..f6c7b6ed5d14d --- /dev/null +++ b/pandas/tests/frame/indexing/test_delitem.py @@ -0,0 +1,57 @@ +import re + +import numpy as np +import pytest + +from pandas import DataFrame,...
https://api.github.com/repos/pandas-dev/pandas/pulls/33109
2020-03-28T23:38:56Z
2020-03-29T03:24:36Z
2020-03-29T03:24:36Z
2020-03-29T15:39:08Z
Docstring for show_versions in master
diff --git a/pandas/util/_print_versions.py b/pandas/util/_print_versions.py index 7fc85a04e7d84..757620e4d561d 100644 --- a/pandas/util/_print_versions.py +++ b/pandas/util/_print_versions.py @@ -88,6 +88,20 @@ def _get_dependency_info() -> Dict[str, JSONSerializable]: def show_versions(as_json: Union[str, bool] ...
- [ ] 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/33108
2020-03-28T22:12:56Z
2020-03-29T18:12:57Z
null
2020-03-29T18:12:58Z
ENH/VIZ: Allowing `s` parameter of scatter plots to be a column name
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 20415bba99476..aeb0eeab0b3ba 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -452,6 +452,7 @@ Other - Fixed bug in :func:`pandas.testing.assert_series_equal` where dtypes were checked for ``Interval``...
- [x] closes #32904 - [x] tests added - [x] tests passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This PR is a continuation of #32937 (made an error when pulling changes from the master). I had a more elaborate decision tree for wh...
https://api.github.com/repos/pandas-dev/pandas/pulls/33107
2020-03-28T22:10:52Z
2020-03-31T21:26:48Z
2020-03-31T21:26:47Z
2020-03-31T21:28:17Z
Fix mixup between mean and median
diff --git a/doc/source/getting_started/intro_tutorials/09_timeseries.rst b/doc/source/getting_started/intro_tutorials/09_timeseries.rst index d5b4b316130bb..d7c1709ced51a 100644 --- a/doc/source/getting_started/intro_tutorials/09_timeseries.rst +++ b/doc/source/getting_started/intro_tutorials/09_timeseries.rst @@ -335...
Text said "median", but code uses "mean". Make text match the code - [ ] 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/33106
2020-03-28T21:54:57Z
2020-03-29T14:52:25Z
2020-03-29T14:52:25Z
2020-03-29T15:07:57Z
Add test for #32108 (error with groupby on series with period index)
diff --git a/pandas/tests/groupby/test_timegrouper.py b/pandas/tests/groupby/test_timegrouper.py index 06a83f4c000cf..84fd7a1bdfb05 100644 --- a/pandas/tests/groupby/test_timegrouper.py +++ b/pandas/tests/groupby/test_timegrouper.py @@ -769,3 +769,17 @@ def test_scalar_call_versus_list_call(self): expected = g...
- [ ] closes #32108
https://api.github.com/repos/pandas-dev/pandas/pulls/33105
2020-03-28T20:22:26Z
2020-06-24T22:36:00Z
2020-06-24T22:35:59Z
2020-06-24T22:36:04Z
BUG: ensure consistent behavior of Index.is_all_dates (#19204)
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 6eedf9dee5266..ba2ebfff79ad9 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -636,6 +636,7 @@ Indexing - Bug in :meth:`Series.__getitem__` allowing missing labels with ``np.ndarray``, :class:`Index`, ...
- [x] closes #19204 - [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/33104
2020-03-28T18:22:21Z
2020-07-17T11:20:49Z
null
2023-05-11T01:19:34Z
Check error message for raised exception
diff --git a/pandas/core/arrays/period.py b/pandas/core/arrays/period.py index c24b0b5fa64b8..be9cc53d33d6f 100644 --- a/pandas/core/arrays/period.py +++ b/pandas/core/arrays/period.py @@ -166,7 +166,8 @@ def __init__(self, values, freq=None, dtype=None, copy=False): @classmethod def _simple_new(cls, values: ...
- [x] xref #30999 - [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/33103
2020-03-28T18:01:58Z
2020-03-29T15:25:46Z
2020-03-29T15:25:46Z
2020-03-29T15:25:50Z
PERF: fix performance regression in memory_usage(deep=True) for object dtype
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 2187668c96ca4..a3aff45afa116 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -619,4 +619,17 @@ def time_select_dtypes(self, n): self.df.select_dtypes(include="int")...
- [x] closes #33012 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The pull request is to update lib.memory_usage_of_objects from taking self.arrays to self._values. An ASV included to benchmark with and without o...
https://api.github.com/repos/pandas-dev/pandas/pulls/33102
2020-03-28T16:02:20Z
2020-03-31T00:11:46Z
2020-03-31T00:11:46Z
2020-03-31T00:25:23Z
Add test for named period index, doing group by index
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 20415bba99476..b92a3929ace41 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -452,6 +452,7 @@ Other - Fixed bug in :func:`pandas.testing.assert_series_equal` where dtypes were checked for ``Interval``...
- [x] closes #32108 - [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/33101
2020-03-28T15:22:17Z
2020-03-28T17:25:48Z
null
2020-03-28T17:25:48Z
TYP: require Index objects earlier in internals
diff --git a/pandas/core/internals/__init__.py b/pandas/core/internals/__init__.py index e70652b81c42f..bc45b7c74ecc1 100644 --- a/pandas/core/internals/__init__.py +++ b/pandas/core/internals/__init__.py @@ -18,8 +18,6 @@ BlockManager, SingleBlockManager, concatenate_block_managers, - create_block_ma...
https://api.github.com/repos/pandas-dev/pandas/pulls/33100
2020-03-28T14:54:30Z
2020-04-04T00:21:32Z
2020-04-04T00:21:32Z
2020-04-04T00:43:59Z
DOC iris.csv file has moved
diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index 47a4fd8ff0e95..0d24a785b0be2 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -359,7 +359,7 @@ def parallel_coordinates( -------- >>> from matplotlib import pyplot as plt >>> df = pd.read_csv('https://raw.github...
- [ ] 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/33099
2020-03-28T14:47:04Z
2020-03-30T03:52:35Z
2020-03-30T03:52:35Z
2020-04-14T02:14:36Z
TST: GroupBy(..., as_index=True).agg() drops index
diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index 962288d5d59e1..1b726860eeb66 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -809,7 +809,17 @@ def test_aggregate_mixed_types(): ...
- [x] closes #28641 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` While searching for related issue for my other pull request, I found that this issue must have been fixed with another commit in the past (don't know when this issue was ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33098
2020-03-28T13:19:45Z
2020-06-15T22:53:27Z
2020-06-15T22:53:27Z
2020-06-16T07:29:21Z