url
stringlengths
55
59
repository_url
stringclasses
1 value
labels_url
stringlengths
69
73
comments_url
stringlengths
64
68
events_url
stringlengths
62
66
html_url
stringlengths
44
49
id
int64
338k
1.06B
node_id
stringlengths
18
32
number
int64
1
44.6k
title
stringlengths
1
590
user
dict
labels
listlengths
0
9
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
listlengths
0
5
milestone
dict
comments
int64
0
477
created_at
timestamp[us, tz=UTC]
updated_at
timestamp[us, tz=UTC]
closed_at
timestamp[us, tz=UTC]
author_association
stringclasses
3 values
active_lock_reason
stringclasses
4 values
body
stringlengths
0
251k
reactions
dict
timeline_url
stringlengths
64
68
performed_via_github_app
float64
draft
float64
0
1
pull_request
dict
https://api.github.com/repos/pandas-dev/pandas/issues/35917
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35917/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35917/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35917/events
https://github.com/pandas-dev/pandas/issues/35917
686,931,615
MDU6SXNzdWU2ODY5MzE2MTU=
35,917
BUG:ValueError: Invalid frequency with date
{ "avatar_url": "https://avatars.githubusercontent.com/u/64182817?v=4", "events_url": "https://api.github.com/users/lygujiaxin/events{/privacy}", "followers_url": "https://api.github.com/users/lygujiaxin/followers", "following_url": "https://api.github.com/users/lygujiaxin/following{/other_user}", "gists_url": "https://api.github.com/users/lygujiaxin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lygujiaxin", "id": 64182817, "login": "lygujiaxin", "node_id": "MDQ6VXNlcjY0MTgyODE3", "organizations_url": "https://api.github.com/users/lygujiaxin/orgs", "received_events_url": "https://api.github.com/users/lygujiaxin/received_events", "repos_url": "https://api.github.com/users/lygujiaxin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lygujiaxin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lygujiaxin/subscriptions", "type": "User", "url": "https://api.github.com/users/lygujiaxin" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
open
false
null
[]
null
8
2020-08-27T04:35:47Z
2021-04-13T06:01:51Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. --- #### Code Sample ```python import pandas as pd df = pd.read_hdf('metr-la.h5') print(df) ``` metr-la.h5 https://drive.google.com/open?id=10FOTa6HXPqX8Pf5WRoRwcFnW9BrNZEIX It's index is DataTime type, data is float64 type. #### Output ```python Traceback (most recent call last): File "C:\Test.py", line 5, in <module> print(pandas_df) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\frame.py", line 751, in __repr__ show_dimensions=show_dimensions, File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\frame.py", line 881, in to_string line_width=line_width, File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\io\formats\format.py", line 630, in __init__ self._chk_truncate() File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\io\formats\format.py", line 716, in _chk_truncate frame = concat((frame.iloc[:row_num, :], frame.iloc[-row_num:, :])) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\reshape\concat.py", line 284, in concat sort=sort, File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\reshape\concat.py", line 454, in __init__ self.new_axes = self._get_new_axes() File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\reshape\concat.py", line 521, in _get_new_axes for i in range(ndim) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\reshape\concat.py", line 521, in <listcomp> for i in range(ndim) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\reshape\concat.py", line 574, in _get_concat_axis concat_axis = _concat_indexes(indexes) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\reshape\concat.py", line 592, in _concat_indexes return indexes[0].append(indexes[1:]) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\indexes\base.py", line 4153, in append return self._concat(to_concat, name) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\indexes\base.py", line 4161, in _concat result = _concat.concat_compat(to_concat) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\dtypes\concat.py", line 162, in concat_compat return concat_datetime(to_concat, axis=axis, typs=typs) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\dtypes\concat.py", line 392, in concat_datetime result = type(to_concat[0])._concat_same_type(to_concat, axis=axis) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\arrays\datetimelike.py", line 695, in _concat_same_type if all(pair[0][-1] + obj.freq == pair[1][0] for pair in pairs): File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\arrays\datetimelike.py", line 695, in <genexpr> if all(pair[0][-1] + obj.freq == pair[1][0] for pair in pairs): File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\arrays\datetimelike.py", line 540, in __getitem__ return self._box_func(result) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\pandas\core\arrays\datetimes.py", line 476, in <lambda> return lambda x: Timestamp(x, freq=self.freq, tz=self.tz) File "pandas\_libs\tslibs\timestamps.pyx", line 1083, in pandas._libs.tslibs.timestamps.Timestamp.__new__ File "pandas\_libs\tslibs\offsets.pyx", line 3580, in pandas._libs.tslibs.offsets.to_offset ValueError: Invalid frequency: b"ccopy_reg\n_reconstructor\np1\n(cpandas.tseries.offsets\nMinute\np2\nc__builtin__\nobject\np3\nNtRp4\n(dp5\nS'normalize'\np6\nI00\nsS'_offset'\np7\ncdatetime\ntimedelta\np8\n(I1\nI0\nI0\ntRp9\nsS'_use_relativedelta'\np10\nI00\nsS'kwds'\np11\n(dp12\nsS'n'\nI5\nsb." ``` #### Problem description Pandas seems to work incorrect with hdf5 file created by old version pandas. The file work well with pandas 0.19.2. Now, many method will raise ValueError: Invalid frequency. I am not sure what causes this error, but I found that the DataFrame's index is DatetimeArray type instead of DatetimeIndex type which may be the reason. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.7.8.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 42 Stepping 7, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.1 numpy : 1.19.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.2.2 setuptools : 47.1.0 Cython : None pytest : 5.4.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : 4.9.0 bottleneck : None fsspec : 0.7.2 fastparquet : None gcsfs : None matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.17.0 pytables : None pyxlsb : None s3fs : 0.2.2 scipy : 1.4.1 sqlalchemy : None tables : 3.6.1 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.2.0 xlwt : None numba : 0.48.0 </details>
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35917/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35917/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35918
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35918/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35918/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35918/events
https://github.com/pandas-dev/pandas/pull/35918
687,007,439
MDExOlB1bGxSZXF1ZXN0NDc0NTA0MTU2
35,918
REF: window/test_dtypes.py with pytest idioms
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-27T07:19:08Z
2020-09-06T04:05:06Z
2020-09-05T19:40:07Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35918/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35918/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35918.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35918", "merged_at": "2020-09-05T19:40:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35918.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35918" }
https://api.github.com/repos/pandas-dev/pandas/issues/35919
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35919/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35919/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35919/events
https://github.com/pandas-dev/pandas/pull/35919
687,083,052
MDExOlB1bGxSZXF1ZXN0NDc0NTY2MjM2
35,919
Backport PR #35794: BUG: issubclass check with dtype instead of type,…
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
0
2020-08-27T09:18:35Z
2020-08-27T10:37:16Z
2020-08-27T10:37:07Z
MEMBER
null
xref #35794
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35919/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35919/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35919.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35919", "merged_at": "2020-08-27T10:37:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35919.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35919" }
https://api.github.com/repos/pandas-dev/pandas/issues/35920
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35920/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35920/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35920/events
https://github.com/pandas-dev/pandas/issues/35920
687,193,507
MDU6SXNzdWU2ODcxOTM1MDc=
35,920
Inconsistent Behavior in DataFrame.plot for kind='line' and kind='scatter'
{ "avatar_url": "https://avatars.githubusercontent.com/u/16047980?v=4", "events_url": "https://api.github.com/users/OlehKSS/events{/privacy}", "followers_url": "https://api.github.com/users/OlehKSS/followers", "following_url": "https://api.github.com/users/OlehKSS/following{/other_user}", "gists_url": "https://api.github.com/users/OlehKSS/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/OlehKSS", "id": 16047980, "login": "OlehKSS", "node_id": "MDQ6VXNlcjE2MDQ3OTgw", "organizations_url": "https://api.github.com/users/OlehKSS/orgs", "received_events_url": "https://api.github.com/users/OlehKSS/received_events", "repos_url": "https://api.github.com/users/OlehKSS/repos", "site_admin": false, "starred_url": "https://api.github.com/users/OlehKSS/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OlehKSS/subscriptions", "type": "User", "url": "https://api.github.com/users/OlehKSS" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2020-08-27T12:13:49Z
2020-09-09T19:25:55Z
null
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- <!-- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. --> #### Code Sample, a copy-pastable example ```python import numpy as np import matplotlib.pyplot as plt import pandas as pd columns = ['mai_mass', 'a', 'b', 'c', 'd', 'e', 'f'] coefficients = pd.DataFrame(np.array( [[ 2.38000000e+02, 2.83321374e-05, -2.50365061e-03, 8.30752483e-02, -1.31248716e+00, 1.30955584e+01, 9.95461098e-01], [ 2.32000000e+02, 2.79293189e-05, -2.46649285e-03, 8.17323741e-02, -1.28814623e+00, 1.28178227e+01, 1.01163885e+00], [ 2.10000000e+02, 2.56529877e-05, -2.26170242e-03, 7.48763149e-02, -1.17863331e+00, 1.17456694e+01, 1.13733660e+00], [ 2.09000000e+02, 2.61992434e-05, -2.30290780e-03, 7.58678030e-02, -1.18582975e+00, 1.17216659e+01, 1.10922453e+00], [ 2.08000000e+02, 2.48331770e-05, -2.20267481e-03, 7.33166999e-02, -1.15820137e+00, 1.15702725e+01, 1.15312639e+00], [ 2.05000000e+02, 2.45927176e-05, -2.17930444e-03, 7.24894127e-02, -1.14523212e+00, 1.14529544e+01, 1.14653358e+00], [ 2.02000000e+02, 2.57966338e-05, -2.25854266e-03, 7.41400587e-02, -1.15423938e+00, 1.13598402e+01, 1.10762225e+00], [ 1.97000000e+02, 2.40017298e-05, -2.12125930e-03, 7.03851343e-02, -1.10885141e+00, 1.10811860e+01, 1.19365483e+00], [ 1.95000000e+02, 2.46969467e-05, -2.16678796e-03, 7.13037966e-02, -1.11347385e+00, 1.10318337e+01, 1.16592199e+00], [ 1.93000000e+02, 2.36723928e-05, -2.09471471e-03, 6.94883903e-02, -1.09206240e+00, 1.08695266e+01, 1.18271973e+00]]), columns=columns) # this works fine coefficients.plot(x='mai_mass') plt.show() # this raises an error coefficients.plot(x='mai_mass', kind='scatter') plt.show() ``` #### Problem description `DataFrame.plot` raises a `ValueError` with message "scatter requires an x and y column" when trying to make a scatter plot. See traceback: ```python ~\Miniconda3\envs\simtra\lib\site-packages\pandas\plotting\_core.py in __call__(self, *args, **kwargs) 892 if kind in self._dataframe_kinds: 893 if isinstance(data, ABCDataFrame): --> 894 return plot_backend.plot(data, x=x, y=y, kind=kind, **kwargs) 895 else: 896 raise ValueError(f"plot kind {kind} can only be used for data frames") ~\Miniconda3\envs\simtra\lib\site-packages\pandas\plotting\_matplotlib\__init__.py in plot(data, kind, **kwargs) 58 ax = plt.gca() 59 kwargs["ax"] = getattr(ax, "left_ax", ax) ---> 60 plot_obj = PLOT_CLASSES[kind](data, **kwargs) 61 plot_obj.generate() 62 plot_obj.draw() ~\Miniconda3\envs\simtra\lib\site-packages\pandas\plotting\_matplotlib\core.py in __init__(self, data, x, y, s, c, **kwargs) 972 elif is_hashable(s) and s in data.columns: 973 s = data[s] --> 974 super().__init__(data, x, y, s=s, **kwargs) 975 if is_integer(c) and not self.data.columns.holds_integer(): 976 c = self.data.columns[c] ~\Miniconda3\envs\simtra\lib\site-packages\pandas\plotting\_matplotlib\core.py in __init__(self, data, x, y, **kwargs) 897 MPLPlot.__init__(self, data, **kwargs) 898 if x is None or y is None: --> 899 raise ValueError(self._kind + " requires an x and y column") 900 if is_integer(x) and not self.data.columns.holds_integer(): 901 x = self.data.columns[x] ValueError: scatter requires an x and y column ``` #### Expected Output No error raised as in the first example. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.7.7.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.1 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.1.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35920/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35920/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35921
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35921/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35921/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35921/events
https://github.com/pandas-dev/pandas/issues/35921
687,241,378
MDU6SXNzdWU2ODcyNDEzNzg=
35,921
test_datetime64_factorize failing on MacPython windows py_3.8_32/linux py_3.8_32
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "e11d21", "default": false, "description": "Blocking issue or pull request for an upcoming release", "id": 77550281, "name": "Blocker", "node_id": "MDU6TGFiZWw3NzU1MDI4MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-08-27T13:25:44Z
2020-09-07T19:08:52Z
2020-09-07T19:05:51Z
MEMBER
null
test added in #35775 https://dev.azure.com/pandas-dev/pandas-wheels/_build/results?buildId=40968&view=results
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35921/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35921/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35922
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35922/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35922/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35922/events
https://github.com/pandas-dev/pandas/issues/35922
687,264,722
MDU6SXNzdWU2ODcyNjQ3MjI=
35,922
BUG: Index.sort_values and Series.sort_values reverse duplicate order when ascending=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" } ]
null
3
2020-08-27T13:57:02Z
2020-10-31T14:49:14Z
2020-10-31T14:49:14Z
MEMBER
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [X] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python IN: import pandas as pd ind = pd.Index([1, 1, 2, 3]) ind, indexer = ind.sort_values(ascending=False, return_indexer=True) indexer OUT: array([3, 2, 1, 0], dtype=int64) ``` #### Problem description Came across this one while fixing #35584 in #35604. `sort_values` reverses duplicate order when `ascending=False`. This is clearest when calling `Index.sort_values`, because it can return an indexer, but it's also true for `Series.sort_values` and it propagates to `DataFrame.sort_values`. #35604 will make sorting in descending order stable for most `Index` types (leveraging nargsort from `sorting.py`), but the problem will remain for datetime-like index types and for Series and will require fixing. #### Expected Output ```python array([3, 2, 0, 1], dtype=int64) ``` Duplicates should maintain order when `descending=False`. This will also let us leverage the same sorting algorithm both for `Index` and `Series`. #### Additional use cases Some additional use cases from the PR. ```python s = pd.Series(["A", "AA", "BB", "CAC"], dtype="object") s.sort_values(ascending=False, key=lambda ser: ser.str.len()) OUT: 3 CAC 2 BB 1 AA 0 A dtype: object ``` I don't think that swapping is expected here. Then consider that you might be sorting a DataFrame with several columns, and a column with duplicates might be the first one. In this case you likely wouldn't expect a descending sort to change duplicate order. Or you could be using something like `nlargest` and get weirdness because there is a descending sort in there and it swaps elements. Obviously, we could get by with a convention that we always revert duplicate order with a descending sort by being careful, but I believe keeping duplicate order is cleaner. In cases where it doesn't matter, it's the same, and when it does matter (as in `nlargest` and the like), you don't need to remember that you need extra reversals. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : d0ca4b347b060bc4a49b2d31a818d5a28d1e665f python : 3.7.8.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : ru_RU.UTF-8 LOCALE : None.None pandas : 0.26.0.dev0+4054.gd0ca4b347 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 49.2.0.post20200714 Cython : 0.29.21 pytest : 5.4.3 hypothesis : 5.23.3 sphinx : 3.1.1 blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fsspec : 0.7.4 fastparquet : None gcsfs : 0.6.2 matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.4 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.3.1 sqlalchemy : 1.3.18 tables : 3.6.1 tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35922/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35922/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35923
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35923/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35923/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35923/events
https://github.com/pandas-dev/pandas/issues/35923
687,299,171
MDU6SXNzdWU2ODcyOTkxNzE=
35,923
BUG: Inconsistent results using pd.json_normalize() on a generator object versus list (off by one)
{ "avatar_url": "https://avatars.githubusercontent.com/u/12517855?v=4", "events_url": "https://api.github.com/users/ldacey/events{/privacy}", "followers_url": "https://api.github.com/users/ldacey/followers", "following_url": "https://api.github.com/users/ldacey/following{/other_user}", "gists_url": "https://api.github.com/users/ldacey/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ldacey", "id": 12517855, "login": "ldacey", "node_id": "MDQ6VXNlcjEyNTE3ODU1", "organizations_url": "https://api.github.com/users/ldacey/orgs", "received_events_url": "https://api.github.com/users/ldacey/received_events", "repos_url": "https://api.github.com/users/ldacey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ldacey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ldacey/subscriptions", "type": "User", "url": "https://api.github.com/users/ldacey" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
2020-08-27T14:41:34Z
2020-12-30T14:08:34Z
2020-12-30T14:08:34Z
NONE
null
- [ x] I have checked that this issue has not already been reported. - [ x] I have confirmed this bug exists on the latest version of pandas. --- #### Code Sample, a copy-pastable example Only one value is returned with this: ```python def gen(): test = [{'created_at': '2020-08-24T09:30:05Z', '_id': '5f43889de6a98fd57afce7be'}, {'created_at': '2020-08-23T11:16:09Z', '_id': '5f44b03799944352493d9317'}, ] for val in test: yield val results = gen() pd.json_normalize(results) ``` ![image](https://user-images.githubusercontent.com/12517855/91455973-528e3f00-e8b5-11ea-9aa4-84d1aba7fc3c.png) This returns all values though: ``` results = gen() list_ = [x for x in results] pd.json_normalize(list_) ``` And so does this: ```python def list_(): final = [] test = [{'created_at': '2020-08-24T09:30:05Z', '_id': '5f43889de6a98fd57afce7be'}, {'created_at': '2020-08-23T11:16:09Z', '_id': '5f44b03799944352493d9317'}, ] for val in test: final.append(val) return final results = list_() pd.json_normalize(results) ``` ![image](https://user-images.githubusercontent.com/12517855/91456094-72bdfe00-e8b5-11ea-9d78-e7415b3ef46c.png) #### Problem description Using pd.json_normalize() on a generator always seems to reduce the expected results by 1. I first noticed this on a REST API where a column informed me that I should expect 901 results but I kept getting 900 results each time. When I tried to append the results to a list and normalize that, I got the expected 901 results. #### Expected Output Perhaps this is an expected output. It just caused me some headaches earlier and it was not immediately obvious that I was missing one record. I would expect that my example above would result in the same 2 row DataFrame. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : d9fff2792bf16178d4e450fe7384244e50635733 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-1028-azure Version : #29~18.04.1-Ubuntu SMP Fri Jun 5 14:32:34 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.0 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 49.6.0.post20200814 Cython : 0.29.21 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.5 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 7.17.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fsspec : 0.7.4 fastparquet : None gcsfs : None matplotlib : 3.3.0 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.4 pandas_gbq : None pyarrow : 1.0.0 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : None numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35923/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35923/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35924
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35924/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35924/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35924/events
https://github.com/pandas-dev/pandas/pull/35924
687,300,342
MDExOlB1bGxSZXF1ZXN0NDc0NzQ4ODE5
35,924
REF: use BlockManager.apply for DataFrameGroupBy.count
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-27T14:43:01Z
2020-09-04T20:50:50Z
2020-09-04T20:47:13Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35924/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35924/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35924.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35924", "merged_at": "2020-09-04T20:47:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35924.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35924" }
https://api.github.com/repos/pandas-dev/pandas/issues/35925
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35925/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35925/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35925/events
https://github.com/pandas-dev/pandas/issues/35925
687,354,657
MDU6SXNzdWU2ODczNTQ2NTc=
35,925
CLN remove unnecessary trailing commas to get ready for new version of black
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
20
2020-08-27T15:52:10Z
2020-09-22T13:39:07Z
2020-09-22T13:37:59Z
MEMBER
null
The new version of `black` is consistent in how it handles the magic trailing commas. So if we upgrade `black` and apply it, lots of files will be changed. However, the diff needn't be so large if we remove unnecessary trailing commas before upgrading. E.g. in pandas/core/aggregation.py there is ```python def reconstruct_func( func: Optional[AggFuncType], **kwargs, ) -> Tuple[ bool, Optional[AggFuncType], Optional[List[str]], Optional[List[int]], ]: ``` which has an unnecessary trailing comma. The new version of `black` would transform this as ```python def reconstruct_func( func: Optional[AggFuncType], **kwargs, ) -> Tuple[bool, Optional[AggFuncType], Optional[List[str]], Optional[List[int]],]: ``` However, if we instead remove the trailing comma and write it as ```python def reconstruct_func( func: Optional[AggFuncType], **kwargs ) -> Tuple[bool, Optional[AggFuncType], Optional[List[str]], Optional[List[int]]]: ``` then both the current and the new versions of black will be OK with it. So, PRs to remove some unnecessary trailing commas would be welcome - perhaps keep each PR limited to 5-10 files changed. Files that (may) need changing are: - [ ] /asv_bench/benchmarks/arithmetic.py - [ ] /pandas/core/array_algos/replace.py - [x] /doc/make.py - [ ] /doc/source/conf.py - [ ] /pandas/core/aggregation.py - [ ] /pandas/core/algorithms.py - [ ] /pandas/_vendored/typing_extensions.py - [ ] /pandas/core/util/numba_.py - [ ] /pandas/core/sorting.py - [ ] /pandas/io/formats/latex.py - [ ] /pandas/core/series.py - [ ] /pandas/io/formats/format.py - [ ] /pandas/core/frame.py - [ ] /pandas/tests/arrays/sparse/test_array.py - [ ] /pandas/tests/frame/test_analytics.py - [x] /pandas/tests/indexes/base_class/test_indexing.py - [x] /pandas/tests/indexes/test_common.py - [x] /pandas/tests/indexes/test_numeric.py - [ ] /pandas/tests/io/test_gcs.py - [ ] /pandas/tests/io/test_parquet.py - [ ] /pandas/tests/scalar/timestamp/test_constructors.py - [ ] /pandas/tests/series/test_operators.py - [ ] /scripts/tests/test_validate_docstrings.py EDIT ---- updated list of files which need changing
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35925/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35925/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35926
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35926/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35926/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35926/events
https://github.com/pandas-dev/pandas/pull/35926
687,362,943
MDExOlB1bGxSZXF1ZXN0NDc0ODAyMDM4
35,926
remove unnecessary trailing commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[]
closed
false
null
[]
null
0
2020-08-27T16:04:04Z
2020-08-27T16:05:37Z
2020-08-27T16:05:29Z
MEMBER
null
xref #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35926/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35926/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35926.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35926", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35926.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35926" }
https://api.github.com/repos/pandas-dev/pandas/issues/35927
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35927/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35927/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35927/events
https://github.com/pandas-dev/pandas/pull/35927
687,364,726
MDExOlB1bGxSZXF1ZXN0NDc0ODAzNTE3
35,927
CLN remove unnecessary trailing commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[]
closed
false
null
[]
null
1
2020-08-27T16:06:48Z
2020-08-27T16:18:53Z
2020-08-27T16:18:47Z
MEMBER
null
xref #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35927/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35927/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35927.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35927", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35927.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35927" }
https://api.github.com/repos/pandas-dev/pandas/issues/35928
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35928/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35928/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35928/events
https://github.com/pandas-dev/pandas/pull/35928
687,366,142
MDExOlB1bGxSZXF1ZXN0NDc0ODA0Njkz
35,928
Inconsistencies between python/cython groupby.agg behavior
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
null
10
2020-08-27T16:08:57Z
2020-09-17T20:56:49Z
2020-09-17T20:56:40Z
MEMBER
null
This is pretty ugly, but tentatively is sufficient to make #34997 pass. The upshot is that we have two problems: 1) in libreduction setting `setattr(cached_ityp, '_index_data', islider.buf)` silently does the wrong thing for EA-backed indexes 2) when we go through the non-libreduction path, we do things slightly differently, which requires more patches to get tests passing. cc @WillAyd
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35928/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35928/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35928.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35928", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35928.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35928" }
https://api.github.com/repos/pandas-dev/pandas/issues/35929
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35929/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35929/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35929/events
https://github.com/pandas-dev/pandas/pull/35929
687,373,624
MDExOlB1bGxSZXF1ZXN0NDc0ODEwODUy
35,929
CLN remove unnecessary trailing commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[]
closed
false
null
[]
null
3
2020-08-27T16:20:07Z
2020-10-10T14:14:44Z
2020-08-27T16:33:09Z
MEMBER
null
xref #35927
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35929/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35929/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35929.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35929", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35929.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35929" }
https://api.github.com/repos/pandas-dev/pandas/issues/35930
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35930/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35930/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35930/events
https://github.com/pandas-dev/pandas/pull/35930
687,375,207
MDExOlB1bGxSZXF1ZXN0NDc0ODEyMTU1
35,930
CLN remove unnecessary trailing commas from aggregation
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-27T16:22:26Z
2020-08-28T16:50:33Z
2020-08-28T09:21:59Z
MEMBER
null
xref #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35930/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35930/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35930.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35930", "merged_at": "2020-08-28T09:21:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35930.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35930" }
https://api.github.com/repos/pandas-dev/pandas/issues/35931
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35931/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35931/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35931/events
https://github.com/pandas-dev/pandas/issues/35931
687,389,797
MDU6SXNzdWU2ODczODk3OTc=
35,931
BUG: breaking change in df.replace() from 1.0.5 to 1.1.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/26316224?v=4", "events_url": "https://api.github.com/users/agnesbao/events{/privacy}", "followers_url": "https://api.github.com/users/agnesbao/followers", "following_url": "https://api.github.com/users/agnesbao/following{/other_user}", "gists_url": "https://api.github.com/users/agnesbao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/agnesbao", "id": 26316224, "login": "agnesbao", "node_id": "MDQ6VXNlcjI2MzE2MjI0", "organizations_url": "https://api.github.com/users/agnesbao/orgs", "received_events_url": "https://api.github.com/users/agnesbao/received_events", "repos_url": "https://api.github.com/users/agnesbao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/agnesbao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agnesbao/subscriptions", "type": "User", "url": "https://api.github.com/users/agnesbao" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
4
2020-08-27T16:45:23Z
2020-09-01T14:56:22Z
2020-09-01T14:56:22Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here df = pd.DataFrame({"age": range(1,100)}) df["age"] = pd.cut(df["age"], [0, 50, 65, 99], right=False) df.replace(to_replace={ "age":{ pd.Interval(0, 50, closed='left'): "Ages < 50", pd.Interval(50, 65, closed='left'): "Ages 50-64", pd.Interval(65, 99, closed='left'): "Ages 65+" } }) ``` #### Problem description The above sample code works in 1.0.5 but error out in 1.1.0 and above with error msg: ``` TypeError: Cannot compare types 'ndarray(dtype=object)' and 'Interval' ``` It only happens with pd.Interval dtype, nested dict of string to string mapping works fine. #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : e3bcf8d1949833793ff50cca393240dab0f0d461 python : 3.7.6.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.0.dev0+165.ge3bcf8d19 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 49.6.0.post20200814 Cython : 0.29.21 pytest : 6.0.1 hypothesis : 5.29.0 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : 1.3.3 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.17.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fsspec : 0.8.0 fastparquet : 0.4.1 gcsfs : None matplotlib : 3.3.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 0.15.1 pytables : None pyxlsb : None s3fs : 0.2.0 scipy : 1.5.2 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.16.0 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.50.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35931/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35931/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35932
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35932/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35932/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35932/events
https://github.com/pandas-dev/pandas/issues/35932
687,392,360
MDU6SXNzdWU2ODczOTIzNjA=
35,932
BUG:Installation errors on aarch64
{ "avatar_url": "https://avatars.githubusercontent.com/u/65007212?v=4", "events_url": "https://api.github.com/users/tathastu871/events{/privacy}", "followers_url": "https://api.github.com/users/tathastu871/followers", "following_url": "https://api.github.com/users/tathastu871/following{/other_user}", "gists_url": "https://api.github.com/users/tathastu871/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tathastu871", "id": 65007212, "login": "tathastu871", "node_id": "MDQ6VXNlcjY1MDA3MjEy", "organizations_url": "https://api.github.com/users/tathastu871/orgs", "received_events_url": "https://api.github.com/users/tathastu871/received_events", "repos_url": "https://api.github.com/users/tathastu871/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tathastu871/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tathastu871/subscriptions", "type": "User", "url": "https://api.github.com/users/tathastu871" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
null
10
2020-08-27T16:49:33Z
2020-09-03T10:49:57Z
2020-08-29T08:16:59Z
NONE
null
- [+] I have checked that this issue has not already been reported. - [+] I have confirmed this bug exists on the latest version of pandas. - [+] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here pip3 install pandas or pip3 install pandas --no-build-isolation --no-binary :all: or python setup.py build_ext --inplace --force or LDFLAGS=" -lm -lcompiler_rt" pip3 install pandas --no-build-isolation --no-binary :all: --no-use-pep517 ``` #### Problem description ```https://termbin.com/wzsr``` [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output #### Output of ``pd.show_versions()`` When installed from source instead of pip it installs pandas but no submodules Output of pd.show_versions() ```AttributeError: module 'pandas' has no attribute 'show_versions'``` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35932/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35932/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35933
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35933/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35933/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35933/events
https://github.com/pandas-dev/pandas/pull/35933
687,420,430
MDExOlB1bGxSZXF1ZXN0NDc0ODQ5ODEy
35,933
TYP: Annotations
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-27T17:34:52Z
2020-08-30T15:07:35Z
2020-08-30T12:01:51Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35933/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35933/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35933.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35933", "merged_at": "2020-08-30T12:01:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35933.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35933" }
https://api.github.com/repos/pandas-dev/pandas/issues/35934
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35934/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35934/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35934/events
https://github.com/pandas-dev/pandas/issues/35934
687,424,732
MDU6SXNzdWU2ODc0MjQ3MzI=
35,934
BUG: Inconsistency in `pd.to_datetime` with `orig` parameter according to docs.
{ "avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4", "events_url": "https://api.github.com/users/galipremsagar/events{/privacy}", "followers_url": "https://api.github.com/users/galipremsagar/followers", "following_url": "https://api.github.com/users/galipremsagar/following{/other_user}", "gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/galipremsagar", "id": 11664259, "login": "galipremsagar", "node_id": "MDQ6VXNlcjExNjY0MjU5", "organizations_url": "https://api.github.com/users/galipremsagar/orgs", "received_events_url": "https://api.github.com/users/galipremsagar/received_events", "repos_url": "https://api.github.com/users/galipremsagar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions", "type": "User", "url": "https://api.github.com/users/galipremsagar" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
3
2020-08-27T17:42:35Z
2021-04-20T04:00:43Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python >>> pd.to_datetime([1, 2, 3]) DatetimeIndex(['1970-01-01 00:00:00.000000001', '1970-01-01 00:00:00.000000002', '1970-01-01 00:00:00.000000003'], dtype='datetime64[ns]', freq=None) >>> pd.to_datetime([1, 2, 3], unit='D') # Expected DatetimeIndex(['1970-01-02', '1970-01-03', '1970-01-04'], dtype='datetime64[ns]', freq=None) >>> pd.to_datetime(['1', '2', '3'], unit='D') # Expected DatetimeIndex(['1970-01-02', '1970-01-03', '1970-01-04'], dtype='datetime64[ns]', freq=None) >>> pd.to_datetime(['1', '2', '3'], format='%d') # Inconsistent, was expecting this to be equivalent of above. DatetimeIndex(['1900-01-01', '1900-01-02', '1900-01-03'], dtype='datetime64[ns]', freq=None) ``` #### Problem description According to the `pd.to_datetime` docs, the default `orig` parameter is `unix` where the time starts at `1970-01-01`. In which case I would be expecting `pd.to_datetime(['1', '2', '3'], format='%d')` to return `1970` years dates instead of treating `1900` as origin. #### Expected Output ```python >>> pd.to_datetime(['1', '2', '3'], unit='D') DatetimeIndex(['1970-01-02', '1970-01-03', '1970-01-04'], dtype='datetime64[ns]', freq=None) >>> pd.to_datetime(['1', '2', '3'], format='%d') DatetimeIndex(['1970-01-02', '1970-01-03', '1970-01-04'], dtype='datetime64[ns]', freq=None) ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : d9fff2792bf16178d4e450fe7384244e50635733 python : 3.7.3.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : en_US.UTF-8 pandas : 1.1.0 numpy : 1.19.0 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 49.1.0 Cython : None pytest : None hypothesis : 5.29.0 sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35934/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35934/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35935
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35935/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35935/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35935/events
https://github.com/pandas-dev/pandas/pull/35935
687,438,530
MDExOlB1bGxSZXF1ZXN0NDc0ODY0NTYw
35,935
TYP: annotations in pandas.plotting
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-27T18:06:46Z
2020-08-28T17:09:57Z
2020-08-28T09:07:06Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35935/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35935/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35935.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35935", "merged_at": "2020-08-28T09:07:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35935.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35935" }
https://api.github.com/repos/pandas-dev/pandas/issues/35936
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35936/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35936/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35936/events
https://github.com/pandas-dev/pandas/pull/35936
687,510,191
MDExOlB1bGxSZXF1ZXN0NDc0OTI0Mjc4
35,936
REGR: Fix inplace updates on column to set correct values
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
4
2020-08-27T20:11:50Z
2020-08-31T13:09:24Z
2020-08-31T12:36:13Z
MEMBER
null
Closes #35731
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35936/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35936/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35936.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35936", "merged_at": "2020-08-31T12:36:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35936.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35936" }
https://api.github.com/repos/pandas-dev/pandas/issues/35937
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35937/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35937/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35937/events
https://github.com/pandas-dev/pandas/pull/35937
687,606,909
MDExOlB1bGxSZXF1ZXN0NDc1MDAzODY4
35,937
BUG: BlockSlider not clearing index._cache
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-27T23:33:20Z
2020-09-02T17:00:22Z
2020-09-02T03:18:17Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35937/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35937/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35937.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35937", "merged_at": "2020-09-02T03:18:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35937.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35937" }
https://api.github.com/repos/pandas-dev/pandas/issues/35938
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35938/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35938/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35938/events
https://github.com/pandas-dev/pandas/pull/35938
687,642,416
MDExOlB1bGxSZXF1ZXN0NDc1MDMzMDU4
35,938
REGR: Fix comparison broadcasting over array of Intervals
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
5
2020-08-28T01:21:44Z
2020-09-01T14:55:45Z
2020-08-31T22:32:34Z
MEMBER
null
- [x] closes https://github.com/pandas-dev/pandas/issues/35931 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35938/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35938/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35938.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35938", "merged_at": "2020-08-31T22:32:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35938.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35938" }
https://api.github.com/repos/pandas-dev/pandas/issues/35939
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35939/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35939/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35939/events
https://github.com/pandas-dev/pandas/pull/35939
687,646,188
MDExOlB1bGxSZXF1ZXN0NDc1MDM2MDc5
35,939
TYP: annotations in core.groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-08-28T01:34:17Z
2020-08-31T14:44:24Z
2020-08-31T10:16:16Z
MEMBER
null
I'm still seeing a couple of mypy complaints, suggestions @simonjayhawkins ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35939/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35939/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35939.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35939", "merged_at": "2020-08-31T10:16:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35939.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35939" }
https://api.github.com/repos/pandas-dev/pandas/issues/35940
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35940/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35940/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35940/events
https://github.com/pandas-dev/pandas/issues/35940
687,648,904
MDU6SXNzdWU2ODc2NDg5MDQ=
35,940
BUG:Pandas 1.0.3 → 1.1.1 behavior change on DataFrame.apply() whith raw option and func returning string
{ "avatar_url": "https://avatars.githubusercontent.com/u/20515202?v=4", "events_url": "https://api.github.com/users/m-hunsicker/events{/privacy}", "followers_url": "https://api.github.com/users/m-hunsicker/followers", "following_url": "https://api.github.com/users/m-hunsicker/following{/other_user}", "gists_url": "https://api.github.com/users/m-hunsicker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/m-hunsicker", "id": 20515202, "login": "m-hunsicker", "node_id": "MDQ6VXNlcjIwNTE1MjAy", "organizations_url": "https://api.github.com/users/m-hunsicker/orgs", "received_events_url": "https://api.github.com/users/m-hunsicker/received_events", "repos_url": "https://api.github.com/users/m-hunsicker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/m-hunsicker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/m-hunsicker/subscriptions", "type": "User", "url": "https://api.github.com/users/m-hunsicker" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2020-10-05T18:41:57Z", "closed_issues": 106, "created_at": "2020-09-07T09:13:14Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-29T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/77", "id": 5850626, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels", "node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==", "number": 77, "open_issues": 0, "state": "closed", "title": "1.1.3", "updated_at": "2020-10-29T13:15:36Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77" }
3
2020-08-28T01:42:52Z
2020-09-24T23:42:19Z
2020-09-24T23:42:19Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- ```python df_1 = pd.DataFrame({'A': ["aa","bbb"]}) df_2 = pd.DataFrame({'A': ["bbb","aa"]}) def get_value(array): return array[0] r_1 = df_1.apply(get_value, axis=1, raw=True) r_2 = df_2.apply(get_value, axis=1, raw=True) print(r_1) print(r_2) ``` #### Output 0 aa 1 bb dtype: object 0 bbb 1 aa dtype: object #### Problem description The results are truncated when the smallest strings is first. However, when the result (eg. array[0]) is printed before the return of the func, it's displays the correct value. (This issue occurred when using apply with the raw option for a function using several columns) #### Expected Output 0 aa 1 bbb dtype: object 0 bbb 1 aa dtype: object #### Output of ``pd.show_versions()`` <details> Pandas 1.1.1 Numpy 1.19.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35940/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35940/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35941
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35941/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35941/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35941/events
https://github.com/pandas-dev/pandas/pull/35941
687,695,490
MDExOlB1bGxSZXF1ZXN0NDc1MDc1NzIw
35,941
DOC: complement the documentation for pandas.DataFrame.agg #35912
{ "avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4", "events_url": "https://api.github.com/users/onshek/events{/privacy}", "followers_url": "https://api.github.com/users/onshek/followers", "following_url": "https://api.github.com/users/onshek/following{/other_user}", "gists_url": "https://api.github.com/users/onshek/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/onshek", "id": 21543236, "login": "onshek", "node_id": "MDQ6VXNlcjIxNTQzMjM2", "organizations_url": "https://api.github.com/users/onshek/orgs", "received_events_url": "https://api.github.com/users/onshek/received_events", "repos_url": "https://api.github.com/users/onshek/repos", "site_admin": false, "starred_url": "https://api.github.com/users/onshek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/onshek/subscriptions", "type": "User", "url": "https://api.github.com/users/onshek" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-08-28T04:06:05Z
2020-08-31T18:40:16Z
2020-08-31T18:40:13Z
CONTRIBUTOR
null
- [x] closes #35912 - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry <img width="676" alt="Screenshot 2020-08-28 at 11 59 23" src="https://user-images.githubusercontent.com/21543236/91519967-a71dd280-e926-11ea-87f5-e647fe650168.png">
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35941/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35941/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35941.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35941", "merged_at": "2020-08-31T18:40:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35941.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35941" }
https://api.github.com/repos/pandas-dev/pandas/issues/35942
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35942/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35942/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35942/events
https://github.com/pandas-dev/pandas/issues/35942
687,699,838
MDU6SXNzdWU2ODc2OTk4Mzg=
35,942
CLN: DeprecationWarning in `_testing`
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "f2f074", "default": false, "description": "Warnings that appear or should be added to pandas", "id": 1628184320, "name": "Warnings", "node_id": "MDU6TGFiZWwxNjI4MTg0MzIw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings" } ]
open
false
null
[]
null
0
2020-08-28T04:19:27Z
2020-09-04T19:33:25Z
null
MEMBER
null
``` pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-0] pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-0] pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-1] pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-DatetimeIndex-datetime64[ns]-ctor0-1] pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-0] pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-0] pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-1] pandas/tests/indexes/test_index_new.py::TestIndexConstructorInference::test_constructor_infer_nat_dt_like[<NA>-TimedeltaIndex-timedelta64[ns]-ctor1-1] /home/fangchenli/Workspace/pandas-VirosaLi/pandas/_testing.py:790: DeprecationWarning: elementwise comparison failed; this will raise an error in the future. diff = np.sum((left.values != right.values).astype(int)) * 100.0 / len(left) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35942/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35942/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35943
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35943/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35943/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35943/events
https://github.com/pandas-dev/pandas/pull/35943
687,700,309
MDExOlB1bGxSZXF1ZXN0NDc1MDc5NTkw
35,943
CLN: resolve DeprecationWarning in `pandas/_testing.py` #35942
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
5
2020-08-28T04:20:47Z
2020-10-05T00:16:32Z
2020-10-05T00:15:54Z
MEMBER
null
- [x] closes #35942 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35943/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35943/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35943.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35943", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35943.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35943" }
https://api.github.com/repos/pandas-dev/pandas/issues/35944
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35944/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35944/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35944/events
https://github.com/pandas-dev/pandas/pull/35944
687,721,447
MDExOlB1bGxSZXF1ZXN0NDc1MDk3MDM4
35,944
Version Number correction in to_json table
{ "avatar_url": "https://avatars.githubusercontent.com/u/10519440?v=4", "events_url": "https://api.github.com/users/iudeen/events{/privacy}", "followers_url": "https://api.github.com/users/iudeen/followers", "following_url": "https://api.github.com/users/iudeen/following{/other_user}", "gists_url": "https://api.github.com/users/iudeen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/iudeen", "id": 10519440, "login": "iudeen", "node_id": "MDQ6VXNlcjEwNTE5NDQw", "organizations_url": "https://api.github.com/users/iudeen/orgs", "received_events_url": "https://api.github.com/users/iudeen/received_events", "repos_url": "https://api.github.com/users/iudeen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/iudeen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/iudeen/subscriptions", "type": "User", "url": "https://api.github.com/users/iudeen" }
[]
closed
false
null
[]
null
2
2020-08-28T05:21:36Z
2020-08-29T18:45:42Z
2020-08-29T18:44:13Z
NONE
null
Added a line of code to obtain version of Pandas and display it in Schema of a table json when to_json(orient='table') is used. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35944/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35944/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35944.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35944", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35944.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35944" }
https://api.github.com/repos/pandas-dev/pandas/issues/35945
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35945/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35945/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35945/events
https://github.com/pandas-dev/pandas/issues/35945
687,727,698
MDU6SXNzdWU2ODc3Mjc2OTg=
35,945
CLN: UserWarning in `pandas/plotting/_matplotlib/core.py`
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "f2f074", "default": false, "description": "Warnings that appear or should be added to pandas", "id": 1628184320, "name": "Warnings", "node_id": "MDU6TGFiZWwxNjI4MTg0MzIw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-08-28T05:37:56Z
2020-09-05T03:33:50Z
2020-09-05T03:33:50Z
MEMBER
null
``` pandas/tests/plotting/test_frame.py: 10 warnings pandas/tests/plotting/test_series.py: 5 warnings /home/fangchenli/Workspace/pandas-VirosaLi/pandas/plotting/_matplotlib/core.py:1235: UserWarning: FixedFormatter should only be used together with FixedLocator ax.set_xticklabels(xticklabels) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35945/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35945/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35946
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35946/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35946/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35946/events
https://github.com/pandas-dev/pandas/pull/35946
687,728,518
MDExOlB1bGxSZXF1ZXN0NDc1MTAyOTg0
35,946
CLN: resolve UserWarning in `pandas/plotting/_matplotlib/core.py` #35945
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
6
2020-08-28T05:40:08Z
2020-10-02T11:56:55Z
2020-09-05T03:33:50Z
MEMBER
null
- [x] closes #35945 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35946/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35946/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35946.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35946", "merged_at": "2020-09-05T03:33:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35946.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35946" }
https://api.github.com/repos/pandas-dev/pandas/issues/35947
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35947/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35947/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35947/events
https://github.com/pandas-dev/pandas/pull/35947
687,768,820
MDExOlB1bGxSZXF1ZXN0NDc1MTQwNjQ3
35,947
paste_windows() wrong arg for c_wchar_p
{ "avatar_url": "https://avatars.githubusercontent.com/u/1397887?v=4", "events_url": "https://api.github.com/users/folger/events{/privacy}", "followers_url": "https://api.github.com/users/folger/followers", "following_url": "https://api.github.com/users/folger/following{/other_user}", "gists_url": "https://api.github.com/users/folger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/folger", "id": 1397887, "login": "folger", "node_id": "MDQ6VXNlcjEzOTc4ODc=", "organizations_url": "https://api.github.com/users/folger/orgs", "received_events_url": "https://api.github.com/users/folger/received_events", "repos_url": "https://api.github.com/users/folger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/folger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/folger/subscriptions", "type": "User", "url": "https://api.github.com/users/folger" }
[ { "color": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
6
2020-08-28T06:16:24Z
2021-01-01T22:07:33Z
2021-01-01T22:07:33Z
NONE
null
paste_windows() now directly used handle return from safeGetClipboardData(CF_UNICODETEXT) as argument for c_wchar_p, which should used safeGlobalLock(handle) instead, while copy_windows(text) doing the right thing. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35947/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35947/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35947.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35947", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35947.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35947" }
https://api.github.com/repos/pandas-dev/pandas/issues/35948
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35948/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35948/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35948/events
https://github.com/pandas-dev/pandas/issues/35948
687,824,893
MDU6SXNzdWU2ODc4MjQ4OTM=
35,948
DOC: "engine=odf" option should ask you to install pyodf instead of odf in pandas.read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/2520893?v=4", "events_url": "https://api.github.com/users/TrigonaMinima/events{/privacy}", "followers_url": "https://api.github.com/users/TrigonaMinima/followers", "following_url": "https://api.github.com/users/TrigonaMinima/following{/other_user}", "gists_url": "https://api.github.com/users/TrigonaMinima/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TrigonaMinima", "id": 2520893, "login": "TrigonaMinima", "node_id": "MDQ6VXNlcjI1MjA4OTM=", "organizations_url": "https://api.github.com/users/TrigonaMinima/orgs", "received_events_url": "https://api.github.com/users/TrigonaMinima/received_events", "repos_url": "https://api.github.com/users/TrigonaMinima/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TrigonaMinima/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TrigonaMinima/subscriptions", "type": "User", "url": "https://api.github.com/users/TrigonaMinima" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
5
2020-08-28T06:44:41Z
2020-09-07T11:16:12Z
2020-09-07T11:16:12Z
CONTRIBUTOR
null
#### Location of the documentation "pandas.read_excel" #### Documentation problem When `engine="odf"` is used and `pyodf` is not installed it gives an error that you should install optional dependency odf as `pip or conda install odf`. This pip/conda command fails because there's no module called `odf`. This could also be a security vulnerability if someone puts a malicious "odf" module on pypi. #### Suggested fix for documentation The error should ask you to install odf using `pip or conda install pyodf`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35948/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35948/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35949
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35949/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35949/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35949/events
https://github.com/pandas-dev/pandas/pull/35949
687,844,124
MDExOlB1bGxSZXF1ZXN0NDc1MjEyNDk1
35,949
CLN remove unnecessary trailing commas to get ready for new version of black: _testing -> generic
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-08-28T06:59:47Z
2020-08-28T16:50:38Z
2020-08-28T09:26:44Z
MEMBER
null
xref #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35949/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35949/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35949.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35949", "merged_at": "2020-08-28T09:26:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35949.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35949" }
https://api.github.com/repos/pandas-dev/pandas/issues/35950
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35950/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35950/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35950/events
https://github.com/pandas-dev/pandas/pull/35950
687,888,511
MDExOlB1bGxSZXF1ZXN0NDc1MjUxMDA2
35,950
CLN remove unnecessary trailing commas to get ready for new version of black: generic -> blocks
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-08-28T08:00:48Z
2020-08-28T16:50:43Z
2020-08-28T09:27:17Z
MEMBER
null
xref #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35950/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35950/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35950.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35950", "merged_at": "2020-08-28T09:27:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35950.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35950" }
https://api.github.com/repos/pandas-dev/pandas/issues/35951
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35951/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35951/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35951/events
https://github.com/pandas-dev/pandas/pull/35951
687,944,273
MDExOlB1bGxSZXF1ZXN0NDc1Mjk3MjMy
35,951
BUG: Fix DataFrame.groupby().apply() for NaN groups with dropna=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/14267968?v=4", "events_url": "https://api.github.com/users/cwkwong/events{/privacy}", "followers_url": "https://api.github.com/users/cwkwong/followers", "following_url": "https://api.github.com/users/cwkwong/following{/other_user}", "gists_url": "https://api.github.com/users/cwkwong/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cwkwong", "id": 14267968, "login": "cwkwong", "node_id": "MDQ6VXNlcjE0MjY3OTY4", "organizations_url": "https://api.github.com/users/cwkwong/orgs", "received_events_url": "https://api.github.com/users/cwkwong/received_events", "repos_url": "https://api.github.com/users/cwkwong/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cwkwong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cwkwong/subscriptions", "type": "User", "url": "https://api.github.com/users/cwkwong" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-08-28T09:33:10Z
2020-09-05T03:15:11Z
2020-09-05T03:15:05Z
CONTRIBUTOR
null
- [X] closes #35889 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry in `v1.1.2.rst`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35951/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35951/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35951.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35951", "merged_at": "2020-09-05T03:15:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35951.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35951" }
https://api.github.com/repos/pandas-dev/pandas/issues/35952
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35952/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35952/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35952/events
https://github.com/pandas-dev/pandas/issues/35952
688,019,998
MDU6SXNzdWU2ODgwMTk5OTg=
35,952
BUG: Series.fillna(..., inplace=True) causes subsequent df.sort_values() to crash for categorical dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/41120183?v=4", "events_url": "https://api.github.com/users/DanielFEvans/events{/privacy}", "followers_url": "https://api.github.com/users/DanielFEvans/followers", "following_url": "https://api.github.com/users/DanielFEvans/following{/other_user}", "gists_url": "https://api.github.com/users/DanielFEvans/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DanielFEvans", "id": 41120183, "login": "DanielFEvans", "node_id": "MDQ6VXNlcjQxMTIwMTgz", "organizations_url": "https://api.github.com/users/DanielFEvans/orgs", "received_events_url": "https://api.github.com/users/DanielFEvans/received_events", "repos_url": "https://api.github.com/users/DanielFEvans/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DanielFEvans/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanielFEvans/subscriptions", "type": "User", "url": "https://api.github.com/users/DanielFEvans" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2020-08-28T11:50:26Z
2020-08-28T12:40:30Z
2020-08-28T12:40:30Z
CONTRIBUTOR
null
- [ x ] I have checked that this issue has not already been reported. - [ x ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np # Fillna without inplace - everything works OK. df = pd.DataFrame({"a": [1, 5, 7, 3, 7], "b": ["a", "b", "c", "d", np.nan]}) df["b"] = df["b"].astype("category") df["b"] = df["b"].fillna("a") df = df.sort_values(by="a") print(df) # As above, but the fillna() is done inplace df = pd.DataFrame({"a": [1, 5, 7, 3, 7], "b": ["a", "b", "c", "d", np.nan]}) df["b"] = df["b"].astype("category") df["b"].fillna("a", inplace=True) # df looks normal here - the np.nan has been replaced print(df) df = df.sort_values(by="a") # Crash ``` Traceback: <details> ``` Traceback (most recent call last): File "test.py", line 17, in <module> df = df.sort_values(by="a") File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/core/frame.py", line 5301, in sort_values indexer, axis=self._get_block_manager_axis(axis), verify=False File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/core/internals/managers.py", line 1415, in take new_axis=new_labels, indexer=indexer, axis=axis, allow_dups=True File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/core/internals/managers.py", line 1259, in reindex_indexer for blk in self.blocks File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/core/internals/managers.py", line 1259, in <listcomp> for blk in self.blocks File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/core/internals/blocks.py", line 1720, in take_nd new_values = self.values.take(indexer, fill_value=fill_value, allow_fill=True) File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/core/series.py", line 829, in take nv.validate_take(tuple(), kwargs) File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/compat/numpy/function.py", line 68, in __call__ validate_kwargs(fname, kwargs, self.defaults) File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/util/_validators.py", line 148, in validate_kwargs _check_for_invalid_keys(fname, kwargs, compat_args) File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/pandas/util/_validators.py", line 122, in _check_for_invalid_keys raise TypeError(f"{fname}() got an unexpected keyword argument '{bad_arg}'") TypeError: take() got an unexpected keyword argument 'allow_fill' ``` </details> #### Problem description If a dataframe contains a categorical column, `df["col"].fillna(..., inplace=True)` is called on that column, and the dataframe is subsequently sorted by a different column, Pandas will crash due to an internal error. This error only occurs in Pandas 1.1.0/1.1.1 (latest at time of writing); Pandas 1.0.5 and below behaves correctly. Briefly poking around the internals of Pandas, the difference seems to be that `self.values.take` in `take_nd()` is operating on a `pandas.core.series.Series` object in the latest Pandas (i.e. `self.values` is a Series), but was formerly working with a `pandas.core.arrays.categorical.Categorical` object in 1.0.5 and below. As the traceback states, `Series` does not support `allow_fill` in its `take()` function, while most other implementations of `take()` in Pandas do allow it. #### Expected Output The two versions of the code both run, producting the sorted, na-filled output dataframe: ``` a b 0 1 a 3 3 d 1 5 b 2 7 c 4 7 a ``` #### Output of ``pd.show_versions()`` <details> >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : d9fff2792bf16178d4e450fe7384244e50635733 python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 3.10.0-1127.13.1.el7.x86_64 Version : #1 SMP Tue Jun 23 10:32:27 CDT 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.0 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 45.2.0 Cython : 0.29.14 pytest : 5.4.3 hypothesis : 5.16.0 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext) jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.6.2 fastparquet : None gcsfs : None matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None pyxlsb : None s3fs : None scipy : 1.2.1 sqlalchemy : None tables : 3.5.2 tabulate : 0.8.6 xarray : None xlrd : 1.2.0 xlwt : None numba : 0.51.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35952/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35952/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35953
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35953/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35953/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35953/events
https://github.com/pandas-dev/pandas/pull/35953
688,151,143
MDExOlB1bGxSZXF1ZXN0NDc1NDY4Njgx
35,953
TYP: misc typing cleanups for #29116
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-28T15:20:55Z
2020-08-30T18:41:14Z
2020-08-30T17:50:38Z
MEMBER
null
pandas\core\frame.py:7429:59: error: Argument 3 to "relabel_result" has incompatible type "Optional[List[str]]"; expected "Tuple[Any, ...]" [arg-type] pandas\core\frame.py:7429:68: error: Argument 4 to "relabel_result" has incompatible type "Optional[List[int]]"; expected "List[int]" [arg-type]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35953/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35953/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35953.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35953", "merged_at": "2020-08-30T17:50:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35953.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35953" }
https://api.github.com/repos/pandas-dev/pandas/issues/35954
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35954/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35954/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35954/events
https://github.com/pandas-dev/pandas/pull/35954
688,154,740
MDExOlB1bGxSZXF1ZXN0NDc1NDcxNjYw
35,954
TYP: misc typing cleanups for #32911
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-28T15:26:28Z
2020-08-29T18:23:23Z
2020-08-29T11:39:36Z
MEMBER
null
pandas\io\excel\_odswriter.py:39:5: error: Argument 5 of "write_cells" is incompatible with supertype "ExcelWriter"; supertype defines the argument type as "Optional[Tuple[int, int]]" [override] pandas\io\excel\_odswriter.py:62:35: error: Argument 1 to "_validate_freeze_panes" has incompatible type "Optional[List[Any]]"; expected "Optional[Tuple[int, int]]" [arg-type]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35954/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35954/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35954.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35954", "merged_at": "2020-08-29T11:39:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35954.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35954" }
https://api.github.com/repos/pandas-dev/pandas/issues/35955
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35955/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35955/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35955/events
https://github.com/pandas-dev/pandas/pull/35955
688,163,423
MDExOlB1bGxSZXF1ZXN0NDc1NDc4ODEz
35,955
TYP: misc cleanup in core\groupby\generic.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-28T15:40:41Z
2020-08-28T17:58:18Z
2020-08-28T17:00:58Z
MEMBER
null
pandas\core\groupby\generic.py:610: error: Too many arguments [call-arg] pandas\core\groupby\generic.py:1212: error: "create_series_with_explicit_dtype" gets multiple values for keyword argument "dtype_if_empty" [misc]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35955/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35955/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35955.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35955", "merged_at": "2020-08-28T17:00:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35955.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35955" }
https://api.github.com/repos/pandas-dev/pandas/issues/35956
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35956/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35956/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35956/events
https://github.com/pandas-dev/pandas/pull/35956
688,208,628
MDExOlB1bGxSZXF1ZXN0NDc1NTE3Njgy
35,956
Issue35925 remove trailing commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/27659352?v=4", "events_url": "https://api.github.com/users/jpribyl/events{/privacy}", "followers_url": "https://api.github.com/users/jpribyl/followers", "following_url": "https://api.github.com/users/jpribyl/following{/other_user}", "gists_url": "https://api.github.com/users/jpribyl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jpribyl", "id": 27659352, "login": "jpribyl", "node_id": "MDQ6VXNlcjI3NjU5MzUy", "organizations_url": "https://api.github.com/users/jpribyl/orgs", "received_events_url": "https://api.github.com/users/jpribyl/received_events", "repos_url": "https://api.github.com/users/jpribyl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jpribyl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jpribyl/subscriptions", "type": "User", "url": "https://api.github.com/users/jpribyl" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-28T16:42:01Z
2020-08-28T18:06:28Z
2020-08-28T18:06:09Z
CONTRIBUTOR
null
xref #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35956/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35956/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35956.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35956", "merged_at": "2020-08-28T18:06:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35956.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35956" }
https://api.github.com/repos/pandas-dev/pandas/issues/35957
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35957/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35957/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35957/events
https://github.com/pandas-dev/pandas/pull/35957
688,224,091
MDExOlB1bGxSZXF1ZXN0NDc1NTMxMTA1
35,957
TYP: Remove NDFrame._add_series_or_dataframe_operations
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-28T17:04:32Z
2020-08-30T12:54:09Z
2020-08-30T12:00:25Z
CONTRIBUTOR
null
Refactoring ``NDFrame._add series or dataframe`` class method helps with typing.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35957/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35957/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35957.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35957", "merged_at": "2020-08-30T12:00:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35957.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35957" }
https://api.github.com/repos/pandas-dev/pandas/issues/35958
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35958/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35958/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35958/events
https://github.com/pandas-dev/pandas/issues/35958
688,241,392
MDU6SXNzdWU2ODgyNDEzOTI=
35,958
BUG: read_table raises ValueError when delim_whitespace is set to True
{ "avatar_url": "https://avatars.githubusercontent.com/u/9002566?v=4", "events_url": "https://api.github.com/users/cgmorton/events{/privacy}", "followers_url": "https://api.github.com/users/cgmorton/followers", "following_url": "https://api.github.com/users/cgmorton/following{/other_user}", "gists_url": "https://api.github.com/users/cgmorton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cgmorton", "id": 9002566, "login": "cgmorton", "node_id": "MDQ6VXNlcjkwMDI1NjY=", "organizations_url": "https://api.github.com/users/cgmorton/orgs", "received_events_url": "https://api.github.com/users/cgmorton/received_events", "repos_url": "https://api.github.com/users/cgmorton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cgmorton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cgmorton/subscriptions", "type": "User", "url": "https://api.github.com/users/cgmorton" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-10-05T18:41:57Z", "closed_issues": 106, "created_at": "2020-09-07T09:13:14Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-29T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/77", "id": 5850626, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels", "node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==", "number": 77, "open_issues": 0, "state": "closed", "title": "1.1.3", "updated_at": "2020-10-29T13:15:36Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77" }
4
2020-08-28T17:34:40Z
2020-09-26T10:31:10Z
2020-09-26T10:31:10Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import io import pandas as pd # Build a simple space delimited file buffer to read f = io.StringIO("a b c\n1 -2 -3\n4 5 6") # This raises an error df = pd.read_table(f, delim_whitespace=True) # Setting the "sep" parameter as suggested in the docs works # df = pd.read_table(f, sep='\s+') # print(df) # Not setting the delim_whitespace parameter or setting it to False works, # but without correct formatting. # df = pd.read_table(f) # print(df) ``` #### Problem description If you set the delim_whitespace to True when calling read_table() on a space delimited file, I get the following exception: ``` ValueError: Specified a delimiter with both sep and delim_whitespace=True; you can only specify one. ``` #### Expected Output I would expect the same output as you get if the sep='\s+' parameter is set (as suggested in the docs). #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.6.10.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Thu Jun 18 20:50:10 PDT 2020; root:xnu-4903.278.43~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.1 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 49.6.0.post20200814 Cython : None pytest : 5.4.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35958/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35958/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35959
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35959/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35959/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35959/events
https://github.com/pandas-dev/pandas/pull/35959
688,254,078
MDExOlB1bGxSZXF1ZXN0NDc1NTU1OTEx
35,959
Issue35925 remove more trailing commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/27659352?v=4", "events_url": "https://api.github.com/users/jpribyl/events{/privacy}", "followers_url": "https://api.github.com/users/jpribyl/followers", "following_url": "https://api.github.com/users/jpribyl/following{/other_user}", "gists_url": "https://api.github.com/users/jpribyl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jpribyl", "id": 27659352, "login": "jpribyl", "node_id": "MDQ6VXNlcjI3NjU5MzUy", "organizations_url": "https://api.github.com/users/jpribyl/orgs", "received_events_url": "https://api.github.com/users/jpribyl/received_events", "repos_url": "https://api.github.com/users/jpribyl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jpribyl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jpribyl/subscriptions", "type": "User", "url": "https://api.github.com/users/jpribyl" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-28T17:55:58Z
2020-08-28T18:40:00Z
2020-08-28T18:39:49Z
CONTRIBUTOR
null
xref #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35959/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35959/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35959.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35959", "merged_at": "2020-08-28T18:39:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35959.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35959" }
https://api.github.com/repos/pandas-dev/pandas/issues/35960
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35960/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35960/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35960/events
https://github.com/pandas-dev/pandas/pull/35960
688,272,816
MDExOlB1bGxSZXF1ZXN0NDc1NTcyMjc0
35,960
TYP: annotate plotting based on _get_axe_freq
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-28T18:20:48Z
2020-08-30T15:06:52Z
2020-08-30T11:59:01Z
MEMBER
null
In some places in plotting `ax` is an Axes object and in other its an Axis object. Current goal is to pin these down. in timeseries._get_ax_freq we call `ax.get_shared_x_axes()`, which is an Axes method that does not exist on Axis. This annotates that usage and annotates all the other places where we can infer Axes from that.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35960/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35960/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35960.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35960", "merged_at": "2020-08-30T11:59:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35960.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35960" }
https://api.github.com/repos/pandas-dev/pandas/issues/35961
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35961/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35961/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35961/events
https://github.com/pandas-dev/pandas/issues/35961
688,275,609
MDU6SXNzdWU2ODgyNzU2MDk=
35,961
BUG: Unable to add np.timedelta64 + pd.Interval(pd.Timestamp, pd.Timestamp)
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
null
0
2020-08-28T18:26:08Z
2020-08-30T02:41:13Z
2020-08-30T02:41:13Z
MEMBER
null
Note: this is currently _not_ a bug on master but will be after https://github.com/pandas-dev/pandas/pull/35938, which reverts a change that caused other regressions. ```python import numpy as np import pandas as pd delta = np.timedelta64(0) interval = pd.Interval(pd.Timestamp("2020-01-01"), pd.Timestamp("2020-02-01")) delta + interval ``` ```python UFuncTypeError Traceback (most recent call last) <ipython-input-1-2c3b3a0b4fb8> in <module> 4 delta = np.timedelta64(0) 5 interval = pd.Interval(pd.Timestamp("2020-01-01"), pd.Timestamp("2020-02-01")) ----> 6 delta + interval UFuncTypeError: ufunc 'add' cannot use operands with types dtype('<m8') and dtype('O') ``` Flipping the operands however works ```python interval + delta ``` ```python Interval('2020-01-01', '2020-02-01', closed='right') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35961/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35961/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35962
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35962/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35962/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35962/events
https://github.com/pandas-dev/pandas/issues/35962
688,277,430
MDU6SXNzdWU2ODgyNzc0MzA=
35,962
ENH: Shuffle DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/44003352?v=4", "events_url": "https://api.github.com/users/bpmeek/events{/privacy}", "followers_url": "https://api.github.com/users/bpmeek/followers", "following_url": "https://api.github.com/users/bpmeek/following{/other_user}", "gists_url": "https://api.github.com/users/bpmeek/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bpmeek", "id": 44003352, "login": "bpmeek", "node_id": "MDQ6VXNlcjQ0MDAzMzUy", "organizations_url": "https://api.github.com/users/bpmeek/orgs", "received_events_url": "https://api.github.com/users/bpmeek/received_events", "repos_url": "https://api.github.com/users/bpmeek/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bpmeek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bpmeek/subscriptions", "type": "User", "url": "https://api.github.com/users/bpmeek" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2020-08-28T18:29:24Z
2020-08-28T18:54:01Z
2020-08-28T18:53:48Z
NONE
null
#### Is your feature request related to a problem? Multiple inquiries on Stackoverflow regarding how to shuffle/permutation of dataframes. https://stackoverflow.com/questions/15772009/shuffling-permutating-a-dataframe-in-pandas https://stackoverflow.com/questions/24701217/randomizing-shuffling-rows-in-a-dataframe-in-pandas https://stackoverflow.com/questions/55538496/shuffling-a-dataframe #### Describe the solution you'd like DataFrame.shuffle(self, shuffle_amount, labels=None, groupe_tuples: bool: = False, inplace : bool = False) Shuffles values in dataframe (along an axis). Returns a new shuffled DataFrame if `inplace` argument is ``false``, otherwise updates the original DataFrame and returns None. Parameters ---------- shuffle_amount : double The percentage of each column to be shuffled labels : single label or list-like Index or column labels to shuffle. group_tuples : bool, default False Whether to shuffle labels independently or together inplace : bool, default False If true, perform operation in-place Returns ------- DataFrame Shuffled values #### API breaking implications No backwards compatibility issues #### Describe alternatives you've considered Users could create custom functions to achieve desired results. All examples listed above have such functions
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35962/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35962/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35963
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35963/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35963/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35963/events
https://github.com/pandas-dev/pandas/pull/35963
688,317,510
MDExOlB1bGxSZXF1ZXN0NDc1NjEwMDc3
35,963
TYP: misc cleanup in core\generic.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-28T19:43:38Z
2020-08-30T11:17:04Z
2020-08-29T23:57:01Z
MEMBER
null
pandas\core\generic.py:4707: error: Unsupported operand types for in ("Optional[str]" and "str") [operator] pandas\core\generic.py:6559: error: 'builtins.object' object is not iterable [misc]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35963/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35963/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35963.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35963", "merged_at": "2020-08-29T23:57:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35963.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35963" }
https://api.github.com/repos/pandas-dev/pandas/issues/35964
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35964/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35964/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35964/events
https://github.com/pandas-dev/pandas/pull/35964
688,340,457
MDExOlB1bGxSZXF1ZXN0NDc1NjI5MDk3
35,964
BUG/CLN: Decouple Series/DataFrame.transform
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-08-28T20:33:13Z
2020-12-03T21:44:40Z
2020-09-12T21:36:52Z
MEMBER
null
- [x] closes #35811 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry First step toward #35725. Currently `transform` just calls `aggregate`, and so if we are to forbid `aggregate` from transforming, these need to be decoupled. Other than the bugfix (#35811), the only other behavioral change is in the error messages. Assuming the bugfix #35811 is the correct behavior, docs/whatsnew also needs to be updated. I wasn't sure if tests should be marked with #35725 or perhaps this PR #. Any guidance here?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35964/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35964/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35964.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35964", "merged_at": "2020-09-12T21:36:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35964.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35964" }
https://api.github.com/repos/pandas-dev/pandas/issues/35965
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35965/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35965/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35965/events
https://github.com/pandas-dev/pandas/issues/35965
688,356,845
MDU6SXNzdWU2ODgzNTY4NDU=
35,965
BUG: DataFrame creates an object-dtype array for extension type scalars in dictionaries
{ "avatar_url": "https://avatars.githubusercontent.com/u/24326925?v=4", "events_url": "https://api.github.com/users/justinessert/events{/privacy}", "followers_url": "https://api.github.com/users/justinessert/followers", "following_url": "https://api.github.com/users/justinessert/following{/other_user}", "gists_url": "https://api.github.com/users/justinessert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/justinessert", "id": 24326925, "login": "justinessert", "node_id": "MDQ6VXNlcjI0MzI2OTI1", "organizations_url": "https://api.github.com/users/justinessert/orgs", "received_events_url": "https://api.github.com/users/justinessert/received_events", "repos_url": "https://api.github.com/users/justinessert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/justinessert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/justinessert/subscriptions", "type": "User", "url": "https://api.github.com/users/justinessert" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-28T21:10:02Z
2020-09-11T13:03:03Z
2020-09-11T13:03:03Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python df = pd.DataFrame({ 'a': [pd.Period('2020-01')], 'b': pd.Period('2020-01') }) df.dtypes ``` #### Problem description In the example above, column `a` will be correctly created as a `period[m]` column, but column `b` will be an `object` type. This is similar to an [issue 34832](https://github.com/pandas-dev/pandas/issues/34832), but for a different DF instantiation method. #### Expected Output These two columns should have identical types. They should both be type `period[m]`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : c413df6d6a85eb411cba39b907fe7a74bdf4be1f python : 3.7.6.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.0.dev0+173.gc413df6d6.dirty numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.3.1.post20200616 Cython : 0.29.20 pytest : 5.4.3 hypothesis : 5.16.2 sphinx : 3.1.1 blosc : 1.9.1 feather : None xlsxwriter : 1.2.9 lxml.etree : 4.5.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.15.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fsspec : 0.7.4 fastparquet : 0.4.0 gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.17.1 pytables : None pyxlsb : None s3fs : 0.4.2 scipy : 1.4.1 sqlalchemy : 1.3.17 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.50.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35965/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35965/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35966
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35966/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35966/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35966/events
https://github.com/pandas-dev/pandas/pull/35966
688,359,413
MDExOlB1bGxSZXF1ZXN0NDc1NjQ0NTky
35,966
BUG: instantiation using a dict with a period scalar
{ "avatar_url": "https://avatars.githubusercontent.com/u/24326925?v=4", "events_url": "https://api.github.com/users/justinessert/events{/privacy}", "followers_url": "https://api.github.com/users/justinessert/followers", "following_url": "https://api.github.com/users/justinessert/following{/other_user}", "gists_url": "https://api.github.com/users/justinessert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/justinessert", "id": 24326925, "login": "justinessert", "node_id": "MDQ6VXNlcjI0MzI2OTI1", "organizations_url": "https://api.github.com/users/justinessert/orgs", "received_events_url": "https://api.github.com/users/justinessert/received_events", "repos_url": "https://api.github.com/users/justinessert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/justinessert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/justinessert/subscriptions", "type": "User", "url": "https://api.github.com/users/justinessert" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-08-28T21:15:57Z
2020-10-10T15:07:02Z
2020-09-11T13:03:04Z
CONTRIBUTOR
null
- [x] closes #35965 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fixing bug discussed in [issue 35965](https://github.com/pandas-dev/pandas/issues/35965) where `pd.DataFrame({'a': pd.Period('2020-01')})` created `a` as an object column instead of a `period[m]` column. Changing the functionality of `infer_dtype_from_scalar` isn't necessarily required here, but the fact that `infer_dtype_from_scalar` would return the `period.ordinal` value seems inconsistent with the behavior for other dtypes in this function. Additionally, that functionality was only used in a single place within the code (`interval.py`), which I fixed accordingly.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35966/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35966/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35966.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35966", "merged_at": "2020-09-11T13:03:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35966.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35966" }
https://api.github.com/repos/pandas-dev/pandas/issues/35967
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35967/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35967/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35967/events
https://github.com/pandas-dev/pandas/pull/35967
688,374,763
MDExOlB1bGxSZXF1ZXN0NDc1NjU3NDE2
35,967
Deprecate groupby/pivot observed=False default
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[ { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
41
2020-08-28T21:52:59Z
2021-07-11T20:27:45Z
2021-07-11T20:27:45Z
CONTRIBUTOR
null
- [x] Relates to #17594, Closes #30552 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Had a relatively small 70k data frame that I was trying to do a groupby sum on blow up on me today. This was the reason. I had something like zip codes and cities as categoricals, expected SQL-like groupby but instead got a cartesian product of 'cities' and 'zips'. Sounds like there was some previous desire to explore a new default. Didn't try to do any wild stuff to keep up with the stacklevel depending on where this was called from.
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35967/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35967/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35967.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35967", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35967.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35967" }
https://api.github.com/repos/pandas-dev/pandas/issues/35968
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35968/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35968/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35968/events
https://github.com/pandas-dev/pandas/pull/35968
688,388,623
MDExOlB1bGxSZXF1ZXN0NDc1NjY3NzU2
35,968
TYP: annotate plotting._matplotlib.tools
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-28T22:30:05Z
2020-08-31T14:45:45Z
2020-08-31T10:15:05Z
MEMBER
null
Same idea as #35960, focused on clarifying Axis vs Axes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35968/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35968/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35968.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35968", "merged_at": "2020-08-31T10:15:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35968.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35968" }
https://api.github.com/repos/pandas-dev/pandas/issues/35969
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35969/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35969/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35969/events
https://github.com/pandas-dev/pandas/issues/35969
688,400,050
MDU6SXNzdWU2ODg0MDAwNTA=
35,969
QST: to_excel() deletes the existed sheets
{ "avatar_url": "https://avatars.githubusercontent.com/u/43381180?v=4", "events_url": "https://api.github.com/users/MFalghanmi/events{/privacy}", "followers_url": "https://api.github.com/users/MFalghanmi/followers", "following_url": "https://api.github.com/users/MFalghanmi/following{/other_user}", "gists_url": "https://api.github.com/users/MFalghanmi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MFalghanmi", "id": 43381180, "login": "MFalghanmi", "node_id": "MDQ6VXNlcjQzMzgxMTgw", "organizations_url": "https://api.github.com/users/MFalghanmi/orgs", "received_events_url": "https://api.github.com/users/MFalghanmi/received_events", "repos_url": "https://api.github.com/users/MFalghanmi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MFalghanmi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MFalghanmi/subscriptions", "type": "User", "url": "https://api.github.com/users/MFalghanmi" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
null
14
2020-08-28T23:11:06Z
2020-09-18T11:45:05Z
2020-09-18T11:45:05Z
NONE
null
- As per Pandas [documentation](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_excel.html), the to_excel() deletes the existed sheets in the excel document using the code below. I am not sure what is the issue. ```python with pd.ExcelWriter('pay_past_5_years.xlsx', mode='a') as writer: df.to_excel(writer, sheet_name='Sheet_name_3') ``` - The second question the mode is give error when using small 'a' char in mode. Here tip was found in [stackoverflow](https://stackoverflow.com/questions/54863238/pandas-excelwriter-valueerror-append-mode-is-not-supported-with-xlsxwriter/55683301) ```python ValueError: Append mode is not supported with xlsxwriter! ```` **The Pandas version is 1.0.5** Thank you
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35969/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35969/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35970
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35970/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35970/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35970/events
https://github.com/pandas-dev/pandas/pull/35970
688,442,417
MDExOlB1bGxSZXF1ZXN0NDc1NzA3ODU3
35,970
Comma cleanup for Issue #35925
{ "avatar_url": "https://avatars.githubusercontent.com/u/38149479?v=4", "events_url": "https://api.github.com/users/JonathanShrek/events{/privacy}", "followers_url": "https://api.github.com/users/JonathanShrek/followers", "following_url": "https://api.github.com/users/JonathanShrek/following{/other_user}", "gists_url": "https://api.github.com/users/JonathanShrek/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JonathanShrek", "id": 38149479, "login": "JonathanShrek", "node_id": "MDQ6VXNlcjM4MTQ5NDc5", "organizations_url": "https://api.github.com/users/JonathanShrek/orgs", "received_events_url": "https://api.github.com/users/JonathanShrek/received_events", "repos_url": "https://api.github.com/users/JonathanShrek/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JonathanShrek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JonathanShrek/subscriptions", "type": "User", "url": "https://api.github.com/users/JonathanShrek" }
[]
closed
false
null
[]
null
0
2020-08-29T02:40:36Z
2020-08-29T03:31:50Z
2020-08-29T03:31:50Z
CONTRIBUTOR
null
- [x] contributes to #35925 - [x] tests added / passed Tested with: `./ci/code_checks.sh` Files edited: pandas/tests/frame/test_analytics.py, pandas/tests/frame/test_constructors.py, pandas/tests/frame/test_reshape.py, pandas/tests/generic/test_finalize.py, pandas/tests/generic/test_to_xarray.py, pandas/tests/groupby/aggregate/test_numba.py
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35970/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35970/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35970.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35970", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35970.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35970" }
https://api.github.com/repos/pandas-dev/pandas/issues/35971
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35971/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35971/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35971/events
https://github.com/pandas-dev/pandas/pull/35971
688,457,737
MDExOlB1bGxSZXF1ZXN0NDc1NzE5NzEy
35,971
Comma cleanup
{ "avatar_url": "https://avatars.githubusercontent.com/u/38149479?v=4", "events_url": "https://api.github.com/users/JonathanShrek/events{/privacy}", "followers_url": "https://api.github.com/users/JonathanShrek/followers", "following_url": "https://api.github.com/users/JonathanShrek/following{/other_user}", "gists_url": "https://api.github.com/users/JonathanShrek/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JonathanShrek", "id": 38149479, "login": "JonathanShrek", "node_id": "MDQ6VXNlcjM4MTQ5NDc5", "organizations_url": "https://api.github.com/users/JonathanShrek/orgs", "received_events_url": "https://api.github.com/users/JonathanShrek/received_events", "repos_url": "https://api.github.com/users/JonathanShrek/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JonathanShrek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JonathanShrek/subscriptions", "type": "User", "url": "https://api.github.com/users/JonathanShrek" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
null
5
2020-08-29T04:38:16Z
2020-09-01T02:47:23Z
2020-09-01T02:47:14Z
CONTRIBUTOR
null
Comma cleanup for #35925
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35971/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35971/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35971.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35971", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35971.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35971" }
https://api.github.com/repos/pandas-dev/pandas/issues/35972
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35972/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35972/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35972/events
https://github.com/pandas-dev/pandas/issues/35972
688,461,964
MDU6SXNzdWU2ODg0NjE5NjQ=
35,972
BUG: rolling count does not respect the default behavior of min_periods
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
1
2020-08-29T05:11:31Z
2020-08-29T05:43:24Z
2020-08-29T05:43:24Z
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. Per the documentation: > For a window that is specified by an offset, min_periods will default to 1. Otherwise, min_periods will default to the size of the window. Therefore these two statements should be equal ``` In [4]: pd.__version__ Out[4]: '1.2.0.dev0+160.gd90b73bde' In [5]: pd.Series([np.nan] * 4).rolling(2).count() Out[5]: 0 0.0 1 0.0 2 0.0 3 0.0 dtype: float64 In [6]: pd.Series([np.nan] * 4).rolling(2, min_periods=2).count() Out[6]: 0 NaN 1 0.0 2 0.0 3 0.0 dtype: float64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35972/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35972/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35973
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35973/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35973/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35973/events
https://github.com/pandas-dev/pandas/pull/35973
688,482,989
MDExOlB1bGxSZXF1ZXN0NDc1NzM5Mzk0
35,973
ENH: implement timeszones support for read_json(orient='table') and astype() from 'object'
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
16
2020-08-29T07:45:26Z
2020-11-22T08:35:29Z
2020-11-04T03:00:06Z
CONTRIBUTOR
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Currently timezones raise a `NotImplementedError` when using the `read_json(orient='table')` method. This PR aims to fix what I believe is a fairly common request (numerous workarounds and questions exist on StackOverflow). The PR aims to reconstitute DataFrames via json columns with timezones, Index with timezones or MultiIndex with timezones and/or combinations.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35973/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35973/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35973.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35973", "merged_at": "2020-11-04T03:00:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35973.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35973" }
https://api.github.com/repos/pandas-dev/pandas/issues/35974
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35974/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35974/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35974/events
https://github.com/pandas-dev/pandas/pull/35974
688,504,648
MDExOlB1bGxSZXF1ZXN0NDc1NzU1NTQ2
35,974
ENH: Optimize nrows in read_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2020-08-29T10:15:23Z
2020-09-22T17:00:12Z
2020-09-21T21:47:15Z
MEMBER
null
- [ ] closes #32727 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry based on #33281 ---- output of asv benchmarks: ``` (pandas-dev) marco@marco-Predator-PH315-52:~/pandas-dev/asv_bench$ asv continuous -f 1.1 upstream/master optimise-nrows-excel -b excel.ReadExcel · Creating environments.................................................................................................................................. · Discovering benchmarks ·· Uninstalling from conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt ·· Building d0a8a687 <optimise-nrows-excel> for conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt.................................... ·· Installing d0a8a687 <optimise-nrows-excel> into conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt.. · Running 4 total benchmarks (2 commits * 1 environments * 2 benchmarks) [ 0.00%] · For pandas commit c413df6d <master> (round 1/2): [ 0.00%] ·· Building for conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt.................................... [ 0.00%] ·· Benchmarking conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt [ 12.50%] ··· Setting up io.excel:62 ok [ 12.50%] ··· Running (io.excel.ReadExcel.time_read_excel--).. [ 25.00%] · For pandas commit d0a8a687 <optimise-nrows-excel> (round 1/2): [ 25.00%] ·· Building for conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt.. [ 25.00%] ·· Benchmarking conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt [ 37.50%] ··· Setting up io.excel:62 ok [ 37.50%] ··· Running (io.excel.ReadExcel.time_read_excel--).. [ 50.00%] · For pandas commit d0a8a687 <optimise-nrows-excel> (round 2/2): [ 50.00%] ·· Benchmarking conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt [ 62.50%] ··· Setting up io.excel:62 ok [ 62.50%] ··· io.excel.ReadExcel.time_read_excel ok [ 62.50%] ··· ========== ============ engine ---------- ------------ xlrd 953±6ms openpyxl 1.66±0.03s odf 6.02±0.02s ========== ============ [ 75.00%] ··· io.excel.ReadExcel.time_read_excel_nrows ok [ 75.00%] ··· ========== ============ engine ---------- ------------ xlrd 878±20ms openpyxl 1.67±0.02s odf 4.58±0.04s ========== ============ [ 75.00%] · For pandas commit c413df6d <master> (round 2/2): [ 75.00%] ·· Building for conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt.. [ 75.00%] ·· Benchmarking conda-py3.8-Cython0.29.16-jinja2-matplotlib-numba-numexpr-numpy-odfpy-openpyxl-pytables-pytest-scipy-sqlalchemy-xlrd-xlsxwriter-xlwt [ 87.50%] ··· Setting up io.excel:62 ok [ 87.50%] ··· io.excel.ReadExcel.time_read_excel ok [ 87.50%] ··· ========== ============ engine ---------- ------------ xlrd 941±5ms openpyxl 1.69±0.02s odf 6.15±0.04s ========== ============ [100.00%] ··· io.excel.ReadExcel.time_read_excel_nrows ok [100.00%] ··· ========== ============ engine ---------- ------------ xlrd 971±20ms openpyxl 1.69±0.01s odf 6.07±0.03s ========== ============ before after ratio [c413df6d] [d0a8a687] <master> <optimise-nrows-excel> - 971±20ms 878±20ms 0.90 io.excel.ReadExcel.time_read_excel_nrows('xlrd') SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY. PERFORMANCE INCREASED. ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35974/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35974/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35974.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35974", "merged_at": "2020-09-21T21:47:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35974.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35974" }
https://api.github.com/repos/pandas-dev/pandas/issues/35975
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35975/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35975/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35975/events
https://github.com/pandas-dev/pandas/issues/35975
688,534,112
MDU6SXNzdWU2ODg1MzQxMTI=
35,975
BUG: When the value in the data set has underscore i.e "_" and forward slash "/", the select query with where clause does not fetch actual result set.
{ "avatar_url": "https://avatars.githubusercontent.com/u/21145979?v=4", "events_url": "https://api.github.com/users/santhosh92c/events{/privacy}", "followers_url": "https://api.github.com/users/santhosh92c/followers", "following_url": "https://api.github.com/users/santhosh92c/following{/other_user}", "gists_url": "https://api.github.com/users/santhosh92c/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/santhosh92c", "id": 21145979, "login": "santhosh92c", "node_id": "MDQ6VXNlcjIxMTQ1OTc5", "organizations_url": "https://api.github.com/users/santhosh92c/orgs", "received_events_url": "https://api.github.com/users/santhosh92c/received_events", "repos_url": "https://api.github.com/users/santhosh92c/repos", "site_admin": false, "starred_url": "https://api.github.com/users/santhosh92c/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/santhosh92c/subscriptions", "type": "User", "url": "https://api.github.com/users/santhosh92c" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
5
2020-08-29T13:34:58Z
2020-08-31T13:31:13Z
2020-08-31T13:31:13Z
NONE
null
- [ ] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35975/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35975/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35976
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35976/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35976/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35976/events
https://github.com/pandas-dev/pandas/issues/35976
688,544,252
MDU6SXNzdWU2ODg1NDQyNTI=
35,976
BUG:
{ "avatar_url": "https://avatars.githubusercontent.com/u/44749448?v=4", "events_url": "https://api.github.com/users/yunkypunky/events{/privacy}", "followers_url": "https://api.github.com/users/yunkypunky/followers", "following_url": "https://api.github.com/users/yunkypunky/following{/other_user}", "gists_url": "https://api.github.com/users/yunkypunky/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yunkypunky", "id": 44749448, "login": "yunkypunky", "node_id": "MDQ6VXNlcjQ0NzQ5NDQ4", "organizations_url": "https://api.github.com/users/yunkypunky/orgs", "received_events_url": "https://api.github.com/users/yunkypunky/received_events", "repos_url": "https://api.github.com/users/yunkypunky/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yunkypunky/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yunkypunky/subscriptions", "type": "User", "url": "https://api.github.com/users/yunkypunky" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
2020-08-29T14:33:42Z
2020-08-29T14:45:45Z
2020-08-29T14:45:44Z
NONE
null
- [ ] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35976/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35976/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35977
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35977/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35977/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35977/events
https://github.com/pandas-dev/pandas/issues/35977
688,544,459
MDU6SXNzdWU2ODg1NDQ0NTk=
35,977
BUG: replacement works for object but not string dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/44749448?v=4", "events_url": "https://api.github.com/users/yunkypunky/events{/privacy}", "followers_url": "https://api.github.com/users/yunkypunky/followers", "following_url": "https://api.github.com/users/yunkypunky/following{/other_user}", "gists_url": "https://api.github.com/users/yunkypunky/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yunkypunky", "id": 44749448, "login": "yunkypunky", "node_id": "MDQ6VXNlcjQ0NzQ5NDQ4", "organizations_url": "https://api.github.com/users/yunkypunky/orgs", "received_events_url": "https://api.github.com/users/yunkypunky/received_events", "repos_url": "https://api.github.com/users/yunkypunky/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yunkypunky/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yunkypunky/subscriptions", "type": "User", "url": "https://api.github.com/users/yunkypunky" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "color": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
2020-08-29T14:35:09Z
2021-05-11T20:23:12Z
2021-05-11T20:23:12Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import pandas as pd import numpy as np a = pd.DataFrame({'a': ['a', 'b', 'c'], 'b': ['d', '', '']}, dtype='object') b = pd.DataFrame({'a': ['a', 'b', 'c'], 'b': ['d', '', '']}, dtype='string') print(a) a.replace(r'^\s*$', pd.NA, regex=True, inplace=True) print(a) print(b) b.replace(r'^\s*$', pd.NA, regex=True, inplace=True) print(b) ``` #### Problem description replace(r'^\s*$', pd.NA, regex=True, inplace=True) works on object dtype, but not on stringdtype #### Expected Output Same on both replacement #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35977/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35977/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35978
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35978/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35978/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35978/events
https://github.com/pandas-dev/pandas/pull/35978
688,578,331
MDExOlB1bGxSZXF1ZXN0NDc1ODA5NzUx
35,978
TYP: annotate plotting._matplotlib.converter
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-29T18:01:24Z
2020-08-30T15:06:17Z
2020-08-30T13:23:45Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35978/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35978/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35978.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35978", "merged_at": "2020-08-30T13:23:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35978.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35978" }
https://api.github.com/repos/pandas-dev/pandas/issues/35979
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35979/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35979/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35979/events
https://github.com/pandas-dev/pandas/pull/35979
688,606,405
MDExOlB1bGxSZXF1ZXN0NDc1ODMwMDQ2
35,979
BUG: Respect errors="ignore" during extension astype
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
3
2020-08-29T21:24:13Z
2020-09-27T03:27:54Z
2020-09-06T16:59:44Z
MEMBER
null
- [x] closes https://github.com/pandas-dev/pandas/issues/35471 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35979/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35979/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35979.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35979", "merged_at": "2020-09-06T16:59:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35979.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35979" }
https://api.github.com/repos/pandas-dev/pandas/issues/35980
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35980/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35980/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35980/events
https://github.com/pandas-dev/pandas/issues/35980
688,613,441
MDU6SXNzdWU2ODg2MTM0NDE=
35,980
DOC: doc/source/getting_started/overview.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/50989807?v=4", "events_url": "https://api.github.com/users/0xpranjal/events{/privacy}", "followers_url": "https://api.github.com/users/0xpranjal/followers", "following_url": "https://api.github.com/users/0xpranjal/following{/other_user}", "gists_url": "https://api.github.com/users/0xpranjal/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/0xpranjal", "id": 50989807, "login": "0xpranjal", "node_id": "MDQ6VXNlcjUwOTg5ODA3", "organizations_url": "https://api.github.com/users/0xpranjal/orgs", "received_events_url": "https://api.github.com/users/0xpranjal/received_events", "repos_url": "https://api.github.com/users/0xpranjal/repos", "site_admin": false, "starred_url": "https://api.github.com/users/0xpranjal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0xpranjal/subscriptions", "type": "User", "url": "https://api.github.com/users/0xpranjal" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-08-29T22:21:55Z
2020-08-31T18:31:36Z
2020-08-31T18:24:05Z
CONTRIBUTOR
null
#### Location of the documentation "https://pandas.pydata.org/docs/getting_started/overview.html" #### Documentation problem Unnecessary words and hyphens were missing. #### Suggested fix for documentation E.g. real world can be replaced by real-world
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35980/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35980/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35981
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35981/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35981/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35981/events
https://github.com/pandas-dev/pandas/pull/35981
688,613,920
MDExOlB1bGxSZXF1ZXN0NDc1ODM1NDIw
35,981
DOC clean up doc/source/getting_started/overview.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/50989807?v=4", "events_url": "https://api.github.com/users/0xpranjal/events{/privacy}", "followers_url": "https://api.github.com/users/0xpranjal/followers", "following_url": "https://api.github.com/users/0xpranjal/following{/other_user}", "gists_url": "https://api.github.com/users/0xpranjal/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/0xpranjal", "id": 50989807, "login": "0xpranjal", "node_id": "MDQ6VXNlcjUwOTg5ODA3", "organizations_url": "https://api.github.com/users/0xpranjal/orgs", "received_events_url": "https://api.github.com/users/0xpranjal/received_events", "repos_url": "https://api.github.com/users/0xpranjal/repos", "site_admin": false, "starred_url": "https://api.github.com/users/0xpranjal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0xpranjal/subscriptions", "type": "User", "url": "https://api.github.com/users/0xpranjal" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-29T22:26:24Z
2020-08-31T18:24:15Z
2020-08-31T18:24:05Z
CONTRIBUTOR
null
- [x] closes #35980
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35981/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35981/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35981.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35981", "merged_at": "2020-08-31T18:24:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35981.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35981" }
https://api.github.com/repos/pandas-dev/pandas/issues/35982
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35982/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35982/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35982/events
https://github.com/pandas-dev/pandas/pull/35982
688,644,830
MDExOlB1bGxSZXF1ZXN0NDc1ODU2NzI4
35,982
CLN: window/rolling.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-30T03:24:03Z
2020-08-31T22:11:38Z
2020-08-31T20:42:06Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35982/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35982/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35982.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35982", "merged_at": "2020-08-31T20:42:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35982.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35982" }
https://api.github.com/repos/pandas-dev/pandas/issues/35983
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35983/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35983/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35983/events
https://github.com/pandas-dev/pandas/issues/35983
688,651,270
MDU6SXNzdWU2ODg2NTEyNzA=
35,983
ENH: pd.progress_concat
{ "avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4", "events_url": "https://api.github.com/users/austinmw/events{/privacy}", "followers_url": "https://api.github.com/users/austinmw/followers", "following_url": "https://api.github.com/users/austinmw/following{/other_user}", "gists_url": "https://api.github.com/users/austinmw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/austinmw", "id": 12224358, "login": "austinmw", "node_id": "MDQ6VXNlcjEyMjI0MzU4", "organizations_url": "https://api.github.com/users/austinmw/orgs", "received_events_url": "https://api.github.com/users/austinmw/received_events", "repos_url": "https://api.github.com/users/austinmw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/austinmw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/austinmw/subscriptions", "type": "User", "url": "https://api.github.com/users/austinmw" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
5
2020-08-30T04:30:28Z
2020-09-03T10:48:11Z
2020-08-30T10:04:01Z
NONE
null
#### Is your feature request related to a problem? I need to concat many thousands of fairly large dataframes, which can take 15-45mins, and I'm unable to get an idea of progress. #### Describe the solution you'd like I'd really like either a `pd.progress_concat` or ` pd.concat(progress=True)` #### API breaking implications I don't think this would break anything? #### Describe alternatives you've considered I've searched, but have been unable to find any alternative solution that does not seriously hamper speed. #### Additional context I have very little idea how `pd.concat` actually works internally, so I'm not sure if this is actually feasible.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35983/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35983/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35984
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35984/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35984/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35984/events
https://github.com/pandas-dev/pandas/pull/35984
688,668,452
MDExOlB1bGxSZXF1ZXN0NDc1ODc0MzI1
35,984
ENH: Add axis argument to Dataframe.corr
{ "avatar_url": "https://avatars.githubusercontent.com/u/55352418?v=4", "events_url": "https://api.github.com/users/kc611/events{/privacy}", "followers_url": "https://api.github.com/users/kc611/followers", "following_url": "https://api.github.com/users/kc611/following{/other_user}", "gists_url": "https://api.github.com/users/kc611/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kc611", "id": 55352418, "login": "kc611", "node_id": "MDQ6VXNlcjU1MzUyNDE4", "organizations_url": "https://api.github.com/users/kc611/orgs", "received_events_url": "https://api.github.com/users/kc611/received_events", "repos_url": "https://api.github.com/users/kc611/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kc611/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kc611/subscriptions", "type": "User", "url": "https://api.github.com/users/kc611" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
9
2020-08-30T07:12:04Z
2020-10-29T04:13:02Z
2020-10-29T04:13:02Z
NONE
null
- [x] closes #35002 - [x] tests added / passed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35984/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35984/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35984.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35984", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35984.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35984" }
https://api.github.com/repos/pandas-dev/pandas/issues/35985
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35985/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35985/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35985/events
https://github.com/pandas-dev/pandas/issues/35985
688,674,351
MDU6SXNzdWU2ODg2NzQzNTE=
35,985
DOC: make difference between numpy behaviour clearer in Dataframe.std() and Series.std()
{ "avatar_url": "https://avatars.githubusercontent.com/u/43515959?v=4", "events_url": "https://api.github.com/users/timhunderwood/events{/privacy}", "followers_url": "https://api.github.com/users/timhunderwood/followers", "following_url": "https://api.github.com/users/timhunderwood/following{/other_user}", "gists_url": "https://api.github.com/users/timhunderwood/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/timhunderwood", "id": 43515959, "login": "timhunderwood", "node_id": "MDQ6VXNlcjQzNTE1OTU5", "organizations_url": "https://api.github.com/users/timhunderwood/orgs", "received_events_url": "https://api.github.com/users/timhunderwood/received_events", "repos_url": "https://api.github.com/users/timhunderwood/repos", "site_admin": false, "starred_url": "https://api.github.com/users/timhunderwood/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/timhunderwood/subscriptions", "type": "User", "url": "https://api.github.com/users/timhunderwood" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
1
2020-08-30T08:01:06Z
2020-09-03T16:58:36Z
2020-09-03T16:58:36Z
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.DataFrame.std.html https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.Series.std.html #### Documentation problem The `ddof` kwarg has a different default to numpy. This means using the `std()` method on a `Series` or `numpy.array` with the same values give different results: ```python >>>df=pandas.Series([1,2,3]) >>>df.std() Out[4]: 1.0 >>>df.values.std() Out[5]: 0.816496580927726 ``` #### Suggested fix for documentation I assume the difference in behaviour is intentional, but I would suggest making this difference clearer in the documentation. We could add the text: "Note that this normalization is different to numpy, which by default normalizes by N (equivalent to `ddof=0`)." A similar string could be added in the kwarg description for ddof. This would make it clear from reading the pandas docs that the behaviour is different to numpy, rather than having to compare the numpy docs side by side after noticing a discrepancy. It would also make users more likely to consider which ddof value they want for their use case. If you agree, I am happy to make the PR to change this.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35985/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35985/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35986
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35986/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35986/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35986/events
https://github.com/pandas-dev/pandas/pull/35986
688,704,996
MDExOlB1bGxSZXF1ZXN0NDc1OTAxMDU0
35,986
DOC: Add Notes about difference to numpy behaviour for ddof in std() GH35985
{ "avatar_url": "https://avatars.githubusercontent.com/u/43515959?v=4", "events_url": "https://api.github.com/users/timhunderwood/events{/privacy}", "followers_url": "https://api.github.com/users/timhunderwood/followers", "following_url": "https://api.github.com/users/timhunderwood/following{/other_user}", "gists_url": "https://api.github.com/users/timhunderwood/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/timhunderwood", "id": 43515959, "login": "timhunderwood", "node_id": "MDQ6VXNlcjQzNTE1OTU5", "organizations_url": "https://api.github.com/users/timhunderwood/orgs", "received_events_url": "https://api.github.com/users/timhunderwood/received_events", "repos_url": "https://api.github.com/users/timhunderwood/repos", "site_admin": false, "starred_url": "https://api.github.com/users/timhunderwood/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/timhunderwood/subscriptions", "type": "User", "url": "https://api.github.com/users/timhunderwood" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
3
2020-08-30T11:51:51Z
2020-09-03T16:58:49Z
2020-09-03T16:58:37Z
CONTRIBUTOR
null
- [x] closes #35985 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35986/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35986/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35986.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35986", "merged_at": "2020-09-03T16:58:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35986.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35986" }
https://api.github.com/repos/pandas-dev/pandas/issues/35987
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35987/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35987/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35987/events
https://github.com/pandas-dev/pandas/pull/35987
688,713,146
MDExOlB1bGxSZXF1ZXN0NDc1OTA3MjE4
35,987
TST: Verify operators with IntegerArray and list-likes (22606)
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2020-08-30T12:48:40Z
2020-10-07T03:15:09Z
2020-10-07T03:15:05Z
CONTRIBUTOR
null
- [x] closes #22606 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35987/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35987/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35987.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35987", "merged_at": "2020-10-07T03:15:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35987.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35987" }
https://api.github.com/repos/pandas-dev/pandas/issues/35988
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35988/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35988/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35988/events
https://github.com/pandas-dev/pandas/issues/35988
688,733,840
MDU6SXNzdWU2ODg3MzM4NDA=
35,988
TYP: mypy [attr-defined] error in `pandas/core/indexes/numeric.py`
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
2020-08-30T14:59:20Z
2020-08-30T15:04:28Z
2020-08-30T15:03:58Z
MEMBER
null
This is one of the errors after unpin mypy. ``` pandas/core/indexes/numeric.py:68: error: "Type[NumericIndex]" has no attribute "_default_dtype" [attr-defined] pandas/core/indexes/numeric.py:69: error: "Type[NumericIndex]" has no attribute "_default_dtype" [attr-defined] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35988/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35988/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35989
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35989/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35989/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35989/events
https://github.com/pandas-dev/pandas/issues/35989
688,737,267
MDU6SXNzdWU2ODg3MzcyNjc=
35,989
DOC: DataFrame.query() are contradictory on whether Python keywords can used as identifiers
{ "avatar_url": "https://avatars.githubusercontent.com/u/6829540?v=4", "events_url": "https://api.github.com/users/jpeacock29/events{/privacy}", "followers_url": "https://api.github.com/users/jpeacock29/followers", "following_url": "https://api.github.com/users/jpeacock29/following{/other_user}", "gists_url": "https://api.github.com/users/jpeacock29/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jpeacock29", "id": 6829540, "login": "jpeacock29", "node_id": "MDQ6VXNlcjY4Mjk1NDA=", "organizations_url": "https://api.github.com/users/jpeacock29/orgs", "received_events_url": "https://api.github.com/users/jpeacock29/received_events", "repos_url": "https://api.github.com/users/jpeacock29/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jpeacock29/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jpeacock29/subscriptions", "type": "User", "url": "https://api.github.com/users/jpeacock29" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "f3afff", "default": false, "description": "pd.eval, query", "id": 1631985267, "name": "expressions", "node_id": "MDU6TGFiZWwxNjMxOTg1MjY3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-30T15:18:20Z
2020-09-12T21:31:59Z
2020-09-12T21:31:59Z
CONTRIBUTOR
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.query.html#pandas.DataFrame.query #### Documentation problem The `expr` parameter is described as follows: > You can refer to column names that contain spaces or operators by surrounding them in backticks. This way you can also escape names that start with a digit, or those that are a Python keyword. Basically when it is not valid Python identifier. See notes down for more details. However, the notes that follow indicate: > Python keywords may not be used as identifiers. So the first part suggests Python keywords can be used, while the second part indicates they cannot. Testing suggests they cannot currently be used. #### Suggested fix for documentation Change the `expr` description to read: > You can refer to column names that are not valid Python variable names by surrounding them in backticks. Thus column names containing spaces or punctuation (besides underscores) or starting with digits must be surrounded by backticks. (For example, a column named "Area (cm^2)" would be referenced as `Area (cm^2)`.) Column names which are Python keywords (like "list", "for", "import", etc) cannot be used.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35989/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35989/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35990
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35990/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35990/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35990/events
https://github.com/pandas-dev/pandas/pull/35990
688,739,164
MDExOlB1bGxSZXF1ZXN0NDc1OTI1ODQ5
35,990
TYP: misc typing fixes for pandas\core\frame.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
null
1
2020-08-30T15:29:57Z
2020-08-31T16:23:51Z
2020-08-31T15:06:35Z
MEMBER
null
pandas\core\frame.py:1091: error: namedtuple() expects a string literal as the first argument [misc] pandas\core\frame.py:4594: error: Need type annotation for 'names' (hint: "names: List[<type>] = ...") [var-annotated]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35990/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35990/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35990.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35990", "merged_at": "2020-08-31T15:06:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35990.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35990" }
https://api.github.com/repos/pandas-dev/pandas/issues/35991
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35991/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35991/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35991/events
https://github.com/pandas-dev/pandas/pull/35991
688,739,736
MDExOlB1bGxSZXF1ZXN0NDc1OTI2Mjg0
35,991
TYP: misc typing in core\indexes\base.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-30T15:33:36Z
2020-09-02T18:49:29Z
2020-09-02T18:44:40Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35991/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35991/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35991.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35991", "merged_at": "2020-09-02T18:44:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35991.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35991" }
https://api.github.com/repos/pandas-dev/pandas/issues/35992
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35992/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35992/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35992/events
https://github.com/pandas-dev/pandas/pull/35992
688,739,994
MDExOlB1bGxSZXF1ZXN0NDc1OTI2NDcz
35,992
TYP: check_untyped_defs core.dtypes.cast
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-30T15:35:14Z
2020-08-31T08:07:07Z
2020-08-31T01:31:23Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35992/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35992/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35992.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35992", "merged_at": "2020-08-31T01:31:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35992.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35992" }
https://api.github.com/repos/pandas-dev/pandas/issues/35993
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35993/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35993/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35993/events
https://github.com/pandas-dev/pandas/pull/35993
688,751,204
MDExOlB1bGxSZXF1ZXN0NDc1OTM0Njgx
35,993
Updating fork
{ "avatar_url": "https://avatars.githubusercontent.com/u/5001953?v=4", "events_url": "https://api.github.com/users/souris-dev/events{/privacy}", "followers_url": "https://api.github.com/users/souris-dev/followers", "following_url": "https://api.github.com/users/souris-dev/following{/other_user}", "gists_url": "https://api.github.com/users/souris-dev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/souris-dev", "id": 5001953, "login": "souris-dev", "node_id": "MDQ6VXNlcjUwMDE5NTM=", "organizations_url": "https://api.github.com/users/souris-dev/orgs", "received_events_url": "https://api.github.com/users/souris-dev/received_events", "repos_url": "https://api.github.com/users/souris-dev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/souris-dev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/souris-dev/subscriptions", "type": "User", "url": "https://api.github.com/users/souris-dev" }
[]
closed
false
null
[]
null
0
2020-08-30T16:44:16Z
2020-08-30T16:47:58Z
2020-08-30T16:44:36Z
CONTRIBUTOR
null
Updating fork (this PR was opened in the wrong repo by mistake, apologies for the same.)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35993/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35993/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35993.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35993", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/35993.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35993" }
https://api.github.com/repos/pandas-dev/pandas/issues/35994
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35994/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35994/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35994/events
https://github.com/pandas-dev/pandas/issues/35994
688,756,272
MDU6SXNzdWU2ODg3NTYyNzI=
35,994
TYP: type error in `pandas/io/excel/_xlsxwriter.py`
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-08-30T17:16:05Z
2020-08-31T18:28:17Z
2020-08-31T18:22:35Z
MEMBER
null
Those are some of the typing errors generated by mypy after unpining it. ``` pandas/io/excel/_xlsxwriter.py:105: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable) [attr-defined] pandas/io/excel/_xlsxwriter.py:196: error: "None" has no attribute "close" [attr-defined] pandas/io/excel/_xlsxwriter.py:207: error: "None" has no attribute "add_worksheet" [attr-defined] pandas/io/excel/_xlsxwriter.py:225: error: "None" has no attribute "add_format" [attr-defined] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35994/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35994/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35995
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35995/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35995/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35995/events
https://github.com/pandas-dev/pandas/pull/35995
688,756,701
MDExOlB1bGxSZXF1ZXN0NDc1OTM4NjU3
35,995
TYP: typing errors in _xlsxwriter.py #35994
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-30T17:18:37Z
2020-08-31T20:03:42Z
2020-08-31T18:22:35Z
MEMBER
null
- [x] closes #35994 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35995/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35995/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35995.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35995", "merged_at": "2020-08-31T18:22:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35995.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35995" }
https://api.github.com/repos/pandas-dev/pandas/issues/35996
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35996/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35996/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35996/events
https://github.com/pandas-dev/pandas/pull/35996
688,762,630
MDExOlB1bGxSZXF1ZXN0NDc1OTQyNzAx
35,996
Issue35925 Remove trailing commas
{ "avatar_url": "https://avatars.githubusercontent.com/u/14045288?v=4", "events_url": "https://api.github.com/users/metehankutlu/events{/privacy}", "followers_url": "https://api.github.com/users/metehankutlu/followers", "following_url": "https://api.github.com/users/metehankutlu/following{/other_user}", "gists_url": "https://api.github.com/users/metehankutlu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/metehankutlu", "id": 14045288, "login": "metehankutlu", "node_id": "MDQ6VXNlcjE0MDQ1Mjg4", "organizations_url": "https://api.github.com/users/metehankutlu/orgs", "received_events_url": "https://api.github.com/users/metehankutlu/received_events", "repos_url": "https://api.github.com/users/metehankutlu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/metehankutlu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/metehankutlu/subscriptions", "type": "User", "url": "https://api.github.com/users/metehankutlu" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-30T17:56:06Z
2020-08-31T09:59:26Z
2020-08-31T09:59:18Z
CONTRIBUTOR
null
#35925 Files edited: - pandas/tests/test_multilevel.py - pandas/tests/test_nanops.py - pandas/tests/window/moments/test_moments_consistency_rolling.py - pandas/tests/window/moments/test_moments_ewm.py - pandas/tests/window/moments/test_moments_rolling.py - pandas/tests/window/test_base_indexer.py - pandas/tests/window/test_pairwise.py - pandas/tests/window/test_rolling.py - pandas/tseries/frequencies.py - pandas/util/_test_decorators.py
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35996/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35996/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35996.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35996", "merged_at": "2020-08-31T09:59:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35996.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35996" }
https://api.github.com/repos/pandas-dev/pandas/issues/35997
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35997/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35997/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35997/events
https://github.com/pandas-dev/pandas/issues/35997
688,766,368
MDU6SXNzdWU2ODg3NjYzNjg=
35,997
BUG: Reading from parquet throws UnknownTimeZoneError using timezone-aware date in index
{ "avatar_url": "https://avatars.githubusercontent.com/u/240729?v=4", "events_url": "https://api.github.com/users/alippai/events{/privacy}", "followers_url": "https://api.github.com/users/alippai/followers", "following_url": "https://api.github.com/users/alippai/following{/other_user}", "gists_url": "https://api.github.com/users/alippai/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alippai", "id": 240729, "login": "alippai", "node_id": "MDQ6VXNlcjI0MDcyOQ==", "organizations_url": "https://api.github.com/users/alippai/orgs", "received_events_url": "https://api.github.com/users/alippai/received_events", "repos_url": "https://api.github.com/users/alippai/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alippai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alippai/subscriptions", "type": "User", "url": "https://api.github.com/users/alippai" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
11
2020-08-30T18:19:25Z
2020-10-07T01:44:44Z
2020-10-07T01:44:44Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. ```python import pandas as pd from datetime import datetime, timezone df = pd.DataFrame([[datetime.now(timezone.utc)]], columns=['date']).set_index('date') df.to_parquet('out.parquet') pd.read_parquet('out.parquet') ``` #### Problem description The bug above happens with pandas 1.1.1 and pyarrow 1.0.1. The timezone-aware date in the index should survive the parquet round trip. If `date` is not index, or when I add parameter `ignore_metadata=True` to the `pyarrow.Table.to_pandas()` it works (but `date` won't be an index automatically) #### Expected Output A correct DataFrame #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.8.2.final.0 python-bits : 64 OS : Linux OS-release : 4.19.104-microsoft-standard Version : #1 SMP Wed Feb 19 06:37:35 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.1 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 49.6.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35997/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35997/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35998
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35998/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35998/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35998/events
https://github.com/pandas-dev/pandas/issues/35998
688,800,963
MDU6SXNzdWU2ODg4MDA5NjM=
35,998
QST: What is the use of cell_context in the Styler?
{ "avatar_url": "https://avatars.githubusercontent.com/u/43477145?v=4", "events_url": "https://api.github.com/users/grantstead/events{/privacy}", "followers_url": "https://api.github.com/users/grantstead/followers", "following_url": "https://api.github.com/users/grantstead/following{/other_user}", "gists_url": "https://api.github.com/users/grantstead/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/grantstead", "id": 43477145, "login": "grantstead", "node_id": "MDQ6VXNlcjQzNDc3MTQ1", "organizations_url": "https://api.github.com/users/grantstead/orgs", "received_events_url": "https://api.github.com/users/grantstead/received_events", "repos_url": "https://api.github.com/users/grantstead/repos", "site_admin": false, "starred_url": "https://api.github.com/users/grantstead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/grantstead/subscriptions", "type": "User", "url": "https://api.github.com/users/grantstead" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
null
7
2020-08-30T22:09:05Z
2020-09-17T19:04:01Z
2020-09-17T19:04:00Z
NONE
null
- [X] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas **Note**: If you'd still like to submit a question, please read [this guide]( https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question. In pandas/io/formats/style.py (https://github.com/pandas-dev/pandas/blob/3ef3617c2e784b98db83ab437e7607459f68a1cc/pandas/io/formats/style.py#L265) the cell_context dict is created (empty). It is referenced twice (on line 318 and 382), where values are accessed, if they are present. The dict is however never updated. What is the use of this variable? It seems to me to be quite useless as there is no way to set it's content. Is it purely there for future use? I use v0.23 where it was already like this, so I expected it to have changed in master, but this doesn't seem to be the case. Is there some way of setting it that I'm not aware of? There are a few stack overflow questions (https://stackoverflow.com/questions/55236631/add-custom-css-class-to-column-or-cell-of-a-dataframe and https://stackoverflow.com/questions/62075616/add-style-class-to-pandas-dataframe-html) )by others,s not me) that ask how to set the class of a cell. These seem related to how this dict's values could be set. To "implement" support for classes, I simply overwrote the render method to call _translate and then to adjust the d["body']'s content where I added to the cell's class value. If cell_context could be set, then there would be no need to do this overriding after the fact (and actually benefit from the looking that is performed against cell_context)... (I would like to respond to these two questions, possibly with my monkey-patching, but preferably with what happens in _translate()). Thanks, Grant
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35998/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35998/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/35999
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/35999/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/35999/comments
https://api.github.com/repos/pandas-dev/pandas/issues/35999/events
https://github.com/pandas-dev/pandas/pull/35999
688,811,296
MDExOlB1bGxSZXF1ZXN0NDc1OTc4MDI5
35,999
BUG: None in Float64Index raising TypeError, should return False
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
2
2020-08-30T23:24:59Z
2020-09-01T15:03:03Z
2020-09-01T01:20:41Z
MEMBER
null
- [x] closes #35788 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/35999/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/35999/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/35999.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/35999", "merged_at": "2020-09-01T01:20:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/35999.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35999" }
https://api.github.com/repos/pandas-dev/pandas/issues/36000
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36000/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36000/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36000/events
https://github.com/pandas-dev/pandas/pull/36000
688,858,558
MDExOlB1bGxSZXF1ZXN0NDc2MDEzMzA4
36,000
ENH: vendor typing_extensions
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2020-08-31T02:47:39Z
2020-09-01T23:47:58Z
2020-09-01T23:37:09Z
MEMBER
null
- [x] closes #34869 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry haven't figured out how to make isort and black ignore this file
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36000/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36000/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36000.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36000", "merged_at": "2020-09-01T23:37:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36000.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36000" }
https://api.github.com/repos/pandas-dev/pandas/issues/36001
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36001/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36001/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36001/events
https://github.com/pandas-dev/pandas/pull/36001
688,872,168
MDExOlB1bGxSZXF1ZXN0NDc2MDI0MDcz
36,001
ENH: Arithmetic with Timestamp-based intervals
{ "avatar_url": "https://avatars.githubusercontent.com/u/5001953?v=4", "events_url": "https://api.github.com/users/souris-dev/events{/privacy}", "followers_url": "https://api.github.com/users/souris-dev/followers", "following_url": "https://api.github.com/users/souris-dev/following{/other_user}", "gists_url": "https://api.github.com/users/souris-dev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/souris-dev", "id": 5001953, "login": "souris-dev", "node_id": "MDQ6VXNlcjUwMDE5NTM=", "organizations_url": "https://api.github.com/users/souris-dev/orgs", "received_events_url": "https://api.github.com/users/souris-dev/received_events", "repos_url": "https://api.github.com/users/souris-dev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/souris-dev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/souris-dev/subscriptions", "type": "User", "url": "https://api.github.com/users/souris-dev" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
3
2020-08-31T03:34:34Z
2021-02-11T01:35:25Z
2021-02-11T01:35:24Z
CONTRIBUTOR
null
- [X] closes #35908 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36001/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36001/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36001.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36001", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/36001.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36001" }
https://api.github.com/repos/pandas-dev/pandas/issues/36002
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36002/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36002/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36002/events
https://github.com/pandas-dev/pandas/issues/36002
688,875,214
MDU6SXNzdWU2ODg4NzUyMTQ=
36,002
DOC: Update documentation for pd.Interval if string endpoints are not allowed anymore
{ "avatar_url": "https://avatars.githubusercontent.com/u/5001953?v=4", "events_url": "https://api.github.com/users/souris-dev/events{/privacy}", "followers_url": "https://api.github.com/users/souris-dev/followers", "following_url": "https://api.github.com/users/souris-dev/following{/other_user}", "gists_url": "https://api.github.com/users/souris-dev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/souris-dev", "id": 5001953, "login": "souris-dev", "node_id": "MDQ6VXNlcjUwMDE5NTM=", "organizations_url": "https://api.github.com/users/souris-dev/orgs", "received_events_url": "https://api.github.com/users/souris-dev/received_events", "repos_url": "https://api.github.com/users/souris-dev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/souris-dev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/souris-dev/subscriptions", "type": "User", "url": "https://api.github.com/users/souris-dev" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-31T03:46:07Z
2020-09-01T17:02:04Z
2020-09-01T16:15:26Z
CONTRIBUTOR
null
#### Location of the documentation [https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Interval.html](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Interval.html) On `master`: [https://pandas.pydata.org/docs/dev/reference/api/pandas.Interval.html](https://pandas.pydata.org/docs/dev/reference/api/pandas.Interval.html) #### Documentation problem The examples in the documentation for `pd.Interval` show in the end that Intervals with string endpoints can also be created. However, when the example is run on `master`, a `ValueError` is raised, saying: "Only numeric, Timestamp and Timedelta endpoints are allowed when constructing an Interval." #### Suggested fix for documentation If Intervals with strings as endpoints are not allowed anymore, this example should be removed from the documentation. I've confirmed that the docstring still contains this example, so I'd be happy to make a PR for this if we agree.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36002/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36002/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/36003
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36003/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36003/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36003/events
https://github.com/pandas-dev/pandas/issues/36003
688,967,461
MDU6SXNzdWU2ODg5Njc0NjE=
36,003
REGR: Column with datetime values too big to be converted to pd.Timestamp leads to assertion error in groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/7723080?v=4", "events_url": "https://api.github.com/users/Khris777/events{/privacy}", "followers_url": "https://api.github.com/users/Khris777/followers", "following_url": "https://api.github.com/users/Khris777/following{/other_user}", "gists_url": "https://api.github.com/users/Khris777/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Khris777", "id": 7723080, "login": "Khris777", "node_id": "MDQ6VXNlcjc3MjMwODA=", "organizations_url": "https://api.github.com/users/Khris777/orgs", "received_events_url": "https://api.github.com/users/Khris777/received_events", "repos_url": "https://api.github.com/users/Khris777/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Khris777/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Khris777/subscriptions", "type": "User", "url": "https://api.github.com/users/Khris777" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
6
2020-08-31T07:03:11Z
2020-11-27T20:12:02Z
2020-11-27T20:12:02Z
NONE
null
- [X ] I have checked that this issue has not already been reported. - [ X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example Two different dates, one within the range of what `pd.Timestamp` can handle, the other outside of that range: ``` import pandas as pd import datetime df = pd.DataFrame({'A': ['X', 'Y'], 'B': [datetime.datetime(2005, 1, 1, 10, 30, 23, 540000), datetime.datetime(3005, 1, 1, 10, 30, 23, 540000)]}) print(df.groupby('A').B.max()) ``` #### Problem description `pd.Timestamp` can't deal with a too big date like the year 3005, so to represent such a date I need to use the `datetime.datetime` type. Before 1.1.1 (1.1.0?) this hasn't been an issue, but now this code throws an assertion error: ``` Traceback (most recent call last): File "<ipython-input-38-8b8ec5e4e179>", line 5, in <module> print(df.groupby('A').B.max()) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\groupby.py", line 1558, in max numeric_only=numeric_only, min_count=min_count, alias="max", npfunc=np.max File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\groupby.py", line 1015, in _agg_general result = self.aggregate(lambda x: npfunc(x, axis=self.axis)) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\generic.py", line 261, in aggregate func, *args, engine=engine, engine_kwargs=engine_kwargs, **kwargs File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\groupby.py", line 1083, in _python_agg_general result, counts = self.grouper.agg_series(obj, f) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\ops.py", line 644, in agg_series return self._aggregate_series_fast(obj, func) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\ops.py", line 669, in _aggregate_series_fast result, counts = grouper.get_result() File "pandas\_libs\reduction.pyx", line 256, in pandas._libs.reduction.SeriesGrouper.get_result File "pandas\_libs\reduction.pyx", line 74, in pandas._libs.reduction._BaseGrouper._apply_to_group File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\groupby.py", line 1060, in <lambda> f = lambda x: func(x, *args, **kwargs) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\groupby\groupby.py", line 1015, in <lambda> result = self.aggregate(lambda x: npfunc(x, axis=self.axis)) File "<__array_function__ internals>", line 6, in amax File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\numpy\core\fromnumeric.py", line 2706, in amax keepdims=keepdims, initial=initial, where=where) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\numpy\core\fromnumeric.py", line 85, in _wrapreduction return reduction(axis=axis, out=out, **passkwargs) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\generic.py", line 11460, in stat_func func, name=name, axis=axis, skipna=skipna, numeric_only=numeric_only File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\series.py", line 4220, in _reduce delegate = self._values File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\series.py", line 572, in _values return self._mgr.internal_values() File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\internals\managers.py", line 1615, in internal_values return self._block.internal_values() File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\internals\blocks.py", line 2019, in internal_values return self.array_values() File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\internals\blocks.py", line 2022, in array_values return self._holder._simple_new(self.values) File "C:\Users\My.Name\AppData\Local\Continuum\miniconda3\envs\main\lib\site-packages\pandas\core\arrays\datetimes.py", line 290, in _simple_new assert values.dtype == "i8" AssertionError ``` From testing with mixing `pd.Timestamp` and `datetime.datetime` types I presume pandas is converting applicable dates (first line in the example) to `pd.Timestamp` while leaving the others as `datetime.datetime` leading to a mixed-type result column and the assertion error. #### Expected Output Since I'm explicitely operating with datatype `datetime.datetime` there should be no implicit conversion to `pd.Timestamp` if it's not assured that all values are within the range that `pd.Timestamp` allows. #### Output of ``pd.show_versions()`` <details> commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.7.8.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 79 Stepping 1, GenuineIntel byteorder : little LC_ALL : None LANG : en LOCALE : None.None pandas : 1.1.1 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 50.0.0.post20200830 Cython : 0.29.21 pytest : None hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.3 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.1 bottleneck : None fsspec : 0.8.0 fastparquet : 0.4.1 gcsfs : None matplotlib : 3.3.1 numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.19 tables : None tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : None numba : 0.51.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36003/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36003/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/36004
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36004/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36004/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36004/events
https://github.com/pandas-dev/pandas/pull/36004
689,024,766
MDExOlB1bGxSZXF1ZXN0NDc2MTQ4Nzcx
36,004
BUG: Can't restore index from parquet with offset-specified timezone #35997
{ "avatar_url": "https://avatars.githubusercontent.com/u/240729?v=4", "events_url": "https://api.github.com/users/alippai/events{/privacy}", "followers_url": "https://api.github.com/users/alippai/followers", "following_url": "https://api.github.com/users/alippai/following{/other_user}", "gists_url": "https://api.github.com/users/alippai/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alippai", "id": 240729, "login": "alippai", "node_id": "MDQ6VXNlcjI0MDcyOQ==", "organizations_url": "https://api.github.com/users/alippai/orgs", "received_events_url": "https://api.github.com/users/alippai/received_events", "repos_url": "https://api.github.com/users/alippai/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alippai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alippai/subscriptions", "type": "User", "url": "https://api.github.com/users/alippai" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
13
2020-08-31T08:30:23Z
2020-10-07T09:23:21Z
2020-10-07T01:44:44Z
CONTRIBUTOR
null
- [x] closes #35997 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36004/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36004/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36004.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36004", "merged_at": "2020-10-07T01:44:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36004.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36004" }
https://api.github.com/repos/pandas-dev/pandas/issues/36005
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36005/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36005/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36005/events
https://github.com/pandas-dev/pandas/pull/36005
689,119,799
MDExOlB1bGxSZXF1ZXN0NDc2MjI1Mzcz
36,005
TYP: misc typing cleanup for core/computation/expressions.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-31T11:07:47Z
2020-09-01T09:19:38Z
2020-08-31T20:45:17Z
MEMBER
null
pandas\core\computation\expressions.py:78: error: Need type annotation for 'dtypes' (hint: "dtypes: Set[<type>] = ...") [var-annotated] pandas\core\computation\expressions.py:258: error: Need type annotation for '_TEST_RESULT' (hint: "_TEST_RESULT: List[<type>] = ...") [var-annotated]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36005/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36005/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36005.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36005", "merged_at": "2020-08-31T20:45:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36005.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36005" }
https://api.github.com/repos/pandas-dev/pandas/issues/36006
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36006/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36006/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36006/events
https://github.com/pandas-dev/pandas/issues/36006
689,129,501
MDU6SXNzdWU2ODkxMjk1MDE=
36,006
DOC: use single back-ticks for variable, module, function, and class names
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2020-08-31T11:22:13Z
2020-09-03T16:15:23Z
2020-09-03T16:15:23Z
MEMBER
null
EDIT I've rewritten this issue after Joris' comment. ---- Pandas' docstrings are somewhat inconsistent in using single or double back-ticks, e.g. [isin](https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.isin.html?highlight=isin#pandas.DataFrame.isin) has both ``` `values` ``` and ``` ``values`` ``` In keeping with the [numpydoc docstring guide](https://numpydoc.readthedocs.io/en/latest/format.html), which reads > Use *italics*, **bold** and ``monospace`` if needed in any explanations (but not for variable names and doctest code or multi-line code). Variable, module, function, and class names should be written between single back-ticks (`numpy`). , it might be good update docstrings which don't follow this convention, as well as to mention this convention in the pandas docstring guide.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36006/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36006/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/36007
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36007/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36007/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36007/events
https://github.com/pandas-dev/pandas/pull/36007
689,147,378
MDExOlB1bGxSZXF1ZXN0NDc2MjQ4NjQw
36,007
TYP: misc typing cleanup in core/indexes/multi.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-08-31T11:52:25Z
2020-09-01T16:33:31Z
2020-09-01T16:26:46Z
MEMBER
null
pandas\core\indexes\multi.py:496: error: Need type annotation for 'arrays' [var-annotated] pandas\core\indexes\multi.py:722: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "FrozenList") [assignment] pandas\core\indexes\multi.py:893: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "FrozenList") [assignment] pandas\core\indexes\multi.py:2438: error: List item 0 has incompatible type "slice"; expected "str" [list-item] pandas\core\indexes\multi.py:3095: error: Unsupported left operand type for | ("None") [operator]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36007/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36007/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36007.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36007", "merged_at": "2020-09-01T16:26:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36007.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36007" }
https://api.github.com/repos/pandas-dev/pandas/issues/36008
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36008/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36008/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36008/events
https://github.com/pandas-dev/pandas/pull/36008
689,172,023
MDExOlB1bGxSZXF1ZXN0NDc2MjY5MDI3
36,008
TYP: check_untyped_defs core.internals.concat
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-08-31T12:33:43Z
2020-09-01T09:16:11Z
2020-08-31T20:26:35Z
MEMBER
null
pandas\core\internals\concat.py:106: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]") [assignment] pandas\core\internals\concat.py:131: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]") [assignment] pandas\core\internals\concat.py:377: error: Need type annotation for 'upcast_classes' [var-annotated] pandas\core\internals\concat.py:378: error: Need type annotation for 'null_upcast_classes' [var-annotated]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36008/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36008/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36008.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36008", "merged_at": "2020-08-31T20:26:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36008.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36008" }
https://api.github.com/repos/pandas-dev/pandas/issues/36009
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36009/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36009/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36009/events
https://github.com/pandas-dev/pandas/pull/36009
689,193,900
MDExOlB1bGxSZXF1ZXN0NDc2Mjg3MjQx
36,009
Backport PR #35936: (REGR: Fix inplace updates on column to set correct values)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
0
2020-08-31T13:08:37Z
2020-09-01T14:16:51Z
2020-09-01T14:16:35Z
MEMBER
null
xref #35936
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36009/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36009/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36009.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36009", "merged_at": "2020-09-01T14:16:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36009.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36009" }
https://api.github.com/repos/pandas-dev/pandas/issues/36010
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36010/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36010/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36010/events
https://github.com/pandas-dev/pandas/pull/36010
689,244,209
MDExOlB1bGxSZXF1ZXN0NDc2MzI4OTMy
36,010
POC: ArrayManager -- array-based data manager for columnar store
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
39
2020-08-31T14:17:54Z
2021-01-13T14:10:37Z
2021-01-13T13:23:14Z
MEMBER
null
Related to the discussion in https://github.com/pandas-dev/pandas/issues/10556, and following up on the mailing list discussion *"A case for a simplified (non-consolidating) BlockManager with 1D blocks"* ([archive](https://mail.python.org/pipermail/pandas-dev/2020-May/001219.html)). This branch experiments with an *"array manager"*, storing a list of 1D arrays instead of blocks. The idea is that this `ArrayManager` could optionally be used instead of `BlockManager`. If we ensure the "DataManager" has a clear interface for the rest of pandas (and thus parts outside of the internals don't rely on details like block layout, xref https://github.com/pandas-dev/pandas/issues/34669), this should be possible without much changes outside of /core/internals. Some notes on this experiment: - This is not a complete POC, not every aspect and behaviour of the BlockManager has already been replicated, and there are still places in pandas that rely on the blocks being present, so lots of tests are still failing (although changes in behaviour are also desired). That said, a *lot* of the basic operations do work. Two illustrations of this: - An updated version of the notebook I showed in the mailing list discussion as well: with a certain setup, comparing a set of operations between block vs array manager: https://nbviewer.jupyter.org/gist/jorisvandenbossche/f917d4301d21069e2be2e3b7c7aa4d07 - I ran the arithmetic.py benchmark file, comparing against master, see below for the results. - For now, I focused on an ArrayManager storing a list of *numpy arrays*. Of course we need to expand that to support ExtensionArrays as well (or ExtensionArrays only?), but the reason I limited to numpy arrays for now: besides making it a bit simpler to experiment with, this also gives a fairer comparison with the consolidated BlockManager (because it focuses on the numpy array being 1D vs 2D, and doesn't mix in performance/implementation differences of numpy array vs ExtensionArray). - Personally, I think this looks promising. Many of the methods are a *lot* simpler than the BlockManager equivalent (although not every aspect is implemented yet, that's correct). And for the case I showed in the notebook, performance looks also good. For the benchmark suite I ran, there are obviously slowdowns for the "wide dataframe" benchmarks. There is still a lot of work needed to make this fully working with the rest of pandas, though ;) - Given the early proof of concept stage, detailed code feedback is not yet needed, but I would find it very useful to discuss the following aspects: - High-level feedback on the approach: does the approach of the two subclasses look interesting? The approach of the ArrayManager itself storing a list of arrays? ... - What to do with Series, which now is a SingleBlockManager inheriting from BlockManager (should we also have a "SingleArrayManager"?) - *If* we find this interesting, how can we go from here? How do we decide on this? (what aspects already need to work, how fast does it need to be?) I don't think getting a fully complete implementation passing all tests is is possible in a single PR. Are we fine with merging something partial in master and continue from there? Or a shared feature branch in upstream? ... <details> <summary>Benchmark results for asv_bench/arithmetic.py</summary> As an example, I ran `asv continuous -f 1.1 upstream/master HEAD -b arithmetic`. The benchmarks with a slowdown bigger than a factor 2 can basically be brought back to two cases: - Benchmarks for "wide" dataframes (eg `FrameWithFrameWide` using a case with n_cols > n_rows) - Benchmarks from the `IntFrameWithScalar` class: from a quick profile, it seems that the usage of numexpr is the cause, and disabling this seems to reduce the slowdown to a factor 2. The numexpr code (and checking if it should be used etc) apparently has a high overhead per call, which I assume is something that can be solved (moving those checks a level higher up, so we don't need to repeat it for each column) ``` before after ratio [b45327f5] [047f9091] <master> ! 40.6±6ms failed n/a arithmetic.Ops.time_frame_multi_and(False, 'default') ! 32.7±2ms failed n/a arithmetic.Ops.time_frame_multi_and(False, 1) ! 26.5±1ms failed n/a arithmetic.Ops.time_frame_multi_and(True, 'default') ! 37.7±2ms failed n/a arithmetic.Ops.time_frame_multi_and(True, 1) + 1.06±0.3ms 93.5±7ms 88.57 arithmetic.FrameWithFrameWide.time_op_same_blocks(<built-in function gt>) + 1.51±0.2ms 80.6±3ms 53.34 arithmetic.FrameWithFrameWide.time_op_same_blocks(<built-in function add>) + 1.22±0.08ms 55.1±5ms 45.19 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('le') + 1.30±0.07ms 55.6±20ms 42.83 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('ne') + 2.12±0.4ms 90.1±4ms 42.47 arithmetic.FrameWithFrameWide.time_op_different_blocks(<built-in function gt>) + 1.17±0.04ms 49.4±4ms 42.38 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('gt') + 1.28±0.07ms 52.9±3ms 41.28 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('lt') + 1.29±0.2ms 52.5±0.6ms 40.63 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('ge') + 1.44±0.02ms 56.8±7ms 39.56 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('eq') + 2.08±0.3ms 78.9±10ms 37.90 arithmetic.Ops2.time_frame_float_mod + 2.34±0.1ms 78.3±4ms 33.51 arithmetic.FrameWithFrameWide.time_op_different_blocks(<built-in function add>) + 1.66±0.2ms 46.6±1ms 28.00 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('mul') + 1.78±0.2ms 48.2±5ms 27.02 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('truediv') + 1.14±0.04ms 26.8±4ms 23.49 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function le>) + 1.83±0.2ms 42.9±1ms 23.39 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('add') + 1.94±0.3ms 45.1±4ms 23.29 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('sub') + 1.23±0.07ms 23.0±3ms 18.65 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function ge>) + 1.33±0.08ms 22.8±1ms 17.14 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function eq>) + 1.03±0.05ms 17.6±2ms 17.13 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function ge>) + 1.65±0.5ms 28.1±7ms 17.00 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function eq>) + 1.21±0.05ms 20.1±3ms 16.67 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function gt>) + 1.18±0.03ms 19.4±0.9ms 16.54 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function eq>) + 1.08±0.07ms 17.8±1ms 16.53 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function lt>) + 1.22±0.05ms 20.0±2ms 16.41 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function gt>) + 1.30±0.06ms 21.2±3ms 16.28 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function ne>) + 1.15±0.06ms 18.6±3ms 16.18 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function lt>) + 1.42±0.1ms 22.6±1ms 15.96 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function lt>) + 1.11±0.01ms 17.6±0.4ms 15.85 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function ne>) + 5.30±0.8ms 81.7±20ms 15.40 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('lt') + 1.37±0.2ms 20.7±3ms 15.09 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function gt>) + 1.22±0.05ms 18.0±6ms 14.72 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function ge>) + 1.28±0.1ms 18.6±3ms 14.55 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function gt>) + 1.17±0.08ms 17.0±3ms 14.54 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function gt>) + 1.22±0.1ms 17.6±0.8ms 14.44 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function eq>) + 1.35±0.1ms 19.4±2ms 14.35 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function le>) + 1.35±0.1ms 19.2±4ms 14.21 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function ge>) + 4.36±0.3ms 61.8±8ms 14.17 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('le') + 1.31±0.1ms 18.5±2ms 14.09 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function lt>) + 4.48±0.5ms 62.9±5ms 14.06 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('ge') + 1.15±0.1ms 16.1±1ms 14.01 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function ne>) + 1.33±0.1ms 18.6±2ms 14.00 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function ge>) + 4.37±0.4ms 58.9±2ms 13.48 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('ne') + 1.22±0.2ms 16.2±3ms 13.25 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function le>) + 1.25±0.1ms 16.5±1ms 13.13 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function le>) + 1.44±0.2ms 18.6±4ms 12.90 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function ge>) + 1.75±0.3ms 22.3±2ms 12.74 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function eq>) + 1.42±0.3ms 18.0±7ms 12.68 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function gt>) + 1.36±0.1ms 17.2±1ms 12.67 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function ne>) + 440±30μs 5.57±0.1ms 12.65 arithmetic.Ops2.time_frame_series_dot + 1.63±0.2ms 20.6±2ms 12.65 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function lt>) + 1.35±0.07ms 17.0±3ms 12.58 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function le>) + 1.34±0.2ms 16.7±1ms 12.46 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function eq>) + 1.50±0.1ms 18.6±5ms 12.43 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function ge>) + 1.35±0.07ms 16.8±1ms 12.42 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function ge>) + 1.35±0.1ms 16.7±2ms 12.37 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function le>) + 1.55±0.3ms 18.9±2ms 12.20 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function le>) + 1.67±0.3ms 20.3±5ms 12.17 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function ne>) + 1.55±0.2ms 18.5±0.7ms 11.94 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function le>) + 5.05±0.5ms 59.1±3ms 11.70 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('gt') + 1.51±0.2ms 17.6±2ms 11.66 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function lt>) + 1.33±0.08ms 15.3±1ms 11.50 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function ne>) + 4.47±0.1ms 51.2±1ms 11.45 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('eq') + 1.35±0.1ms 15.4±2ms 11.45 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function lt>) + 1.76±0.5ms 19.8±2ms 11.28 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function lt>) + 1.55±0.09ms 16.8±0.3ms 10.86 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function ne>) + 1.71±0.1ms 18.2±2ms 10.58 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function eq>) + 1.51±0.2ms 15.9±3ms 10.54 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function eq>) + 1.53±0.2ms 15.6±0.3ms 10.19 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function ne>) + 1.95±0.2ms 19.7±5ms 10.08 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function gt>) + 2.22±0.08ms 21.6±4ms 9.73 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function add>) + 1.77±0.08ms 16.7±1ms 9.48 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function gt>) + 2.19±0.1ms 19.9±2ms 9.08 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function mul>) + 1.91±0.04ms 17.0±2ms 8.88 arithmetic.Ops.time_frame_comparison(True, 'default') + 2.18±0.1ms 19.0±1ms 8.73 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function add>) + 2.23±0.08ms 19.1±1ms 8.59 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function sub>) + 2.24±0.07ms 19.0±3ms 8.47 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function mul>) + 2.34±0.06ms 19.5±2ms 8.31 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function truediv>) + 2.52±0.2ms 20.3±6ms 8.06 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function truediv>) + 2.39±0.2ms 19.2±2ms 8.05 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function truediv>) + 3.07±0.4ms 24.4±5ms 7.94 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function mod>) + 2.24±0.1ms 17.5±2ms 7.85 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function add>) + 2.24±0.2ms 17.4±0.7ms 7.79 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function sub>) + 2.33±0.1ms 18.0±2ms 7.73 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function mul>) + 2.15±0.1ms 16.4±4ms 7.60 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function sub>) + 2.10±0.05ms 15.9±2ms 7.57 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function add>) + 2.27±0.1ms 16.8±1ms 7.39 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function add>) + 3.59±0.1ms 26.1±5ms 7.27 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function mod>) + 2.32±0.1ms 16.8±3ms 7.25 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function sub>) + 2.36±0.08ms 17.1±0.7ms 7.23 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function truediv>) + 2.42±0.2ms 17.4±2ms 7.17 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function sub>) + 2.31±0.09ms 16.4±0.9ms 7.11 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function add>) + 7.34±0.9ms 52.2±2ms 7.10 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('add') + 2.32±0.1ms 16.4±0.9ms 7.07 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function add>) + 2.25±0.2ms 15.8±2ms 7.03 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function sub>) + 2.51±0.5ms 17.3±2ms 6.91 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function add>) + 2.43±0.1ms 16.7±0.8ms 6.84 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function mul>) + 2.24±0.1ms 15.2±2ms 6.81 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function mul>) + 7.81±1ms 52.9±4ms 6.78 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('sub') + 2.48±0.2ms 16.4±2ms 6.62 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function mul>) + 6.82±1ms 44.4±0.7ms 6.51 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('mul') + 2.25±0.05ms 14.6±0.8ms 6.48 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function sub>) + 3.14±0.7ms 19.8±2ms 6.30 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function mod>) + 2.57±0.2ms 15.9±2ms 6.19 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function sub>) + 2.57±0.1ms 15.8±2ms 6.16 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function truediv>) + 7.70±1ms 47.2±3ms 6.13 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('truediv') + 3.02±0.1ms 18.4±3ms 6.08 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function mod>) + 2.79±0.2ms 16.8±0.8ms 6.04 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function truediv>) + 3.16±0.3ms 19.1±0.7ms 6.04 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function mod>) + 2.51±0.2ms 14.9±0.5ms 5.92 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function mul>) + 2.71±0.1ms 15.9±0.8ms 5.86 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function mul>) + 2.72±0.3ms 15.9±1ms 5.83 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function truediv>) + 11.9±1ms 64.0±5ms 5.39 arithmetic.Ops2.time_frame_int_mod + 3.59±0.4ms 19.1±5ms 5.33 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 2, <built-in function mod>) + 6.23±0.4ms 32.7±6ms 5.25 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 2, <built-in function mod>) + 3.28±0.2ms 17.2±2ms 5.23 arithmetic.Ops.time_frame_add(True, 'default') + 23.7±6ms 112±7ms 4.70 arithmetic.FrameWithFrameWide.time_op_same_blocks(<built-in function floordiv>) + 3.51±0.4ms 16.5±0.6ms 4.70 arithmetic.Ops.time_frame_mult(True, 'default') + 3.61±2ms 16.3±1ms 4.52 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function truediv>) + 45.8±4ms 194±20ms 4.25 arithmetic.FrameWithFrameWide.time_op_different_blocks(<built-in function floordiv>) + 5.64±0.6ms 21.9±1ms 3.89 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 4, <built-in function mod>) + 3.13±0.1ms 11.4±0.5ms 3.63 arithmetic.Ops.time_frame_comparison(True, 1) + 12.2±0.8ms 42.5±4ms 3.47 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 5.0, <built-in function pow>) + 4.03±0.7ms 11.2±0.3ms 2.79 arithmetic.Ops.time_frame_add(True, 1) + 53.0±6ms 143±10ms 2.69 arithmetic.Ops2.time_frame_float_floor_by_zero + 4.11±0.2ms 11.1±1ms 2.69 arithmetic.Ops.time_frame_mult(True, 1) + 54.9±4ms 125±9ms 2.28 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('floordiv') + 25.0±0.6ms 55.9±5ms 2.24 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 4, <built-in function pow>) + 2.42±0.2ms 5.21±0.6ms 2.16 arithmetic.Ops.time_frame_comparison(False, 'default') + 16.2±1ms 31.9±3ms 1.97 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.int64'>, 3.0, <built-in function pow>) + 30.9±3ms 58.1±10ms 1.88 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 5.0, <built-in function pow>) + 3.36±0.3ms 5.76±0.4ms 1.71 arithmetic.Ops.time_frame_add(False, 'default') + 3.10±0.3ms 5.03±0.3ms 1.62 arithmetic.Ops.time_frame_comparison(False, 1) + 30.5±3ms 49.2±9ms 1.61 arithmetic.IntFrameWithScalar.time_frame_op_with_scalar(<class 'numpy.float64'>, 3.0, <built-in function pow>) + 3.42±0.3ms 5.51±0.4ms 1.61 arithmetic.Ops.time_frame_mult(False, 1) + 3.52±0.2ms 5.63±0.1ms 1.60 arithmetic.Ops.time_frame_add(False, 1) + 3.60±0.2ms 5.74±0.5ms 1.59 arithmetic.Ops.time_frame_mult(False, 'default') + 57.9±1ms 89.7±6ms 1.55 arithmetic.Ops2.time_frame_float_div + 32.1±0.5ms 48.7±2ms 1.52 arithmetic.Ops2.time_frame_dot + 2.96±0.06ms 4.32±0.4ms 1.46 arithmetic.DateInferOps.time_add_timedeltas + 65.9±2ms 93.8±1ms 1.42 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis1('pow') + 106±2ms 132±3ms 1.25 arithmetic.MixedFrameWithSeriesAxis.time_frame_op_with_series_axis0('pow') + 1.33±0.01ms 1.64±0.2ms 1.24 arithmetic.OffsetArrayArithmetic.time_add_series_offset(<YearEnd: month=12>) + 7.09±0.2ms 8.49±0.5ms 1.20 arithmetic.DateInferOps.time_subtract_datetimes + 1.13±0ms 1.33±0.09ms 1.18 arithmetic.OffsetArrayArithmetic.time_add_series_offset(<YearBegin: month=1>) + 1.25±0.02ms 1.47±0.1ms 1.18 arithmetic.OffsetArrayArithmetic.time_add_series_offset(<SemiMonthEnd: day_of_month=15>) + 2.52±0.04ms 2.97±0.2ms 1.18 arithmetic.OffsetArrayArithmetic.time_add_series_offset(<BusinessDay>) + 1.16±0.01ms 1.32±0.06ms 1.13 arithmetic.OffsetArrayArithmetic.time_add_series_offset(<QuarterBegin: startingMonth=3>) - 1.67±0.2ms 1.42±0.02ms 0.85 arithmetic.OffsetArrayArithmetic.time_add_dti_offset(<MonthEnd>) - 282±20μs 230±5μs 0.81 arithmetic.NumericInferOps.time_subtract(<class 'numpy.int8'>) - 4.36±0.2ms 3.54±0.3ms 0.81 arithmetic.NumericInferOps.time_modulo(<class 'numpy.uint16'>) - 1.29±0.1ms 1.03±0.06ms 0.80 arithmetic.NumericInferOps.time_multiply(<class 'numpy.int64'>) - 1.77±0.09ms 1.39±0.03ms 0.79 arithmetic.OffsetArrayArithmetic.time_add_dti_offset(<SemiMonthBegin: day_of_month=15>) - 1.54±0.2ms 1.13±0.02ms 0.74 arithmetic.NumericInferOps.time_divide(<class 'numpy.int8'>) - 301±40μs 221±4μs 0.73 arithmetic.OffsetArrayArithmetic.time_add_series_offset(<Day>) - 3.85±0.5ms 2.58±0.2ms 0.67 arithmetic.OffsetArrayArithmetic.time_add_dti_offset(<BusinessDay>) SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY. PERFORMANCE DECREASED. ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36010/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36010/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36010.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36010", "merged_at": "2021-01-13T13:23:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36010.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36010" }
https://api.github.com/repos/pandas-dev/pandas/issues/36011
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36011/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36011/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36011/events
https://github.com/pandas-dev/pandas/pull/36011
689,270,222
MDExOlB1bGxSZXF1ZXN0NDc2MzUwMzM2
36,011
CI: suppress another setuptools warning
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
2
2020-08-31T14:53:54Z
2020-08-31T16:57:40Z
2020-08-31T16:27:28Z
MEMBER
null
Seeing this on some new PRs. xref #35252
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36011/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36011/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36011.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36011", "merged_at": "2020-08-31T16:27:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36011.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36011" }
https://api.github.com/repos/pandas-dev/pandas/issues/36012
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36012/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36012/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36012/events
https://github.com/pandas-dev/pandas/pull/36012
689,295,641
MDExOlB1bGxSZXF1ZXN0NDc2MzcxMDY2
36,012
CI: Unpin MyPy
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-08-31T15:29:23Z
2020-09-02T09:21:03Z
2020-09-01T23:34:16Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36012/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36012/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36012.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36012", "merged_at": "2020-09-01T23:34:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36012.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36012" }
https://api.github.com/repos/pandas-dev/pandas/issues/36013
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36013/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36013/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36013/events
https://github.com/pandas-dev/pandas/pull/36013
689,334,294
MDExOlB1bGxSZXF1ZXN0NDc2NDAyNjUw
36,013
Backport PR #36011 on branch 1.1.x (CI: suppress another setuptools warning)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
0
2020-08-31T16:28:59Z
2020-09-01T14:14:38Z
2020-09-01T14:14:38Z
NONE
null
Backport PR #36011: CI: suppress another setuptools warning
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36013/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36013/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36013.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36013", "merged_at": "2020-09-01T14:14:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36013.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36013" }
https://api.github.com/repos/pandas-dev/pandas/issues/36014
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36014/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36014/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36014/events
https://github.com/pandas-dev/pandas/issues/36014
689,402,243
MDU6SXNzdWU2ODk0MDIyNDM=
36,014
BUG: groupby and agg on read-only array gives ValueError: buffer source array is read-only
{ "avatar_url": "https://avatars.githubusercontent.com/u/12874561?v=4", "events_url": "https://api.github.com/users/jeet-parekh/events{/privacy}", "followers_url": "https://api.github.com/users/jeet-parekh/followers", "following_url": "https://api.github.com/users/jeet-parekh/following{/other_user}", "gists_url": "https://api.github.com/users/jeet-parekh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jeet-parekh", "id": 12874561, "login": "jeet-parekh", "node_id": "MDQ6VXNlcjEyODc0NTYx", "organizations_url": "https://api.github.com/users/jeet-parekh/orgs", "received_events_url": "https://api.github.com/users/jeet-parekh/received_events", "repos_url": "https://api.github.com/users/jeet-parekh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jeet-parekh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeet-parekh/subscriptions", "type": "User", "url": "https://api.github.com/users/jeet-parekh" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-09-09T09:07:44Z", "closed_issues": 94, "created_at": "2020-08-17T19:11:56Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-09-08T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/76", "id": 5781056, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels", "node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==", "number": 76, "open_issues": 0, "state": "closed", "title": "1.1.2", "updated_at": "2020-10-02T11:57:23Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76" }
8
2020-08-31T18:23:31Z
2020-09-04T14:28:16Z
2020-09-04T14:28:16Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. Two variants of this bug have been reported - #35436 and #34857 EDIT: I read into those two issues a bit more. They don't seem similar. But I'll keep it there. - [x] I have confirmed this bug exists on the latest version of pandas. Bug exists in pandas 1.1.1 --- #### Code Sample, a copy-pastable example ```python import pandas as pd import pyarrow as pa df = pd.DataFrame( { "sepal_length": [5.1, 4.9, 4.7, 4.6, 5.0], "species": ["setosa", "setosa", "setosa", "setosa", "setosa"], } ) context = pa.default_serialization_context() data = context.serialize(df).to_buffer().to_pybytes() df_new = context.deserialize(data) # this fails df_new.groupby(["species"]).agg({"sepal_length": "sum"}) # this works # df_new.copy().groupby(["species"]).agg({"sepal_length": "sum"}) ``` #### Problem description This is the traceback. ```python-traceback Traceback (most recent call last): File "demo.py", line 16, in <module> df_new.groupby(["species"]).agg({"sepal_length": "sum"}) File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 949, in aggregate result, how = self._aggregate(func, *args, **kwargs) File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/base.py", line 416, in _aggregate result = _agg(arg, _agg_1dim) File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/base.py", line 383, in _agg result[fname] = func(fname, agg_how) File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/base.py", line 367, in _agg_1dim return colg.aggregate(how) File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 240, in aggregate return getattr(self, func)(*args, **kwargs) File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 1539, in sum return self._agg_general( File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 999, in _agg_general return self._cython_agg_general( File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 1033, in _cython_agg_general result, agg_names = self.grouper.aggregate( File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 584, in aggregate return self._cython_operation( File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 537, in _cython_operation result = self._aggregate(result, counts, values, codes, func, min_count) File "/home/jeet/miniconda3/envs/rnd/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 599, in _aggregate agg_func(result, counts, values, comp_ids, min_count) File "pandas/_libs/groupby.pyx", line 475, in pandas._libs.groupby._group_add File "stringsource", line 658, in View.MemoryView.memoryview_cwrapper File "stringsource", line 349, in View.MemoryView.memoryview.__cinit__ ValueError: buffer source array is read-only ``` In the `.agg` line that fails, if you do a min, max, median, or count aggregation, then it's going to work. But if you do a sum or mean, then it fails. #### Expected Output I expected the aggregation to succeed without any error. #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-7642-generic Version : #46~1597422484~20.04~e78f762-Ubuntu SMP Wed Aug 19 14:35:06 UTC machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.1 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 49.6.0.post20200814 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.5 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.17.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36014/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36014/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/36015
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36015/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36015/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36015/events
https://github.com/pandas-dev/pandas/pull/36015
689,529,826
MDExOlB1bGxSZXF1ZXN0NDc2NTYwMjQ4
36,015
BUG: PeriodIndex.get_loc incorrectly raising ValueError instead of KeyError
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-08-31T21:51:19Z
2020-09-02T01:02:52Z
2020-09-01T23:32:01Z
MEMBER
null
- [x] closes #34240 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36015/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36015/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36015.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36015", "merged_at": "2020-09-01T23:32:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36015.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36015" }
https://api.github.com/repos/pandas-dev/pandas/issues/36016
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/36016/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/36016/comments
https://api.github.com/repos/pandas-dev/pandas/issues/36016/events
https://github.com/pandas-dev/pandas/pull/36016
689,554,588
MDExOlB1bGxSZXF1ZXN0NDc2NTgyNjAy
36,016
TYP: Annotate plotting stacker
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-08-31T22:23:53Z
2020-09-01T17:41:26Z
2020-09-01T17:28:03Z
MEMBER
null
In AreaPlot._plot we call `ax.fill_between`, which means `ax` must be an `Axes` object (and in particular, not an `Axis` object). This chases down all the other places we can infer `Axes` from that. Then some edits in an `__init__` to get mypy passing, and revert annotations of `_plot` in a few places because mypy complained about signature mismatch.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/36016/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/36016/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/36016.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/36016", "merged_at": "2020-09-01T17:28:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/36016.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36016" }