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 |
|---|---|---|---|---|---|---|---|
BUG: fix infer_dtype for StringDtype | diff --git a/doc/source/whatsnew/v1.0.2.rst b/doc/source/whatsnew/v1.0.2.rst
index b31f7c1166dc0..448779e4c3e0b 100644
--- a/doc/source/whatsnew/v1.0.2.rst
+++ b/doc/source/whatsnew/v1.0.2.rst
@@ -36,8 +36,10 @@ Bug fixes
- Using ``pd.NA`` with :meth:`DataFrame.to_json` now correctly outputs a null value instead of ... | Closes #31731 | https://api.github.com/repos/pandas-dev/pandas/pulls/31877 | 2020-02-11T14:10:21Z | 2020-02-12T15:05:29Z | 2020-02-12T15:05:29Z | 2020-02-12T15:14:15Z |
CLN: Move info | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 4ad80273f77ba..e4f36e128059b 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -14,7 +14,6 @@
import datetime
from io import StringIO
import itertools
-import sys
from textwrap import dedent
from typing import (
IO,
@@ -131,7 +130,7 ... | precursor to xref #31796. Have moved `DataFrame.info` code into `pandas/io/formats/info.py`, along with tests | https://api.github.com/repos/pandas-dev/pandas/pulls/31876 | 2020-02-11T13:50:20Z | 2020-02-19T00:45:03Z | 2020-02-19T00:45:03Z | 2020-02-25T17:11:47Z |
DOC: add redirects from Rolling to rolling.Rolling | diff --git a/doc/redirects.csv b/doc/redirects.csv
index ef93955c14fe6..3669ff4b7cc0b 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -49,7 +49,25 @@ internals,development/internals
# api moved function
reference/api/pandas.io.json.json_normalize,pandas.json_normalize
-# api rename
+# rename due to refact... | - [x] closes #31762 | https://api.github.com/repos/pandas-dev/pandas/pulls/31875 | 2020-02-11T13:48:37Z | 2020-03-10T08:35:48Z | 2020-03-10T08:35:48Z | 2020-03-10T08:35:57Z |
CLN: f-string formatting | diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py
index da27057a783ab..2073aa0727809 100644
--- a/pandas/tests/indexes/common.py
+++ b/pandas/tests/indexes/common.py
@@ -98,7 +98,7 @@ def test_shift(self):
# GH8083 test the base class for shift
idx = self.create_index()
- ... | Ref to [#29547](https://github.com/pandas-dev/pandas/issues/29547)
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Replacing strings interpolated with .format() with strings interpolated with f-strings | https://api.github.com/repos/pandas-dev/pandas/pulls/31868 | 2020-02-11T04:16:20Z | 2020-02-11T05:15:33Z | 2020-02-11T05:15:33Z | 2020-02-11T05:15:59Z |
API/BUG: raise only KeyError failed on geitem/loc lookups | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 7449c62a5ad31..3d478df4c0ea8 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -67,7 +67,76 @@ Backwards incompatible API changes
now raise a ``TypeError`` if a not-accepted keyword argument is passe... | - [x] closes #21567
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
ATM we raise a mix of KeyError and TypeError.
I'm in the process of going through the Indexing issues will see what else this closes. | https://api.github.com/repos/pandas-dev/pandas/pulls/31867 | 2020-02-11T03:20:07Z | 2020-02-27T23:08:52Z | 2020-02-27T23:08:52Z | 2020-02-28T00:11:25Z |
BUG: catch almost-null-slice in _convert_slice_indexer | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 14ee21ea5614c..34bdd12988282 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3163,8 +3163,7 @@ def _convert_slice_indexer(self, key: slice, kind: str_t):
def is_int(v):
return v is None or i... | its a contrived corner case, but i wanted to use com.is_null_slice rather than duplicating it in _convert_slice_indexer | https://api.github.com/repos/pandas-dev/pandas/pulls/31866 | 2020-02-11T02:26:20Z | 2020-02-23T15:54:29Z | 2020-02-23T15:54:29Z | 2020-02-23T17:11:04Z |
CLN: tests.generic | diff --git a/pandas/tests/frame/test_block_internals.py b/pandas/tests/frame/test_block_internals.py
index d301ed969789e..a5f5e6f36cd58 100644
--- a/pandas/tests/frame/test_block_internals.py
+++ b/pandas/tests/frame/test_block_internals.py
@@ -364,14 +364,14 @@ def test_pickle(self, float_string_frame, timezone_frame)... | Many of the tests here really only test either Series or DataFrame, not both. | https://api.github.com/repos/pandas-dev/pandas/pulls/31865 | 2020-02-11T01:22:55Z | 2020-02-11T09:42:02Z | 2020-02-11T09:42:02Z | 2020-02-11T15:43:47Z |
REF: organize base class Index tests | diff --git a/pandas/tests/indexes/base_class/test_reshape.py b/pandas/tests/indexes/base_class/test_reshape.py
new file mode 100644
index 0000000000000..61826f2403a4b
--- /dev/null
+++ b/pandas/tests/indexes/base_class/test_reshape.py
@@ -0,0 +1,61 @@
+"""
+Tests for ndarray-like method on the base Index class
+"""
+im... | implement test_index_new for testing `Index.__new__` inference | https://api.github.com/repos/pandas-dev/pandas/pulls/31864 | 2020-02-11T01:15:54Z | 2020-02-22T15:43:06Z | 2020-02-22T15:43:05Z | 2020-02-22T15:51:28Z |
CLN: organize MultiIndex indexing tests | diff --git a/pandas/conftest.py b/pandas/conftest.py
index d19bf85877140..f7c6a0c899642 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -956,6 +956,25 @@ def __len__(self):
return TestNonDictMapping
+def _gen_mi():
+ # a MultiIndex used to test the general functionality of this object
+
+ # S... | https://api.github.com/repos/pandas-dev/pandas/pulls/31863 | 2020-02-11T01:12:33Z | 2020-02-22T16:11:43Z | 2020-02-22T16:11:43Z | 2020-02-22T16:38:28Z | |
DOC: Specify use of google cloud storage for CSVs | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 8bc8470ae7658..4e26ceef0af26 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -89,7 +89,7 @@
----------
filepath_or_buffer : str, path object or file-like object
Any valid string path is acceptable. The string could be a URL. Valid
- ... | - [x] 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/31860 | 2020-02-10T23:18:12Z | 2020-02-11T02:01:49Z | 2020-02-11T02:01:49Z | 2020-02-11T09:59:01Z |
REF: move loc-only methods to loc | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 46017377f2b9c..36140d3213ce1 100755
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -577,18 +577,6 @@ def __call__(self, axis=None):
new_self.axis = axis
return new_self
- def _get_label(self, label, axis: int):
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/31859 | 2020-02-10T23:07:04Z | 2020-02-17T20:01:52Z | 2020-02-17T20:01:52Z | 2020-02-17T20:06:04Z | |
REF: move Loc method that belongs on Index | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 719bf13cbd313..f5d6cc19f1332 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -3101,6 +3101,16 @@ def _filter_indexer_tolerance(
# --------------------------------------------------------------------
# In... | https://api.github.com/repos/pandas-dev/pandas/pulls/31857 | 2020-02-10T21:10:49Z | 2020-02-22T16:04:39Z | 2020-02-22T16:04:39Z | 2020-02-22T19:38:00Z | |
TST: parametrize tests.indexing.test_float | diff --git a/pandas/tests/indexing/test_floats.py b/pandas/tests/indexing/test_floats.py
index 80a4d81b20a13..7c4fe286f4416 100644
--- a/pandas/tests/indexing/test_floats.py
+++ b/pandas/tests/indexing/test_floats.py
@@ -5,6 +5,16 @@
import pandas._testing as tm
+def gen_obj(klass, index):
+ if klass is Series:... | Working on making our exception-raising more consistent, getting these tests cleaned up will make that easier. | https://api.github.com/repos/pandas-dev/pandas/pulls/31855 | 2020-02-10T20:45:41Z | 2020-02-15T00:05:05Z | 2020-02-15T00:05:05Z | 2020-02-15T01:53:31Z |
REF: make Series/DataFrame _slice always positional | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 004b92176f030..dfafb1057a543 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3498,13 +3498,11 @@ def _iget_item_cache(self, item):
def _box_item_values(self, key, values):
raise AbstractMethodError(self)
- def _sl... | ATM we have a loc/iloc kwarg that NDFrame._slice (which is in effect DataFrame._slice) ignores and always slices positionally. This makes Series._slice always slice positionally too. | https://api.github.com/repos/pandas-dev/pandas/pulls/31854 | 2020-02-10T18:08:21Z | 2020-02-11T04:12:20Z | 2020-02-11T04:12:20Z | 2020-02-11T15:44:34Z |
REF: Use nonzero in place of argwhere | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index d651fe9f67773..4e93b62a96ef2 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -1671,17 +1671,13 @@ def _do_convert_missing(self, data: DataFrame, convert_missing: bool) -> DataFra
continue
if convert_missing: # Replac... | Use nonzero to preserve 1d of Series
xref #31813
| https://api.github.com/repos/pandas-dev/pandas/pulls/31853 | 2020-02-10T16:20:16Z | 2020-02-11T04:10:18Z | 2020-02-11T04:10:18Z | 2020-07-28T14:41:36Z |
add messages to tests | diff --git a/pandas/tests/extension/decimal/test_decimal.py b/pandas/tests/extension/decimal/test_decimal.py
index a78e4bb34e42a..f4ffcb8d0f109 100644
--- a/pandas/tests/extension/decimal/test_decimal.py
+++ b/pandas/tests/extension/decimal/test_decimal.py
@@ -148,7 +148,8 @@ class Reduce:
def check_reduce(self, s... | - [ ] xref #30999
- [ ] 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/31852 | 2020-02-10T16:17:21Z | 2020-02-19T23:19:49Z | 2020-02-19T23:19:49Z | 2020-02-19T23:19:56Z |
BUG: Fix raw parameter not being respected in groupby.rolling.apply | diff --git a/doc/source/whatsnew/v1.0.2.rst b/doc/source/whatsnew/v1.0.2.rst
index b055b44274bd8..cf33b2f8de3f3 100644
--- a/doc/source/whatsnew/v1.0.2.rst
+++ b/doc/source/whatsnew/v1.0.2.rst
@@ -17,6 +17,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.to_excel` when ``columns`` kwarg is passed (:issu... | - [x] closes #31754
- [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/31842 | 2020-02-10T05:31:20Z | 2020-02-10T12:50:32Z | 2020-02-10T12:50:32Z | 2020-02-19T17:36:05Z |
BUG: Fix rolling.corr with time frequency | diff --git a/doc/source/whatsnew/v1.0.2.rst b/doc/source/whatsnew/v1.0.2.rst
index cf33b2f8de3f3..f4bb8c580fb08 100644
--- a/doc/source/whatsnew/v1.0.2.rst
+++ b/doc/source/whatsnew/v1.0.2.rst
@@ -18,6 +18,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.to_excel` when ``columns`` kwarg is passed (:issue:... | - [x] closes #31789
- [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/31841 | 2020-02-10T04:25:10Z | 2020-02-10T17:51:32Z | 2020-02-10T17:51:31Z | 2020-02-19T07:40:50Z |
BUG/DEPR: loc.__setitem__ incorrectly accepting positional slices | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 44deab25db695..121db0f86f7ae 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -170,7 +170,7 @@ Deprecations
~~~~~~~~~~~~
- Lookups on a :class:`Series` with a single-item list containing a slice (e.g.... | - [x] closes #26412
- [x] closes #16121
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I plan to flesh out the tests before this goes in.
cc @toobaz | https://api.github.com/repos/pandas-dev/pandas/pulls/31840 | 2020-02-10T02:42:55Z | 2020-03-08T15:45:26Z | 2020-03-08T15:45:26Z | 2020-03-08T16:08:01Z |
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 |
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 |
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 |
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 |
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:
) ; 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 |
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 |
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: 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 |
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 | |
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.