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/31215
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31215/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31215/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31215/events
https://github.com/pandas-dev/pandas/pull/31215
553,721,622
MDExOlB1bGxSZXF1ZXN0MzY2MDA0Mjc0
31,215
Follow-up: XLSB Support
{ "avatar_url": "https://avatars.githubusercontent.com/u/32839123?v=4", "events_url": "https://api.github.com/users/Rik-de-Kort/events{/privacy}", "followers_url": "https://api.github.com/users/Rik-de-Kort/followers", "following_url": "https://api.github.com/users/Rik-de-Kort/following{/other_user}", "gists_url": "https://api.github.com/users/Rik-de-Kort/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rik-de-Kort", "id": 32839123, "login": "Rik-de-Kort", "node_id": "MDQ6VXNlcjMyODM5MTIz", "organizations_url": "https://api.github.com/users/Rik-de-Kort/orgs", "received_events_url": "https://api.github.com/users/Rik-de-Kort/received_events", "repos_url": "https://api.github.com/users/Rik-de-Kort/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rik-de-Kort/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rik-de-Kort/subscriptions", "type": "User", "url": "https://api.github.com/users/Rik-de-Kort" }
[ { "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": "bfe5bf", "default": false, "description": "read_excel, to_excel"...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2020-01-22T18:38:45Z
2020-02-01T20:33:13Z
2020-01-22T20:11:24Z
CONTRIBUTOR
null
Updated min version for `pyxlsb` to 1.0.6 and removed the now unnecessary xfail for read from url. Turns out the other xfail is actually unnecessary so I've removed it. Question: is my name supposed to show up in the contributors list? - [X] closes #8540 - [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/31215/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31215/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31215.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31215", "merged_at": "2020-01-22T20:11:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31215.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31215" }
https://api.github.com/repos/pandas-dev/pandas/issues/31216
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31216/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31216/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31216/events
https://github.com/pandas-dev/pandas/pull/31216
553,725,253
MDExOlB1bGxSZXF1ZXN0MzY2MDA3Mjkx
31,216
(wip) BUG: replacing one column's values was changing other columns' dtypes
{ "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": "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" } ]
closed
false
null
[]
null
2
2020-01-22T18:46:30Z
2020-10-10T14:14:46Z
2020-07-26T18:05:12Z
MEMBER
null
…s' dtypes - [x] closes #30512 - [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/31216/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31216/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31216.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31216", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31216.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31216" }
https://api.github.com/repos/pandas-dev/pandas/issues/31217
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31217/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31217/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31217/events
https://github.com/pandas-dev/pandas/pull/31217
553,736,304
MDExOlB1bGxSZXF1ZXN0MzY2MDE2NDQy
31,217
DOC: fixup whatsnew
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-22T19:09:30Z
2020-01-22T19:38:00Z
2020-01-22T19:37:57Z
CONTRIBUTOR
null
The lack of newline below the ipython directive may be causing issues.
{ "+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/31217/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31217/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31217.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31217", "merged_at": "2020-01-22T19:37:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31217.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31217" }
https://api.github.com/repos/pandas-dev/pandas/issues/31218
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31218/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31218/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31218/events
https://github.com/pandas-dev/pandas/issues/31218
553,754,979
MDU6SXNzdWU1NTM3NTQ5Nzk=
31,218
BUG: DTA/TDA setitem breaks freq on views
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": ...
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" }
0
2020-01-22T19:46:25Z
2020-07-10T13:58:36Z
null
MEMBER
null
DatetimeArray/TimedeltaArray `__setitem__` resets the array's freq to None, but this doesn't propagate to views: ``` dti = pd.date_range('2016-01-01', periods=5) dta = dti._data view = dta[:] assert view.freq == dta.freq == "D" dta[0] = pd.NaT assert dta.freq is None >>> view.freq <Day> ``` `view.freq` is now incorrect. It will be a hassle, but I think the thing to do is remove `freq` from DTA/TDA altogether. It has a different meaning from PeriodArray.freq and isn't necessary for the "vectorized Timestamp/Timedelta" abstraction.
{ "+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/31218/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31218/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31219
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31219/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31219/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31219/events
https://github.com/pandas-dev/pandas/issues/31219
553,760,015
MDU6SXNzdWU1NTM3NjAwMTU=
31,219
ENH: maybe_dispatch_to_dunder_op handle min/max
{ "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" }
[]
closed
false
null
[]
null
4
2020-01-22T19:56:19Z
2020-09-02T23:44:08Z
2020-09-02T23:44:08Z
MEMBER
null
I'm running up against a case where I need np.maximum.reduce(period_array) to work; itd be nice if that could be handled by maybe_dispatch to call PeriodArray.max cc @jorisvandenbossche @TomAugspurger
{ "+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/31219/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31219/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31220
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31220/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31220/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31220/events
https://github.com/pandas-dev/pandas/issues/31220
553,760,059
MDU6SXNzdWU1NTM3NjAwNTk=
31,220
Index.sort_values puts missing values at the start with ascending=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "0e8a16"...
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/26526439?v=4", "events_url": "https://api.github.com/users/junjunjunk/events{/privacy}", "followers_url": "https://api.github.com/users/junjunjunk/followers", "following_url": "https://api.github.com/users/junjunjunk/following{/other_user}", "gists_url": "https://api.github.com/users/junjunjunk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/junjunjunk", "id": 26526439, "login": "junjunjunk", "node_id": "MDQ6VXNlcjI2NTI2NDM5", "organizations_url": "https://api.github.com/users/junjunjunk/orgs", "received_events_url": "https://api.github.com/users/junjunjunk/received_events", "repos_url": "https://api.github.com/users/junjunjunk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/junjunjunk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/junjunjunk/subscriptions", "type": "User", "url": "https://api.github.com/users/junjunjunk" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/26526439?v=4", "events_url": "https://api.github.com/users/junjunjunk/events{/privacy}", "followers_url": "https://api.github.com/users/junjunjunk/followers", "following_url": "https://api.github.com/users/junjunjunk/following{/other_user}", ...
null
5
2020-01-22T19:56:25Z
2020-09-20T20:47:21Z
2020-09-20T20:47:21Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible Index.sort_values places missing values at the start of the result with `ascending=False` ```python In [4]: pd.Index([1, np.nan, 0]).sort_values(ascending=False) Out[4]: Float64Index([nan, 1.0, 0.0], dtype='float64') In [5]: pd.Series([1, np.nan, 0]).sort_values(ascending=False) Out[5]: 0 1.0 2 0.0 1 NaN dtype: float64 ``` #### Problem description This differs from Series.sort_values, which always leaves NA values at the end. #### Expected Output ```python Out[4]: Float64Index([1.0, 0.0, nan], 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/31220/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31220/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31221
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31221/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31221/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31221/events
https://github.com/pandas-dev/pandas/pull/31221
553,767,108
MDExOlB1bGxSZXF1ZXN0MzY2MDQxMzI0
31,221
Backport PR #31215 on branch 1.0.x (Follow-up: XLSB Support)
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel"...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2020-01-22T20:11:35Z
2020-01-23T09:40:20Z
2020-01-22T21:08:55Z
NONE
null
Backport PR #31215: Follow-up: XLSB Support
{ "+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/31221/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31221/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31221.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31221", "merged_at": "2020-01-22T21:08:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31221.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31221" }
https://api.github.com/repos/pandas-dev/pandas/issues/31222
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31222/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31222/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31222/events
https://github.com/pandas-dev/pandas/issues/31222
553,817,831
MDU6SXNzdWU1NTM4MTc4MzE=
31,222
Empty DatetimeIndex gets converted on assignment with .loc
{ "avatar_url": "https://avatars.githubusercontent.com/u/30598365?v=4", "events_url": "https://api.github.com/users/tomasssalles/events{/privacy}", "followers_url": "https://api.github.com/users/tomasssalles/followers", "following_url": "https://api.github.com/users/tomasssalles/following{/other_user}", "gists_url": "https://api.github.com/users/tomasssalles/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tomasssalles", "id": 30598365, "login": "tomasssalles", "node_id": "MDQ6VXNlcjMwNTk4MzY1", "organizations_url": "https://api.github.com/users/tomasssalles/orgs", "received_events_url": "https://api.github.com/users/tomasssalles/received_events", "repos_url": "https://api.github.com/users/tomasssalles/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tomasssalles/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tomasssalles/subscriptions", "type": "User", "url": "https://api.github.com/users/tomasssalles" }
[]
closed
false
null
[]
null
2
2020-01-22T21:57:38Z
2020-01-23T09:52:06Z
2020-01-23T09:52:05Z
NONE
null
#### Code Sample ```python from pandas import DataFrame, Series, DatetimeIndex from numpy import float64 df = DataFrame(index=DatetimeIndex([]), columns=["A", "B"]).astype({"A": float64}) df.loc[:, "A"] = Series(index=df.index, dtype=float64) type(df.index) ``` #### Output ```python pandas.core.indexes.range.RangeIndex ``` #### Problem description The index of the dataframe gets converted from `DatetimeIndex` into `RangeIndex` even though the `Series` assigned to one of the columns has the exact same index as the dataframe. We often want to check that the index is a `DatetimeIndex` when validating the data we receive as input. If this can change unexpectedly from a simple assignment operation when the `DataFrame` is empty, it becomes necessary to treat empty `DataFrame`s as special cases in our code. This is at the very least unexpected behaviour: - It doesn't happen if the index is not empty; - It doesn't happen if we use `df["A"]` (instead of `.loc`); - It doesn't happen if there's only one column; - It doesn't happen if we omit `.astype({"A": float64})` (i.e. if both columns initially have dtype `object`). #### Expected Output ```python pandas.core.indexes.datetimes.DatetimeIndex ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-26-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 42.0.2 Cython : None pytest : 5.3.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.12 tables : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31222/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31222/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31223
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31223/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31223/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31223/events
https://github.com/pandas-dev/pandas/issues/31223
553,839,409
MDU6SXNzdWU1NTM4Mzk0MDk=
31,223
GroupBy aggregation fails if DataFrame has CategoricalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/13241412?v=4", "events_url": "https://api.github.com/users/frances-h/events{/privacy}", "followers_url": "https://api.github.com/users/frances-h/followers", "following_url": "https://api.github.com/users/frances-h/following{/other_user}", "gists_url": "https://api.github.com/users/frances-h/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frances-h", "id": 13241412, "login": "frances-h", "node_id": "MDQ6VXNlcjEzMjQxNDEy", "organizations_url": "https://api.github.com/users/frances-h/orgs", "received_events_url": "https://api.github.com/users/frances-h/received_events", "repos_url": "https://api.github.com/users/frances-h/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frances-h/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frances-h/subscriptions", "type": "User", "url": "https://api.github.com/users/frances-h" }
[ { "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 t...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2020-01-22T22:47:16Z
2020-01-28T01:57:19Z
2020-01-28T01:57:19Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python ids = pd.Categorical([0, 1, 2]) df = pd.DataFrame({ 'id': ids, 'groups': [1, 1, 2], 'value': [0, 1, 0] }).set_index('id') df.groupby('groups').agg({'value': pd.Series.nunique}) ``` #### Problem description The above works in v. `0.25.3` but not in `1.0.0rc0`. It fails with: `TypeError: Cannot convert Categorical to numpy.ndarray` Full stack trace: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/groupby/generic.py", line 940, in aggregate result, how = self._aggregate(func, *args, **kwargs) File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/base.py", line 430, in _aggregate result = _agg(arg, _agg_1dim) File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/base.py", line 397, in _agg result[fname] = func(fname, agg_how) File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/base.py", line 381, in _agg_1dim return colg.aggregate(how) File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/groupby/generic.py", line 265, in aggregate return self._python_agg_general(func, *args, **kwargs) File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 935, in _python_agg_general result, counts = self.grouper.agg_series(obj, f) File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/groupby/ops.py", line 624, in agg_series return self._aggregate_series_fast(obj, func) File "~/.virtualenvs/3.6-test-pd-1.0.0/lib/python3.6/site-packages/pandas/core/groupby/ops.py", line 648, in _aggregate_series_fast grouper = libreduction.SeriesGrouper(obj, func, group_index, ngroups, dummy) File "pandas/_libs/reduction.pyx", line 329, in pandas._libs.reduction.SeriesGrouper.__init__ TypeError: Cannot convert Categorical to numpy.ndarray ``` #### Expected Output The correct result applying the aggregation function to the DataFrameGroupBy #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.0rc0 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.1 setuptools : 45.1.0 Cython : None pytest : 5.2.0 hypothesis : None sphinx : 2.0.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.2.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : 0.3.2 gcsfs : None lxml.etree : None matplotlib : 3.0.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.2.0 s3fs : 0.4.0 scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : 0.47.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/31223/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31223/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31224
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31224/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31224/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31224/events
https://github.com/pandas-dev/pandas/pull/31224
553,840,327
MDExOlB1bGxSZXF1ZXN0MzY2MTAxNDk1
31,224
REF/TST: collect misplaced tests
{ "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": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-22T22:49:36Z
2020-01-23T17:20:01Z
2020-01-23T14:25:31Z
MEMBER
null
ATM we are mixing/matching pytest vs UnitTest idioms, which is confusing for me because I have to track down both inheritance and fixtures. So I'm trying to clean this up, leading to some yak shaving.
{ "+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/31224/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31224/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31224.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31224", "merged_at": "2020-01-23T14:25:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31224.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31224" }
https://api.github.com/repos/pandas-dev/pandas/issues/31225
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31225/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31225/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31225/events
https://github.com/pandas-dev/pandas/issues/31225
553,842,609
MDU6SXNzdWU1NTM4NDI2MDk=
31,225
Make the documentation for pandas.Series.str.replace() clearer
{ "avatar_url": "https://avatars.githubusercontent.com/u/6463520?v=4", "events_url": "https://api.github.com/users/drkarthi/events{/privacy}", "followers_url": "https://api.github.com/users/drkarthi/followers", "following_url": "https://api.github.com/users/drkarthi/following{/other_user}", "gists_url": "https://api.github.com/users/drkarthi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/drkarthi", "id": 6463520, "login": "drkarthi", "node_id": "MDQ6VXNlcjY0NjM1MjA=", "organizations_url": "https://api.github.com/users/drkarthi/orgs", "received_events_url": "https://api.github.com/users/drkarthi/received_events", "repos_url": "https://api.github.com/users/drkarthi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/drkarthi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/drkarthi/subscriptions", "type": "User", "url": "https://api.github.com/users/drkarthi" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/53330017?v=4", "events_url": "https://api.github.com/users/ashwinpn/events{/privacy}", "followers_url": "https://api.github.com/users/ashwinpn/followers", "following_url": "https://api.github.com/users/ashwinpn/following{/other_user}", "gists_url": "https://api.github.com/users/ashwinpn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ashwinpn", "id": 53330017, "login": "ashwinpn", "node_id": "MDQ6VXNlcjUzMzMwMDE3", "organizations_url": "https://api.github.com/users/ashwinpn/orgs", "received_events_url": "https://api.github.com/users/ashwinpn/received_events", "repos_url": "https://api.github.com/users/ashwinpn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ashwinpn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ashwinpn/subscriptions", "type": "User", "url": "https://api.github.com/users/ashwinpn" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/53330017?v=4", "events_url": "https://api.github.com/users/ashwinpn/events{/privacy}", "followers_url": "https://api.github.com/users/ashwinpn/followers", "following_url": "https://api.github.com/users/ashwinpn/following{/other_user}", "gi...
null
1
2020-01-22T22:55:42Z
2020-03-06T15:25:33Z
2020-03-06T15:25:33Z
NONE
null
#### Problem description The current documentation of str.replace says ```Replace occurrences of pattern/regex in the Series/Index with some other string. Equivalent to str.replace() or re.sub().```. For the novice user this suggests that base Python's str.replace() and re.sub() provide equivalent functionality. My suggestion is to explicitly specify that this depends on the value of regex, making it clearer. Something like this: ```Replace occurrences of pattern/regex in the Series/Index with some other string. Equivalent to str.replace() or re.sub() **depending on the _regex_ value**.```
{ "+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/31225/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31225/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31226
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31226/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31226/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31226/events
https://github.com/pandas-dev/pandas/pull/31226
553,852,028
MDExOlB1bGxSZXF1ZXN0MzY2MTExMTg5
31,226
CLN: unused kwarg, poorly named obj->key
{ "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": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-22T23:21:17Z
2020-01-23T17:53:27Z
2020-01-23T17:53:24Z
MEMBER
null
elsehwere we use `obj = self.obj` which is either a Series or DataFrame, better to call this `key` like we do elsewhere
{ "+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/31226/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31226/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31226.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31226", "merged_at": "2020-01-23T17:53:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31226.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31226" }
https://api.github.com/repos/pandas-dev/pandas/issues/31227
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31227/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31227/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31227/events
https://github.com/pandas-dev/pandas/pull/31227
553,853,799
MDExOlB1bGxSZXF1ZXN0MzY2MTEyNjQ1
31,227
WIP: TST: pass random names in tm.makeDateIndex
{ "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": "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": "b60205", "d...
closed
false
null
[]
null
4
2020-01-22T23:26:18Z
2021-11-20T23:21:54Z
2020-01-29T16:11:35Z
MEMBER
null
@WillAyd nearly all of the remaining test failures locally are in the json tests. can you take a look and suggest whether we just need to pass `check_names=False` I expect if we do something like this we won't want to actually randomize; that part I guess is a proof of concept for now.
{ "+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/31227/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31227/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31227.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31227", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31227.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31227" }
https://api.github.com/repos/pandas-dev/pandas/issues/31228
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31228/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31228/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31228/events
https://github.com/pandas-dev/pandas/pull/31228
553,865,284
MDExOlB1bGxSZXF1ZXN0MzY2MTIyMTQ0
31,228
TST: parametrize tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-23T00:03:11Z
2020-01-24T12:19:57Z
2020-01-23T15:55:56Z
MEMBER
null
- [ ] closes #xxxx - [x] 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/31228/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31228/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31228.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31228", "merged_at": "2020-01-23T15:55:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31228.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31228" }
https://api.github.com/repos/pandas-dev/pandas/issues/31229
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31229/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31229/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31229/events
https://github.com/pandas-dev/pandas/pull/31229
553,869,159
MDExOlB1bGxSZXF1ZXN0MzY2MTI1MzI3
31,229
(Fixes CI) Replaced set comprehension with a generator
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2020-01-23T00:14:58Z
2020-01-24T12:18:37Z
2020-01-23T00:49:55Z
MEMBER
null
- [x] closes #31149 - [x] 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/31229/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31229/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31229.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31229", "merged_at": "2020-01-23T00:49:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31229.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31229" }
https://api.github.com/repos/pandas-dev/pandas/issues/31230
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31230/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31230/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31230/events
https://github.com/pandas-dev/pandas/pull/31230
553,873,831
MDExOlB1bGxSZXF1ZXN0MzY2MTI5MTk0
31,230
make TDI.get_value use get_loc, fix wrong-dtype NaT
{ "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": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" }, { "color": "207de5", "default": false, "des...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-23T00:30:46Z
2020-01-23T17:29:18Z
2020-01-23T14:27:36Z
MEMBER
null
the wrong-dtype NaT is a bug, the DTI analogue is fixed in #31163. The refactor to make get_value is get_loc is basically what we want all of them index subclasses to do (at which point we de-duplicate and possibly get rid of get_value altogether) cc @jreback
{ "+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/31230/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31230/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31230.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31230", "merged_at": "2020-01-23T14:27:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31230.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31230" }
https://api.github.com/repos/pandas-dev/pandas/issues/31231
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31231/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31231/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31231/events
https://github.com/pandas-dev/pandas/pull/31231
553,879,085
MDExOlB1bGxSZXF1ZXN0MzY2MTMzNDQ5
31,231
Backport PR #31229 on branch 1.0.x ((Fixes CI) Replaced set comprehension with a generator)
{ "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T00:50:26Z
2020-01-23T03:07:15Z
2020-01-23T03:07:15Z
NONE
null
Backport PR #31229: (Fixes CI) Replaced set comprehension with a generator
{ "+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/31231/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31231/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31231.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31231", "merged_at": "2020-01-23T03:07:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31231.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31231" }
https://api.github.com/repos/pandas-dev/pandas/issues/31232
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31232/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31232/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31232/events
https://github.com/pandas-dev/pandas/pull/31232
553,887,652
MDExOlB1bGxSZXF1ZXN0MzY2MTQwMzcy
31,232
REGR: Fix IntervalIndex.map when result is object dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4", "events_url": "https://api.github.com/users/jschendel/events{/privacy}", "followers_url": "https://api.github.com/users/jschendel/followers", "following_url": "https://api.github.com/users/jschendel/following{/other_user}", "gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jschendel", "id": 5332445, "login": "jschendel", "node_id": "MDQ6VXNlcjUzMzI0NDU=", "organizations_url": "https://api.github.com/users/jschendel/orgs", "received_events_url": "https://api.github.com/users/jschendel/received_events", "repos_url": "https://api.github.com/users/jschendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jschendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jschendel" }
[ { "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": ...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
1
2020-01-23T01:22:55Z
2020-02-24T18:13:47Z
2020-01-23T14:16:00Z
MEMBER
null
- [X] closes #31202 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` No whatnew since this is a regression.
{ "+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/31232/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31232/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31232.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31232", "merged_at": "2020-01-23T14:16:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31232.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31232" }
https://api.github.com/repos/pandas-dev/pandas/issues/31233
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31233/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31233/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31233/events
https://github.com/pandas-dev/pandas/issues/31233
553,896,892
MDU6SXNzdWU1NTM4OTY4OTI=
31,233
DOC ENH: Move DataFrame.info from "Serialization / IO / conversion" to "Attributes and underlying data"
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-23T02:01:47Z
2020-01-26T01:15:23Z
2020-01-26T01:15:23Z
CONTRIBUTOR
null
In the [API reference for DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/frame.html), why is `DataFrame.info()` in the "Serialization / IO / conversion" section? It would make more sense to me in the "Attributes and underlying data" section, which has similar methods and attributes like `DataFrame.memory_usage()`, `DataFrame.dtypes`and `DataFrame.shape`. Glad to make a pull request if this makes sense to others.
{ "+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/31233/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31233/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31234
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31234/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31234/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31234/events
https://github.com/pandas-dev/pandas/issues/31234
553,898,219
MDU6SXNzdWU1NTM4OTgyMTk=
31,234
DOC BUG DataFrame.plot() and Series.plot() documentation missing
{ "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" }
[]
closed
false
null
[]
null
1
2020-01-23T02:07:43Z
2020-01-23T08:48:04Z
2020-01-23T08:48:04Z
CONTRIBUTOR
null
In the [API reference for `DataFrame.plot()`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.html#pandas.DataFrame.plot) and [`Series.plot()`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.plot.html#pandas.Series.plot) the documentation is missing.
{ "+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/31234/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31234/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31235
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31235/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31235/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31235/events
https://github.com/pandas-dev/pandas/issues/31235
553,899,943
MDU6SXNzdWU1NTM4OTk5NDM=
31,235
DOC BUG API Reference documentation truncated for Series.unstack(), Series.
{ "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": 7171206...
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" }
3
2020-01-23T02:15:21Z
2020-01-24T17:49:58Z
2020-01-24T17:49:58Z
CONTRIBUTOR
null
The [API Reference documentation for `Series`](https://pandas.pydata.org/pandas-docs/stable/reference/series.html) and [`DataFrame`](https://pandas.pydata.org/pandas-docs/stable/reference/frame.html) have truncated documentation strings for `Series.at_time()`, `Series.unstack()`, and `DataFrame.at_time()`. The bug appears to occur where the docstring contains ". " (that is, a period followed by a space). Presumably, this pattern is being used to find the end of the one-line function description.
{ "+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/31235/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31235/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31236
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31236/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31236/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31236/events
https://github.com/pandas-dev/pandas/pull/31236
553,901,507
MDExOlB1bGxSZXF1ZXN0MzY2MTUxMzMy
31,236
WIP/TST: add dt64tz to indices fixture
{ "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": "b60205", "default": false, "description": "Temporarily-closed PR the author plans to return to", "id": 1991290519, "name": "Mothballed", "node_id": "MDU6TGFiZWwxOTkxMjkwNTE5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Mothballed" } ]
closed
false
null
[]
null
1
2020-01-23T02:21:51Z
2020-04-21T23:03:13Z
2020-01-23T18:41:15Z
MEMBER
null
@TomAugspurger @jorisvandenbossche as you can see, the `__array_ufunc__` that this implements is an unholy mess. This all came from a much smaller goal: I wanted to add the "datetime-tz" key in tests.indexes.conftest. That broke a test for `np.isfinite`, so I started implementing `array_ufunc`. Then that broke other ufuncs, and so on and so on. I guess I could just xfail the one isfinite test. In retrospect that would have saved a lot of effort. Woops. Anyhow, we probably want/need to implement this eventually anyway, so any ideas on how to do it but less awful? xref #31219.
{ "+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/31236/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31236/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31236.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31236", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31236.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31236" }
https://api.github.com/repos/pandas-dev/pandas/issues/31237
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31237/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31237/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31237/events
https://github.com/pandas-dev/pandas/pull/31237
553,903,246
MDExOlB1bGxSZXF1ZXN0MzY2MTUyNzUy
31,237
CI: Fix Assign CI not working with quotes
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[]
closed
false
null
[]
null
3
2020-01-23T02:28:50Z
2020-01-25T03:19:51Z
2020-01-25T03:17:39Z
MEMBER
null
- [x] closes #29768 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Examples(all three passed) ![image](https://user-images.githubusercontent.com/47963215/72952081-a6481100-3d45-11ea-8845-338f2a2f17a4.png)
{ "+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/31237/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31237/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31237.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31237", "merged_at": "2020-01-25T03:17:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31237.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31237" }
https://api.github.com/repos/pandas-dev/pandas/issues/31238
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31238/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31238/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31238/events
https://github.com/pandas-dev/pandas/pull/31238
553,905,797
MDExOlB1bGxSZXF1ZXN0MzY2MTU0ODM3
31,238
REGR: Prevent indexes that aren't directly backed by numpy from entering libreduction code paths
{ "avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4", "events_url": "https://api.github.com/users/jschendel/events{/privacy}", "followers_url": "https://api.github.com/users/jschendel/followers", "following_url": "https://api.github.com/users/jschendel/following{/other_user}", "gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jschendel", "id": 5332445, "login": "jschendel", "node_id": "MDQ6VXNlcjUzMzI0NDU=", "organizations_url": "https://api.github.com/users/jschendel/orgs", "received_events_url": "https://api.github.com/users/jschendel/received_events", "repos_url": "https://api.github.com/users/jschendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jschendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jschendel" }
[ { "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 t...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
7
2020-01-23T02:38:37Z
2020-01-30T09:59:53Z
2020-01-28T01:57:19Z
MEMBER
null
- [X] closes #31223 - [X] closes #31248 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` No whatsnew since this is a regression.
{ "+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/31238/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31238/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31238.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31238", "merged_at": "2020-01-28T01:57:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31238.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31238" }
https://api.github.com/repos/pandas-dev/pandas/issues/31239
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31239/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31239/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31239/events
https://github.com/pandas-dev/pandas/pull/31239
553,910,668
MDExOlB1bGxSZXF1ZXN0MzY2MTU4NjMx
31,239
COMPAT: tzawareness behavior to be same as datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[]
closed
false
null
[]
null
4
2020-01-23T02:59:44Z
2020-02-14T09:00:54Z
2020-02-12T07:24:10Z
MEMBER
null
- [x] closes #28507 - [x] 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/31239/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31239/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31239.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31239", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31239.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31239" }
https://api.github.com/repos/pandas-dev/pandas/issues/31240
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31240/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31240/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31240/events
https://github.com/pandas-dev/pandas/pull/31240
553,929,421
MDExOlB1bGxSZXF1ZXN0MzY2MTczNjQw
31,240
Backport PR #31211 on branch 1.0.x (BUG: Fixed upcast dtype for datetime64 in merge)
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T04:26:44Z
2020-01-23T09:42:21Z
2020-01-23T08:46:12Z
NONE
null
Backport PR #31211: BUG: Fixed upcast dtype for datetime64 in merge
{ "+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/31240/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31240/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31240.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31240", "merged_at": "2020-01-23T08:46:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31240.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31240" }
https://api.github.com/repos/pandas-dev/pandas/issues/31241
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31241/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31241/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31241/events
https://github.com/pandas-dev/pandas/pull/31241
553,948,291
MDExOlB1bGxSZXF1ZXN0MzY2MTg5NDAz
31,241
TST: add tzaware case to indices fixture
{ "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": "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": "5319e7", "d...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-23T05:36:36Z
2020-01-24T01:07:21Z
2020-01-24T00:59:33Z
MEMBER
null
Much easier alternative to #31236.
{ "+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/31241/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31241/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31241.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31241", "merged_at": "2020-01-24T00:59:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31241.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31241" }
https://api.github.com/repos/pandas-dev/pandas/issues/31242
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31242/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31242/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31242/events
https://github.com/pandas-dev/pandas/pull/31242
554,081,140
MDExOlB1bGxSZXF1ZXN0MzY2Mjk4NzQ3
31,242
ENH: add use_nullable_dtypes option in read_parquet
{ "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": "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" }
14
2020-01-23T10:51:32Z
2020-11-29T16:15:15Z
2020-11-29T16:10:19Z
MEMBER
null
xref #29752, #30929 Using some work I am doing in pyarrow (https://github.com/apache/arrow/pull/6189), we are able to provide an option in `read_parquet` to directly use new nullable dtypes instead of first using the default conversion (eg which gives floats for ints with nulls) and doing the conversion afterwards
{ "+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/31242/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31242/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31242.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31242", "merged_at": "2020-11-29T16:10:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31242.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31242" }
https://api.github.com/repos/pandas-dev/pandas/issues/31243
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31243/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31243/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31243/events
https://github.com/pandas-dev/pandas/issues/31243
554,089,655
MDU6SXNzdWU1NTQwODk2NTU=
31,243
Potential bug in reading SAS files with CHAR (RLE) compression and many repeated characters
{ "avatar_url": "https://avatars.githubusercontent.com/u/6389807?v=4", "events_url": "https://api.github.com/users/peterzsohar/events{/privacy}", "followers_url": "https://api.github.com/users/peterzsohar/followers", "following_url": "https://api.github.com/users/peterzsohar/following{/other_user}", "gists_url": "https://api.github.com/users/peterzsohar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/peterzsohar", "id": 6389807, "login": "peterzsohar", "node_id": "MDQ6VXNlcjYzODk4MDc=", "organizations_url": "https://api.github.com/users/peterzsohar/orgs", "received_events_url": "https://api.github.com/users/peterzsohar/received_events", "repos_url": "https://api.github.com/users/peterzsohar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/peterzsohar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/peterzsohar/subscriptions", "type": "User", "url": "https://api.github.com/users/peterzsohar" }
[ { "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": "SAS: read_sas", "id"...
open
false
null
[]
null
10
2020-01-23T11:08:19Z
2020-12-17T06:11:56Z
null
NONE
null
Hi, I think I ran into a bug in the RLE decompression implementation. **Short description**: String fields with more than 32 repeated consecutive characters are ~be~ cropped at 32 and next fields will spill over corrupting the whole dataframe. **Example**: example.csv with fields of length 50 ``` long_string_field1,long_string_field2,long_string_field3 "00000000000000000000000000000000000000000000000000","11111111111111111111111111111111111111111111111111","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ``` Create a CHAR compressed sas7bdat file (system encoding is set to latin1) ```sas options compress=char; proc import datafile="path\example.csv" out=your_lib.example dbms=csv replace; getnames=yes; run; ``` ```python import pandas as pd example = pd.read_sas("./example.sas7bdat", encoding="latin1") ``` This is what you get: ```python >>> example['long_string_field1'].values[0] '00000000000000000000000000000000 111111111111111111' ``` ```python >>> example['long_string_field2'].values[0] '11111111111111 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' ``` ```python >>> example['long_string_field3'].values[0] nan ``` There are a couple of interesting points: 1. Exactly 32 characters are read/written from each field. Originals had 50 characters. 2. The dataframe fields are filled up to the 50 limit (+ 2 additional spaces between the sources of the fields. In case of consecutive integers) with spillovers from next fields. 3. This only happens if one uses the CHAR compression. (RLE) 4. This only happens if you have repeated consecutive characters. 5. The `sas7bdat` package works fine. #### DISCLAIMER I would never use any of the things above out of my free will. Sadly, this is an actual case I keep running into when having to deal with SAS... 😢 #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : None.None pandas : 0.25.3 numpy : 1.17.5 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 45.1.0.post20200119 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None s3fs : None scipy : None sqlalchemy : 1.3.12 tables : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31243/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31243/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31244
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31244/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31244/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31244/events
https://github.com/pandas-dev/pandas/pull/31244
554,130,334
MDExOlB1bGxSZXF1ZXN0MzY2MzM5ODk2
31,244
Backport PR #31167 on branch 1.0.x (DOC: fix DataFrame.plot docs )
{ "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T12:35:26Z
2020-01-23T15:56:21Z
2020-01-23T13:25:57Z
NONE
null
Backport PR #31167: DOC: fix DataFrame.plot docs
{ "+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/31244/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31244/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31244.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31244", "merged_at": "2020-01-23T13:25:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31244.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31244" }
https://api.github.com/repos/pandas-dev/pandas/issues/31245
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31245/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31245/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31245/events
https://github.com/pandas-dev/pandas/issues/31245
554,155,669
MDU6SXNzdWU1NTQxNTU2Njk=
31,245
Verbose parameter in pandas.Series.apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/28589953?v=4", "events_url": "https://api.github.com/users/MastafaF/events{/privacy}", "followers_url": "https://api.github.com/users/MastafaF/followers", "following_url": "https://api.github.com/users/MastafaF/following{/other_user}", "gists_url": "https://api.github.com/users/MastafaF/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MastafaF", "id": 28589953, "login": "MastafaF", "node_id": "MDQ6VXNlcjI4NTg5OTUz", "organizations_url": "https://api.github.com/users/MastafaF/orgs", "received_events_url": "https://api.github.com/users/MastafaF/received_events", "repos_url": "https://api.github.com/users/MastafaF/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MastafaF/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MastafaF/subscriptions", "type": "User", "url": "https://api.github.com/users/MastafaF" }
[ { "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": "AD7FA8", "default": false, "description": null, ...
closed
false
null
[]
null
6
2020-01-23T13:26:45Z
2020-09-22T01:30:44Z
2020-09-22T01:30:43Z
NONE
null
Hi, I think it could be really useful to add a **Verbose** parameter in the **pandas.Series.apply** function. It can take a really long time to get an output so having some kind of verbosity with something like tqdm could be really useful. Cheers,
{ "+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/31245/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31245/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31246
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31246/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31246/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31246/events
https://github.com/pandas-dev/pandas/pull/31246
554,184,562
MDExOlB1bGxSZXF1ZXN0MzY2Mzg0NDI0
31,246
Backport PR #31232 on branch 1.0.x (REGR: Fix IntervalIndex.map when result is object dtype)
{ "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": "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": ...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T14:16:12Z
2020-01-23T15:56:52Z
2020-01-23T15:23:12Z
NONE
null
Backport PR #31232: REGR: Fix IntervalIndex.map when result is object dtype
{ "+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/31246/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31246/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31246.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31246", "merged_at": "2020-01-23T15:23:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31246.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31246" }
https://api.github.com/repos/pandas-dev/pandas/issues/31247
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31247/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31247/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31247/events
https://github.com/pandas-dev/pandas/pull/31247
554,199,165
MDExOlB1bGxSZXF1ZXN0MzY2Mzk2Mzc4
31,247
ENH: Implement DataFrame.value_counts
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "370f77", "default": false, "description": "DataFram...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-01-23T14:39:35Z
2020-02-26T02:24:35Z
2020-02-26T02:20:44Z
MEMBER
null
- [x] closes #5377 - [x] tests added / passed - [x] passes `black pandas` - [x] whatsnew entry This is picking up where https://github.com/pandas-dev/pandas/pull/27350 left off because I think it'd be a nice feature to have. At least one thing that still needs to be done is implementing `bins` when we have only a single column in `subset`, in which case maybe we can just delegate to `Series.value_counts`.
{ "+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/31247/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31247/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31247.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31247", "merged_at": "2020-02-26T02:20:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31247.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31247" }
https://api.github.com/repos/pandas-dev/pandas/issues/31248
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31248/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31248/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31248/events
https://github.com/pandas-dev/pandas/issues/31248
554,207,894
MDU6SXNzdWU1NTQyMDc4OTQ=
31,248
REGR: CategoricalIndex and IntervalIndex are missing _index_data attribute
{ "avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4", "events_url": "https://api.github.com/users/jschendel/events{/privacy}", "followers_url": "https://api.github.com/users/jschendel/followers", "following_url": "https://api.github.com/users/jschendel/following{/other_user}", "gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jschendel", "id": 5332445, "login": "jschendel", "node_id": "MDQ6VXNlcjUzMzI0NDU=", "organizations_url": "https://api.github.com/users/jschendel/orgs", "received_events_url": "https://api.github.com/users/jschendel/received_events", "repos_url": "https://api.github.com/users/jschendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jschendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jschendel" }
[ { "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 t...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2020-01-23T14:53:42Z
2020-01-28T01:57:19Z
2020-01-28T01:57:19Z
MEMBER
null
It looks like the `_index_data` attribute wasn't added to `CategoricalIndex` or `IntervalIndex`. This leads to some regressions with `GroupBy.apply`. Not sure what the fix should be, as there isn't a singular array that directly backs the underlying values for `CategoricalIndex` or `IntervalIndex`, so the approach used to add `_index_data` for other types doesn't look like it will work here. Example of broken behavior on `master`: ```python In [1]: import pandas as pd; pd.__version__ Out[1]: '1.0.0rc0+146.g6f395ad42' In [2]: index = pd.CategoricalIndex(list("abc")) ...: df = pd.DataFrame({"group": [0, 0, 1], "value": [1, 2, 3]}, index=index) In [3]: df.groupby("group").apply(lambda x: x) --------------------------------------------------------------------------- AttributeError: 'CategoricalIndex' object has no attribute '_index_data' ``` Same behavior worked on 0.25.3: ```python In [1]: import pandas as pd; pd.__version__ Out[1]: '0.25.3' In [2]: index = pd.CategoricalIndex(list("abc")) ...: df = pd.DataFrame({"group": [0, 0, 1], "value": [1, 2, 3]}, index=index) In [3]: df.groupby("group").apply(lambda x: x) Out[3]: group value a 0 1 b 0 2 c 1 3 ``` Swapping `CategoricalIndex` with `IntervalIndex` results in the same behavior above.
{ "+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/31248/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31248/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31249
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31249/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31249/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31249/events
https://github.com/pandas-dev/pandas/pull/31249
554,244,545
MDExOlB1bGxSZXF1ZXN0MzY2NDMzOTQ1
31,249
TST: Fix timestamp comparison test
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[ { "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
2
2020-01-23T15:52:37Z
2020-01-24T16:00:07Z
2020-01-23T23:10:18Z
CONTRIBUTOR
null
- [x] closes #31175 - [x] tests added / passed - tests/scalar/timestamp/test_timestamp.py - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry - Not needed for fixing a test
{ "+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/31249/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31249/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31249.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31249", "merged_at": "2020-01-23T23:10:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31249.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31249" }
https://api.github.com/repos/pandas-dev/pandas/issues/31250
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31250/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31250/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31250/events
https://github.com/pandas-dev/pandas/issues/31250
554,265,103
MDU6SXNzdWU1NTQyNjUxMDM=
31,250
pd.DataFrame.duplicated, drop_duplicates does not support column operation
{ "avatar_url": "https://avatars.githubusercontent.com/u/46496637?v=4", "events_url": "https://api.github.com/users/matthewgson/events{/privacy}", "followers_url": "https://api.github.com/users/matthewgson/followers", "following_url": "https://api.github.com/users/matthewgson/following{/other_user}", "gists_url": "https://api.github.com/users/matthewgson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matthewgson", "id": 46496637, "login": "matthewgson", "node_id": "MDQ6VXNlcjQ2NDk2NjM3", "organizations_url": "https://api.github.com/users/matthewgson/orgs", "received_events_url": "https://api.github.com/users/matthewgson/received_events", "repos_url": "https://api.github.com/users/matthewgson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matthewgson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matthewgson/subscriptions", "type": "User", "url": "https://api.github.com/users/matthewgson" }
[]
closed
false
null
[]
null
1
2020-01-23T16:26:06Z
2020-01-27T17:54:14Z
2020-01-27T17:54:14Z
NONE
null
I was trying to use .duplicated to find identical columns, and possibly dropping them, but realized it doesn't do columnar operations. It would be great if pd.DataFrame.duplicated or pd.DataFrame.drop_duplicates supports axis= argument. Current version 0.25.3 not supporting axis= https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.duplicated.html Some workaround by custom function https://thispointer.com/how-to-find-drop-duplicate-columns-in-a-dataframe-python-pandas/
{ "+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/31250/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31250/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31251
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31251/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31251/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31251/events
https://github.com/pandas-dev/pandas/issues/31251
554,274,090
MDU6SXNzdWU1NTQyNzQwOTA=
31,251
read_csv: if parse_dates dont appear in use_cols, we get a trace
{ "avatar_url": "https://avatars.githubusercontent.com/u/886074?v=4", "events_url": "https://api.github.com/users/teto/events{/privacy}", "followers_url": "https://api.github.com/users/teto/followers", "following_url": "https://api.github.com/users/teto/following{/other_user}", "gists_url": "https://api.github.com/users/teto/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/teto", "id": 886074, "login": "teto", "node_id": "MDQ6VXNlcjg4NjA3NA==", "organizations_url": "https://api.github.com/users/teto/orgs", "received_events_url": "https://api.github.com/users/teto/received_events", "repos_url": "https://api.github.com/users/teto/repos", "site_admin": false, "starred_url": "https://api.github.com/users/teto/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/teto/subscriptions", "type": "User", "url": "https://api.github.com/users/teto" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "0e8a16", "default": true, "description...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-01-23T16:41:05Z
2020-03-17T00:03:12Z
2020-03-17T00:03:12Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here import pandas as pd import io content = io.StringIO(''' time,val 212.23, 32 ''') date_cols = ['time'] df = pd.read_csv( content, sep=',', usecols=['val'], dtype= { 'val': int }, parse_dates=date_cols, ) ``` #### Problem description triggers ``` Traceback (most recent call last): File "test.py", line 16, in <module> parse_dates=date_cols, File "/nix/store/k4fd48jzsyafvcifa6wi6pk4vaprnw36-python3.7-pandas-0.25.3/lib/python3.7/site-packages/pandas/io/parsers.py", line 685, in parser_f return _read(filepath_or_buffer, kwds) File "/nix/store/k4fd48jzsyafvcifa6wi6pk4vaprnw36-python3.7-pandas-0.25.3/lib/python3.7/site-packages/pandas/io/parsers.py", line 463, in _read data = parser.read(nrows) File "/nix/store/k4fd48jzsyafvcifa6wi6pk4vaprnw36-python3.7-pandas-0.25.3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1154, in read ret = self._engine.read(nrows) File "/nix/store/k4fd48jzsyafvcifa6wi6pk4vaprnw36-python3.7-pandas-0.25.3/lib/python3.7/site-packages/pandas/io/parsers.py", line 2134, in read names, data = self._do_date_conversions(names, data) File "/nix/store/k4fd48jzsyafvcifa6wi6pk4vaprnw36-python3.7-pandas-0.25.3/lib/python3.7/site-packages/pandas/io/parsers.py", line 1885, in _do_date_conversions keep_date_col=self.keep_date_col, File "/nix/store/k4fd48jzsyafvcifa6wi6pk4vaprnw36-python3.7-pandas-0.25.3/lib/python3.7/site-packages/pandas/io/parsers.py", line 3335, in _process_date_conversion data_dict[colspec] = converter(data_dict[colspec]) KeyError: 'time' ``` i.e., if you use columns in parse_dates that dont appear in use_cols, then you are screwed. Either parse_dates sould be added to use_cols or the documentation precise it. An assert could make the error more understandable too. pandas 0.25.3
{ "+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/31251/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31251/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31252
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31252/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31252/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31252/events
https://github.com/pandas-dev/pandas/issues/31252
554,304,480
MDU6SXNzdWU1NTQzMDQ0ODA=
31,252
'test_factorize_empty' test failure with custom ExtensionDtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/2191259?v=4", "events_url": "https://api.github.com/users/jrm5100/events{/privacy}", "followers_url": "https://api.github.com/users/jrm5100/followers", "following_url": "https://api.github.com/users/jrm5100/following{/other_user}", "gists_url": "https://api.github.com/users/jrm5100/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jrm5100", "id": 2191259, "login": "jrm5100", "node_id": "MDQ6VXNlcjIxOTEyNTk=", "organizations_url": "https://api.github.com/users/jrm5100/orgs", "received_events_url": "https://api.github.com/users/jrm5100/received_events", "repos_url": "https://api.github.com/users/jrm5100/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jrm5100/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jrm5100/subscriptions", "type": "User", "url": "https://api.github.com/users/jrm5100" }
[ { "color": "5319e7", "default": false, "description": "Unit tests that occasionally fail", "id": 76939933, "name": "Unreliable Test", "node_id": "MDU6TGFiZWw3NjkzOTkzMw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test" }, { "color": "6138b5", ...
open
false
null
[]
null
0
2020-01-23T17:38:24Z
2020-06-07T00:39:07Z
null
CONTRIBUTOR
null
One of the provided (BaseMethods) Extension tests is `test_factorize_empty`. I don't have a way of passing this test given how `factorize` works for `ExtensionArray`. ```python def test_factorize_empty(self, data): codes, uniques = pd.factorize(data[:0]) expected_codes = np.array([], dtype=np.intp) expected_uniques = type(data)._from_sequence([], dtype=data[:0].dtype) tm.assert_numpy_array_equal(codes, expected_codes) self.assert_extension_array_equal(uniques, expected_uniques) ``` #### Code Example The relevant portion of my `GenotypeArray` class `__init__` method, when an empty array of values is passed. ```python def __init__(self, values: Union[List[Genotype], 'GenotypeArray', np.ndarray], dtype: Optional[GenotypeDtype] = None, copy: bool = False): """Initialize assuming values is a GenotypeArray or a numpy array with the correct underlying shape""" # If the dtype is passed, ensure it is the correct type if GenotypeDtype.is_dtype(dtype): self._dtype = dtype elif dtype is None: self._dtype = None else: raise ValueError(f"The passed dtype '{dtype}' is not a GenotypeDtype") # Load the values # --------------- if isinstance(values, np.ndarray) and (values.dtype == GenotypeDtype._record_type): # Stored data format self._data = values elif len(values) == 0: # Return an empty Genotype Array if self._dtype is not None: self._data = np.array(values, dtype=GenotypeDtype._record_type) else: raise ValueError("Cannot create a Genotype Array with neither values nor a dtype") ``` #### Problem description The ValueError is raised during this test. I don't have another solution- the `GenotypeArray` has an associated `Variant` instance as part of the associated `GenotypeDtype` class. It is possible to access this value from an instance (if `values` isn't empty) or from the `dtype`, but a GenotypeArray without this is meaningless. The actual problem occurs in `_reconstruct_data` defined in `core/algorithms.py`: ```python def _reconstruct_data(values, dtype, original): """ reverse of _ensure_data Parameters ---------- values : ndarray dtype : pandas_dtype original : ndarray-like Returns ------- Index for extension types, otherwise ndarray casted to dtype """ if is_extension_array_dtype(dtype): values = dtype.construct_array_type()._from_sequence(values) elif is_bool_dtype(dtype): values = values.astype(dtype, copy=False) # we only support object dtypes bool Index if isinstance(original, ABCIndexClass): values = values.astype(object, copy=False) elif dtype is not None: values = values.astype(dtype, copy=False) return values ``` This would be fixed by passing the dtype to `_from_sequence`: ```python if is_extension_array_dtype(dtype): values = dtype.construct_array_type()._from_sequence(values, dtype) ``` I can't think of any reason this would be a problem. #### Expected Output Passing the test if the `factorize` method on the ExtensionArray class works correctly. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 4.4.0-18362-Microsoft machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.0rc0 numpy : 1.17.2 pytz : 2019.2 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.2.0 Cython : None pytest : 5.3.2 hypothesis : None sphinx : 2.2.0 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.2 s3fs : None scipy : 1.3.3 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31252/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31252/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31253
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31253/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31253/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31253/events
https://github.com/pandas-dev/pandas/pull/31253
554,306,806
MDExOlB1bGxSZXF1ZXN0MzY2NDg0ODg3
31,253
Update algorithms.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/2191259?v=4", "events_url": "https://api.github.com/users/jrm5100/events{/privacy}", "followers_url": "https://api.github.com/users/jrm5100/followers", "following_url": "https://api.github.com/users/jrm5100/following{/other_user}", "gists_url": "https://api.github.com/users/jrm5100/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jrm5100", "id": 2191259, "login": "jrm5100", "node_id": "MDQ6VXNlcjIxOTEyNTk=", "organizations_url": "https://api.github.com/users/jrm5100/orgs", "received_events_url": "https://api.github.com/users/jrm5100/received_events", "repos_url": "https://api.github.com/users/jrm5100/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jrm5100/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jrm5100/subscriptions", "type": "User", "url": "https://api.github.com/users/jrm5100" }
[]
closed
false
null
[]
null
6
2020-01-23T17:43:04Z
2020-02-09T22:18:34Z
2020-02-09T22:18:34Z
CONTRIBUTOR
null
Pass the dtype to `_from_sequence` in `_reconstruct_data` in order to support ExtensionArrays with ExtensionDtypes that have parameters. - [ ] closes #31252 - [ ] 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/31253/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31253/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31253.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31253", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31253.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31253" }
https://api.github.com/repos/pandas-dev/pandas/issues/31254
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31254/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31254/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31254/events
https://github.com/pandas-dev/pandas/pull/31254
554,345,140
MDExOlB1bGxSZXF1ZXN0MzY2NTE2Mjc0
31,254
Backport PR #31187 on branch 1.0.x (BUG: IntegerArray.astype(boolean))
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T19:02:18Z
2020-01-23T19:32:25Z
2020-01-23T19:32:25Z
NONE
null
Backport PR #31187: BUG: IntegerArray.astype(boolean)
{ "+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/31254/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31254/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31254.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31254", "merged_at": "2020-01-23T19:32:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31254.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31254" }
https://api.github.com/repos/pandas-dev/pandas/issues/31255
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31255/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31255/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31255/events
https://github.com/pandas-dev/pandas/pull/31255
554,345,624
MDExOlB1bGxSZXF1ZXN0MzY2NTE2Njc1
31,255
Backport PR #31025 on branch 1.0.x (ENH: Handle extension arrays in algorithms.diff)
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T19:03:08Z
2020-01-23T19:33:20Z
2020-01-23T19:33:19Z
NONE
null
Backport PR #31025: ENH: Handle extension arrays in algorithms.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/31255/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31255/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31255.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31255", "merged_at": "2020-01-23T19:33:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31255.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31255" }
https://api.github.com/repos/pandas-dev/pandas/issues/31256
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31256/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31256/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31256/events
https://github.com/pandas-dev/pandas/issues/31256
554,356,566
MDU6SXNzdWU1NTQzNTY1NjY=
31,256
Regression bugs when applying GroupBy Aggregations to Categorical columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/13241412?v=4", "events_url": "https://api.github.com/users/frances-h/events{/privacy}", "followers_url": "https://api.github.com/users/frances-h/followers", "following_url": "https://api.github.com/users/frances-h/following{/other_user}", "gists_url": "https://api.github.com/users/frances-h/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frances-h", "id": 13241412, "login": "frances-h", "node_id": "MDQ6VXNlcjEzMjQxNDEy", "organizations_url": "https://api.github.com/users/frances-h/orgs", "received_events_url": "https://api.github.com/users/frances-h/received_events", "repos_url": "https://api.github.com/users/frances-h/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frances-h/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frances-h/subscriptions", "type": "User", "url": "https://api.github.com/users/frances-h" }
[ { "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 t...
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/o...
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
11
2020-01-23T19:25:34Z
2020-01-29T20:20:53Z
2020-01-29T20:20:53Z
NONE
null
```python >>> import pandas as pd >>> ids = range(5) >>> groups = pd.Series([0, 1, 1, 2, 2]) >>> values = pd.Categorical([0, 0, 0, 0, 1]) >>> df = pd.DataFrame({ 'id': ids, 'groups': groups, 'value': values }).set_index('id') >>> df.groupby('groups').agg(pd.Series.nunique) value groups 0 1 1 1 2 NaN >>> df.groupby('groups').agg(pd.Series.nunique)['value'].dtype CategoricalDtype(categories=[0, 1], ordered=False) >>> df.groupby('groups').agg(pd.Series.count) value groups 0 1 1 NaN 2 NaN >>> df.groupby('groups').agg(pd.Series.mode) value groups 0 0 1 0 0 Name: value, dtype: category Categories (2, int64): [0, 1] 2 0 0 1 1 Name: value, dtype: category Categories (2, int64): [0, 1] ``` #### Problem description There's some regression bugs in `1.0.0rc0` when applying groupby aggregations to Categorical columns. All of these examples work as expected in `0.25.3`. Applying `pd.Series.nunique` and `pd.Series.count` both result in `NaN` for some groupings, the result has a Categorical dtype. The resulting dtype should be int64 and `NaN` should not be produced. Applying `pd.Series.mode` returns the correct result for the first grouping but produces nonsensical output for subsequent groupings. #### Expected Output Aggregations should work as expected on Categorical columns as they do in `0.25.3`: ```python >>> df.groupby('groups').agg(pd.Series.nunique) value groups 0 1 1 1 2 2 >>> df.groupby('groups').agg(pd.Series.nunique)['value'].dtype dtype('int64') >>> df.groupby('groups').agg(pd.Series.count) value groups 0 1 1 2 2 2 >>> df.groupby('groups').agg(pd.Series.mode) value groups 0 0 0 1 0 0 2 0 0 1 1 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.0rc0 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.1 setuptools : 45.1.0 Cython : None pytest : 5.2.0 hypothesis : None sphinx : 2.0.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.2.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : 0.3.2 gcsfs : None lxml.etree : None matplotlib : 3.0.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.2.0 s3fs : 0.4.0 scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : 0.47.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/31256/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31256/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31257
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31257/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31257/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31257/events
https://github.com/pandas-dev/pandas/pull/31257
554,372,890
MDExOlB1bGxSZXF1ZXN0MzY2NTM5Mzc5
31,257
BUG: DatetimeIndex.get_loc/get_value raise InvalidIndexError
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-01-23T19:57:39Z
2020-01-24T00:31:20Z
2020-01-24T00:23:33Z
MEMBER
null
almost done with the get_value/get_loc methods
{ "+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/31257/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31257/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31257.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31257", "merged_at": "2020-01-24T00:23:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31257.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31257" }
https://api.github.com/repos/pandas-dev/pandas/issues/31258
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31258/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31258/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31258/events
https://github.com/pandas-dev/pandas/pull/31258
554,377,948
MDExOlB1bGxSZXF1ZXN0MzY2NTQzNTg1
31,258
REF: avoid calling engine for EA values
{ "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": "61...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-23T20:06:07Z
2020-01-23T23:12:57Z
2020-01-23T23:01:08Z
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/31258/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31258/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31258.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31258", "merged_at": "2020-01-23T23:01:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31258.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31258" }
https://api.github.com/repos/pandas-dev/pandas/issues/31259
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31259/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31259/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31259/events
https://github.com/pandas-dev/pandas/issues/31259
554,386,953
MDU6SXNzdWU1NTQzODY5NTM=
31,259
Please help me to understand TypeError: Expected tuple, got str
{ "avatar_url": "https://avatars.githubusercontent.com/u/56489096?v=4", "events_url": "https://api.github.com/users/jason-hernandez-73/events{/privacy}", "followers_url": "https://api.github.com/users/jason-hernandez-73/followers", "following_url": "https://api.github.com/users/jason-hernandez-73/following{/other_user}", "gists_url": "https://api.github.com/users/jason-hernandez-73/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jason-hernandez-73", "id": 56489096, "login": "jason-hernandez-73", "node_id": "MDQ6VXNlcjU2NDg5MDk2", "organizations_url": "https://api.github.com/users/jason-hernandez-73/orgs", "received_events_url": "https://api.github.com/users/jason-hernandez-73/received_events", "repos_url": "https://api.github.com/users/jason-hernandez-73/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jason-hernandez-73/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jason-hernandez-73/subscriptions", "type": "User", "url": "https://api.github.com/users/jason-hernandez-73" }
[]
closed
false
null
[]
null
2
2020-01-23T20:24:25Z
2020-01-24T17:19:09Z
2020-01-23T21:19:24Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Summarize data by schools schools_group = complete_data_pd.groupby(["school_name"]) sum_students = schools_group["student_name"].value_counts() budgets_df = schools_group["budget"].mean() per_student = budgets_df / sum_students math_mavens_group = complete_data_pd[complete_data_pd['math_score'] >= 70].groupby(["school_name"]) rad_readers_group = complete_data_pd[complete_data_pd['reading_score'] >= 70].groupby(["school_name"]) math_per_school = schools_group["math_score"].mean() reading_per_school = schools_group["reading_score"].mean() mavens_per_school = math_mavens_group.count()["student_name"] / sum_students readers_per_school = rad_readers_group.count()["student_name"] / sum_students rate_passing = ((mavens_per_school + readers_per_school) / 2) # Create new dataframe summary_df = pd.DataFrame({ "School Type" : type, "Total Budget" : budgets_df, "Budget Per Student" : per_student, "Average Math Score" : math_per_school, "Average Reading Score" : reading_per_school, "% Passing Math" : mavens_per_school, "% Passing Reading" : readers_per_school, "% Overall Passing Rate" : rate_passing }) ``` #### Problem description If this has been answered in an earlier issue, I couldn't translate it into anything I understand The above code is my attempt to create a new dataframe by using a groupby object from an earlier dataframe. When I try to run the code, I get a whole lot of traceback that I do not understand, ending with the line, TypeError: Expected tuple, got str. The error message suggests that the problem is in the line, "% Overall Passing Rate" : rate_passing; however, when I remove that line, the same error message throws, but now points to the new last line. Putting brackets around the variables did nothing. What exactly is going on here with tuples and strings?
{ "+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/31259/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31259/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31260
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31260/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31260/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31260/events
https://github.com/pandas-dev/pandas/pull/31260
554,393,316
MDExOlB1bGxSZXF1ZXN0MzY2NTU2Mzc5
31,260
DOC fix truncated documentation for Series.unstack(), Series.
{ "avatar_url": "https://avatars.githubusercontent.com/u/41388836?v=4", "events_url": "https://api.github.com/users/anjalis2112/events{/privacy}", "followers_url": "https://api.github.com/users/anjalis2112/followers", "following_url": "https://api.github.com/users/anjalis2112/following{/other_user}", "gists_url": "https://api.github.com/users/anjalis2112/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anjalis2112", "id": 41388836, "login": "anjalis2112", "node_id": "MDQ6VXNlcjQxMzg4ODM2", "organizations_url": "https://api.github.com/users/anjalis2112/orgs", "received_events_url": "https://api.github.com/users/anjalis2112/received_events", "repos_url": "https://api.github.com/users/anjalis2112/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anjalis2112/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anjalis2112/subscriptions", "type": "User", "url": "https://api.github.com/users/anjalis2112" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-23T20:37:29Z
2020-01-24T19:30:59Z
2020-01-24T17:49:59Z
CONTRIBUTOR
null
fixes https://github.com/pandas-dev/pandas/issues/31235 Changed "e.g. " to "e.g., " Changed "a.k.a. " to "also known as" This helps avoid the truncation caused in the docstring
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 2, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/31260/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31260/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31260.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31260", "merged_at": "2020-01-24T17:49:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31260.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31260" }
https://api.github.com/repos/pandas-dev/pandas/issues/31261
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31261/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31261/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31261/events
https://github.com/pandas-dev/pandas/pull/31261
554,402,210
MDExOlB1bGxSZXF1ZXN0MzY2NTYzNDg2
31,261
Backport PR #31159 on branch 1.0.x (ENH: Implement _from_sequence_of_strings for BooleanArray)
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T20:56:14Z
2020-01-23T21:31:20Z
2020-01-23T21:31:19Z
NONE
null
Backport PR #31159: ENH: Implement _from_sequence_of_strings for BooleanArray
{ "+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/31261/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31261/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31261.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31261", "merged_at": "2020-01-23T21:31:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31261.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31261" }
https://api.github.com/repos/pandas-dev/pandas/issues/31262
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31262/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31262/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31262/events
https://github.com/pandas-dev/pandas/pull/31262
554,419,057
MDExOlB1bGxSZXF1ZXN0MzY2NTc3NTI3
31,262
PLT: Color attributes of medianprops etc are lost in df.boxplot and df.plot.boxplot
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-23T21:32:22Z
2020-07-03T16:15:11Z
2020-02-11T21:27:08Z
MEMBER
null
- [x] closes #30346 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Found out that not only `medianprops` info is lost, so is `whiskerprops`, `capprops` and `boxprops`, so I also added them alongside. Since this is a visualization PR, so add a screenshot to show what it looks like after the change <img width="587" alt="Screen Shot 2020-01-24 at 4 16 26 PM" src="https://user-images.githubusercontent.com/9269816/73079678-eb468180-3ec4-11ea-9628-5ab13e73f15c.png">
{ "+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/31262/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31262/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31262.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31262", "merged_at": "2020-02-11T21:27:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31262.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31262" }
https://api.github.com/repos/pandas-dev/pandas/issues/31263
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31263/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31263/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31263/events
https://github.com/pandas-dev/pandas/pull/31263
554,445,329
MDExOlB1bGxSZXF1ZXN0MzY2NTk5MTQ5
31,263
BUG: na_logical_op with 2D inputs
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-23T22:31:18Z
2020-01-24T17:44:19Z
2020-01-24T03:53:17Z
MEMBER
null
Broken off from a branch implementing block-wise ops for op(dataframe, dataframe)
{ "+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/31263/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31263/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31263.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31263", "merged_at": "2020-01-24T03:53:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31263.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31263" }
https://api.github.com/repos/pandas-dev/pandas/issues/31264
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31264/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31264/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31264/events
https://github.com/pandas-dev/pandas/issues/31264
554,447,376
MDU6SXNzdWU1NTQ0NDczNzY=
31,264
Cannot add pandas_profiling module into SQL Server
{ "avatar_url": "https://avatars.githubusercontent.com/u/41454245?v=4", "events_url": "https://api.github.com/users/huyanh1511/events{/privacy}", "followers_url": "https://api.github.com/users/huyanh1511/followers", "following_url": "https://api.github.com/users/huyanh1511/following{/other_user}", "gists_url": "https://api.github.com/users/huyanh1511/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/huyanh1511", "id": 41454245, "login": "huyanh1511", "node_id": "MDQ6VXNlcjQxNDU0MjQ1", "organizations_url": "https://api.github.com/users/huyanh1511/orgs", "received_events_url": "https://api.github.com/users/huyanh1511/received_events", "repos_url": "https://api.github.com/users/huyanh1511/repos", "site_admin": false, "starred_url": "https://api.github.com/users/huyanh1511/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/huyanh1511/subscriptions", "type": "User", "url": "https://api.github.com/users/huyanh1511" }
[]
closed
false
null
[]
null
1
2020-01-23T22:36:35Z
2020-01-23T23:13:04Z
2020-01-23T23:13:04Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import sqlmlutils connection = sqlmlutils.ConnectionInfo(server="localhost", database="SQLAI") sqlmlutils.SQLPackageManager(connection).install("pandas-profiling") ``` #### Problem description I was trying to install some module (i.e. pandas_profiling) in SQL Server so I can run the script directly from there. I was utilizing a Microsoft tool called 'sqlmlutils' to achieve this, but it returned an error specifically when I tried to install pandas_profiling (in fact another library called 'text-tools' was successfully installed. #### Expected Output (this is the output I got by running the scripts) Traceback (most recent call last): File "<ipython-input-2-e8db1d445900>", line 1, in <module> runfile('C:/Users/BusinessUser/Desktop/abc.py', wdir='C:/Users/BusinessUser/Desktop') File "C:\Users\BusinessUser\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile execfile(filename, namespace) File "C:\Users\BusinessUser\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile exec(compile(f.read(), filename, 'exec'), namespace) File "C:/Users/BusinessUser/Desktop/abc.py", line 3, in <module> sqlmlutils.SQLPackageManager(connection).install("pandas_profiling") File "C:\Users\BusinessUser\Anaconda3\lib\site-packages\sqlmlutils\packagemanagement\sqlpackagemanager.py", line 74, in install self._install_from_pypi(package, upgrade, version, install_dependencies, scope, out_file=out_file) File "C:\Users\BusinessUser\Anaconda3\lib\site-packages\sqlmlutils\packagemanagement\sqlpackagemanager.py", line 151, in _install_from_pypi self._install_from_file(target_package_file, scope, upgrade, out_file=out_file) File "C:\Users\BusinessUser\Anaconda3\lib\site-packages\sqlmlutils\packagemanagement\sqlpackagemanager.py", line 171, in _install_from_file required_installs = resolver.get_required_installs(target_package_requirements) File "C:\Users\BusinessUser\Anaconda3\lib\site-packages\sqlmlutils\packagemanagement\dependencyresolver.py", line 34, in get_required_installs self._server_packages, requirement.name, spec) File "C:\Users\BusinessUser\Anaconda3\lib\site-packages\sqlmlutils\packagemanagement\dependencyresolver.py", line 60, in _check_if_installed_package_meets_spec return getattr(operator, operator_map[op_str])(LooseVersion(installed_version), LooseVersion(req_version)) File "C:\Users\BusinessUser\Anaconda3\lib\distutils\version.py", line 46, in __eq__ c = self._cmp(other) File "C:\Users\BusinessUser\Anaconda3\lib\distutils\version.py", line 337, in _cmp if self.version < other.version: TypeError: '<' not supported between instances of 'int' and 'str' #### Output of ``pd.show_versions()`` <details> Not sure what this mean but it was saying 'The version installed on the server is 0.23.4' </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/31264/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31264/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31265
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31265/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31265/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31265/events
https://github.com/pandas-dev/pandas/pull/31265
554,460,087
MDExOlB1bGxSZXF1ZXN0MzY2NjExMTAw
31,265
Backport PR #31249 on branch 1.0.x (TST: Fix timestamp comparison test)
{ "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": "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": "AFEEEE", "d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-23T23:10:32Z
2020-01-23T23:52:52Z
2020-01-23T23:52:52Z
NONE
null
Backport PR #31249: TST: Fix timestamp comparison test
{ "+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/31265/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31265/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31265.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31265", "merged_at": "2020-01-23T23:52:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31265.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31265" }
https://api.github.com/repos/pandas-dev/pandas/issues/31266
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31266/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31266/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31266/events
https://github.com/pandas-dev/pandas/pull/31266
554,506,175
MDExOlB1bGxSZXF1ZXN0MzY2NjQ4NDAx
31,266
REF: do alignment before _combine_series_frame
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "de...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-24T01:55:49Z
2020-01-24T04:32:56Z
2020-01-24T03:52:08Z
MEMBER
null
This will allow us to de-duplicate _construct_result calls (this does so for _comp_method_FRAME) and ultimately move all of the alignment into _align_method_FRAME
{ "+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/31266/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31266/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31266.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31266", "merged_at": "2020-01-24T03:52:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31266.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31266" }
https://api.github.com/repos/pandas-dev/pandas/issues/31267
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31267/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31267/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31267/events
https://github.com/pandas-dev/pandas/pull/31267
554,528,327
MDExOlB1bGxSZXF1ZXN0MzY2NjY2MTE5
31,267
Backport PR #31036 on branch 1.0.x (BUG: AssertionError on Series.append(DataFrame) fix #30975 )
{ "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": "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-24T03:38:02Z
2020-01-24T04:34:47Z
2020-01-24T04:34:47Z
NONE
null
Backport PR #31036: BUG: AssertionError on Series.append(DataFrame) fix #30975
{ "+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/31267/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31267/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31267.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31267", "merged_at": "2020-01-24T04:34:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31267.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31267" }
https://api.github.com/repos/pandas-dev/pandas/issues/31268
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31268/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31268/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31268/events
https://github.com/pandas-dev/pandas/pull/31268
554,544,192
MDExOlB1bGxSZXF1ZXN0MzY2Njc5MDMy
31,268
BUG: passing TDA and wrong freq to TimedeltaIndex
{ "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": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" }, { "color": "0052cc", "default": false, "des...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-01-24T04:56:03Z
2020-01-25T16:31:07Z
2020-01-25T16:18:11Z
MEMBER
null
Caught while working towards making TimedeltaArray._simple_new more strict about its inputs. - [ ] closes #xxxx - [x] 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/31268/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31268/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31268.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31268", "merged_at": "2020-01-25T16:18:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31268.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31268" }
https://api.github.com/repos/pandas-dev/pandas/issues/31269
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31269/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31269/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31269/events
https://github.com/pandas-dev/pandas/issues/31269
554,544,958
MDU6SXNzdWU1NTQ1NDQ5NTg=
31,269
ENH: allow 'pad', 'backfill' and 'cumcount' in groupby.transform
{ "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", "gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fujiaxiang", "id": 5236149, "login": "fujiaxiang", "node_id": "MDQ6VXNlcjUyMzYxNDk=", "organizations_url": "https://api.github.com/users/fujiaxiang/orgs", "received_events_url": "https://api.github.com/users/fujiaxiang/received_events", "repos_url": "https://api.github.com/users/fujiaxiang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions", "type": "User", "url": "https://api.github.com/users/fujiaxiang" }
[ { "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
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
13
2020-01-24T04:59:08Z
2020-06-03T23:28:11Z
2020-06-03T23:28:11Z
MEMBER
null
#### Summary Currently on master, `groupby.transform` with ``func`` equals one of `('fillna', 'pad', 'backfill', 'ffill', etc.)` yields wrong results (See #30918). With updates from PR (#31101), the incorrect outputs are fixed. However, when ``func`` is one of `('pad', 'backfill', 'cumcout')`, `groupby.transform` then raises ``AttributeError`` similar to what's reported in #27472. #### Code Sample ```python # On branch of PR31101 >>> pd.__version__ '1.0.0rc0+162.g56c70234e' >> df = pd.DataFrame( ... { ... "A": ["foo", "foo", "foo", "foo", "bar", "bar", "baz"], ... "B": [1, 2, np.nan, 3, 3, np.nan, 4], ... } ... ) >>> df A B 0 foo 1.0 1 foo 2.0 2 foo NaN 3 foo 3.0 4 bar 3.0 5 bar NaN 6 baz 4.0 >>> df.groupby("A").pad() # This is ok B 0 1.0 1 2.0 2 2.0 3 3.0 4 3.0 5 3.0 6 4.0 >>> df.groupby("A").transform("pad") # This raises AttributeError Traceback (most recent call last): ... ... AttributeError: 'Series' object has no attribute 'pad' >>> df.groupby("A").transform("cumcount") Traceback (most recent call last): ... ... AttributeError: 'Series' object has no attribute 'cumcount' ``` Ideally we want to allow all of the above 3 functions in `groupby.transform`
{ "+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/31269/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31269/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31270
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31270/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31270/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31270/events
https://github.com/pandas-dev/pandas/issues/31270
554,547,536
MDU6SXNzdWU1NTQ1NDc1MzY=
31,270
ENH: Move "corrwith" from transformation_kernels to reduction_kernels in groupby.base
{ "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", "gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fujiaxiang", "id": 5236149, "login": "fujiaxiang", "node_id": "MDQ6VXNlcjUyMzYxNDk=", "organizations_url": "https://api.github.com/users/fujiaxiang/orgs", "received_events_url": "https://api.github.com/users/fujiaxiang/received_events", "repos_url": "https://api.github.com/users/fujiaxiang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions", "type": "User", "url": "https://api.github.com/users/fujiaxiang" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", "gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fujiaxiang", "id": 5236149, "login": "fujiaxiang", "node_id": "MDQ6VXNlcjUyMzYxNDk=", "organizations_url": "https://api.github.com/users/fujiaxiang/orgs", "received_events_url": "https://api.github.com/users/fujiaxiang/received_events", "repos_url": "https://api.github.com/users/fujiaxiang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions", "type": "User", "url": "https://api.github.com/users/fujiaxiang" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", ...
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-24T05:08:26Z
2020-03-12T04:47:13Z
2020-03-12T04:47:13Z
MEMBER
null
#### Code Sample ```python >>> import pandas as pd >>> pd.__version__ '1.0.0rc0+183.g4da554f75' >>> df = pd.DataFrame( ... { ... "A": [1, 1, 1, 1], ... "B": [0, 1, 2, 3] ... } ... ) >>> df A B 0 1 0 1 1 1 2 1 2 3 1 3 >>> df.groupby("A").corrwith(df) # Clearly corrwith is a reduction rather than transformation B A A 1 1.0 NaN ``` On current master (`1.0.0rc0+183.g4da554f75`) we have "corrwith" in the list of ``transformation_kernels`` rather than ``reduction_kernels`` within `groupby.base`. We probably have to move it and fix any impact it has.
{ "+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/31270/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31270/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31271
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31271/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31271/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31271/events
https://github.com/pandas-dev/pandas/pull/31271
554,552,565
MDExOlB1bGxSZXF1ZXN0MzY2Njg1ODI5
31,271
BUG: DataFrame.floordiv(ser, axis=0) not matching column-wise bheavior
{ "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": "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" }, { "c...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-24T05:30:30Z
2020-01-26T00:55:47Z
2020-01-26T00:37:02Z
MEMBER
null
We're pretty close to being able to combine _combine_frame and _combine_match_index (and hopefully get rid of them both before long)
{ "+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/31271/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31271/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31271.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31271", "merged_at": "2020-01-26T00:37:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31271.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31271" }
https://api.github.com/repos/pandas-dev/pandas/issues/31272
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31272/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31272/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31272/events
https://github.com/pandas-dev/pandas/issues/31272
554,564,283
MDU6SXNzdWU1NTQ1NjQyODM=
31,272
Dropped columns still available for filtering
{ "avatar_url": "https://avatars.githubusercontent.com/u/5544610?v=4", "events_url": "https://api.github.com/users/Dobiasd/events{/privacy}", "followers_url": "https://api.github.com/users/Dobiasd/followers", "following_url": "https://api.github.com/users/Dobiasd/following{/other_user}", "gists_url": "https://api.github.com/users/Dobiasd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dobiasd", "id": 5544610, "login": "Dobiasd", "node_id": "MDQ6VXNlcjU1NDQ2MTA=", "organizations_url": "https://api.github.com/users/Dobiasd/orgs", "received_events_url": "https://api.github.com/users/Dobiasd/received_events", "repos_url": "https://api.github.com/users/Dobiasd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dobiasd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dobiasd/subscriptions", "type": "User", "url": "https://api.github.com/users/Dobiasd" }
[]
closed
false
null
[]
null
1
2020-01-24T06:17:57Z
2020-01-24T06:21:27Z
2020-01-24T06:20:43Z
NONE
null
#### Code Sample ```python3 import pandas as pd df = pd.DataFrame(data={'foo': [0, 1], 'bar': ["a", "b"]}) df.drop(columns=["bar"])[df["bar"] == "a"] ``` #### Problem description The code sample above should result in an error like the following: ``` KeyError: 'bar' ``` However, it does not but instead works without error, as if the column "bar" would exist. #### Output of ``pd.show_versions()`` ``` INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 4.13.0-38-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2018.5 dateutil : 2.8.0 pip : 19.3.1 setuptools : 41.6.0 Cython : 0.29.6 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : 2.7.5 (dt dec pq3 ext lo64) jinja2 : 2.10 IPython : 7.5.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.0.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.2.10 tables : None xarray : 0.14.1 xlrd : 1.2.0 xlwt : None xlsxwriter : None ```
{ "+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/31272/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31272/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31273
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31273/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31273/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31273/events
https://github.com/pandas-dev/pandas/issues/31273
554,591,502
MDU6SXNzdWU1NTQ1OTE1MDI=
31,273
ENH: make the mask optional in the nullable masked ExtensionArrays
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d7e102", "default": false, "description": "np.nan, ...
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" }
1
2020-01-24T07:50:08Z
2020-01-24T07:51:18Z
2020-01-24T07:51:18Z
MEMBER
null
Our nullable, mask-based ExtensionArrays (currently integer and boolean, inheriting from MaskedArray) have a `_data` and `_mask` numpy arrays stored under the hood. A relatively straight-forward optimization is probably to allow the `_mask` to be None, for the case that there are no missing values. (to be checked how involved the ops code would become to handle this as optional)
{ "+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/31273/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31273/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31274
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31274/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31274/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31274/events
https://github.com/pandas-dev/pandas/issues/31274
554,601,839
MDU6SXNzdWU1NTQ2MDE4Mzk=
31,274
Performance issue when using pivot_table with multiple columns out of which at least one is of type 'category'
{ "avatar_url": "https://avatars.githubusercontent.com/u/5754862?v=4", "events_url": "https://api.github.com/users/suokunlong/events{/privacy}", "followers_url": "https://api.github.com/users/suokunlong/followers", "following_url": "https://api.github.com/users/suokunlong/following{/other_user}", "gists_url": "https://api.github.com/users/suokunlong/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/suokunlong", "id": 5754862, "login": "suokunlong", "node_id": "MDQ6VXNlcjU3NTQ4NjI=", "organizations_url": "https://api.github.com/users/suokunlong/orgs", "received_events_url": "https://api.github.com/users/suokunlong/received_events", "repos_url": "https://api.github.com/users/suokunlong/repos", "site_admin": false, "starred_url": "https://api.github.com/users/suokunlong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/suokunlong/subscriptions", "type": "User", "url": "https://api.github.com/users/suokunlong" }
[]
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" }
3
2020-01-24T08:21:46Z
2020-01-24T15:03:12Z
2020-01-24T15:03:06Z
NONE
null
This issue was initially reported as #19622, which was then marked as a duplicate of #15217 and closed since then. However, this issue is still reproducible with the most recent version 0.25.3 To reproduce, copy-paste the following code and run: ```python import pandas as pd import numpy as np import time n_rows = 1000 n_categories = 250 df = pd.DataFrame({'cat1': np.random.choice(np.arange(0,n_categories), size=n_rows, replace=True), 'cat2': np.random.choice(np.arange(0,n_categories), size=n_rows, replace=True), 'cat3': np.random.choice(np.arange(0,n_categories), size=n_rows, replace=True), 'real_numbers': np.random.normal(size=n_rows)}) # Case 1: Pivot table without multi-index columns now = time.time() pd.pivot_table(df, values='real_numbers', index='cat1', columns=['cat2']) print("Elapsed time Case 1:", time.time() - now) # Case 2: Pivot table with multi-index columns now = time.time() pd.pivot_table(df, values='real_numbers', index='cat1', columns=['cat2', 'cat3']) print("Elapsed time Case 2:", time.time() - now) # Typecast a feature to categorical. df_cast = df.astype({'cat2': 'category'}) # Case 3: Pivot table without multi-index columns, # but with at least one categorical column (i.e., cat2) # - still OK, but already show performance issue here. now = time.time() pd.pivot_table(df_cast, values='real_numbers', index=['cat1'], columns=['cat2']) print("Elapsed time Case 3:", time.time() - now) # Case 4: Pivot table with multi-index columns # mixture of categorical (i.e., cat2) and non-categorical column (i.e., cat3) # - strong increase in elapsed time/ memory footprint. now = time.time() pd.pivot_table(df_cast, values='real_numbers', index=['cat1'], columns=['cat2', 'cat3']) print("Elapsed time Case 4:", time.time() - now) ``` #### Problem description Elapsed time Case 1: 0.03320956230163574 Elapsed time Case 2: 0.017639636993408203 Elapsed time Case 3: 0.35034942626953125 Elapsed time Case 4: 119.43837356567383 This issue will eat all my memory if the dataframe is large. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-26-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : zh_CN.UTF-8 LOCALE : zh_CN.UTF-8 pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 42.0.2 Cython : None pytest : None hypothesis : None sphinx : 2.2.2 blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.2 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.10.2 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.4.2 matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/31274/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31274/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31275
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31275/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31275/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31275/events
https://github.com/pandas-dev/pandas/pull/31275
554,605,457
MDExOlB1bGxSZXF1ZXN0MzY2NzI5MTQ4
31,275
Backport PR #31037: PERF: improve access of .array
{ "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" }
[]
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-24T08:32:43Z
2020-01-24T09:06:39Z
2020-01-24T09:06:31Z
MEMBER
null
https://github.com/pandas-dev/pandas/pull/31037
{ "+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/31275/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31275/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31275.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31275", "merged_at": "2020-01-24T09:06:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31275.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31275" }
https://api.github.com/repos/pandas-dev/pandas/issues/31276
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31276/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31276/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31276/events
https://github.com/pandas-dev/pandas/issues/31276
554,611,854
MDU6SXNzdWU1NTQ2MTE4NTQ=
31,276
pandas.Series.str.replace giving irrelavent results
{ "avatar_url": "https://avatars.githubusercontent.com/u/16094483?v=4", "events_url": "https://api.github.com/users/jerilkuriakose/events{/privacy}", "followers_url": "https://api.github.com/users/jerilkuriakose/followers", "following_url": "https://api.github.com/users/jerilkuriakose/following{/other_user}", "gists_url": "https://api.github.com/users/jerilkuriakose/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jerilkuriakose", "id": 16094483, "login": "jerilkuriakose", "node_id": "MDQ6VXNlcjE2MDk0NDgz", "organizations_url": "https://api.github.com/users/jerilkuriakose/orgs", "received_events_url": "https://api.github.com/users/jerilkuriakose/received_events", "repos_url": "https://api.github.com/users/jerilkuriakose/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jerilkuriakose/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jerilkuriakose/subscriptions", "type": "User", "url": "https://api.github.com/users/jerilkuriakose" }
[]
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-01-24T08:50:52Z
2020-01-24T13:49:50Z
2020-01-24T13:49:43Z
NONE
null
The following is my code: ```python import pandas as pd a = ['16', '66', '66', '42', '17', '55', '66b', '17', '48', '66', '48', '75', '76', '6a', '80', '57', '66', '13', '17', '31', '66', '6c', '17', '65b', '17', '39', '17', '66.0', '80.0', '6.0', '66.0', '21.0', '31.0', '7.0', '8.0'] df = pd.DataFrame(a) print(df[0].str.replace('.0', '').values) ''' Output: ['16' '66' '66' '42' '17' '55' '66b' '17' '48' '66' '48' '75' '76' '6a' '' '57' '66' '13' '17' '31' '66' '6c' '17' '65b' '17' '39' '17' '66' '' '6' '66' '21' '31' '7' '8'] ''' print(df[0].apply(lambda x: x.replace('.0', '')).values) ''' Output: ['16' '66' '66' '42' '17' '55' '66b' '17' '48' '66' '48' '75' '76' '6a' '80' '57' '66' '13' '17' '31' '66' '6c' '17' '65b' '17' '39' '17' '66' '80' '6' '66' '21' '31' '7' '8'] ''' ``` #### Problem description I was trying to replace `'.0'` with `''`, and when i use **pandas.Series.str.replace** `80` and `80.0` is replaced as `''`; whereas when I replace using **pandas.Series.apply(lambda x: x.replace('.0', ''))** it is working as expected. Looks like an issue. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.5.final.0 python-bits : 64 OS : Windows OS-release : 7 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.1 numpy : 1.17.0 pytz : 2018.4 dateutil : 2.7.3 pip : 19.3.1 setuptools : 42.0.2 Cython : 0.28.2 pytest : 4.6.3 hypothesis : None sphinx : 1.7.4 blosc : None feather : None xlsxwriter : 1.0.4 lxml.etree : 4.2.1 html5lib : 1.0.1 pymysql : 0.9.3 psycopg2 : None jinja2 : 2.10 IPython : 6.4.0 pandas_datareader: None bs4 : 4.6.0 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.2.1 matplotlib : 3.1.1 numexpr : 2.6.5 odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.3 sqlalchemy : 1.2.7 tables : 3.4.3 xarray : None xlrd : 1.1.0 xlwt : 1.3.0 xlsxwriter : 1.0.4 </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/31276/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31276/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31277
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31277/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31277/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31277/events
https://github.com/pandas-dev/pandas/pull/31277
554,621,253
MDExOlB1bGxSZXF1ZXN0MzY2NzQxODU4
31,277
ASV: add benchmarks for Series.array and extract_array
{ "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": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-24T09:14:35Z
2020-01-24T13:11:28Z
2020-01-24T13:09:50Z
MEMBER
null
Just thought it would be useful to have a benchmark for `.array` (now the performance regression of https://github.com/pandas-dev/pandas/pull/31037 was caught indirectly through an indexing benchmark)
{ "+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/31277/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31277/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31277.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31277", "merged_at": "2020-01-24T13:09:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31277.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31277" }
https://api.github.com/repos/pandas-dev/pandas/issues/31278
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31278/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31278/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31278/events
https://github.com/pandas-dev/pandas/pull/31278
554,700,859
MDExOlB1bGxSZXF1ZXN0MzY2ODA3NDM4
31,278
BUG: 27453 right merge order
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
10
2020-01-24T12:08:57Z
2020-03-26T12:49:31Z
2020-03-26T12:45:39Z
MEMBER
null
Resurrection of #27762 I fixed the NameError in the test, and also changed the example given in the whatsnew entry (I couldn't see a difference between the outputs of 0.25.x and 1.0.0 in the original) - [x] closes #27453 - [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/31278/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31278/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31278.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31278", "merged_at": "2020-03-26T12:45:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31278.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31278" }
https://api.github.com/repos/pandas-dev/pandas/issues/31279
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31279/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31279/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31279/events
https://github.com/pandas-dev/pandas/pull/31279
554,744,163
MDExOlB1bGxSZXF1ZXN0MzY2ODQzMjgx
31,279
DOC: move convert_dtypes whatsnew to 1.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-24T13:45:32Z
2020-01-24T16:00:05Z
2020-01-24T14:29:06Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - moved whatsnew entry from 1.1 to 1.0 Per comment here from @jreback: https://github.com/pandas-dev/pandas/pull/30929#issuecomment-577989924
{ "+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/31279/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31279/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31279.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31279", "merged_at": "2020-01-24T14:29:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31279.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31279" }
https://api.github.com/repos/pandas-dev/pandas/issues/31280
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31280/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31280/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31280/events
https://github.com/pandas-dev/pandas/pull/31280
554,750,291
MDExOlB1bGxSZXF1ZXN0MzY2ODQ4Mzcw
31,280
Fixes non-existent doc/source/api.rst issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/45728271?v=4", "events_url": "https://api.github.com/users/ArunimSamudra/events{/privacy}", "followers_url": "https://api.github.com/users/ArunimSamudra/followers", "following_url": "https://api.github.com/users/ArunimSamudra/following{/other_user}", "gists_url": "https://api.github.com/users/ArunimSamudra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ArunimSamudra", "id": 45728271, "login": "ArunimSamudra", "node_id": "MDQ6VXNlcjQ1NzI4Mjcx", "organizations_url": "https://api.github.com/users/ArunimSamudra/orgs", "received_events_url": "https://api.github.com/users/ArunimSamudra/received_events", "repos_url": "https://api.github.com/users/ArunimSamudra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ArunimSamudra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ArunimSamudra/subscriptions", "type": "User", "url": "https://api.github.com/users/ArunimSamudra" }
[ { "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-24T13:57:14Z
2020-01-25T06:00:03Z
2020-01-25T04:28:33Z
CONTRIBUTOR
null
Modified the path doc/source/api.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/31280/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31280/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31280.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31280", "merged_at": "2020-01-25T04:28:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31280.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31280" }
https://api.github.com/repos/pandas-dev/pandas/issues/31281
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31281/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31281/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31281/events
https://github.com/pandas-dev/pandas/issues/31281
554,752,089
MDU6SXNzdWU1NTQ3NTIwODk=
31,281
CI: update azure VM image
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}"...
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2020-01-24T14:00:44Z
2020-01-25T15:37:59Z
2020-01-25T15:37:59Z
CONTRIBUTOR
null
Email from Azure support > On March 23, 2020, we’ll be removing the following Azure Pipelines hosted images: > > * Windows Server 2012R2 with Visual Studio 2015, a.k.a vs2015-win2012r2 > * macOS X High Sierra 10.13, a.k.a macOS-10.13 > * Windows Server Core 1803, a.k.a win1803 > If you use YAML pipelines, update your pipeline by editing its YAML file. > > > > jobs: > > - job: Windows > > pool: > > vmImage: 'vs2017-win2016' > > steps: > > - script: echo hello from Windows
{ "+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/31281/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31281/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31282
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31282/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31282/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31282/events
https://github.com/pandas-dev/pandas/pull/31282
554,771,921
MDExOlB1bGxSZXF1ZXN0MzY2ODY2MzM3
31,282
Backport PR #30929: ENH: Implement convert_dtypes'
{ "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" }
[]
closed
false
null
[]
null
2
2020-01-24T14:36:45Z
2020-01-24T15:34:18Z
2020-01-24T15:34:14Z
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/31282/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31282/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31282.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31282", "merged_at": "2020-01-24T15:34:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31282.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31282" }
https://api.github.com/repos/pandas-dev/pandas/issues/31283
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31283/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31283/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31283/events
https://github.com/pandas-dev/pandas/pull/31283
554,791,745
MDExOlB1bGxSZXF1ZXN0MzY2ODgyNTc2
31,283
TYP: Type annotations in pandas/io/sas/sas_constants.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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
3
2020-01-24T15:12:41Z
2020-01-24T20:13:44Z
2020-01-24T19:06:31Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/31283/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31283/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31283.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31283", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31283.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31283" }
https://api.github.com/repos/pandas-dev/pandas/issues/31284
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31284/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31284/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31284/events
https://github.com/pandas-dev/pandas/issues/31284
554,799,955
MDU6SXNzdWU1NTQ3OTk5NTU=
31,284
Can't replace tz-aware with None
{ "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-01-24T15:27:30Z
2020-01-24T15:29:31Z
2020-01-24T15:29:31Z
MEMBER
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd value_a = pd.Timestamp("20130102", tz="US/Eastern") value_b = pd.Timestamp("20130102", tz="US/Eastern") df = pd.DataFrame({"A": [value_a], "B": [value_b]}) df.replace(to_replace={value_a: None}).dtypes.drop("A") ``` #### Problem description Throws `*** TypeError: data type not understood`. On the other hand, this works: ```python import pandas as pd value_a = pd.Timestamp("20130102") value_b = pd.Timestamp("20130102") df = pd.DataFrame({"A": [value_a], "B": [value_b]}) df.replace(to_replace={value_a: None}).dtypes.drop("A") ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 7adbc4d0516159cb21fa85c5a476fc67a28af917 python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-74-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 0.25.0+1928.g7adbc4d05.dirty numpy : 1.17.5 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 45.1.0.post20200119 Cython : 0.29.14 pytest : 5.3.4 hypothesis : 5.3.0 sphinx : 2.3.1 blosc : 1.8.3 feather : None xlsxwriter : 1.2.7 lxml.etree : 4.4.2 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.1 fastparquet : 0.3.2 gcsfs : None lxml.etree : 4.4.2 matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.1 pandas_gbq : None pyarrow : 0.15.1 pytables : None pytest : 5.3.4 pyxlsb : None s3fs : 0.4.0 scipy : 1.4.1 sqlalchemy : 1.3.12 tables : 3.6.1 tabulate : 0.8.6 xarray : 0.14.1 xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 numba : 0.47.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/31284/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31284/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31285
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31285/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31285/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31285/events
https://github.com/pandas-dev/pandas/pull/31285
554,833,033
MDExOlB1bGxSZXF1ZXN0MzY2OTE2MjU4
31,285
added shuffle method to DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/24204814?v=4", "events_url": "https://api.github.com/users/mrinalTheCoder/events{/privacy}", "followers_url": "https://api.github.com/users/mrinalTheCoder/followers", "following_url": "https://api.github.com/users/mrinalTheCoder/following{/other_user}", "gists_url": "https://api.github.com/users/mrinalTheCoder/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mrinalTheCoder", "id": 24204814, "login": "mrinalTheCoder", "node_id": "MDQ6VXNlcjI0MjA0ODE0", "organizations_url": "https://api.github.com/users/mrinalTheCoder/orgs", "received_events_url": "https://api.github.com/users/mrinalTheCoder/received_events", "repos_url": "https://api.github.com/users/mrinalTheCoder/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mrinalTheCoder/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mrinalTheCoder/subscriptions", "type": "User", "url": "https://api.github.com/users/mrinalTheCoder" }
[ { "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": "eb6420", "default": false, "description": "Non-arit...
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" }
6
2020-01-24T16:28:06Z
2020-01-26T11:04:44Z
2020-01-26T09:52:21Z
NONE
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I have added a shuffle method to pd.DataFrame, as writing df.sample(frac=1) is not intuitive. The method just calls df.sample with 1 line of code. To test it, I have added a test, here is the code: ```# flake8: noqa """ Public testing utility functions. """ import pandas as pd from pandas.util.testing import ( assert_frame_equal, assert_index_equal, assert_series_equal) df = pd.DataFrame([[1, 2], [3, 4], [5, 6]], columns=['a', 'b']) shuffled = df.shuffle(random_state=1) expected = pd.DataFrame([[1, 2], [5, 6], [3, 4]], columns=['a', 'b']) expected.set_index(pd.Series([0, 2, 1]), inplace=True) assert_frame_equal(shuffled, expected) ``` This PR doesn't resolve any issue, I just thought a shuffle method would make a nice addition to pandas. Also, I did not understand what you mean by 'whatsnew entry', could you please clarify?
{ "+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/31285/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31285/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31285.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31285", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31285.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31285" }
https://api.github.com/repos/pandas-dev/pandas/issues/31286
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31286/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31286/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31286/events
https://github.com/pandas-dev/pandas/issues/31286
554,835,290
MDU6SXNzdWU1NTQ4MzUyOTA=
31,286
Unexpected behaviour of `Series.rolling.corr` when using a `Timedelta` based window.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5398411?v=4", "events_url": "https://api.github.com/users/trendelkampschroer/events{/privacy}", "followers_url": "https://api.github.com/users/trendelkampschroer/followers", "following_url": "https://api.github.com/users/trendelkampschroer/following{/other_user}", "gists_url": "https://api.github.com/users/trendelkampschroer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trendelkampschroer", "id": 5398411, "login": "trendelkampschroer", "node_id": "MDQ6VXNlcjUzOTg0MTE=", "organizations_url": "https://api.github.com/users/trendelkampschroer/orgs", "received_events_url": "https://api.github.com/users/trendelkampschroer/received_events", "repos_url": "https://api.github.com/users/trendelkampschroer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trendelkampschroer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trendelkampschroer/subscriptions", "type": "User", "url": "https://api.github.com/users/trendelkampschroer" }
[ { "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...
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" }
5
2020-01-24T16:32:26Z
2020-12-28T00:03:23Z
2020-12-28T00:03:23Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import numpy as np import pandas as pd def f(x, y, window): return x.rolling(window).corr(y) def g(x, y, window): return x.rolling(window).apply(lambda x: x.corr(y), raw=False) if __name__ == "__main__": N = 20 n = 10 x = pd.Series(np.random.randn(N)) y = 1.0 * x x[0:n] = 0. window = 4 print(f(x, y, window)[n + window - 1 :]) >>> 13 1.0 14 1.0 15 1.0 16 1.0 17 1.0 18 1.0 19 1.0 dtype: float64 print(g(x, y, window)[n + window - 1 :]) >>> 13 1.0 14 1.0 15 1.0 16 1.0 17 1.0 18 1.0 19 1.0 index = pd.date_range("2001-01-01", freq="D", periods=N) x = pd.Series(np.random.randn(N), index=index) y = 2.0 * x x[0:n] = 0. print(f(x, y, window)[n + window - 1 :]) >>> 2001-01-14 1.0 2001-01-15 1.0 2001-01-16 1.0 2001-01-17 1.0 2001-01-18 1.0 2001-01-19 1.0 2001-01-20 1.0 Freq: D, dtype: float64 print(g(x, y, window)[n + window - 1 :]) >>> 2001-01-14 1.0 2001-01-15 1.0 2001-01-16 1.0 2001-01-17 1.0 2001-01-18 1.0 2001-01-19 1.0 2001-01-20 1.0 Freq: D, dtype: float64 dt_window = pd.to_timedelta("4D") print(f(x, y, dt_window)[n + window - 1 :]) >>> 2001-01-14 0.354308 2001-01-15 0.373106 2001-01-16 0.372752 2001-01-17 0.380531 2001-01-18 0.380298 2001-01-19 0.386142 2001-01-20 0.410147 Freq: D, dtype: float64 print(g(x, y, dt_window)[n + window - 1 :]) >>> 2001-01-14 1.0 2001-01-15 1.0 2001-01-16 1.0 2001-01-17 1.0 2001-01-18 1.0 2001-01-19 1.0 2001-01-20 1.0 Freq: D, dtype: float64 ``` #### Problem description Both functions `f` and `g` should return the same value for entries `13 - 19` in the resulting series. Currently the result of `f` when `window = Timedelta(days=4)` is not the correlation between the values of `x` and `y` which should be equal to `1.0` for entries `13 - 19` in the result. Computed values on a `DataFrame` are also affected, i.e. ```python df = pd.DataFrame({"x": x, "y": y}) df.rolling(dt_window).corr() ``` does also compute unexpected values for the crosscorrelation. If `.corr` is replaced with `.cov` in `f` and `g` both functions return identical results, so it is likely that it is caused by a difference in the normalisation in the correlation computation that is applied when using `f` and when using `g`. #### Expected Output #### Output of ``pd.show_versions()`` <details> pd.show_versions() INSTALLED VERSIONS ------------------ commit : None pandas : 0.25.3 numpy : 1.15.4 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.6.0.post20191030 Cython : 0.29.6 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 2.2.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.1.0 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/31286/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31286/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31287
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31287/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31287/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31287/events
https://github.com/pandas-dev/pandas/issues/31287
554,852,757
MDU6SXNzdWU1NTQ4NTI3NTc=
31,287
Allow .dt.month_name() and .dt.day_name() to return ordered categorical
{ "avatar_url": "https://avatars.githubusercontent.com/u/197589?v=4", "events_url": "https://api.github.com/users/richierocks/events{/privacy}", "followers_url": "https://api.github.com/users/richierocks/followers", "following_url": "https://api.github.com/users/richierocks/following{/other_user}", "gists_url": "https://api.github.com/users/richierocks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/richierocks", "id": 197589, "login": "richierocks", "node_id": "MDQ6VXNlcjE5NzU4OQ==", "organizations_url": "https://api.github.com/users/richierocks/orgs", "received_events_url": "https://api.github.com/users/richierocks/received_events", "repos_url": "https://api.github.com/users/richierocks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/richierocks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/richierocks/subscriptions", "type": "User", "url": "https://api.github.com/users/richierocks" }
[]
closed
false
null
[]
null
2
2020-01-24T17:06:52Z
2020-01-24T21:42:15Z
2020-01-24T18:38:37Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd import numpy as np # A data frame with a date column dates = pd.date_range("2010-01-01", "2020-01-01", freq="1D").tolist() groups = ["first", "second", "third"] df = pd.DataFrame({ "date": dates * len(groups), "group": np.repeat(groups, len(dates)).tolist(), "value": np.random.normal(0.0, 1.0, len(groups) * len(dates)) }) # This pivot table has months alphabetically, which isn't helpful df["month"] = df["date"].dt.month_name() df.pivot_table("value", "month", "group") ## group first second third ## month ## April 0.100473 0.038078 -0.044501 ## August 0.036322 0.092148 0.076523 ## December 0.007469 -0.008177 -0.001926 ## February -0.177943 -0.050950 0.079945 ## January 0.034046 -0.019727 0.035488 ## July -0.095040 0.123110 -0.079442 ## June -0.023626 0.003913 -0.028143 ## March -0.057740 0.050930 -0.059962 ## May -0.110125 -0.053679 0.009097 ## November -0.097954 -0.001033 0.002073 ## October -0.023615 -0.008795 0.033985 ## September -0.030819 -0.024159 -0.046538 # To get months chronologically, it's much more effort month_names = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] df["month2"] = pd.Categorical( df["date"].dt.month_name(), categories=month_names, ordered=True) df.pivot_table("value", "month2", "group") ## group first second third ## month2 ## January 0.034046 -0.019727 0.035488 ## February -0.177943 -0.050950 0.079945 ## March -0.057740 0.050930 -0.059962 ## April 0.100473 0.038078 -0.044501 ## May -0.110125 -0.053679 0.009097 ## June -0.023626 0.003913 -0.028143 ## July -0.095040 0.123110 -0.079442 ## August 0.036322 0.092148 0.076523 ## September -0.030819 -0.024159 -0.046538 ## October -0.023615 -0.008795 0.033985 ## November -0.097954 -0.001033 0.002073 ## December 0.007469 -0.008177 -0.001926 # What I wish I could have typed df["month"] = df["date"].dt.month_name(ordered=True) df.pivot_table("value", "month", "group") ``` #### Problem description [`pandas.Series.dt.month_name()`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.dt.month_name.html) returns the month names as strings, which means that they get sorted alphabetically. In most cases, that's less useful than them begin sorted from January to December. (See the pivot table generated by the code snippet as an example.) It is possible to generate month names as an ordered categorical variable, but it feels like a lot of extra code for such a routine task. I'd like to be able to pass an argument to `.dt.month_name()` to specify that I want ordered months, and have pandas do the work for me. There are a few options for the user interface,; I'm not sure which is best. `ordered=True` is one possible interface. Another would be having a `sort_order` argument that could be `alphabetical` or `chronological`. A third possibility would would be `return_type` as `string` or `categorical`. The situation is similar for [`pandas.Series.dt.day_name()`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.dt.day_name.html), though that has the added complication that sometimes you want an order of Sunday -> Saturday, and sometimes you want an order of Monday -> Sunday. #### Expected Output Months are ordered alphabetically. This is expected, but having them ordered from January to December is more useful. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.1.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.13.3 pytz : 2017.2 dateutil : 2.7.3 pip : 19.2.3 setuptools : 44.0.0.post20200106 Cython : 0.25.2 pytest : 3.0.7 hypothesis : None sphinx : 1.5.6 blosc : None feather : None xlsxwriter : 0.9.6 lxml.etree : 3.7.3 html5lib : 0.999 pymysql : 0.9.3 psycopg2 : 2.8.3 (dt dec pq3 ext lo64) jinja2 : 2.10.1 IPython : 5.3.0 pandas_datareader: None bs4 : 4.6.0 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 3.7.3 matplotlib : 2.0.2 numexpr : 2.6.2 odfpy : None openpyxl : 2.4.7 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 0.19.1 sqlalchemy : 1.3.8 tables : 3.3.0 xarray : None xlrd : 1.0.0 xlwt : 1.2.0 xlsxwriter : 0.9.6 </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/31287/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31287/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31288
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31288/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31288/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31288/events
https://github.com/pandas-dev/pandas/pull/31288
554,859,564
MDExOlB1bGxSZXF1ZXN0MzY2OTM3ODg3
31,288
REF: combine all alignment into _align_method_FRAME
{ "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": "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-24T17:22:04Z
2020-01-31T04:23:10Z
2020-01-31T03:36:34Z
MEMBER
null
This puts us within striking distance of de-duplicating _flex_comp_method_FRAME and _comp_method_FRAME, with _arith_method_FRAME not far behind
{ "+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/31288/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31288/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31288.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31288", "merged_at": "2020-01-31T03:36:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31288.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31288" }
https://api.github.com/repos/pandas-dev/pandas/issues/31289
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31289/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31289/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31289/events
https://github.com/pandas-dev/pandas/issues/31289
554,861,387
MDU6SXNzdWU1NTQ4NjEzODc=
31,289
Incorrect result in GroupBy.cov when some results have 1 observation
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
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" }
1
2020-01-24T17:26:08Z
2020-01-24T17:27:33Z
2020-01-24T17:27:21Z
CONTRIBUTOR
null
If a user has configured warnings from NumPy to raise, and performs a `groupby.cov` when one or more groups has a single operation, then they'll get the wrong result. ```python In [1]: import warnings In [2]: warnings.filterwarnings("error", category=RuntimeWarning) In [3]: import pandas as pd; import numpy as np In [4]: data = np.random.randn(20, 3) In [5]: key = [2, 2, 2, 2, 2, 0, 2, 0, 0, 0, 2, 0, 2, 2, 2, 2, 2, 1, 0, 2] In [7]: df = pd.DataFrame(data).assign(key=key) In [8]: df.groupby("key").cov() Out[8]: Empty DataFrame Columns: [] Index: [] ``` I would expect ```python In [6]: df.groupby("key").cov() Out[6]: 0 1 2 key 0 0 0.399063 0.187969 -0.081610 1 0.187969 0.912905 -0.037523 2 -0.081610 -0.037523 0.306056 1 0 NaN NaN NaN 1 NaN NaN NaN 2 NaN NaN NaN 2 0 0.653468 -0.007848 -0.213145 1 -0.007848 0.460083 -0.153129 2 -0.213145 -0.153129 0.662283 ``` We should probably be robust to the warning setting, or resurface the exception. This is with pandas 0.25.3
{ "+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/31289/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31289/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31290
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31290/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31290/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31290/events
https://github.com/pandas-dev/pandas/pull/31290
554,883,153
MDExOlB1bGxSZXF1ZXN0MzY2OTU3MTM3
31,290
BUG: Handle IntegerArray in pd.cut
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "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": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, d...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
7
2020-01-24T18:18:11Z
2020-01-28T12:41:00Z
2020-01-28T01:52:09Z
CONTRIBUTOR
null
xref https://github.com/pandas-dev/pandas/issues/30944. I think this doesn't close it, since only the pd.cut compoment is fixed. cc @jorisvandenbossche @jreback. The changes here attempt to be extremely conservative, since we're backporting stuff. I'm trying to not change behavior for anything other than IntegerArray. In particular, I'm not trying to support arbitrary EAs in `pd.cut`. This leads to some code that's fairly ugly & specific to IntegerArray. I think we should attempt to clean that up in 1.1.
{ "+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/31290/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31290/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31290.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31290", "merged_at": "2020-01-28T01:52:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31290.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31290" }
https://api.github.com/repos/pandas-dev/pandas/issues/31291
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31291/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31291/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31291/events
https://github.com/pandas-dev/pandas/issues/31291
554,884,324
MDU6SXNzdWU1NTQ4ODQzMjQ=
31,291
is_iterator doctest incorrect for list
{ "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" }
[]
closed
false
null
[]
null
1
2020-01-24T18:20:56Z
2020-01-26T01:38:02Z
2020-01-26T01:38:02Z
MEMBER
null
The docstring and doctest say that lists are considered iterators, but `isiterator([1, 2, 3])` (one of the docstring examples) returns False (which I think is a more useful behavior. Is this doctest not run?
{ "+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/31291/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31291/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31292
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31292/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31292/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31292/events
https://github.com/pandas-dev/pandas/pull/31292
554,884,807
MDExOlB1bGxSZXF1ZXN0MzY2OTU4NDY3
31,292
CI: Updated version of macos image
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
4
2020-01-24T18:22:05Z
2020-01-30T12:42:20Z
2020-01-25T15:37:59Z
MEMBER
null
- [x] closes #31281 - [ ] 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/31292/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31292/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31292.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31292", "merged_at": "2020-01-25T15:37:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31292.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31292" }
https://api.github.com/repos/pandas-dev/pandas/issues/31293
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31293/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31293/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31293/events
https://github.com/pandas-dev/pandas/issues/31293
554,915,701
MDU6SXNzdWU1NTQ5MTU3MDE=
31,293
ENH: investigate using a bitarray as the mask in the nullable/masked ExtensionArrays
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d7e102", "default": false, "description": "np.nan, ...
open
false
null
[]
null
4
2020-01-24T19:35:20Z
2020-04-28T06:03:02Z
null
MEMBER
null
Currently, our nullable / masked extension arrays (boolean, integer, for now) are using a numpy boolean array as their `_mask` to keep track of missing values. A potential route for improving memory and performance would be using a bitarray instead of a boolean numpy array (which is a byte per value). This should require some exploration: what are options how to implement this? (existing libraries, custom implementation) What is the performance impact? (some things like masking will also be slower, since we still rely on numpy for that, which needs boolean arrays) Is this worth it to do a custom implementation rather than using pyarrow for this? etc
{ "+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/31293/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31293/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31294
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31294/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31294/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31294/events
https://github.com/pandas-dev/pandas/pull/31294
554,925,588
MDExOlB1bGxSZXF1ZXN0MzY2OTkyMzMx
31,294
PERF: optimize is_scalar, is_iterator
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-24T19:58:26Z
2020-05-11T13:56:13Z
2020-01-26T00:34:33Z
MEMBER
null
While working on #30349 I noticed that `is_scalar` is pretty slow for non-scalar args, turns out we can get a 9-19x improvement for listlike cases, 5-10x improvement for Decimal/Period/DateOffset/Interval, with small improvements in nearly every other case while we're at it (the fractions.Fraction object is the only one where i found a small decrease in perf, within the margin of error) xref #31291, assuming this is the desired behavior for is_iterator, this closes that. Setup: ``` import pandas as pd from pandas.core.dtypes.common import * import decimal, fractions dec = decimal.Decimal(19.45678) frac = fractions.Fraction(1) i64 = np.int64(-1) arr = np.arange(5) ser = pd.Series(arr) idx = pd.Index(arr) interval = pd.Interval(0, 1) per = pd.Period("2017") offset = per - per iterator = (x for x in []) ``` Non-Scalar Cases ``` In [6]: %timeit is_scalar([]) 1.53 µs ± 36.4 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 79.7 ns ± 5.26 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [7]: %timeit is_scalar(arr) 1.58 µs ± 43.8 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 77.6 ns ± 5.02 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [8]: %timeit is_scalar(ser) 1.01 µs ± 51.7 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 92.3 ns ± 0.505 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [9]: %timeit is_scalar(idx) 876 ns ± 4.86 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 92.7 ns ± 1.47 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [10]: %timeit is_scalar(iterator) 2.08 µs ± 22.9 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- master 869 ns ± 20.9 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- PR ``` Non-Built-In Scalar Cases ``` In [10]: %timeit is_scalar(dec) 1.05 µs ± 9.75 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 79.5 ns ± 2.16 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [12]: %timeit is_scalar(interval) 748 ns ± 22.6 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 139 ns ± 5.38 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [13]: %timeit is_scalar(per) 706 ns ± 24.7 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 127 ns ± 14.2 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [14]: %timeit is_scalar(offset) 930 ns ± 40.6 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 211 ns ± 2.45 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- PR ``` Built-In Scalar Cases ``` In [3]: %timeit is_scalar(4) 60.1 ns ± 2.39 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- master 54.9 ns ± 1.15 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [4]: %timeit is_scalar(4.0) 53 ns ± 4.94 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- master 48.2 ns ± 0.613 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [5]: %timeit is_scalar(i64) 58.5 ns ± 1.39 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- master 58.1 ns ± 5.88 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [11]: %timeit is_scalar(frac) 93.5 ns ± 2.05 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- master 94.1 ns ± 6.4 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR ``` is_iterator check ``` In [16] %timeit is_iterator(iterator) 283 ns ± 5.35 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 58.9 ns ± 2.31 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [17] %timeit is_iterator(arr) 228 ns ± 3.98 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 55 ns ± 3.53 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR In [17] %timeit is_iterator("foo") 231 ns ± 15.7 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <-- master 49.4 ns ± 5.08 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR ```
{ "+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/31294/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31294/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31294.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31294", "merged_at": "2020-01-26T00:34:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31294.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31294" }
https://api.github.com/repos/pandas-dev/pandas/issues/31295
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31295/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31295/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31295/events
https://github.com/pandas-dev/pandas/pull/31295
554,941,426
MDExOlB1bGxSZXF1ZXN0MzY3MDA1NTc3
31,295
DOC: correct examples for "is_iterator"
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-01-24T20:34:49Z
2020-01-30T13:39:48Z
2020-01-30T13:39:34Z
MEMBER
null
- [x] closes #31291 - [x] 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/31295/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31295/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31295.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31295", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31295.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31295" }
https://api.github.com/repos/pandas-dev/pandas/issues/31296
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31296/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31296/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31296/events
https://github.com/pandas-dev/pandas/pull/31296
554,993,305
MDExOlB1bGxSZXF1ZXN0MzY3MDQ3OTU3
31,296
PERF: do DataFrame.op(series, axis=0) blockwise
{ "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": "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": "006b75", "default"...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
7
2020-01-24T22:57:15Z
2020-03-08T16:28:25Z
2020-03-08T16:07:04Z
MEMBER
null
Also fixes the same bug as #31271 (with the same test ported), so if this is accepted that will be closeable. ~2000x speedups for very-wide mixed-dtype cases. ``` arr = np.arange(10**6).reshape(100, -1) df = pd.DataFrame(arr) df["C"] = 1.0 ser = df[0] In [11]: %timeit df.eq(ser, axis=0) 1.58 s ± 20 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <-- master 595 µs ± 79.1 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) <-- PR In [12]: %timeit df.add(ser, axis=0) 2.06 s ± 52.6 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <-- master 1.04 ms ± 5.07 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <-- PR ```
{ "+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/31296/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31296/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31296.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31296", "merged_at": "2020-03-08T16:07:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31296.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31296" }
https://api.github.com/repos/pandas-dev/pandas/issues/31297
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31297/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31297/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31297/events
https://github.com/pandas-dev/pandas/pull/31297
554,997,177
MDExOlB1bGxSZXF1ZXN0MzY3MDUxMTEy
31,297
REF: pass str_rep through arithmetic ops more consistently
{ "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": "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" }, { "c...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-01-24T23:11:03Z
2020-02-23T17:13:37Z
2020-02-23T16:18:50Z
MEMBER
null
This doesn't get all of the places where we fail to pass str_rep, still working out a couple of places where passing it breaks tests.
{ "+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/31297/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31297/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31297.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31297", "merged_at": "2020-02-23T16:18:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31297.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31297" }
https://api.github.com/repos/pandas-dev/pandas/issues/31298
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31298/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31298/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31298/events
https://github.com/pandas-dev/pandas/issues/31298
555,022,042
MDU6SXNzdWU1NTUwMjIwNDI=
31,298
Aggregate with categorical variables but without groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/60278688?v=4", "events_url": "https://api.github.com/users/GregKarabinos/events{/privacy}", "followers_url": "https://api.github.com/users/GregKarabinos/followers", "following_url": "https://api.github.com/users/GregKarabinos/following{/other_user}", "gists_url": "https://api.github.com/users/GregKarabinos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GregKarabinos", "id": 60278688, "login": "GregKarabinos", "node_id": "MDQ6VXNlcjYwMjc4Njg4", "organizations_url": "https://api.github.com/users/GregKarabinos/orgs", "received_events_url": "https://api.github.com/users/GregKarabinos/received_events", "repos_url": "https://api.github.com/users/GregKarabinos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GregKarabinos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GregKarabinos/subscriptions", "type": "User", "url": "https://api.github.com/users/GregKarabinos" }
[ { "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transf...
open
false
null
[]
null
3
2020-01-25T01:10:47Z
2020-09-05T19:11:16Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df = pd.DataFrame( {"col_1" : [1, 2, 3, 4, 5], "col_2" : [3, 5, 3, 4, 9], "col_3" : ["cat", "dog", "dog", "cat", "cat"], "col_4" : ["feline", "canine", "canine", "feline", "feline"]}) func_list = [lambda x : len(x), lambda x : x.isnull().sum()] num_col = df.select_dtypes(include="number").columns cat_col = df.select_dtypes(include="object").columns #works correctly for numeric columns print(df[num_col].agg(func_list)) print(df[cat_col].agg(func_list)) ``` #### Problem description There is an issue with aggregating and applying a list of functions. These functions should be able to be applied to categorical or object columns but cannot currently. #### Expected Output I would expect the output for the categorical and numeric columns to be the same with these simple functions. #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Darwin OS-release : 19.0.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.1 numpy : 1.17.2 pytz : 2019.3 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.4.0 Cython : 0.29.13 pytest : 5.2.1 hypothesis : None sphinx : 2.2.0 blosc : None feather : None xlsxwriter : 1.2.1 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : 4.8.0 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.9 tables : 3.5.2 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.1
{ "+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/31298/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31298/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31299
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31299/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31299/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31299/events
https://github.com/pandas-dev/pandas/issues/31299
555,027,618
MDU6SXNzdWU1NTUwMjc2MTg=
31,299
DEPR: disallow series[[slice(...)]]
{ "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": "53...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-01-25T01:52:15Z
2020-02-09T17:08:54Z
2020-02-09T17:08:54Z
MEMBER
null
One of the more convoluted parts of `Series.__getitem__` is for handling single-entry lists that contain a slice, where we end up just returning `self[key[0]]`. We have two tests that hit this path, but it isn't clear to me why this should be supported.
{ "+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/31299/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31299/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31300
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31300/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31300/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31300/events
https://github.com/pandas-dev/pandas/pull/31300
555,028,724
MDExOlB1bGxSZXF1ZXN0MzY3MDc2ODcz
31,300
PERF: avoid copies if possible in fill_binop
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-01-25T02:01:57Z
2020-01-25T16:28:10Z
2020-01-25T16:20:21Z
MEMBER
null
This has a small perf bump, but more importantly is necessary for the blockwise frame-with-frame PR that is coming up. ``` import pandas as pd from pandas.core.ops import * arr = np.arange(10**6) df = pd.DataFrame({"A": arr}) ser = df["A"] %timeit result = df.add(df, fill_value=4) 7.77 ms ± 20.4 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) <-- master 5.46 ms ± 36.9 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) <-- PR %timeit result = ser.add(ser, fill_value=1) 6.79 ms ± 56.9 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) <-- master 4.65 ms ± 82.9 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) <-- PR ```
{ "+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/31300/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31300/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31300.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31300", "merged_at": "2020-01-25T16:20:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31300.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31300" }
https://api.github.com/repos/pandas-dev/pandas/issues/31301
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31301/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31301/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31301/events
https://github.com/pandas-dev/pandas/pull/31301
555,032,242
MDExOlB1bGxSZXF1ZXN0MzY3MDc5NjA3
31,301
CLN: remove _set_subtyp
{ "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" }, { "color": "207de5...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
4
2020-01-25T02:37:01Z
2020-01-25T16:04:55Z
2020-01-25T16:01:40Z
MEMBER
null
its not used anywhere, apparently legacy leftover
{ "+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/31301/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31301/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31301.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31301", "merged_at": "2020-01-25T16:01:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31301.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31301" }
https://api.github.com/repos/pandas-dev/pandas/issues/31302
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31302/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31302/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31302/events
https://github.com/pandas-dev/pandas/issues/31302
555,032,653
MDU6SXNzdWU1NTUwMzI2NTM=
31,302
ENH: Change default behavior of rolling.count to be consistent with others
{ "avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4", "events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}", "followers_url": "https://api.github.com/users/fujiaxiang/followers", "following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}", "gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fujiaxiang", "id": 5236149, "login": "fujiaxiang", "node_id": "MDQ6VXNlcjUyMzYxNDk=", "organizations_url": "https://api.github.com/users/fujiaxiang/orgs", "received_events_url": "https://api.github.com/users/fujiaxiang/received_events", "repos_url": "https://api.github.com/users/fujiaxiang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions", "type": "User", "url": "https://api.github.com/users/fujiaxiang" }
[ { "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": "d4c5f9", "default": f...
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-01-25T02:41:42Z
2020-10-02T20:35:11Z
2020-10-02T20:35:11Z
MEMBER
null
Following on discussion happened in #30923, we may want to change the default behavior of `rolling.count` with regards to its parameter ``min_periods``, so it is consistent with all other similar APIs such as `rolling.mean` and `rolling.sum`. #### Code Sample With the updates from #30923 ```python >>> import numpy as np >>> import pandas as pd >>> s = pd.Series([1, 1, 1, np.nan, 1, 1, 1]) >>> s 0 1.0 1 1.0 2 1.0 3 NaN 4 1.0 5 1.0 6 1.0 dtype: float64 # rolling.mean and rolling.sum defaults min_periods to the same value as window size (3 in this case) # notice that it requires not only the window size to be at least 3, but also the number of valid entries (not NaN) to be at least 3 >>> s.rolling(3).mean() 0 NaN 1 NaN 2 1.0 3 NaN 4 NaN 5 NaN 6 1.0 dtype: float64 >>> s.rolling(3).sum() 0 NaN 1 NaN 2 3.0 3 NaN 4 NaN 5 NaN 6 3.0 dtype: float64 # the default value of min_periods for rolling.count is 0 # we may want to change this behavior so it's consistent with other APIs >>> s.rolling(3).count() 0 1.0 1 2.0 2 3.0 3 2.0 4 2.0 5 2.0 6 3.0 dtype: float64 # notice that rolling.count requires window size to be at least equal to min_periods to give a result # it doesn't care about how many valid entries (not NaN) to determine if it should output NaN # we should retain this behavior because this function is meant to count the number of valid entries >>> s.rolling(3, min_periods=3).count() 0 NaN 1 NaN 2 3.0 3 2.0 4 2.0 5 2.0 6 3.0 dtype: float64 ``` #### Expected Output ```python >>> s.rolling(3).count() 0 NaN 1 NaN 2 3.0 3 2.0 4 2.0 5 2.0 6 3.0 dtype: float64 ``` #### Problem description With the updates from #30923, the ``min_periods`` argument of `rolling.count` is now respected (it used to be completely ignored). However, the default value remains 0 for backward compatibility purpose. In future updates we probably want to change this default behavior so it's consistent with other similar APIs. @mroeschke previously mentioned we needed to start with a ``DeprecationWarning`` to inform users of future changes, then probably in the following release make the actual change. @jreback @WillAyd Let me know what you guys think!
{ "+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/31302/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31302/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31303
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31303/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31303/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31303/events
https://github.com/pandas-dev/pandas/issues/31303
555,032,684
MDU6SXNzdWU1NTUwMzI2ODQ=
31,303
applymap fails in presence of nan values and function returning None
{ "avatar_url": "https://avatars.githubusercontent.com/u/889657?v=4", "events_url": "https://api.github.com/users/amacfie/events{/privacy}", "followers_url": "https://api.github.com/users/amacfie/followers", "following_url": "https://api.github.com/users/amacfie/following{/other_user}", "gists_url": "https://api.github.com/users/amacfie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amacfie", "id": 889657, "login": "amacfie", "node_id": "MDQ6VXNlcjg4OTY1Nw==", "organizations_url": "https://api.github.com/users/amacfie/orgs", "received_events_url": "https://api.github.com/users/amacfie/received_events", "repos_url": "https://api.github.com/users/amacfie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amacfie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amacfie/subscriptions", "type": "User", "url": "https://api.github.com/users/amacfie" }
[ { "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" } ]
closed
false
null
[]
null
1
2020-01-25T02:41:59Z
2020-01-26T03:44:45Z
2020-01-26T02:58:40Z
NONE
null
Is this the proper behavior? ```python df = pd.DataFrame([{'a': np.nan}, {'a': 3.5}]) def convert_cell(x): if isinstance(x, float): if math.isnan(x): return None else: return round(x) else: return x df.applymap(convert_cell) # gives # a #0 NaN #1 4.0 [ convert_cell(x) for x in [np.nan, 3.5] ] # gives # [None, 4] ``` If we replace `None` with say, -1, in `convert_cell` it works as expected. If all values in the column are nan, it works. If all values are non-nan floats it works. If `convert_cell = lambda x: None`, that works. ``` INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 5.0.0-37-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_CA.UTF-8 LOCALE : en_CA.UTF-8 pandas : 0.25.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 9.0.1 setuptools : 39.0.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.3.2 html5lib : 0.999999999 pymysql : 0.8.0 psycopg2 : None jinja2 : 2.10 IPython : 7.3.0 pandas_datareader: None bs4 : 4.6.0 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.3.2 matplotlib : 3.0.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.2.1 sqlalchemy : 1.1.11 tables : None xarray : 0.14.1 xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : None ```
{ "+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/31303/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31303/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31304
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31304/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31304/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31304/events
https://github.com/pandas-dev/pandas/pull/31304
555,041,554
MDExOlB1bGxSZXF1ZXN0MzY3MDg2NzE2
31,304
REF: define _get_slice_axis in correct classes
{ "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": "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": "0b02e1", "default": false, "de...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-25T04:36:10Z
2020-01-26T00:46:49Z
2020-01-26T00:40:31Z
MEMBER
null
Since ix has been removed, a bunch of _NDFrameIndexer methods are defined in now-weird places. This fixes the one that confused me today.
{ "+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/31304/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31304/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31304.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31304", "merged_at": "2020-01-26T00:40:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31304.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31304" }
https://api.github.com/repos/pandas-dev/pandas/issues/31305
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31305/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31305/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31305/events
https://github.com/pandas-dev/pandas/pull/31305
555,042,558
MDExOlB1bGxSZXF1ZXN0MzY3MDg3NDgz
31,305
POC: use typing.final
{ "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-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
5
2020-01-25T04:49:23Z
2020-02-28T00:18:52Z
2020-01-31T01:02:02Z
MEMBER
null
When working on index/indexing code I frequently find myself checking whether a method is overriden in subclasses. `@typing.final` marks a method as not-overriden in a way that mypy can check (py38+). This imports typing.final in py38+ and makes a dummy otherwise. We'd need to make sure the CI runs mypy in py38.
{ "+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/31305/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31305/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31305.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31305", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/31305.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31305" }
https://api.github.com/repos/pandas-dev/pandas/issues/31306
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31306/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31306/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31306/events
https://github.com/pandas-dev/pandas/issues/31306
555,053,100
MDU6SXNzdWU1NTUwNTMxMDA=
31,306
NaT values cannot be compared with tz-aware datetime objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/585279?v=4", "events_url": "https://api.github.com/users/mitar/events{/privacy}", "followers_url": "https://api.github.com/users/mitar/followers", "following_url": "https://api.github.com/users/mitar/following{/other_user}", "gists_url": "https://api.github.com/users/mitar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mitar", "id": 585279, "login": "mitar", "node_id": "MDQ6VXNlcjU4NTI3OQ==", "organizations_url": "https://api.github.com/users/mitar/orgs", "received_events_url": "https://api.github.com/users/mitar/received_events", "repos_url": "https://api.github.com/users/mitar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mitar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mitar/subscriptions", "type": "User", "url": "https://api.github.com/users/mitar" }
[ { "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": "5319e7"...
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" }
11
2020-01-25T07:10:18Z
2020-01-26T02:10:56Z
2020-01-26T01:08:24Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python import pandas import datetime a = pandas.DataFrame({'b': [pandas.NaT]}) a.b > datetime.datetime.now(datetime.timezone.utc) ``` Output: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File ".../pandas/core/ops/__init__.py", line 1179, in wrapper res_values = dispatch_to_index_op(op, self, other, pd.DatetimeIndex) File ".../pandas/core/ops/__init__.py", line 630, in dispatch_to_index_op result = op(left_idx, right) File ".../pandas/core/indexes/datetimelike.py", line 132, in wrapper result = op(self._data, maybe_unwrap_index(other)) File ".../pandas/core/arrays/datetimes.py", line 168, in wrapper self._assert_tzawareness_compat(other) File ".../pandas/core/arrays/datetimes.py", line 789, in _assert_tzawareness_compat "Cannot compare tz-naive and tz-aware " "datetime-like objects." TypeError: Cannot compare tz-naive and tz-aware datetime-like objects. ``` #### Problem description When parsing timestamps, I return `pandas.NaT` if value is not parsed correctly. Otherwise I return timezone-aware timestamps. I also want then to compare those values with a timezone-aware timestamp. But if there is any `pandas.NaT` value present comparison fails. #### Expected Output ``` 0 False Name: b, dtype: bool ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.6.final.0 python-bits : 64 OS : Linux OS-release : 5.0.0-37-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.2 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.1 pip : 19.0.3 setuptools : 40.4.3 Cython : 0.29.10 pytest : 4.4.1 hypothesis : None sphinx : 1.8.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.2.5 html5lib : 0.9999999 pymysql : None psycopg2 : 2.8.3 (dt dec pq3 ext lo64) jinja2 : 2.10 IPython : None pandas_datareader: None bs4 : 4.7.1 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.2.5 matplotlib : 3.0.0 numexpr : 2.6.9 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : 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/31306/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31306/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31307
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31307/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31307/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31307/events
https://github.com/pandas-dev/pandas/pull/31307
555,081,140
MDExOlB1bGxSZXF1ZXN0MzY3MTE0NjA4
31,307
Add test for multiindex json
{ "avatar_url": "https://avatars.githubusercontent.com/u/46084304?v=4", "events_url": "https://api.github.com/users/rushabh-v/events{/privacy}", "followers_url": "https://api.github.com/users/rushabh-v/followers", "following_url": "https://api.github.com/users/rushabh-v/following{/other_user}", "gists_url": "https://api.github.com/users/rushabh-v/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rushabh-v", "id": 46084304, "login": "rushabh-v", "node_id": "MDQ6VXNlcjQ2MDg0MzA0", "organizations_url": "https://api.github.com/users/rushabh-v/orgs", "received_events_url": "https://api.github.com/users/rushabh-v/received_events", "repos_url": "https://api.github.com/users/rushabh-v/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rushabh-v/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rushabh-v/subscriptions", "type": "User", "url": "https://api.github.com/users/rushabh-v" }
[ { "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": "207de5", "default": fa...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-01-25T12:42:39Z
2020-01-31T09:03:28Z
2020-01-25T16:19:06Z
CONTRIBUTOR
null
- [x] related to #31028 and adds test for #27618 - [x] tests added / passed - [x] passes `black pandas`
{ "+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/31307/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31307/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31307.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31307", "merged_at": "2020-01-25T16:19:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31307.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31307" }
https://api.github.com/repos/pandas-dev/pandas/issues/31308
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31308/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31308/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31308/events
https://github.com/pandas-dev/pandas/issues/31308
555,089,802
MDU6SXNzdWU1NTUwODk4MDI=
31,308
pd.concat inconsistent with non-unique index
{ "avatar_url": "https://avatars.githubusercontent.com/u/36797143?v=4", "events_url": "https://api.github.com/users/martinfleis/events{/privacy}", "followers_url": "https://api.github.com/users/martinfleis/followers", "following_url": "https://api.github.com/users/martinfleis/following{/other_user}", "gists_url": "https://api.github.com/users/martinfleis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/martinfleis", "id": 36797143, "login": "martinfleis", "node_id": "MDQ6VXNlcjM2Nzk3MTQz", "organizations_url": "https://api.github.com/users/martinfleis/orgs", "received_events_url": "https://api.github.com/users/martinfleis/received_events", "repos_url": "https://api.github.com/users/martinfleis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/martinfleis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/martinfleis/subscriptions", "type": "User", "url": "https://api.github.com/users/martinfleis" }
[ { "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stac...
open
false
null
[]
null
3
2020-01-25T14:10:14Z
2021-07-27T05:19:13Z
null
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible Following works: ```py df4 = pd.DataFrame([['bird', 'polly'], ['monkey', 'george'], ['a', 'b']], columns=['animal', 'name']) df1 = pd.DataFrame([['a', 1], ['b', 2]], columns=['letter', 'number']) df4.index = [0, 1, 1] pd.concat([df1, df4], axis=1) letter number animal name 0 a 1 bird polly 1 b 2 monkey george 1 b 2 a b ``` But if the order of index values is the opposite, it raises ValueError: ```py df4 = pd.DataFrame([['bird', 'polly'], ['monkey', 'george'], ['a', 'b']], columns=['animal', 'name']) df1 = pd.DataFrame([['a', 1], ['b', 2]], columns=['letter', 'number']) df4.index = [1, 0, 0] pd.concat([df1, df4], axis=1) ValueError: Shape of passed values is (3, 4), indices imply (2, 4) ``` #### Problem description As shown in the example, `concat` behaves inconsistently if index has duplicated value. It depends on the order of values if it succeeds or not. It is causing issues in geopandas (https://github.com/geopandas/geopandas/issues/1223). I know that duplicated index is not ideal thing to have, but this seems to be a bug. #### Expected Output Expected output would be concatenated gdf as in the example with sorted index. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.0.final.0 python-bits : 64 OS : Darwin OS-release : 19.2.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 0.25.3 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 42.0.2.post20191201 Cython : None pytest : 5.3.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.10.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.2 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/31308/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31308/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31309
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31309/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31309/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31309/events
https://github.com/pandas-dev/pandas/pull/31309
555,099,170
MDExOlB1bGxSZXF1ZXN0MzY3MTI3MTM0
31,309
Backport PR #31292 on branch 1.0.x (CI: Updated version of macos image)
{ "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-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
0
2020-01-25T15:38:35Z
2020-01-25T16:08:09Z
2020-01-25T16:08:09Z
NONE
null
Backport PR #31292: CI: Updated version of macos image
{ "+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/31309/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31309/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31309.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31309", "merged_at": "2020-01-25T16:08:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31309.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31309" }
https://api.github.com/repos/pandas-dev/pandas/issues/31310
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31310/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31310/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31310/events
https://github.com/pandas-dev/pandas/issues/31310
555,103,636
MDU6SXNzdWU1NTUxMDM2MzY=
31,310
CI: xfail sparse warning
{ "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" }
[ { "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": "009800", "default": false, "description": ...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
0
2020-01-25T16:17:07Z
2020-01-26T00:26:04Z
2020-01-26T00:26:04Z
CONTRIBUTOR
null
this is failing builds occasionally. not sure if its a deeper problem. can just xfail for now and investigate. https://travis-ci.org/pandas-dev/pandas/jobs/641752516 ``` =================================== FAILURES =================================== __________________________ test_legacy_sparse_warning __________________________ [gw0] linux -- Python 3.6.10 /home/travis/miniconda3/envs/pandas-dev/bin/python datapath = <function datapath.<locals>.deco at 0x7fd87cf76268> def test_legacy_sparse_warning(datapath): """ Generated with >>> df = pd.DataFrame({"A": [1, 2, 3, 4], "B": [0, 0, 1, 1]}).to_sparse() >>> df.to_pickle("pandas/tests/io/data/pickle/sparseframe-0.20.3.pickle.gz", ... compression="gzip") >>> s = df['B'] >>> s.to_pickle("pandas/tests/io/data/pickle/sparseseries-0.20.3.pickle.gz", ... compression="gzip") """ with tm.assert_produces_warning(FutureWarning): simplefilter("ignore", DeprecationWarning) # from boto pd.read_pickle( datapath("io", "data", "pickle", "sparseseries-0.20.3.pickle.gz"), > compression="gzip", ) pandas/tests/io/test_pickle.py:218: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <contextlib._GeneratorContextManager object at 0x7fd87ceed6a0> type = None, value = None, traceback = None def __exit__(self, type, value, traceback): if type is None: try: > next(self.gen) E AssertionError: Caused unexpected warning(s): [('ResourceWarning', ResourceWarning("unclosed <socket.socket fd=18, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('10.20.0.67', 37224), raddr=('74.125.202.84', 443)>",), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/inspect.py', 732), ('ResourceWarning', ResourceWarning("unclosed <socket.socket fd=19, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.67', 46940), raddr=('172.217.214.95', 443)>",), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/inspect.py', 732)] ../../../miniconda3/envs/pandas-dev/lib/python3.6/contextlib.py:88: AssertionError =============================== warnings summary =============================== /home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/fastparquet/dataframe.py:5 /home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/fastparquet/dataframe.py:5 /home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/fastparquet/dataframe.py:5: FutureWarning: pandas.core.index is deprecated and will be removed in a future version. The public classes are available in the top-level namespace. from pandas.core.index import CategoricalIndex, RangeIndex, Index, MultiIndex /home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/statsmodels/tools/_testing.py:19 /home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/statsmodels/tools/_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead. import pandas.util.testing as tm ```
{ "+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/31310/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31310/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31311
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31311/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31311/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31311/events
https://github.com/pandas-dev/pandas/pull/31311
555,113,010
MDExOlB1bGxSZXF1ZXN0MzY3MTM2NTk2
31,311
xfail sparse warning; closes #31310
{ "avatar_url": "https://avatars.githubusercontent.com/u/20310144?v=4", "events_url": "https://api.github.com/users/bfgray3/events{/privacy}", "followers_url": "https://api.github.com/users/bfgray3/followers", "following_url": "https://api.github.com/users/bfgray3/following{/other_user}", "gists_url": "https://api.github.com/users/bfgray3/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bfgray3", "id": 20310144, "login": "bfgray3", "node_id": "MDQ6VXNlcjIwMzEwMTQ0", "organizations_url": "https://api.github.com/users/bfgray3/orgs", "received_events_url": "https://api.github.com/users/bfgray3/received_events", "repos_url": "https://api.github.com/users/bfgray3/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bfgray3/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bfgray3/subscriptions", "type": "User", "url": "https://api.github.com/users/bfgray3" }
[ { "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": "f2f074", "default": false, "description": ...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-25T17:36:58Z
2020-01-26T00:26:20Z
2020-01-26T00:26:02Z
CONTRIBUTOR
null
xref #31310
{ "+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/31311/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31311/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31311.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31311", "merged_at": "2020-01-26T00:26:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31311.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31311" }
https://api.github.com/repos/pandas-dev/pandas/issues/31312
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31312/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31312/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31312/events
https://github.com/pandas-dev/pandas/pull/31312
555,118,834
MDExOlB1bGxSZXF1ZXN0MzY3MTQwNTMz
31,312
BUG: MultiIndex intersection with sort=False does not preserve order
{ "avatar_url": "https://avatars.githubusercontent.com/u/16199817?v=4", "events_url": "https://api.github.com/users/jeffzi/events{/privacy}", "followers_url": "https://api.github.com/users/jeffzi/followers", "following_url": "https://api.github.com/users/jeffzi/following{/other_user}", "gists_url": "https://api.github.com/users/jeffzi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jeffzi", "id": 16199817, "login": "jeffzi", "node_id": "MDQ6VXNlcjE2MTk5ODE3", "organizations_url": "https://api.github.com/users/jeffzi/orgs", "received_events_url": "https://api.github.com/users/jeffzi/received_events", "repos_url": "https://api.github.com/users/jeffzi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jeffzi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeffzi/subscriptions", "type": "User", "url": "https://api.github.com/users/jeffzi" }
[ { "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stac...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
7
2020-01-25T18:25:24Z
2020-02-12T16:04:32Z
2020-02-12T16:04:23Z
CONTRIBUTOR
null
- [x] closes #31325 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The intersection of 2 `MultiIndex` with `sort=False` does not preserve the order, whereas `Index. intersection()` does. This behavior does not seem to be intentional since the tests for `difference` and `symmetric_difference` are testing for order preservation. For example: ```python import pandas as pd arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'], ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']] tuples = list(zip(*arrays)) idx = pd.MultiIndex.from_tuples(tuples, names=['first', 'second']) left = idx[2::-1] print(left) #> MultiIndex([('baz', 'one'), #> ('bar', 'two'), #> ('bar', 'one')], #> names=['first', 'second']) right = idx[:5] print(right) #> MultiIndex([('bar', 'one'), #> ('bar', 'two'), #> ('baz', 'one'), #> ('baz', 'two'), #> ('foo', 'one')], #> names=['first', 'second']) # expected same order as left intersect = left.intersection(right, sort=False) print(intersect) #> MultiIndex([('bar', 'two'), #> ('baz', 'one'), #> ('bar', 'one')], #> names=['first', 'second']) ``` <sup>Created on 2020-01-25 by the [reprexpy package](https://github.com/crew102/reprexpy)</sup> I verified that my PR does not decrease performances. I also modified the test for `union`. The implementation was preserving the order with `sort=False` but the tests were not verifying it.
{ "+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/31312/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31312/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31312.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31312", "merged_at": "2020-02-12T16:04:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31312.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31312" }
https://api.github.com/repos/pandas-dev/pandas/issues/31313
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31313/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31313/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31313/events
https://github.com/pandas-dev/pandas/issues/31313
555,145,864
MDU6SXNzdWU1NTUxNDU4NjQ=
31,313
Series logical operations with nullable Boolean data type
{ "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" }
[]
closed
false
null
[]
null
1
2020-01-25T22:14:51Z
2020-01-25T22:26:00Z
2020-01-25T22:26:00Z
MEMBER
null
Should the `Series` logical operations also follow three-valued logic when using the nullable boolean data type? For example I would expect the two cases below to return `pd.NA`: ```python import pandas as pd pd.Series([True, None], dtype="boolean").all() # True pd.Series([False, None], dtype="boolean").any() # False pd.__version__ # '1.0.0rc0+198.g5ecd94c72' ```
{ "+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/31313/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31313/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/31314
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/31314/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/31314/comments
https://api.github.com/repos/pandas-dev/pandas/issues/31314/events
https://github.com/pandas-dev/pandas/pull/31314
555,147,771
MDExOlB1bGxSZXF1ZXN0MzY3MTYxMzk2
31,314
REF: DatetimeIndex.get_value wrap DTI.get_loc
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "0b02e1", "default": false, "description": "Related t...
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "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": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-01-25T22:33:42Z
2020-01-26T00:38:36Z
2020-01-26T00:23:57Z
MEMBER
null
After this, DTI.get_value is identical to TDI.get_value. Separate PR to get PeriodIndex to match too, then de-duplicate.
{ "+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/31314/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/31314/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/31314.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/31314", "merged_at": "2020-01-26T00:23:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/31314.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31314" }