title stringlengths 1 185 | diff stringlengths 0 32.2M | body stringlengths 0 123k ⌀ | url stringlengths 57 58 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 ⌀ | updated_at stringlengths 20 20 |
|---|---|---|---|---|---|---|---|
DOC: add note about the values of unit for pd.to_datetime | diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst
index 648d93a45d210..a03ba6c775e68 100644
--- a/doc/source/user_guide/timeseries.rst
+++ b/doc/source/user_guide/timeseries.rst
@@ -235,6 +235,8 @@ inferred frequency upon creation:
pd.DatetimeIndex(['2018-01-01', '2018-01-0... | The `unit` option for `pandas.to_datetime` takes different format strings than the `format` option,
which makes sense, but caught me off-guard as a new user. It would be helpful if the documentation
mentioned this.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34899 | 2020-06-20T13:21:13Z | 2020-06-20T20:11:53Z | 2020-06-20T20:11:53Z | 2020-06-20T23:53:59Z |
TST: groupby apply called multiple times | diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py
index d03b03b3f862c..1945647ced08f 100644
--- a/pandas/tests/groupby/test_apply.py
+++ b/pandas/tests/groupby/test_apply.py
@@ -190,6 +190,27 @@ def f_constant_df(group):
assert names == group_names
+def test_group_apply_o... | closes #31111
xref https://github.com/pandas-dev/pandas/pull/24748
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ Added test for testing func should be called len(set(groupby_column)) times when passed to groupby.apply(func) ] whatsn... | https://api.github.com/repos/pandas-dev/pandas/pulls/34897 | 2020-06-20T13:14:04Z | 2020-06-20T22:24:25Z | 2020-06-20T22:24:25Z | 2020-06-21T06:06:14Z |
BUG: Fixes plotting with nullable integers (#32073) | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index d0417d51da497..41c455ca41a6f 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -3,7 +3,7 @@
"""
from datetime import date, datetime, timedelta
-from typing import TYPE_CHECKING, Any, List, Optional, Tuple, Type
+fro... | - [x] closes #32073
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Similar to #32410 this tries to fix plotting with nullable integer extension data types by casting them to float before passing on to matplotlib. | https://api.github.com/repos/pandas-dev/pandas/pulls/34896 | 2020-06-20T13:06:32Z | 2020-07-07T09:32:47Z | null | 2020-07-07T09:32:47Z |
TST: skip gbq integration tests, xref #34779 | diff --git a/pandas/tests/io/test_gbq.py b/pandas/tests/io/test_gbq.py
index df107259d38cd..870d78ef1c533 100644
--- a/pandas/tests/io/test_gbq.py
+++ b/pandas/tests/io/test_gbq.py
@@ -148,6 +148,7 @@ def mock_read_gbq(sql, **kwargs):
@pytest.mark.single
+@pytest.mark.xfail(reason="skipping gbq integration for now... | xref #34779 | https://api.github.com/repos/pandas-dev/pandas/pulls/34895 | 2020-06-20T12:56:48Z | 2020-06-20T14:43:34Z | 2020-06-20T14:43:34Z | 2020-06-20T14:43:35Z |
move 3.9 travis build to allowed failures | diff --git a/.travis.yml b/.travis.yml
index c5dbddacc6a43..fdea9876d5d89 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -69,9 +69,9 @@ matrix:
env:
- JOB="3.7, arm64" PYTEST_WORKERS=8 ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard)"
- dist: bionic
- ... | xref #34881
| https://api.github.com/repos/pandas-dev/pandas/pulls/34894 | 2020-06-20T12:47:03Z | 2020-06-20T13:07:52Z | 2020-06-20T13:07:52Z | 2020-06-20T13:07:53Z |
DOC: Contributing guide docker expansion | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index b85e9403038ab..3d7330f7b66c4 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -157,9 +157,56 @@ Instead of manually setting up a development environment, you can use ... | Added instructions for creating development environment with docker on windows, mac os and unix.
- [ ] 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/34892 | 2020-06-20T12:18:45Z | 2020-07-19T19:35:32Z | null | 2020-07-19T19:35:32Z |
Plotting Tables x-axis labels display | diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/visualization.rst
index 4cd7b9e8cecca..fc02179fa7776 100644
--- a/doc/source/user_guide/visualization.rst
+++ b/doc/source/user_guide/visualization.rst
@@ -1424,7 +1424,7 @@ Here is an example of one way to easily plot group means with standar... | Added x-axis labels on top. Adjusted figure sizes in order to have the complete table visible in the user guide. | https://api.github.com/repos/pandas-dev/pandas/pulls/34891 | 2020-06-20T12:05:13Z | 2020-06-20T12:49:08Z | null | 2020-06-20T12:49:08Z |
DOC: add mention of recommended dependencies in users guide | diff --git a/doc/source/user_guide/enhancingperf.rst b/doc/source/user_guide/enhancingperf.rst
index 2056fe2f754f8..24fcb369804c6 100644
--- a/doc/source/user_guide/enhancingperf.rst
+++ b/doc/source/user_guide/enhancingperf.rst
@@ -13,6 +13,14 @@ when we use Cython and Numba on a test function operating row-wise on th... | First-time contributor here!
Ian Ozsvald mentioned installing the optional dependencies for pandas in his talk at PyData Amsterdam 2020. Although these are mentioned in the Getting Started section, I though they should be mentioned in the Users Guide, which is where I typically go for pandas information. It seems li... | https://api.github.com/repos/pandas-dev/pandas/pulls/34890 | 2020-06-20T11:59:46Z | 2020-06-20T13:45:11Z | 2020-06-20T13:45:11Z | 2020-06-20T17:14:05Z |
TST: IntegerNA Support for DataFrame.diff() | diff --git a/pandas/tests/frame/methods/test_diff.py b/pandas/tests/frame/methods/test_diff.py
index e876e40aa2eb1..45f134a93a23a 100644
--- a/pandas/tests/frame/methods/test_diff.py
+++ b/pandas/tests/frame/methods/test_diff.py
@@ -169,3 +169,48 @@ def test_diff_sparse(self):
)
tm.assert_frame_equa... | - [x] closes #24171
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Test for IntegerNA support DataFrame.diff().
``` bash
pytest tests/frame/methods/test_diff.py::TestDataFrameDiff::test_diff_integer_na
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/34889 | 2020-06-20T11:36:49Z | 2020-06-20T16:50:34Z | 2020-06-20T16:50:33Z | 2020-06-20T16:50:37Z |
DOC: document support for in-memory HDFStore GH33166 | diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst
index 56ef6fc479f2c..50b946999092a 100644
--- a/doc/source/user_guide/cookbook.rst
+++ b/doc/source/user_guide/cookbook.rst
@@ -1166,6 +1166,25 @@ Storing Attributes to a group node
store.close()
os.remove('test.h5')
+You can... | I currently have added to the docstring that **kwargs passes its parameters to
PyTables. Maybe this is too much but I also added an example using **kwargs,
passing the driver paramter to create an in-memory HDFStore.
Furthermore, I have added HDFStore class to the reference api, as it was not
autogenerated and al... | https://api.github.com/repos/pandas-dev/pandas/pulls/34888 | 2020-06-20T10:52:30Z | 2020-06-20T20:08:40Z | 2020-06-20T20:08:40Z | 2020-06-20T20:08:44Z |
Deprecate `center` on `df.expanding` | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 9bd4ddbb624d9..e7f417cbe52c3 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -820,6 +820,9 @@ Deprecations
precision through the ``rtol``, and ``atol`` parameters, thus deprecating the
``check_le... | `df.expanding(center=True)` currently returns non-sensical results and it is unclear what results would be expected. It was previously removed in #7934 for that same reason,but was reintroduced for unclear reasons in a later refactoring
- [x] closes #20647
- [x] tests added / passed
- [x] passes `black pandas`
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34887 | 2020-06-20T10:52:14Z | 2020-07-14T17:08:45Z | 2020-07-14T17:08:45Z | 2020-07-14T17:08:50Z |
TST: Ensure dtypes are set correctly for empty integer columns #24386 | diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py
index baac87755c6d2..6207b270faefc 100644
--- a/pandas/tests/frame/test_constructors.py
+++ b/pandas/tests/frame/test_constructors.py
@@ -2245,6 +2245,33 @@ def test_from_records_empty_with_nonempty_fields_gh3682(self):
... | - [x ] closes #24386
- [x ] tests added / passed
- [x ] passes `black pandas`
- [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x ] added tests to verify whether empty integer columns are loaded in as integer columns
| https://api.github.com/repos/pandas-dev/pandas/pulls/34886 | 2020-06-20T10:51:35Z | 2020-06-20T22:26:00Z | 2020-06-20T22:25:59Z | 2020-06-20T22:26:14Z |
DOC: Fixed table formatting in box plot section | diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/visualization.rst
index 4cd7b9e8cecca..305221b767aff 100644
--- a/doc/source/user_guide/visualization.rst
+++ b/doc/source/user_guide/visualization.rst
@@ -443,9 +443,8 @@ Faceting, created by ``DataFrame.boxplot`` with the ``by``
keyword, wi... | [DOC]fixed table formatting in the box plot section keeing simple rst table format
- [ ] 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/34885 | 2020-06-20T10:40:06Z | 2020-06-20T11:58:14Z | 2020-06-20T11:58:14Z | 2020-06-20T12:19:13Z |
DOC: fixed labels in "Plotting with error bars" | diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/visualization.rst
index 4cd7b9e8cecca..228f67dadf2d9 100644
--- a/doc/source/user_guide/visualization.rst
+++ b/doc/source/user_guide/visualization.rst
@@ -1424,7 +1424,7 @@ Here is an example of one way to easily plot group means with standar... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
x-labels should now be visible in the plot. | https://api.github.com/repos/pandas-dev/pandas/pulls/34884 | 2020-06-20T10:35:51Z | 2020-06-20T18:26:40Z | 2020-06-20T18:26:40Z | 2020-06-20T18:26:53Z |
TST: Feather RoundTrip Column Ordering | diff --git a/pandas/tests/io/test_feather.py b/pandas/tests/io/test_feather.py
index e59100146249a..a8a5c8f00e6bf 100644
--- a/pandas/tests/io/test_feather.py
+++ b/pandas/tests/io/test_feather.py
@@ -115,6 +115,12 @@ def test_read_columns(self):
columns = ["col1", "col3"]
self.check_round_trip(df, ex... | Looks like this in fixed from pyarrow 0.17.1 -> Added a Test.
- [x] closes #https://github.com/pandas-dev/pandas/issues/33878
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/34883 | 2020-06-20T09:44:58Z | 2020-06-20T12:30:43Z | 2020-06-20T12:30:43Z | 2020-06-20T12:30:47Z |
DOC: Fix validation issues with Index.is_ docstring | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 057adceda7efd..b12a556a8291d 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -518,7 +518,12 @@ def is_(self, other) -> bool:
Returns
-------
- True if both have same underlying data, Fal... | - [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Fix validation issues with the `Index.is_ docstring` and add `Index.identical` to see also section. Trying to finish what was started in #32357 | https://api.github.com/repos/pandas-dev/pandas/pulls/34882 | 2020-06-20T09:19:57Z | 2020-06-20T11:50:50Z | 2020-06-20T11:50:50Z | 2020-06-20T12:19:17Z |
TST: Add test to verify align behaviour on CategoricalIndex | diff --git a/pandas/tests/frame/methods/test_align.py b/pandas/tests/frame/methods/test_align.py
index 5dae719283d17..d19b59debfdea 100644
--- a/pandas/tests/frame/methods/test_align.py
+++ b/pandas/tests/frame/methods/test_align.py
@@ -129,6 +129,39 @@ def test_align_mixed_int(self, mixed_int_frame):
)
... | verify that aligning two dataframes with a `CategoricalIndex` does not change the type of the index.
- [x] closes #28397
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry (not applicable?)
| https://api.github.com/repos/pandas-dev/pandas/pulls/34880 | 2020-06-20T08:53:23Z | 2020-07-06T23:27:27Z | 2020-07-06T23:27:27Z | 2020-07-06T23:27:32Z |
TST: Add test to verify 'dropna' behaviour on SparseArray | diff --git a/pandas/tests/arrays/sparse/test_array.py b/pandas/tests/arrays/sparse/test_array.py
index 2f2907fbaaebc..d0cdec712f39d 100644
--- a/pandas/tests/arrays/sparse/test_array.py
+++ b/pandas/tests/arrays/sparse/test_array.py
@@ -1295,3 +1295,15 @@ def test_map_missing():
result = arr.map({0: 10, 1: 11})
... | verify that calling `dropna` on a pd.SparseArray does not inadvertently drop non-na records on both DataFrames and the SparseArray itself.
- [x] closes #28287
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry (not appl... | https://api.github.com/repos/pandas-dev/pandas/pulls/34879 | 2020-06-20T08:38:43Z | 2020-06-20T13:35:18Z | 2020-06-20T13:35:18Z | 2020-06-20T15:08:10Z |
BUG: Fix replace for different dtype equal value | diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst
index 1286577748afa..907cc246163c8 100644
--- a/doc/source/whatsnew/v1.2.0.rst
+++ b/doc/source/whatsnew/v1.2.0.rst
@@ -339,6 +339,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrameGroupby.tshift` failing to raise ``ValueError`` when a f... | Bug noticed when looking at a different issue https://github.com/pandas-dev/pandas/issues/34871#issuecomment-646664842
- [x] closes https://github.com/pandas-dev/pandas/issues/35376
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] w... | https://api.github.com/repos/pandas-dev/pandas/pulls/34878 | 2020-06-20T03:03:15Z | 2020-09-19T14:04:20Z | null | 2020-09-19T14:04:25Z |
BUG/TST: Read from Public s3 Bucket Without Creds | diff --git a/pandas/io/common.py b/pandas/io/common.py
index 51323c5ff3ef5..32ec088f00d88 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -202,9 +202,37 @@ def get_filepath_or_buffer(
filepath_or_buffer = filepath_or_buffer.replace("s3n://", "s3://")
fsspec = import_optional_dependen... | - [x] Closes #34626
We should potentially merge this before https://github.com/pandas-dev/pandas/pull/34266 to confirm reading from s3 without credentials works.
Ref discussion here: https://github.com/pandas-dev/pandas/pull/34793#issuecomment-645023794
cc. @jorisvandenbossche | https://api.github.com/repos/pandas-dev/pandas/pulls/34877 | 2020-06-19T23:07:29Z | 2020-07-15T19:07:53Z | 2020-07-15T19:07:52Z | 2020-07-15T19:07:56Z |
Cln 31942/replace appender with doc 6 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 39ca7ed47f7fa..b7c362a2094ac 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3951,8 +3951,7 @@ def align(
def set_axis(self, labels, axis: Axis = 0, inplace: bool = False):
return super().set_axis(labels, axis=axis, inplace=in... | - [x] ref #31942
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- fixes issues with the introduction of the doc decorator
| https://api.github.com/repos/pandas-dev/pandas/pulls/34876 | 2020-06-19T21:42:56Z | 2020-09-01T21:41:38Z | null | 2020-09-01T21:41:39Z |
DF.__setitem__ creates extension column when given extension scalar | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 798a3d838ef7e..9795e58995ab5 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1144,6 +1144,7 @@ ExtensionArray
- Fixed bug where :meth:`StringArray.memory_usage` was not implemented (:issue:`33963`)
... | This PR is in response to [Issue 34832]( https://github.com/pandas-dev/pandas/issues/34832).
These changes follow the suggestions from reviewers on the PR to fix an issue where `df['a']=pd.Period('2020-01')` would create an object column instead of a `period[M]` column.
One potential issue that I see with these cha... | https://api.github.com/repos/pandas-dev/pandas/pulls/34875 | 2020-06-19T18:54:51Z | 2020-07-11T02:02:55Z | 2020-07-11T02:02:55Z | 2020-07-13T13:01:58Z |
Doc: Dates being plotted wrong_x-compact parameter #20688 | diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py
index 32cd89383dde9..5a8a0e23f3a3b 100644
--- a/pandas/plotting/_core.py
+++ b/pandas/plotting/_core.py
@@ -914,6 +914,12 @@ def __call__(self, *args, **kwargs):
--------
matplotlib.pyplot.plot : Plot y versus x as lines and/or markers.
... | - [x] 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/34874 | 2020-06-19T18:42:08Z | 2020-11-04T08:40:54Z | null | 2020-11-04T08:40:55Z |
API: Honor copy for dict-input in DataFrame | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 5f93e08d51baa..7db790a0fddd7 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -287,6 +287,7 @@ Other enhancements
- :meth:`DataFrame.sample` will now also allow array-like and BitGenerator objects to b... | Closes https://github.com/pandas-dev/pandas/issues/32960.
~Still need a whatsnew. The tl/dr is~
1. We can't honor no-copy for a dict with multiple values of the same dtype: `DataFrame({"A": np.array([1, 2]), "B": np.array([1, 2])})` as long as we have consolidation.
~2. Currently, this is an API breaking change ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34872 | 2020-06-19T15:39:16Z | 2020-11-19T12:57:52Z | null | 2021-01-03T22:36:54Z |
PERF: Timestamp dont create ndarray | diff --git a/pandas/_libs/tslibs/fields.pyx b/pandas/_libs/tslibs/fields.pyx
index 8d83eeb011866..0e5a6d3c4db46 100644
--- a/pandas/_libs/tslibs/fields.pyx
+++ b/pandas/_libs/tslibs/fields.pyx
@@ -91,7 +91,7 @@ def build_field_sarray(const int64_t[:] dtindex):
@cython.wraparound(False)
@cython.boundscheck(False)
-d... | ```
In [1]: import pandas as pd
In [2]: ts = pd.Timestamp.now() ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34868 | 2020-06-19T00:59:41Z | 2020-06-19T18:12:51Z | null | 2021-11-20T23:23:09Z |
[WIP]REGR: Fixed reading from public S3 buckets with credentials | diff --git a/pandas/io/s3.py b/pandas/io/s3.py
index 329c861d2386a..62dba9cffb32f 100644
--- a/pandas/io/s3.py
+++ b/pandas/io/s3.py
@@ -16,8 +16,8 @@ def _strip_schema(url):
return result.netloc + result.path
-def get_fs():
- return s3fs.S3FileSystem(anon=False)
+def get_fs(anon=False):
+ return s3fs.S3... | Closes https://github.com/pandas-dev/pandas/issues/34626
This works in 1.0.4 I think, so no whatsnew.
I'd like to wait for https://github.com/pandas-dev/pandas/pull/34266 to get in first. I'll need to update things.
And in the future, I'd like to deprecate this behavior in favor of something like
```python
... | https://api.github.com/repos/pandas-dev/pandas/pulls/34866 | 2020-06-18T21:13:41Z | 2020-06-23T14:01:26Z | null | 2020-06-23T14:01:32Z |
DOC: Move API breaking to appropriate sections | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 9bd4ddbb624d9..8a5ab514abec9 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -277,6 +277,10 @@ Other enhancements
^^^^^^^^^^^^^^^^^^
- :class:`Styler` may now render CSS more efficiently where mult... | As discussed in https://github.com/pandas-dev/pandas/issues/34801, this moves some items from our "API breaking changes" section to either bug fixes or enhancements. I've only moved the ones we can hopefully get consensus on as bug fix / enhancement. But let me know if any of these need further discussion on whether th... | https://api.github.com/repos/pandas-dev/pandas/pulls/34865 | 2020-06-18T20:52:33Z | 2020-07-07T11:50:51Z | null | 2020-07-07T11:50:51Z |
PERF: to speed up rendering of styler | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 7c10a2d17775a..4583fac85b776 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -53,6 +53,7 @@
"xlwt": [],
"odfpy": [],
"pytest": [],
+ "jinja2": [],
// If using Windows with python 2.7 and... | see https://github.com/pandas-dev/pandas/issues/19917#issuecomment-646209895
- [x] closes #19917
- [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/34863 | 2020-06-18T18:59:20Z | 2020-07-09T23:35:58Z | 2020-07-09T23:35:58Z | 2020-07-09T23:36:05Z |
DOC: Fix syntax in 1.1.0 whatsnew | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 10522ff797c59..6b11ddc8149e6 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -292,7 +292,7 @@ Other enhancements
- :meth:`DataFrame.to_csv` and :meth:`Series.to_csv` now accept an ``errors`` argument ... | - [ ] 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/34856 | 2020-06-18T05:37:34Z | 2020-06-18T07:22:44Z | 2020-06-18T07:22:44Z | 2020-06-20T11:08:40Z |
DEPR: to_perioddelta | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 10522ff797c59..2c792d5f10b00 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -776,6 +776,7 @@ Deprecations
instead (:issue:`34191`).
- The ``squeeze`` keyword in the ``groupby`` function is depreca... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The only usage was in liboffsets and that has now been removed. | https://api.github.com/repos/pandas-dev/pandas/pulls/34853 | 2020-06-17T15:19:24Z | 2020-06-18T16:33:53Z | 2020-06-18T16:33:53Z | 2020-06-18T16:47:15Z |
CI: Fail on warning for 3.9 | diff --git a/setup.cfg b/setup.cfg
index 49a57b7a525f0..abcaea58e140f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -65,8 +65,10 @@ doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS
addopts = --strict-data-files
xfail_strict = True
filterwarnings =
- error:Sparse:FutureWarning
- error:The... | This should fail till https://github.com/pandas-dev/pandas/pull/34835 is in. | https://api.github.com/repos/pandas-dev/pandas/pulls/34852 | 2020-06-17T14:17:14Z | 2020-07-06T15:32:04Z | null | 2020-07-06T15:32:05Z |
base/test_unique.py: regression test for bad unicode string | diff --git a/pandas/tests/base/test_unique.py b/pandas/tests/base/test_unique.py
index 8cf234012d02f..e5592cef59592 100644
--- a/pandas/tests/base/test_unique.py
+++ b/pandas/tests/base/test_unique.py
@@ -105,3 +105,19 @@ def test_nunique_null(null_obj, index_or_series_obj):
num_unique_values = len(obj.unique(... | - [x] closes #34550
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
I ran the tests with pandas 1.0.4, where it segfaults as expected (shown below), and `master` passes the test.
tests/test_mytest.py::test_un... | https://api.github.com/repos/pandas-dev/pandas/pulls/34851 | 2020-06-17T13:27:02Z | 2020-06-18T23:08:41Z | 2020-06-18T23:08:41Z | 2020-06-18T23:08:46Z |
WIP: TST: split up tests/plotting/test_frame.py into subdir & modules #34769 | diff --git a/pandas/tests/plotting/frame/__init__.py b/pandas/tests/plotting/frame/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/plotting/test_frame.py b/pandas/tests/plotting/frame/test_frame.py
similarity index 100%
rename from pandas/tests/plotting/test_frame.py
rename... | Moved `tests/plotting/test_frame.py` to `tests/plotting/frame/test_frame.py`.
Worked towards #34769 but not closing it as this has not split the test suite.
- [ ] xref #34769
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whats... | https://api.github.com/repos/pandas-dev/pandas/pulls/34849 | 2020-06-17T12:33:32Z | 2020-10-31T19:17:08Z | null | 2020-10-31T19:17:09Z |
Remove redundant lists in array.py | diff --git a/pandas/tests/extension/json/array.py b/pandas/tests/extension/json/array.py
index 3132b39a7d6d6..447a6108fc3c7 100644
--- a/pandas/tests/extension/json/array.py
+++ b/pandas/tests/extension/json/array.py
@@ -179,13 +179,11 @@ def astype(self, dtype, copy=True):
def unique(self):
# Parent meth... | As far as I know these lists do nothing but taking up memory. | https://api.github.com/repos/pandas-dev/pandas/pulls/34847 | 2020-06-17T10:58:46Z | 2020-06-20T14:47:21Z | 2020-06-20T14:47:21Z | 2020-06-20T14:47:24Z |
Backport PR #34845 on branch 1.0.x (DOC: 1.0.5 release date) | diff --git a/doc/source/whatsnew/v1.0.5.rst b/doc/source/whatsnew/v1.0.5.rst
index fdf08dd381050..9a5128a07bbfd 100644
--- a/doc/source/whatsnew/v1.0.5.rst
+++ b/doc/source/whatsnew/v1.0.5.rst
@@ -1,7 +1,7 @@
.. _whatsnew_105:
-What's new in 1.0.5 (June XX, 2020)
+What's new in 1.0.5 (June 17, 2020)
-------------... | Backport PR #34845: DOC: 1.0.5 release date | https://api.github.com/repos/pandas-dev/pandas/pulls/34846 | 2020-06-17T10:57:34Z | 2020-06-17T11:45:01Z | 2020-06-17T11:45:01Z | 2020-06-17T11:45:01Z |
DOC: 1.0.5 release date | diff --git a/doc/source/whatsnew/v1.0.5.rst b/doc/source/whatsnew/v1.0.5.rst
index fdf08dd381050..9a5128a07bbfd 100644
--- a/doc/source/whatsnew/v1.0.5.rst
+++ b/doc/source/whatsnew/v1.0.5.rst
@@ -1,7 +1,7 @@
.. _whatsnew_105:
-What's new in 1.0.5 (June XX, 2020)
+What's new in 1.0.5 (June 17, 2020)
-------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/34845 | 2020-06-17T09:15:02Z | 2020-06-17T10:57:00Z | 2020-06-17T10:57:00Z | 2020-06-17T11:00:19Z | |
BUG: fix construction from read-only non-ns datetime64 numpy array | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 10522ff797c59..6a6c7ebd49db1 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -843,6 +843,9 @@ Datetimelike
- Bug in :meth:`DatetimeIndex.intersection` and :meth:`TimedeltaIndex.intersection` with resu... | Closes #34843 | https://api.github.com/repos/pandas-dev/pandas/pulls/34844 | 2020-06-17T09:03:34Z | 2020-06-18T06:47:45Z | 2020-06-18T06:47:45Z | 2020-06-18T10:26:49Z |
Infer filesystem from path when writing a partitioned DataFrame to remote file systems using pyarrow | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index f216418c3a8b0..4c8bf62490d82 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -991,6 +991,7 @@ I/O
- Bug in :meth:`~SQLDatabase.execute` was raising a ``ProgrammingError`` for some DB-API drivers when ... | Infer the file system to be passed to pyarrow based on the path provided.
- [x] closes #34841
- [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/34842 | 2020-06-17T07:25:11Z | 2020-08-21T15:57:37Z | null | 2020-08-21T15:58:14Z |
ENH: Add support for calculating EWMA with a time component | diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py
index b1f6d052919bd..f0dd908f81043 100644
--- a/asv_bench/benchmarks/rolling.py
+++ b/asv_bench/benchmarks/rolling.py
@@ -91,11 +91,18 @@ class EWMMethods:
def setup(self, constructor, window, dtype, method):
N = 10 ** 5
... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This enhancement allows EWMA to be calculated relative to the timestamp in which an observation occurs instead of assuming each observation is equally spaced. | https://api.github.com/repos/pandas-dev/pandas/pulls/34839 | 2020-06-17T05:21:43Z | 2020-07-06T22:37:57Z | 2020-07-06T22:37:57Z | 2020-07-07T00:31:46Z |
REF: implement _shared_docs to de-circularize dependencies | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index e5de9b428e2d5..e57b88f1be040 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -135,6 +135,7 @@
sanitize_index,
to_arrays,
)
+from pandas.core.reshape.melt import melt
from pandas.core.series import Series
from pandas.core.sorting... | A side effect of this is that a bunch of pd.concat imports can be done at import-time instead of at runtime, will do this in a separate pass. | https://api.github.com/repos/pandas-dev/pandas/pulls/34837 | 2020-06-17T02:20:16Z | 2020-06-24T23:36:11Z | 2020-06-24T23:36:11Z | 2020-06-24T23:51:38Z |
Replaced np.bool refs; fix CI failure | diff --git a/asv_bench/benchmarks/pandas_vb_common.py b/asv_bench/benchmarks/pandas_vb_common.py
index fd1770df8e5d3..23286343d7367 100644
--- a/asv_bench/benchmarks/pandas_vb_common.py
+++ b/asv_bench/benchmarks/pandas_vb_common.py
@@ -33,7 +33,7 @@
np.uint8,
]
datetime_dtypes = [np.datetime64, np.timedelta64]
... | I mostly just replace `np.bool` with `np.bool_` though there are some other cases where I just used bool. I don't know if it matters...so happy to conform one way or another
For now just seeing if this fixes CI
Closes https://github.com/pandas-dev/pandas/issues/34848. | https://api.github.com/repos/pandas-dev/pandas/pulls/34835 | 2020-06-16T23:48:06Z | 2020-06-17T17:26:57Z | 2020-06-17T17:26:57Z | 2020-06-30T16:05:52Z |
CLN: GH29547 change string formatting with f-strings (6 files changed) | diff --git a/pandas/tests/io/parser/test_header.py b/pandas/tests/io/parser/test_header.py
index 7dc106ef0c186..4cd110136d7b0 100644
--- a/pandas/tests/io/parser/test_header.py
+++ b/pandas/tests/io/parser/test_header.py
@@ -528,12 +528,11 @@ def test_multi_index_unnamed(all_parsers, index_col, columns):
p... | Replace old string formatting syntax with f-strings #29547
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Changed 6 files:
- pandas/tests/io/parser/test_header.py
- pandas/tests/io/test_sql.py
- pandas/tests/io/test_html.py
- pandas/tests/reductions/test_red... | https://api.github.com/repos/pandas-dev/pandas/pulls/34831 | 2020-06-16T21:09:49Z | 2020-06-18T13:59:00Z | 2020-06-18T13:59:00Z | 2020-06-20T09:01:29Z |
REF: move registry, Registry to dtypes.base | diff --git a/pandas/api/extensions/__init__.py b/pandas/api/extensions/__init__.py
index 3019dd0e9b371..401e7081d2422 100644
--- a/pandas/api/extensions/__init__.py
+++ b/pandas/api/extensions/__init__.py
@@ -4,7 +4,7 @@
from pandas._libs.lib import no_default
-from pandas.core.dtypes.dtypes import ExtensionDtype,... | These are more closely related to ExtensionDtype than to our internal EADtypes. More concretely, they are low-dependency, while dtypes.dtypes has some unfortunate circular dependencies.
I'd also like to move pandas_dtype and is_dtype_equal from dtypes.common so that those can be stricty "above" dtypes.dtypes in the... | https://api.github.com/repos/pandas-dev/pandas/pulls/34830 | 2020-06-16T21:07:39Z | 2020-07-10T23:54:35Z | 2020-07-10T23:54:35Z | 2020-07-11T00:27:07Z |
Add support for gitpod | diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile
new file mode 100644
index 0000000000000..15b1a5ab2e768
--- /dev/null
+++ b/.gitpod.Dockerfile
@@ -0,0 +1,22 @@
+FROM gitpod/workspace-full:latest
+
+USER root
+
+RUN apt-get update \
+ && apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
+ #
+... | This PR proposes to add support for Gitpod, which can provide (new) contributors with one-click environment to use for working on the pandas code base.
The PR includes two main additions:
- .gitpod.yml - Config file for gitpod that specifies which image/Dockerfile to use for gitpod and which init command(s) to run... | https://api.github.com/repos/pandas-dev/pandas/pulls/34829 | 2020-06-16T18:43:09Z | 2020-07-19T19:41:20Z | null | 2020-07-19T19:41:20Z |
REF: remove libfrequencies | diff --git a/pandas/_libs/tslibs/frequencies.pxd b/pandas/_libs/tslibs/frequencies.pxd
deleted file mode 100644
index b3ad6e6c19ee3..0000000000000
--- a/pandas/_libs/tslibs/frequencies.pxd
+++ /dev/null
@@ -1 +0,0 @@
-cpdef int get_to_timestamp_base(int base)
diff --git a/pandas/_libs/tslibs/frequencies.pyx b/pandas/_l... | https://api.github.com/repos/pandas-dev/pandas/pulls/34828 | 2020-06-16T17:30:02Z | 2020-06-16T20:47:02Z | 2020-06-16T20:47:02Z | 2020-06-16T20:51:28Z | |
BUG fix _Unstacker int32 limit in dataframe sizes (pandas-dev#26314) | diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py
index 391313fbb5283..8c1f2958de23a 100644
--- a/pandas/core/reshape/reshape.py
+++ b/pandas/core/reshape/reshape.py
@@ -104,18 +104,18 @@ def __init__(
self.removed_level = self.new_index_levels.pop(self.level)
self.removed_l... | - [x] closes #26314
- [ ] tests added / passed
- [x] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
I have tested it with :
`df = pd.DataFrame(np.random.randint(low=0, high=1500000, size=(90000, 2)), columns=['a', 'b'])`
`df.set_index(['a', ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34827 | 2020-06-16T16:52:04Z | 2020-09-15T08:41:35Z | null | 2020-10-12T16:07:34Z |
Backport PR #34733 on branch 1.0.x (BUG: Fixed Series.replace for EA with casting) | diff --git a/doc/source/whatsnew/v1.0.5.rst b/doc/source/whatsnew/v1.0.5.rst
index 7dfac54279e6f..fdf08dd381050 100644
--- a/doc/source/whatsnew/v1.0.5.rst
+++ b/doc/source/whatsnew/v1.0.5.rst
@@ -24,6 +24,8 @@ Note this disables the ability to read Parquet files from directories on S3
again (:issue:`26388`, :issue:`3... | xref #34733 | https://api.github.com/repos/pandas-dev/pandas/pulls/34819 | 2020-06-16T09:46:06Z | 2020-06-16T11:24:26Z | 2020-06-16T11:24:26Z | 2020-06-16T11:24:42Z |
CLN: remove unused args/kwargs in BlockManager.reduce | diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py
index 8e16d31b49150..e496694ee7899 100644
--- a/pandas/core/internals/managers.py
+++ b/pandas/core/internals/managers.py
@@ -327,16 +327,16 @@ def _verify_integrity(self) -> None:
f"tot_items: {tot_items}"
... | Small clean-up broken off from https://github.com/pandas-dev/pandas/pull/32867 cc @jbrockmendel | https://api.github.com/repos/pandas-dev/pandas/pulls/34818 | 2020-06-16T07:48:52Z | 2020-06-16T12:44:28Z | 2020-06-16T12:44:28Z | 2020-06-16T15:33:28Z |
DOC: move 'Other API changes' under correct section | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index f68135bf8cf9c..47f9d526dfd79 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -297,116 +297,10 @@ Other enhancements
.. ---------------------------------------------------------------------------
-... | The "Other API changes" bullet points were split in two (one part under "Other API changes", and one part directly under "Backwards incompatible API changes"), and in previous whatsnew files, the "Other API changes" is also a subsection of "Backwards incompatible API changes".
So moved a few things around to make th... | https://api.github.com/repos/pandas-dev/pandas/pulls/34817 | 2020-06-16T07:27:09Z | 2020-06-16T12:53:05Z | 2020-06-16T12:53:05Z | 2020-06-16T13:00:35Z |
BUG: Respect center=True in rolling.apply when numba engine is used | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index f68135bf8cf9c..7e04d8f906cb0 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1015,7 +1015,7 @@ Groupby/resample/rolling
The behaviour now is consistent, independent of internal heuristics. (:issue:... | - [x] closes #34784
- [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/34816 | 2020-06-16T04:07:34Z | 2020-06-16T12:47:57Z | 2020-06-16T12:47:57Z | 2020-06-16T15:40:30Z |
CLN: liboffsets annotations | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index bf2998bfcd9d1..df43ebcfd9df2 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -358,7 +358,6 @@ cdef class BaseOffset:
Base class for DateOffset methods that are not overridden by subclasses
... | It looks like rollforward/rollback we have some tests that pass `date` instead of `datetime`. That and a couple other outliers means there are some things that are not yet annotated. | https://api.github.com/repos/pandas-dev/pandas/pulls/34815 | 2020-06-16T03:35:11Z | 2020-06-16T12:49:30Z | 2020-06-16T12:49:30Z | 2020-06-16T15:34:51Z |
ENH: add masked algorithm for mean() function | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index c7573ee860744..2d82ffd95adb6 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -160,7 +160,7 @@ Deprecations
Performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Performance improvement in :meth:`Inter... | - [x] closes #34754
- [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/34814 | 2020-06-16T02:57:34Z | 2021-01-01T21:46:48Z | 2021-01-01T21:46:48Z | 2021-01-01T21:46:52Z |
REF: move Resolution to tslibs.dtypes | diff --git a/pandas/_libs/tslibs/dtypes.pyx b/pandas/_libs/tslibs/dtypes.pyx
index 143eac7f1ef6e..70acb42712201 100644
--- a/pandas/_libs/tslibs/dtypes.pyx
+++ b/pandas/_libs/tslibs/dtypes.pyx
@@ -1,5 +1,6 @@
# period frequency constants corresponding to scikits timeseries
# originals
+from enum import Enum
cdef... | This is pretty much a clean move, in preparation for making FreqGroup an enum and trying to de-duplicate our 3+ enum-like classes | https://api.github.com/repos/pandas-dev/pandas/pulls/34813 | 2020-06-16T02:04:17Z | 2020-06-16T12:51:02Z | 2020-06-16T12:51:02Z | 2020-06-16T15:51:10Z |
BUG: apply() fails on some value types | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 10522ff797c59..9ef60e2c8bf2e 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1050,6 +1050,7 @@ Reshaping
- Bug in :func:`Dataframe.aggregate` and :func:`Series.aggregate` was causing recursive loop i... | - [x] closes #34529
- [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/34812 | 2020-06-15T23:47:32Z | 2020-06-19T22:33:21Z | 2020-06-19T22:33:21Z | 2020-06-19T22:33:26Z |
BUG: reading line-format JSON from file url #27135 | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index c5eb2febe8ae9..70c45acec9f35 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1040,6 +1040,7 @@ I/O
- Bug in :meth:`read_excel` for ODS files removes 0.0 values (:issue:`27222`)
- Bug in :meth:`ujson... | - [x] closes #27135
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew note entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/34811 | 2020-06-15T21:05:52Z | 2020-06-29T21:42:19Z | 2020-06-29T21:42:19Z | 2020-06-29T21:51:40Z |
API: Allow non-tuples in pandas.merge | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 0ca19ffd1f496..d32eeb493b2c2 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -693,7 +693,6 @@ Other API changes
- :func: `pandas.api.dtypes.is_string_dtype` no longer incorrectly identifies categorica... | Closes https://github.com/pandas-dev/pandas/issues/34741, while
retaining the spirit of the spirit of
https://github.com/pandas-dev/pandas/pull/34208. | https://api.github.com/repos/pandas-dev/pandas/pulls/34810 | 2020-06-15T21:03:27Z | 2020-06-30T20:58:44Z | 2020-06-30T20:58:43Z | 2020-07-06T13:14:06Z |
CLN: liboffsets annotate, de-duplicate | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index d22f2b9117326..bf2998bfcd9d1 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -491,18 +491,20 @@ cdef class BaseOffset:
# Name and Rendering Methods
def __repr__(self) -> str:
- c... | https://api.github.com/repos/pandas-dev/pandas/pulls/34808 | 2020-06-15T18:11:49Z | 2020-06-15T19:19:55Z | 2020-06-15T19:19:55Z | 2020-06-15T22:40:42Z | |
Backport PR #34804 on branch 1.0.x (TST: ensure read_parquet filter argument is correctly passed though (pyarrow engine)) | diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py
index 853b4e754bcd0..0b883e2bd142f 100644
--- a/pandas/tests/io/test_parquet.py
+++ b/pandas/tests/io/test_parquet.py
@@ -591,6 +591,17 @@ def test_additional_extension_types(self, pa):
)
check_round_trip(df, pa)
+ @td... | xref #34804 | https://api.github.com/repos/pandas-dev/pandas/pulls/34807 | 2020-06-15T17:04:51Z | 2020-06-15T17:49:05Z | 2020-06-15T17:49:05Z | 2020-06-15T17:49:57Z |
Regression in to_timedelta with errors="coerce" and unit | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index a5b502f3f4071..1c3e69e21aa18 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -237,7 +237,7 @@ def array_to_timedelta64(object[:] values, unit=None, errors='raise'):
if unit is no... | Introduced in https://github.com/pandas-dev/pandas/commit/d3f686bb50c14594087171aa0493cb07eb5a874c
In pandas 1.0.3
```python
In [2]: pd.to_timedelta([1, 2, 'error'], errors="coerce", unit="ns")
Out[2]: TimedeltaIndex(['00:00:00.000000', '00:00:00.000000', NaT], dtype='timedelta64[ns]', freq=None)
```
In mas... | https://api.github.com/repos/pandas-dev/pandas/pulls/34806 | 2020-06-15T16:33:03Z | 2020-06-15T17:27:29Z | 2020-06-15T17:27:29Z | 2020-06-15T20:16:28Z |
TST: ensure read_parquet filter argument is correctly passed though (pyarrow engine) | diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py
index 7ee551194bf76..efd34c58d7d19 100644
--- a/pandas/tests/io/test_parquet.py
+++ b/pandas/tests/io/test_parquet.py
@@ -671,6 +671,17 @@ def test_timestamp_nanoseconds(self, pa):
df = pd.DataFrame({"a": pd.date_range("2017-01-01",... | xref https://github.com/pandas-dev/pandas/issues/26551#issuecomment-643882543 | https://api.github.com/repos/pandas-dev/pandas/pulls/34804 | 2020-06-15T15:25:52Z | 2020-06-15T16:25:10Z | 2020-06-15T16:25:09Z | 2020-06-16T09:24:46Z |
Backport PR #34718 on branch 1.0.x (Removed __div__ impls) | diff --git a/pandas/_libs/interval.pyx b/pandas/_libs/interval.pyx
index 1166768472449..08daedf5e5096 100644
--- a/pandas/_libs/interval.pyx
+++ b/pandas/_libs/interval.pyx
@@ -401,11 +401,6 @@ cdef class Interval(IntervalMixin):
return Interval(y.left * self, y.right * self, closed=y.closed)
retu... | https://github.com/pandas-dev/pandas/pull/34711#issuecomment-644148383
@WillAyd on 1.0.x. we have cython>=0.29.13 and on master cython>=0.29.16. is this an issue?
| https://api.github.com/repos/pandas-dev/pandas/pulls/34802 | 2020-06-15T14:47:33Z | 2020-06-15T16:10:49Z | 2020-06-15T16:10:49Z | 2020-06-15T17:54:07Z |
CI: Checks-and-Web-and-Docs-on-1.0.x | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d87fa5203bd52..e846ef9b0d4ff 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,9 +2,12 @@ name: CI
on:
push:
- branches: master
+ branches:
+ - master
pull_request:
- branches: master
+ branches:
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34800 | 2020-06-15T14:08:05Z | 2020-06-16T10:08:50Z | null | 2020-09-10T14:55:59Z | |
API: Make describe changes backwards compatible | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 088f1d1946fa9..cfac916157649 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -280,6 +280,7 @@ Other enhancements
- Added :meth:`DataFrame.value_counts` (:issue:`5377`)
- Added a :func:`pandas.api.ind... | Adds the new behavior as a feature flag / deprecation.
Closes https://github.com/pandas-dev/pandas/issues/33903
(Do we have a list of issues for deprecations introduced in 1.x?) | https://api.github.com/repos/pandas-dev/pandas/pulls/34798 | 2020-06-15T13:46:51Z | 2020-07-14T20:21:58Z | 2020-07-14T20:21:57Z | 2020-07-14T20:30:06Z |
Backport PR #34785 on branch 1.0.x (DOC: add release note about revert for 1.0.5) | diff --git a/doc/source/whatsnew/v1.0.5.rst b/doc/source/whatsnew/v1.0.5.rst
index 5dbc911407784..7dfac54279e6f 100644
--- a/doc/source/whatsnew/v1.0.5.rst
+++ b/doc/source/whatsnew/v1.0.5.rst
@@ -15,8 +15,14 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
--
+
+- Fix regression in :me... | Backport PR #34785: DOC: add release note about revert for 1.0.5 | https://api.github.com/repos/pandas-dev/pandas/pulls/34797 | 2020-06-15T13:36:51Z | 2020-06-15T14:20:07Z | 2020-06-15T14:20:07Z | 2020-06-15T14:20:08Z |
API: Removed PeriodDtype.dtype_code from public API | diff --git a/pandas/_libs/tslibs/dtypes.pxd b/pandas/_libs/tslibs/dtypes.pxd
index f43bc283d98c7..71b4eeabbaaf5 100644
--- a/pandas/_libs/tslibs/dtypes.pxd
+++ b/pandas/_libs/tslibs/dtypes.pxd
@@ -73,4 +73,4 @@ cdef enum PeriodDtypeCode:
cdef class PeriodDtypeBase:
cdef readonly:
- PeriodDtypeCode dtype_... | Closes #34735 | https://api.github.com/repos/pandas-dev/pandas/pulls/34796 | 2020-06-15T12:41:52Z | 2020-06-15T14:24:12Z | 2020-06-15T14:24:12Z | 2020-06-15T14:24:13Z |
CI: Update pipelines config to trigger on PRs on 1.0.x | diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index d992c64073476..b5a35648ea35b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,4 +1,14 @@
# Adapted from https://github.com/numba/numba/blob/master/azure-pipelines.yml
+trigger:
+- master
+- 1.0.x
+
+pr:
+ branches:
+ include:
+ - maste... | xref #32706
I think maybe the additions should also go in master. let's see what happens here first. | https://api.github.com/repos/pandas-dev/pandas/pulls/34795 | 2020-06-15T12:01:56Z | 2020-06-15T13:55:59Z | null | 2020-06-15T17:52:30Z |
Backport PR #34711 on branch 1.0.x (BLD: Pin cython for 37-locale build) | diff --git a/ci/deps/azure-37-locale.yaml b/ci/deps/azure-37-locale.yaml
index dc51597a33209..25ee821afe7bd 100644
--- a/ci/deps/azure-37-locale.yaml
+++ b/ci/deps/azure-37-locale.yaml
@@ -5,7 +5,8 @@ dependencies:
- python=3.7.*
# tools
- - cython>=0.29.13
+ # Cython pin for https://github.com/pandas-dev/pan... | xref #34711 | https://api.github.com/repos/pandas-dev/pandas/pulls/34794 | 2020-06-15T11:22:27Z | 2020-06-15T14:55:27Z | null | 2020-06-15T17:51:00Z |
CI testing for s3 reads from public buckets on 1.0.x - DO NOT MERGE | diff --git a/pandas/tests/io/test_s3.py b/pandas/tests/io/test_s3.py
index 04c6979596eca..4e6c5da932409 100644
--- a/pandas/tests/io/test_s3.py
+++ b/pandas/tests/io/test_s3.py
@@ -2,6 +2,8 @@
import pytest
+import pandas.util._test_decorators as td
+
from pandas import read_csv
from pandas.io.common import is... | xref #34626 | https://api.github.com/repos/pandas-dev/pandas/pulls/34793 | 2020-06-15T11:01:53Z | 2020-06-15T15:20:57Z | null | 2020-06-17T07:29:33Z |
Backport PR #34721 on branch 1.0.x (Debug CI Issue) | diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py
index 27f1c32058941..7691eea230730 100644
--- a/pandas/compat/numpy/__init__.py
+++ b/pandas/compat/numpy/__init__.py
@@ -13,6 +13,8 @@
_np_version_under1p16 = _nlv < LooseVersion("1.16")
_np_version_under1p17 = _nlv < LooseVersion("1.17")... | xref #34721 | https://api.github.com/repos/pandas-dev/pandas/pulls/34788 | 2020-06-15T09:24:33Z | 2020-06-15T09:57:55Z | 2020-06-15T09:57:55Z | 2020-06-15T09:58:01Z |
Backport Test Only from PR #34500 on branch 1.0.x (REG: Fix read_parquet from file-like objects) | diff --git a/pandas/tests/io/data/parquet/simple.parquet b/pandas/tests/io/data/parquet/simple.parquet
new file mode 100644
index 0000000000000..2862a91f508ea
Binary files /dev/null and b/pandas/tests/io/data/parquet/simple.parquet differ
diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py
in... | xref #34500 | https://api.github.com/repos/pandas-dev/pandas/pulls/34787 | 2020-06-15T09:02:42Z | 2020-06-15T11:19:39Z | 2020-06-15T11:19:39Z | 2020-06-15T11:25:47Z |
Backport PR #34667 on branch 1.0.x (BLD: pyproject.toml for Py38) | diff --git a/doc/source/whatsnew/v1.0.5.rst b/doc/source/whatsnew/v1.0.5.rst
index 1edc7e1cad72f..5dbc911407784 100644
--- a/doc/source/whatsnew/v1.0.5.rst
+++ b/doc/source/whatsnew/v1.0.5.rst
@@ -22,7 +22,8 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+
+- Fixed building from source with Python 3.8 fetching the wro... | xref #34667
@jorisvandenbossche another set of eyes needed as this was not a clean cherry-pick | https://api.github.com/repos/pandas-dev/pandas/pulls/34786 | 2020-06-15T08:35:45Z | 2020-06-15T11:17:51Z | 2020-06-15T11:17:51Z | 2020-06-15T11:23:53Z |
DOC: add release note about revert for 1.0.5 | diff --git a/doc/source/whatsnew/v1.0.5.rst b/doc/source/whatsnew/v1.0.5.rst
index 5dbc911407784..7dfac54279e6f 100644
--- a/doc/source/whatsnew/v1.0.5.rst
+++ b/doc/source/whatsnew/v1.0.5.rst
@@ -15,8 +15,14 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
--
--
+
+- Fix regression in :me... | Whatsnew for https://github.com/pandas-dev/pandas/pull/34632
cc @simonjayhawkins @alimcmaster1 | https://api.github.com/repos/pandas-dev/pandas/pulls/34785 | 2020-06-15T08:08:22Z | 2020-06-15T13:36:13Z | 2020-06-15T13:36:13Z | 2020-06-15T13:38:02Z |
REF: avoid DTA/PA methods in SemiMonthOffset.apply_index | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 1dae34e1ac49c..f7f50cbaf582c 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -2269,56 +2269,62 @@ cdef class SemiMonthOffset(SingleConstructorOffset):
raise NotImplementedError(self)
... | I think this gets the last implicit-external-dependencies in tslibs.
```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, freq="S")
In [3]: off = pd.offsets.SemiMonthEnd(-2)
In [4]: %timeit dti + off ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34783 | 2020-06-15T03:31:47Z | 2020-06-15T12:23:06Z | 2020-06-15T12:23:06Z | 2020-06-15T15:00:32Z |
REF: avoid using DTA/PA methods in Week.apply_index | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 1dae34e1ac49c..0c947ca519a7d 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -2507,6 +2507,8 @@ cdef class Week(SingleConstructorOffset):
else:
return self._end_apply_index(dt... | We avoid a couple of array allocations in the process.
```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, freq="S")
In [3]: off = pd.offsets.Week(1, False, 3)
In [4]: %timeit dti + off
3.22 ms ± 3... | https://api.github.com/repos/pandas-dev/pandas/pulls/34782 | 2020-06-15T01:35:35Z | 2020-06-15T02:20:08Z | 2020-06-15T02:20:08Z | 2020-06-15T03:14:31Z |
REF: reuse roll_qtrday in liboffsets | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 1dae34e1ac49c..1e002f4a1af88 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -3786,7 +3786,7 @@ cdef inline void _shift_quarters(const int64_t[:] dtindex,
"""See shift_quarters.__doc__"""
... | Last one in this sequence. | https://api.github.com/repos/pandas-dev/pandas/pulls/34781 | 2020-06-15T01:18:58Z | 2020-06-15T02:19:54Z | 2020-06-15T02:19:54Z | 2020-06-15T03:13:37Z |
TST: remove super slow cases on upsample_nearest_limit | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 896765722bf32..b7fd797fb7230 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,7 +3,7 @@ repos:
rev: 19.10b0
hooks:
- id: black
- language_version: python3.7
+ language_version: python3
- repo: ... | make multi_thread csv parsing test slow | https://api.github.com/repos/pandas-dev/pandas/pulls/34780 | 2020-06-15T00:42:37Z | 2020-06-15T02:19:39Z | 2020-06-15T02:19:39Z | 2020-06-15T02:19:40Z |
REF: de-duplicate code in liboffsets | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 093d53db21dc1..37be1e7aeda40 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -3723,136 +3723,14 @@ cdef shift_quarters(
out : ndarray[int64_t]
"""
cdef:
- Py_ssize_t i
- ... | ```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, freq="S")
In [3]: off = pd.offsets.BMonthEnd(2)
In [4]: %timeit dti + off
3.36 ms ± 14 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)... | https://api.github.com/repos/pandas-dev/pandas/pulls/34778 | 2020-06-14T21:58:07Z | 2020-06-15T00:17:51Z | 2020-06-15T00:17:51Z | 2020-06-15T00:59:10Z |
DOC: updated multi.py docstring for SS06 errors | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index fc2d4cf4621c4..fa35d683101c3 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -903,8 +903,7 @@ def _set_codes(
def set_codes(self, codes, level=None, inplace=False, verify_integrity=True):
"""
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/34775 | 2020-06-14T19:29:09Z | 2020-06-14T22:21:47Z | 2020-06-14T22:21:47Z | 2020-06-14T22:21:51Z | |
CI: move arm to non-failure builds | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 896765722bf32..b7fd797fb7230 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,7 +3,7 @@ repos:
rev: 19.10b0
hooks:
- id: black
- language_version: python3.7
+ language_version: python3
- repo: ... | make pre-commit language generic
| https://api.github.com/repos/pandas-dev/pandas/pulls/34774 | 2020-06-14T17:50:10Z | 2020-06-15T00:59:29Z | null | 2020-06-15T00:59:29Z |
REF: inline get_day_of_month | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 6931360997420..9e6356b55dcec 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -3757,16 +3757,22 @@ cdef shift_quarters(
n = quarters
months_since = (dts.month - q... | Makes the logic in all cases of shift_months identical, same for shift_quarters. Next pass does de-duplication. | https://api.github.com/repos/pandas-dev/pandas/pulls/34772 | 2020-06-14T17:45:56Z | 2020-06-14T19:45:25Z | 2020-06-14T19:45:25Z | 2020-06-14T19:52:45Z |
CLN/TYPE: EWM | diff --git a/pandas/_libs/window/aggregations.pyx b/pandas/_libs/window/aggregations.pyx
index 9e088062d7280..646444d10e416 100644
--- a/pandas/_libs/window/aggregations.pyx
+++ b/pandas/_libs/window/aggregations.pyx
@@ -1759,7 +1759,7 @@ def roll_weighted_var(float64_t[:] values, float64_t[:] weights,
# Exponentially... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
1. Move `min_periods` validation to constructor
2. Stronger cython type defintions
3. Typing EWM methods | https://api.github.com/repos/pandas-dev/pandas/pulls/34770 | 2020-06-14T16:53:17Z | 2020-06-14T18:36:23Z | 2020-06-14T18:36:23Z | 2020-06-14T18:36:26Z |
BUG, TST: fix-_check_ticks_props | diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py
index f2f7b37170ec9..896d3278cdde1 100644
--- a/pandas/tests/plotting/common.py
+++ b/pandas/tests/plotting/common.py
@@ -272,7 +272,7 @@ def _check_ticks_props(
axes = self._flatten_visible(axes)
for ax in axes:
- ... | Here's something I noticed while working on #34334 : `self._check_ticks_props(ax, ylabelsize=0)` always passes!
This is because of
```python
if ylabelsize
```
instead of
```python
if ylabelsize is not None
```
being used.
The test I've added fails on master:
```python-traceback
(pandas-dev) marco@marco-... | https://api.github.com/repos/pandas-dev/pandas/pulls/34768 | 2020-06-14T14:02:33Z | 2020-06-16T19:29:38Z | 2020-06-16T19:29:38Z | 2020-06-16T19:34:12Z |
BUG: Groupby with as_index=False raises error when type is Category | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 2243790a663df..e998c60d3ce85 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -670,6 +670,25 @@ Using :meth:`DataFrame.groupby` with ``as_index=False`` and the function ``idxma
df.groupby("a", as_... | - [x] closes #32599
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This regression was a symptom of `DataFrameGroupBy.size` ignoring `as_index=False`. Fixing this now makes the result either a frame or series, so wh... | https://api.github.com/repos/pandas-dev/pandas/pulls/34767 | 2020-06-14T12:58:48Z | 2020-06-15T12:29:20Z | 2020-06-15T12:29:19Z | 2020-07-11T16:02:03Z |
REF: make get_day_of_month nogil | diff --git a/pandas/_libs/tslibs/np_datetime.pxd b/pandas/_libs/tslibs/np_datetime.pxd
index 038632e1575c3..eebdcb3ace507 100644
--- a/pandas/_libs/tslibs/np_datetime.pxd
+++ b/pandas/_libs/tslibs/np_datetime.pxd
@@ -63,6 +63,7 @@ cdef void td64_to_tdstruct(int64_t td64, pandas_timedeltastruct* out) nogil
cdef int64... | https://api.github.com/repos/pandas-dev/pandas/pulls/34764 | 2020-06-14T03:08:24Z | 2020-06-14T16:39:03Z | 2020-06-14T16:39:03Z | 2020-06-14T16:53:00Z | |
REF: remove roll_check, use roll_convention | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index c9c2672c55be0..ef22a90c24775 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -3736,7 +3736,6 @@ cdef shift_quarters(
npy_datetimestruct dts
int count = len(dtindex)
int m... | Avoid bespoke logic for these two cases. This will make it feasible to collapse shift_months down to a single case (following #34762 and the one after that that makes get_day_of_month nogil) | https://api.github.com/repos/pandas-dev/pandas/pulls/34763 | 2020-06-14T01:49:07Z | 2020-06-14T16:52:40Z | 2020-06-14T16:52:40Z | 2020-06-14T17:01:22Z |
CLN: day->day_opt, remove unused case in liboffsets.get_day_of_month | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 4069d192d9e88..75049cabe81d5 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -3712,7 +3712,7 @@ cdef shift_quarters(
const int64_t[:] dtindex,
int quarters,
int q1start_month,
- o... | Removing this unused case turns out to be a blocker to making get_day_of_month nogil, which in turn will allow a bunch of de-duplication in this file. | https://api.github.com/repos/pandas-dev/pandas/pulls/34762 | 2020-06-14T01:46:21Z | 2020-06-14T14:21:54Z | 2020-06-14T14:21:54Z | 2020-06-14T15:20:08Z |
REF: implement shift_bday | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 6931360997420..15de4332d9992 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -18,7 +18,7 @@ from dateutil.easter import easter
import numpy as np
cimport numpy as cnp
-from numpy cimport int64_... | Avoids depending on DatetimeArray/PeriodArray methods, also avoids a couple of array allocations
```
In [2]: dti = pd.date_range("2016-01-01", periods=10**5, freq="S")
In [3]: off = pd.offsets.BDay() ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34761 | 2020-06-14T01:33:30Z | 2020-06-14T22:55:41Z | 2020-06-14T22:55:40Z | 2020-06-14T23:06:50Z |
REF: De-duplicate roll_yearday/roll_qtrday | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 6931360997420..b1bd7c6a1461c 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -1879,7 +1879,7 @@ cdef class YearOffset(SingleConstructorOffset):
@apply_wraps
def apply(self, other):
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34760 | 2020-06-14T00:55:42Z | 2020-06-14T20:47:19Z | 2020-06-14T20:47:19Z | 2020-06-14T21:23:21Z | |
typo: pivot_table -> pivot | diff --git a/doc/source/getting_started/intro_tutorials/07_reshape_table_layout.rst b/doc/source/getting_started/intro_tutorials/07_reshape_table_layout.rst
index a9652969ffc79..c16fec6aaba9f 100644
--- a/doc/source/getting_started/intro_tutorials/07_reshape_table_layout.rst
+++ b/doc/source/getting_started/intro_tutor... | I'm new to pandas and reading the docs for the first time.
I believe that the reference in the *pivot* section should be to `pivot`, not `pivot_table`, to match the code in the example.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py"... | https://api.github.com/repos/pandas-dev/pandas/pulls/34758 | 2020-06-13T23:28:48Z | 2020-06-14T01:29:28Z | 2020-06-14T01:29:28Z | 2020-06-14T01:29:40Z |
typo: rows -> columns | diff --git a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst b/doc/source/getting_started/intro_tutorials/01_table_oriented.rst
index 9ee3bfc3b8e79..dc9bec2284aab 100644
--- a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst
+++ b/doc/source/getting_started/intro_tutorials/01_table_orie... | I'm new to pandas and reading the docs for the first time. By my reading of the first part of this paragraph, there's a dictionary of lists and the lists are `["Braund...", "Allen...", ...]`, `[22, 35, 58]`, and `["male", "male", "female"]`.
The original sentence says: "... and the values in each list as rows of th... | https://api.github.com/repos/pandas-dev/pandas/pulls/34757 | 2020-06-13T20:32:47Z | 2020-06-14T01:30:27Z | 2020-06-14T01:30:27Z | 2020-06-14T13:56:04Z |
BUG: DataFrameGroupBy.quantile raises for non-numeric dtypes rather than dropping columns | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index de3a05a2ccdfb..31d2d29c71386 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1122,6 +1122,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.groupby` lost index, when one of the ``agg`` keys ref... | - [x] closes #27892
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Unlike what is mentioned in #27892, this will raise if there are no columns to aggregate. Both mean and median raise with "No numeric types to aggre... | https://api.github.com/repos/pandas-dev/pandas/pulls/34756 | 2020-06-13T20:17:17Z | 2020-07-16T22:48:30Z | 2020-07-16T22:48:30Z | 2020-10-11T13:22:14Z |
TST: Period with Timestamp overflow | diff --git a/pandas/tests/scalar/period/test_period.py b/pandas/tests/scalar/period/test_period.py
index 795021a260028..5006e16b6a7e0 100644
--- a/pandas/tests/scalar/period/test_period.py
+++ b/pandas/tests/scalar/period/test_period.py
@@ -6,6 +6,7 @@
from pandas._libs.tslibs import iNaT, period as libperiod
from ... | - [x] closes #13346
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
The first part of the test checks that the period inside boundaries does not raise exception when calling `start_time` and `end_time` methods. The second part checks that... | https://api.github.com/repos/pandas-dev/pandas/pulls/34755 | 2020-06-13T19:04:44Z | 2020-10-05T20:52:52Z | 2020-10-05T20:52:52Z | 2021-01-02T08:31:59Z |
REF: refactor NDFrame.interpolate to avoid dispatching to fillna | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 6183638ab587e..823a0a6a35f9e 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -6888,42 +6888,33 @@ def interpolate(
inplace = validate_bool_kwarg(inplace, "inplace")
axis = self._get_axis_number(axis)
- inde... | xref https://github.com/pandas-dev/pandas/pull/31048#issuecomment-643658604, #33959 | https://api.github.com/repos/pandas-dev/pandas/pulls/34752 | 2020-06-13T18:41:21Z | 2020-06-14T14:31:07Z | 2020-06-14T14:31:06Z | 2020-06-14T15:25:57Z |
Bump up minimum numpy version in windows37 job | diff --git a/ci/azure/windows.yml b/ci/azure/windows.yml
index 187a5db99802f..87f1bfd2adb79 100644
--- a/ci/azure/windows.yml
+++ b/ci/azure/windows.yml
@@ -13,7 +13,7 @@ jobs:
CONDA_PY: "36"
PATTERN: "not slow and not network"
- py37_np141:
+ py37_np18:
ENV_FILE: ci/deps/azure-wi... | - [x] closes #34724
- [ ] 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/34750 | 2020-06-13T17:14:27Z | 2020-06-14T14:29:35Z | 2020-06-14T14:29:35Z | 2020-06-14T16:04:55Z |
[WIP] fork of #31048 for CI testing DO NOT MERGE | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index e680c2db55a43..ba2dd71fa8b22 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -904,6 +904,7 @@ Indexing
Missing
^^^^^^^
- Calling :meth:`fillna` on an empty Series now correctly returns a shallow cop... | fork of #31048 for CI testing | https://api.github.com/repos/pandas-dev/pandas/pulls/34749 | 2020-06-13T17:10:22Z | 2020-06-14T17:03:52Z | null | 2020-06-14T17:03:52Z |
API: validate `limit_direction` parameter of NDFrame.interpolate | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index e680c2db55a43..a1be07f3fc386 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -406,6 +406,7 @@ Backwards incompatible API changes
(previously raised a ``NotImplementedError``), while passing in keywo... | broken off #31048
| https://api.github.com/repos/pandas-dev/pandas/pulls/34746 | 2020-06-13T13:14:10Z | 2020-06-14T18:06:41Z | 2020-06-14T18:06:41Z | 2020-06-14T18:43:12Z |
DOC: updated strings.py for SS06 errors | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index b27ad744dbdba..a1db7742916de 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -570,9 +570,9 @@ def str_endswith(arr, pat, na=np.nan):
def str_replace(arr, pat, repl, n=-1, case=None, flags=0, regex=True):
r"""
- Replace occ... | https://api.github.com/repos/pandas-dev/pandas/pulls/34745 | 2020-06-13T12:43:38Z | 2020-06-13T17:04:13Z | 2020-06-13T17:04:13Z | 2020-06-13T17:04:18Z | |
CLN: clean and deduplicate in core.missing.interpolate_1d | diff --git a/pandas/core/missing.py b/pandas/core/missing.py
index d8671616f944e..7802c5cbdbfb3 100644
--- a/pandas/core/missing.py
+++ b/pandas/core/missing.py
@@ -94,30 +94,37 @@ def clean_fill_method(method, allow_nearest=False):
return method
+# interpolation methods that dispatch to np.interp
+
+NP_METHOD... | broken-off #34728 | https://api.github.com/repos/pandas-dev/pandas/pulls/34744 | 2020-06-13T10:48:26Z | 2020-06-13T20:12:53Z | 2020-06-13T20:12:53Z | 2020-06-13T20:34:32Z |
CLN: make Info and DataFrameInfo subclasses | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d12ebeafe8510..5134ddcf1cc67 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -140,7 +140,7 @@
from pandas.io.common import get_filepath_or_buffer
from pandas.io.formats import console, format as fmt
-from pandas.io.formats.info import in... | precursor to #31796
Makes Info class and DataFrameInfo subclass so there's no need for all the
```python
if isinstance(data, ABCDataFrame)
``` | https://api.github.com/repos/pandas-dev/pandas/pulls/34743 | 2020-06-13T10:19:10Z | 2020-06-29T23:19:45Z | 2020-06-29T23:19:44Z | 2020-10-10T14:14:45Z |
CLN: remove the old 'nature_with_gtoc' sphinx doc theme | diff --git a/doc/source/themes/nature_with_gtoc/layout.html b/doc/source/themes/nature_with_gtoc/layout.html
deleted file mode 100644
index 6e7d8ece35133..0000000000000
--- a/doc/source/themes/nature_with_gtoc/layout.html
+++ /dev/null
@@ -1,108 +0,0 @@
-{#
-
-Subset of agogo theme
-agogo/layout.html
-
-Sphinx layout t... | Noticed we still have the old theme customizations in the doc sources. | https://api.github.com/repos/pandas-dev/pandas/pulls/34742 | 2020-06-13T10:11:10Z | 2020-06-13T17:06:51Z | 2020-06-13T17:06:51Z | 2020-06-13T18:31:48Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.