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/37119
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37119/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37119/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37119/events
https://github.com/pandas-dev/pandas/issues/37119
721,696,948
MDU6SXNzdWU3MjE2OTY5NDg=
37,119
typing_extensions
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "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
24
2020-10-14T18:48:04Z
2021-03-01T14:56:45Z
2021-03-01T14:56:45Z
MEMBER
null
ATM we vendor typing_extensions but mypy doesnt recognize it, so we can't actually use it. We should either remove it or make it a dependency.
{ "+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/37119/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37119/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37120
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37120/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37120/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37120/events
https://github.com/pandas-dev/pandas/pull/37120
721,702,848
MDExOlB1bGxSZXF1ZXN0NTAzNTc1NzU0
37,120
ERR: Removing quotation marks in error message
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-14T18:57:43Z
2020-10-15T00:48:34Z
2020-10-15T00:27:51Z
MEMBER
null
Follow-up to https://github.com/pandas-dev/pandas/pull/36852 When reviewing, I got confused and thought `iteration` was somehow an argument to `read_csv` (like `nrows`). Since it is now, the quotation marks don't make as much sense to have. Doing this as a follow-up since the original PR was a pure refactoring.
{ "+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/37120/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37120/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37120.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37120", "merged_at": "2020-10-15T00:27:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37120.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37120" }
https://api.github.com/repos/pandas-dev/pandas/issues/37121
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37121/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37121/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37121/events
https://github.com/pandas-dev/pandas/issues/37121
721,719,724
MDU6SXNzdWU3MjE3MTk3MjQ=
37,121
ENH: No need to call _choose_path in Dataframe groupby transform function
{ "avatar_url": "https://avatars.githubusercontent.com/u/11253854?v=4", "events_url": "https://api.github.com/users/jitendra29mishra/events{/privacy}", "followers_url": "https://api.github.com/users/jitendra29mishra/followers", "following_url": "https://api.github.com/users/jitendra29mishra/following{/other_user}", "gists_url": "https://api.github.com/users/jitendra29mishra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jitendra29mishra", "id": 11253854, "login": "jitendra29mishra", "node_id": "MDQ6VXNlcjExMjUzODU0", "organizations_url": "https://api.github.com/users/jitendra29mishra/orgs", "received_events_url": "https://api.github.com/users/jitendra29mishra/received_events", "repos_url": "https://api.github.com/users/jitendra29mishra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jitendra29mishra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jitendra29mishra/subscriptions", "type": "User", "url": "https://api.github.com/users/jitendra29mishra" }
[]
closed
false
null
[]
null
0
2020-10-14T19:25:19Z
2020-10-16T15:21:22Z
2020-10-16T15:21:22Z
NONE
null
When every time the slow_path method run in self._choose_path, then why not we remove the fast_path code. self._choose_path call https://github.com/pandas-dev/pandas/blob/d7a5b838d8d6234f6bec5a30bfa33b24bd4afbd9/pandas/core/groupby/generic.py#L1313 Line to change path, res = show_path, slow_path(group) definition of self._choose_path method https://github.com/pandas-dev/pandas/blob/d7a5b838d8d6234f6bec5a30bfa33b24bd4afbd9/pandas/core/groupby/generic.py#L1425 Execution time difference ---------------------------------- With fast_path method - 21 ms Without fast_path method - 9ms Used dataframe df = pd.DataFrame({'A': ['foo', 'bar', 'foo', 'bar', 'foo', 'bar'], 'B': ['one', 'one', 'two', 'three', 'two', 'two'], 'C': [10, 5, 50, 2, 50, 5], 'D': [2.0, 5., 8., 1., 2., 9.]})
{ "+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/37121/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37121/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37122
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37122/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37122/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37122/events
https://github.com/pandas-dev/pandas/pull/37122
721,731,354
MDExOlB1bGxSZXF1ZXN0NTAzNTk5NDk0
37,122
Backport PR #35688 on branch 1.1.x: Fix GH-29442 DataFrame.groupby doesn't preserve _metadata
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
1
2020-10-14T19:44:15Z
2020-10-15T12:02:59Z
2020-10-15T12:02:54Z
MEMBER
null
Backport PR #35688
{ "+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/37122/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37122/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37122.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37122", "merged_at": "2020-10-15T12:02:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37122.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37122" }
https://api.github.com/repos/pandas-dev/pandas/issues/37123
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37123/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37123/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37123/events
https://github.com/pandas-dev/pandas/issues/37123
721,759,247
MDU6SXNzdWU3MjE3NTkyNDc=
37,123
STY: avoid 1-letter variable names, especially pdb keywords
{ "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
null
4
2020-10-14T20:29:42Z
2020-10-15T16:22:28Z
2020-10-15T16:22:28Z
MEMBER
null
Every so often I use pdb and want to access a variable that happens to be a pdb keyword and its a hassle. Let's avoid these: ["h", "w", "u", "d", "b", "s", "n", "r", "c", "j", "l", "a", "p"]. Or simpler, just avoid 1-letter variable names altogether.
{ "+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/37123/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37123/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37124
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37124/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37124/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37124/events
https://github.com/pandas-dev/pandas/pull/37124
721,850,139
MDExOlB1bGxSZXF1ZXN0NTAzNzAxNTQ3
37,124
REF: IntervalArray comparisons
{ "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": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-10-14T23:02:47Z
2020-11-03T15:11:29Z
2020-11-03T09:57:29Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37124/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37124/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37124.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37124", "merged_at": "2020-11-03T09:57:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37124.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37124" }
https://api.github.com/repos/pandas-dev/pandas/issues/37125
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37125/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37125/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37125/events
https://github.com/pandas-dev/pandas/pull/37125
721,862,269
MDExOlB1bGxSZXF1ZXN0NTAzNzExOTEz
37,125
Add test_masking_duplicate_columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/42247511?v=4", "events_url": "https://api.github.com/users/GabrielSimonetto/events{/privacy}", "followers_url": "https://api.github.com/users/GabrielSimonetto/followers", "following_url": "https://api.github.com/users/GabrielSimonetto/following{/other_user}", "gists_url": "https://api.github.com/users/GabrielSimonetto/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GabrielSimonetto", "id": 42247511, "login": "GabrielSimonetto", "node_id": "MDQ6VXNlcjQyMjQ3NTEx", "organizations_url": "https://api.github.com/users/GabrielSimonetto/orgs", "received_events_url": "https://api.github.com/users/GabrielSimonetto/received_events", "repos_url": "https://api.github.com/users/GabrielSimonetto/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GabrielSimonetto/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GabrielSimonetto/subscriptions", "type": "User", "url": "https://api.github.com/users/GabrielSimonetto" }
[ { "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": "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
[]
null
4
2020-10-14T23:34:51Z
2020-12-08T05:47:57Z
2020-12-08T05:47:57Z
NONE
null
- [x] closes #31954 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I don't know what an whatsnew entry is... This PR adds a test in order to solve an issue
{ "+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/37125/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37125/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37125.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37125", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37125.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37125" }
https://api.github.com/repos/pandas-dev/pandas/issues/37126
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37126/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37126/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37126/events
https://github.com/pandas-dev/pandas/pull/37126
721,941,158
MDExOlB1bGxSZXF1ZXN0NTAzNzc1MzU3
37,126
[REDO] CLN: core/dtypes/cast.py::maybe_downcast_to_dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T03:26:12Z
2020-10-17T13:47:14Z
2020-10-17T13:47:03Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry xref https://github.com/pandas-dev/pandas/pull/37050#issuecomment-708487786 The combination of #37050 and #37024 generated a `mypy` complaint. This PR is resubmission of #37050 with the correct type hint. cc @simonjayhawkins
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37126/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37126/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37126.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37126", "merged_at": "2020-10-17T13:47:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37126.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37126" }
https://api.github.com/repos/pandas-dev/pandas/issues/37127
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37127/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37127/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37127/events
https://github.com/pandas-dev/pandas/issues/37127
721,947,213
MDU6SXNzdWU3MjE5NDcyMTM=
37,127
ENH: Aggregation with multiple columns in one function
{ "avatar_url": "https://avatars.githubusercontent.com/u/11221566?v=4", "events_url": "https://api.github.com/users/dingweihua/events{/privacy}", "followers_url": "https://api.github.com/users/dingweihua/followers", "following_url": "https://api.github.com/users/dingweihua/following{/other_user}", "gists_url": "https://api.github.com/users/dingweihua/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dingweihua", "id": 11221566, "login": "dingweihua", "node_id": "MDQ6VXNlcjExMjIxNTY2", "organizations_url": "https://api.github.com/users/dingweihua/orgs", "received_events_url": "https://api.github.com/users/dingweihua/received_events", "repos_url": "https://api.github.com/users/dingweihua/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dingweihua/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dingweihua/subscriptions", "type": "User", "url": "https://api.github.com/users/dingweihua" }
[ { "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": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2020-10-15T03:43:51Z
2021-08-13T04:47:33Z
2021-08-13T04:47:33Z
NONE
null
I digged into the pandas.pivot_table and pandas.DataFrame.groupby + aggregate methods, it seems that the aggfunc (or the method in aggregate) doesn't support multiple columns' computation in one function. Let me take an dataframe example: ``` data = { 'Col X': ['class 1', 'class 2', 'class 3', 'class 2'], 'Col Y': ['cat 1', 'cat 1', 'cat 2', 'cat 3'], 'count': [1, 2, 3, 4], 'count2': [1, 2, 3, 4] } df = pd.DataFrame(data=data) ``` The aggregation doesn't support directly "sum(count) + sum(count2)". What I have to do is first compute sum(count) and sum(count2), and then add the two sum results. So do we plan to support the aggregation on multiple columns directly? Looks like: ``` df.groupby(['Col X','Col Y']).aggregate({ 'New column': lambda x: sum(x['count']) + sum(x['count2']) }).unstack('Col Y', fill_value=0) ``` or ``` pd.pivot_table(df, values=['count', 'count2'], index=['Col X'], columns=['Col Y'], aggfunc=lambda x: sum(x['count']) + sum(x['count2']), fill_value=0) ``` Thanks!
{ "+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/37127/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37127/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37128
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37128/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37128/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37128/events
https://github.com/pandas-dev/pandas/pull/37128
721,958,024
MDExOlB1bGxSZXF1ZXN0NTAzNzg4OTE1
37,128
TYP: add Shape alias to pandas._typing
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-10-15T04:15:08Z
2020-11-04T16:53:11Z
2020-11-04T16:53:07Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry xref https://github.com/pandas-dev/pandas/pull/37024#discussion_r503488032 cc @simonjayhawkins
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37128/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37128/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37128.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37128", "merged_at": "2020-11-04T16:53:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37128.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37128" }
https://api.github.com/repos/pandas-dev/pandas/issues/37129
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37129/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37129/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37129/events
https://github.com/pandas-dev/pandas/pull/37129
722,000,655
MDExOlB1bGxSZXF1ZXN0NTAzODI2MTY0
37,129
ENH: DataFrame.to_parquet() returns bytes if path_or_buf not provided
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "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" }
2
2020-10-15T05:35:54Z
2020-10-21T19:14:15Z
2020-10-21T19:14:04Z
MEMBER
null
- [x] closes #37105 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Not sure if this is an API breaking change. Prior to this patch `path` was a required positional argument but it becomes optional here. It is now consistent with, for example, the csv writer.
{ "+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/37129/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37129/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37129.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37129", "merged_at": "2020-10-21T19:14:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37129.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37129" }
https://api.github.com/repos/pandas-dev/pandas/issues/37130
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37130/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37130/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37130/events
https://github.com/pandas-dev/pandas/pull/37130
722,068,272
MDExOlB1bGxSZXF1ZXN0NTAzODg0OTAz
37,130
PERF: compare RangeIndex to equal RangeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "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": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T07:14:21Z
2021-06-13T10:11:15Z
2020-10-15T12:26:00Z
CONTRIBUTOR
null
Fastpath for RangeIndexes with equal `_range` attribute. Notice this works even if the RangeIndexes are not identical. Example: ```python >>> n = 100_000 >>> rng1 = pd.RangeIndex(n) >>> rng2 = pd.RangeIndex(n) >>> %timeit rng1 == rng2 374 µs ± 15.1 µs per loop # master 10.4 µs ± 157 ns per loop # this PR ``` Somewhat related to #37109
{ "+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/37130/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37130/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37130.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37130", "merged_at": "2020-10-15T12:26:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37130.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37130" }
https://api.github.com/repos/pandas-dev/pandas/issues/37131
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37131/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37131/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37131/events
https://github.com/pandas-dev/pandas/pull/37131
722,085,796
MDExOlB1bGxSZXF1ZXN0NTAzODk5MDQ4
37,131
TST: test for expanding window with min_periods GH25857
{ "avatar_url": "https://avatars.githubusercontent.com/u/18324242?v=4", "events_url": "https://api.github.com/users/theMogget/events{/privacy}", "followers_url": "https://api.github.com/users/theMogget/followers", "following_url": "https://api.github.com/users/theMogget/following{/other_user}", "gists_url": "https://api.github.com/users/theMogget/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/theMogget", "id": 18324242, "login": "theMogget", "node_id": "MDQ6VXNlcjE4MzI0MjQy", "organizations_url": "https://api.github.com/users/theMogget/orgs", "received_events_url": "https://api.github.com/users/theMogget/received_events", "repos_url": "https://api.github.com/users/theMogget/repos", "site_admin": false, "starred_url": "https://api.github.com/users/theMogget/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theMogget/subscriptions", "type": "User", "url": "https://api.github.com/users/theMogget" }
[ { "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" }, { "color": "d80222", "default": false, "description": "", "id": 2402564166, "name": "hacktoberfest-accepted", "node_id": "MDU6TGFiZWwyNDAyNTY0MTY2", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/hacktoberfest-accepted" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-10-15T07:43:15Z
2020-10-16T09:08:24Z
2020-10-16T01:16:23Z
CONTRIBUTOR
null
- [x] closes #25857 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Hi @mroeschke, here's the new test - please let me know if it needs any changes.
{ "+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/37131/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37131/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37131.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37131", "merged_at": "2020-10-16T01:16:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37131.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37131" }
https://api.github.com/repos/pandas-dev/pandas/issues/37132
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37132/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37132/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37132/events
https://github.com/pandas-dev/pandas/pull/37132
722,108,041
MDExOlB1bGxSZXF1ZXN0NTAzOTE2NjU2
37,132
BUG: raise when doing arithmetic on DataFrame and list of iterables
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "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" } ]
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" }
10
2020-10-15T08:15:43Z
2021-07-11T17:45:12Z
2020-10-16T19:24:41Z
MEMBER
null
- [X] closes #36702 - [X] tests 1 added / 1 passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry ## Problem We currently allow doing arithmetic on a DataFrame, and, for example, a list of Series. The latter gets broadcast with `align_method_FRAME` and this leads to weirdness. ## Solution We should raise. There is no definite answer to how such arithmetic should be handled, and the user should just make another DataFrame and add that to the frame instead of doing stuff like `[Series, Series]`.
{ "+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/37132/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37132/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37132.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37132", "merged_at": "2020-10-16T19:24:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37132.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37132" }
https://api.github.com/repos/pandas-dev/pandas/issues/37133
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37133/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37133/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37133/events
https://github.com/pandas-dev/pandas/issues/37133
722,201,405
MDU6SXNzdWU3MjIyMDE0MDU=
37,133
CI remove redundant checks covered by pyupgrade
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
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-10-15T10:20:32Z
2020-10-16T01:08:05Z
2020-10-16T01:08:05Z
MEMBER
null
Some of these checks, e.g. ```bash MSG='Check for python2-style file encodings' ; echo $MSG invgrep -R --include="*.py" --include="*.pyx" -E "# -\*- coding: utf-8 -\*-" pandas scripts RET=$(($RET + $?)) ; echo $MSG "DONE" MSG='Check for python2-style super usage' ; echo $MSG invgrep -R --include="*.py" -E "super\(\w*, (self|cls)\)" pandas RET=$(($RET + $?)) ; echo $MSG "DONE" ``` are already checked by pyupgrade. Opening this as a placeholder to go through the checks and see what no longer needs to be there EDIT ---- also, as a note, in `pandas/core/generic.py` there is an instance of `.. warning:`, but the `Check for incorrect sphinx directives` isn't picking it up. `pygrep` finds it though. I'm inclined to move all of these over to pre-commit so that they're cross-platform and can selectively be run only on staged files
{ "+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/37133/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37133/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37134
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37134/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37134/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37134/events
https://github.com/pandas-dev/pandas/issues/37134
722,242,366
MDU6SXNzdWU3MjIyNDIzNjY=
37,134
Remove the Label alias in pandas._typing.
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-10-15T11:20:19Z
2021-01-11T17:07:38Z
2021-01-11T17:07:01Z
MEMBER
null
in mypy 0.790 bugfix (open PR to update #37108) > Make None compatible with Hashable (PR 9371) we have an alias in pandas._typing for Label to work around this bug. I propose that we now remove the Label alias for two reasons. 1. It has been the source of some confusion, especially when using Optional[Label] 2. for the API, users would know what Hashable is without needing to look up the alias.
{ "+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/37134/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37134/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37135
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37135/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37135/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37135/events
https://github.com/pandas-dev/pandas/issues/37135
722,290,365
MDU6SXNzdWU3MjIyOTAzNjU=
37,135
BUG:Installation problem in python 3.9
{ "avatar_url": "https://avatars.githubusercontent.com/u/72924379?v=4", "events_url": "https://api.github.com/users/AdiHamdani/events{/privacy}", "followers_url": "https://api.github.com/users/AdiHamdani/followers", "following_url": "https://api.github.com/users/AdiHamdani/following{/other_user}", "gists_url": "https://api.github.com/users/AdiHamdani/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AdiHamdani", "id": 72924379, "login": "AdiHamdani", "node_id": "MDQ6VXNlcjcyOTI0Mzc5", "organizations_url": "https://api.github.com/users/AdiHamdani/orgs", "received_events_url": "https://api.github.com/users/AdiHamdani/received_events", "repos_url": "https://api.github.com/users/AdiHamdani/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AdiHamdani/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AdiHamdani/subscriptions", "type": "User", "url": "https://api.github.com/users/AdiHamdani" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
4
2020-10-15T12:28:50Z
2021-03-28T20:37:02Z
2020-10-16T19:25:29Z
NONE
null
- [ v] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here ``` #### Problem description [When installing pandas, we have these messages: Collecting pandas Using cached pandas-1.1.3.tar.gz (5.2 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: 'c:\users\adihamdani\appdata\local\programs\python\python39\python.exe' 'c:\users\adihamdani\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\adihamdani\AppData\Local\Temp\pip-build-env-r734sg_q\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.15.4; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' cwd: None Complete output (20 lines): Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment Collecting setuptools Using cached setuptools-50.3.1-py3-none-any.whl (785 kB) Collecting wheel Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB) Collecting Cython<3,>=0.29.21 Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB) Collecting numpy==1.17.3 Using cached numpy-1.17.3.zip (6.4 MB) Using legacy 'setup.py install' for numpy, since package 'wheel' is not installed. Installing collected packages: setuptools, wheel, Cython, numpy Running setup.py install for numpy: started Running setup.py install for numpy: still running... Running setup.py install for numpy: finished with status 'done' ERROR: Could not install packages due to an EnvironmentError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '"C:' ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\adihamdani\appdata\local\programs\python\python39\python.exe' 'c:\users\adihamdani\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\adihamdani\AppData\Local\Temp\pip-build-env-r734sg_q\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.15.4; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output. C:\Users\adihamdani>pip install python==3.8.0 ERROR: Could not find a version that satisfies the requirement python==3.8.0 (from versions: none) ERROR: No matching distribution found for python==3.8.0 ] #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37135/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37135/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37136
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37136/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37136/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37136/events
https://github.com/pandas-dev/pandas/pull/37136
722,328,071
MDExOlB1bGxSZXF1ZXN0NTA0MDk3NTg2
37,136
CI move check incorrect sphinx directives to pre-commit
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T13:17:33Z
2020-10-16T07:26:27Z
2020-10-16T01:23:04Z
MEMBER
null
Currently, the check (which uses `grep` with the return codes inverted) doesn't catch ```python .. warning: ``` , while using `pygrep` from `pre-commit` (which is a Python implementation of `grep` with inverted return codes) does. I think this is because grep doesn't count the newline as a character Advantages of moving this (and, later, other) `invgrep` checks to pre-commit are: - they'll be cross-platform - they'll be simpler to write/maintain because `pre-commit` comes with `pygrep` built-in, so there's no need to manually define something like `invgrep` - they'll give devs faster feedback on when they introduce unwanted patterns
{ "+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/37136/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37136/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37136.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37136", "merged_at": "2020-10-16T01:23:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37136.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37136" }
https://api.github.com/repos/pandas-dev/pandas/issues/37137
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37137/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37137/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37137/events
https://github.com/pandas-dev/pandas/pull/37137
722,360,244
MDExOlB1bGxSZXF1ZXN0NTA0MTI0MTM5
37,137
TYP: use overload to refine return type of reset_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-15T13:55:31Z
2020-10-24T21:02:24Z
2020-10-23T21:21:37Z
MEMBER
null
maybe alternative to #33519 with `from __future__ import annotations` on py3.7 the types in the function signature are not evaluated at run-time, so this shouldn't fail 🤞
{ "+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/37137/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37137/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37137.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37137", "merged_at": "2020-10-23T21:21:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37137.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37137" }
https://api.github.com/repos/pandas-dev/pandas/issues/37138
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37138/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37138/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37138/events
https://github.com/pandas-dev/pandas/pull/37138
722,418,098
MDExOlB1bGxSZXF1ZXN0NTA0MTcyMDI0
37,138
Remove no-longer-necessary CI checks
{ "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": "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-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T15:01:11Z
2020-10-16T07:27:05Z
2020-10-16T01:08:05Z
MEMBER
null
xrange is no longer valid in Python3, so this check is unnecessary. `# -\*- coding: utf-8 -\*-"`, `class\s\S*\((object)?\):`, and `"super\(\w*, (self|cls)\)` are fixed by pyupgrade closes #37133
{ "+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/37138/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37138/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37138.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37138", "merged_at": "2020-10-16T01:08:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37138.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37138" }
https://api.github.com/repos/pandas-dev/pandas/issues/37139
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37139/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37139/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37139/events
https://github.com/pandas-dev/pandas/issues/37139
722,419,659
MDU6SXNzdWU3MjI0MTk2NTk=
37,139
BUG: Surprisingly large memory usage in groupby (but maybe I have the wrong mental model?)
{ "avatar_url": "https://avatars.githubusercontent.com/u/273210?v=4", "events_url": "https://api.github.com/users/ianozsvald/events{/privacy}", "followers_url": "https://api.github.com/users/ianozsvald/followers", "following_url": "https://api.github.com/users/ianozsvald/following{/other_user}", "gists_url": "https://api.github.com/users/ianozsvald/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ianozsvald", "id": 273210, "login": "ianozsvald", "node_id": "MDQ6VXNlcjI3MzIxMA==", "organizations_url": "https://api.github.com/users/ianozsvald/orgs", "received_events_url": "https://api.github.com/users/ianozsvald/received_events", "repos_url": "https://api.github.com/users/ianozsvald/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ianozsvald/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ianozsvald/subscriptions", "type": "User", "url": "https://api.github.com/users/ianozsvald" }
[ { "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": "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" } ]
open
false
null
[]
null
3
2020-10-15T15:03:02Z
2021-07-01T21:12:32Z
null
CONTRIBUTOR
null
Whilst teaching "more efficient Pandas" I dug into memory usage in a `groupby` with `memory_profiler` and was surprised by the output (below). For a 1.6GB DataFrame of random data with a indicator column (all random data), a groupby on the indicator generates a result that doubles the RAM usage. I was surprised that the groupby would take a further 1.6GB during the operation when the result is a tiny DataFrame. In this case there are 20 columns by 1 million rows of random floats with a 21st column as an int indicator in the range [0, 9], a gropuby on this creates 10 groups resulting in a mean groupby result of 10 rows by 20 columns. This works as expected. The groupby operation, shown further below with `memory_profiler`, seems to make a _copy_ of each group before performing a mean, so the total groupby costs a further 1.6GB. I'd have expected that a light reference was taken to the underlying data rather than (apparently, but maybe I read this incorrectly?) a copy being taken. I've also taken out a single group in further lines of code and each group costs 1/10th of the RAM (160-200MB) which gives some further evidence that a copy is being taken. Is my mental model wrong? Is it expected that a copy is taken of each group? Is there a way to run this code with a smaller total RAM envelope? ``` $ python -m memory_profiler dataframe_example2.py (10000000, 20) shape for our array df.head(): 0 1 2 3 4 5 6 ... 14 15 16 17 18 19 indicator 0 0.236551 0.588519 0.629860 0.736470 0.064391 0.755922 0.693302 ... 0.031612 0.593927 0.523154 0.704383 0.800547 0.730927 1 1 0.044981 0.305559 0.156594 0.014646 0.339585 0.177476 0.242033 ... 0.428930 0.099833 0.256720 0.326671 0.037584 0.435411 8 2 0.837702 0.246343 0.380937 0.990791 0.586211 0.155818 0.990258 ... 0.453055 0.363815 0.979012 0.220975 0.650783 0.338048 7 3 0.721275 0.327818 0.689749 0.715901 0.617750 0.550584 0.686884 ... 0.172825 0.083338 0.474990 0.213201 0.236640 0.962145 5 4 0.698709 0.998042 0.805397 0.971646 0.260935 0.602839 0.012762 ... 0.458625 0.248945 0.114550 0.212636 0.019970 0.159915 4 [5 rows x 21 columns] # row by row memory usage clipped and shown further below as a detail Mean shape: (10, 20) (20,) Filename: dataframe_example2.py Line # Mem usage Increment Line Contents ================================================ 9 76.633 MiB 76.633 MiB @profile 10 def run(): 11 # make a big dataframe with an indicator column and lots of random data 12 # use 20 columns to make it clear we have "a chunk of data" 13 # float64 * 10M is 80M, for 20 rows this is 80M*20 circa 1,600MB 14 1602.570 MiB 1525.938 MiB arr = np.random.random((SIZE, 20)) 15 1602.570 MiB 0.000 MiB print(f"{arr.shape} shape for our array") 16 1602.570 MiB 0.000 MiB df = pd.DataFrame(arr) 17 1602.570 MiB 0.000 MiB cols_to_agg = list(df.columns) # get [0, 1, 2,...] 18 19 # (0, 10] range for 10 indicator ints for grouping 20 1679.258 MiB 76.688 MiB df['indicator'] = np.random.randint(0, 10, SIZE) 21 1679.258 MiB 0.000 MiB print("df.head():") 22 1680.133 MiB 0.875 MiB print(df.head()) 23 1680.133 MiB 0.000 MiB print("Memory usage:\n", df.memory_usage()) 24 25 # calculate summary statistic across grouped rows by all columns 26 1680.133 MiB 0.000 MiB gpby = df.groupby('indicator') 27 3292.250 MiB 1612.117 MiB means = gpby.mean() 28 3292.250 MiB 0.000 MiB print(f"Mean shape: {means.shape}") # (10, 20) for 10 indicators and 20 columns 29 30 3454.648 MiB 162.398 MiB gp0_indexes = gpby.groups[0] 31 3470.438 MiB 15.789 MiB manual_lookup_mean = df.loc[gp0_indexes, cols_to_agg].mean() 32 3470.438 MiB 0.000 MiB print(manual_lookup_mean.shape) 33 3470.820 MiB 0.383 MiB np.testing.assert_allclose(manual_lookup_mean, means.loc[0]) 34 35 3699.656 MiB 228.836 MiB gp0 = gpby.get_group(0) 36 3699.750 MiB 0.094 MiB manual_lookup_mean2 = gp0[cols_to_agg].mean() 37 3699.750 MiB 0.000 MiB np.testing.assert_allclose(manual_lookup_mean2, means.loc[0]) 38 #breakpoint() 39 3699.750 MiB 0.000 MiB return df, gpby, means # row by row memory usage clipped from above and pasted here as it is less relevant detail: Memory usage: Index 128 0 80000000 1 80000000 2 80000000 3 80000000 4 80000000 5 80000000 6 80000000 7 80000000 8 80000000 9 80000000 10 80000000 11 80000000 12 80000000 13 80000000 14 80000000 15 80000000 16 80000000 17 80000000 18 80000000 19 80000000 indicator 80000000 dtype: int64 ``` #### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd # this assumes you have memory_profiler installed #SIZE = 100_000 # quick run SIZE = 10_000_000 # takes 20s or so & 4GB RAM @profile def run(): # make a big dataframe with an indicator column and lots of random data # use 20 columns to make it clear we have "a chunk of data" # float64 * 10M is 80M, for 20 rows this is 80M*20 circa 1,600MB arr = np.random.random((SIZE, 20)) print(f"{arr.shape} shape for our array") df = pd.DataFrame(arr) cols_to_agg = list(df.columns) # get [0, 1, 2,...] # (0, 10] range for 10 indicator ints for grouping df['indicator'] = np.random.randint(0, 10, SIZE) print("df.head():") print(df.head()) print("Memory usage:\n", df.memory_usage()) # calculate summary statistic across grouped rows by all columns gpby = df.groupby('indicator') means = gpby.mean() print(f"Mean shape: {means.shape}") # (10, 20) for 10 indicators and 20 columns gp0_indexes = gpby.groups[0] manual_lookup_mean = df.loc[gp0_indexes, cols_to_agg].mean() print(manual_lookup_mean.shape) np.testing.assert_allclose(manual_lookup_mean, means.loc[0]) gp0 = gpby.get_group(0) manual_lookup_mean2 = gp0[cols_to_agg].mean() np.testing.assert_allclose(manual_lookup_mean2, means.loc[0]) #breakpoint() return df, gpby, means if __name__ == "__main__": df, gpby, means = run() ``` #### Output of ``pd.show_versions()`` <details> In [3]: pd.show_versions() INSTALLED VERSIONS ------------------ commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.8.1-050801-generic Version : #202008111432 SMP Tue Aug 11 14:34:42 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.2 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 49.6.0.post20200917 Cython : None pytest : 6.1.0 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.2 bottleneck : 1.3.2 fsspec : 0.8.3 fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.16.0 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.51.2 </details>
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37139/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37139/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37140
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37140/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37140/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37140/events
https://github.com/pandas-dev/pandas/pull/37140
722,459,342
MDExOlB1bGxSZXF1ZXN0NTA0MjA2NDYx
37,140
BUG: algos.diff with datetimelike and 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": "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": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-15T15:51:55Z
2020-10-17T15:10:29Z
2020-10-17T13:46:11Z
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/37140/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37140/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37140.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37140", "merged_at": "2020-10-17T13:46:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37140.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37140" }
https://api.github.com/repos/pandas-dev/pandas/issues/37141
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37141/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37141/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37141/events
https://github.com/pandas-dev/pandas/issues/37141
722,518,726
MDU6SXNzdWU3MjI1MTg3MjY=
37,141
BUG: groupby.rolling.mean seems to roll over different groups when center=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/1408034?v=4", "events_url": "https://api.github.com/users/behrenhoff/events{/privacy}", "followers_url": "https://api.github.com/users/behrenhoff/followers", "following_url": "https://api.github.com/users/behrenhoff/following{/other_user}", "gists_url": "https://api.github.com/users/behrenhoff/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/behrenhoff", "id": 1408034, "login": "behrenhoff", "node_id": "MDQ6VXNlcjE0MDgwMzQ=", "organizations_url": "https://api.github.com/users/behrenhoff/orgs", "received_events_url": "https://api.github.com/users/behrenhoff/received_events", "repos_url": "https://api.github.com/users/behrenhoff/repos", "site_admin": false, "starred_url": "https://api.github.com/users/behrenhoff/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/behrenhoff/subscriptions", "type": "User", "url": "https://api.github.com/users/behrenhoff" }
[ { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-15T17:14:05Z
2020-10-16T14:13:22Z
2020-10-16T08:36:26Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- To reproduce: ```python import pandas as pd # Create a DF with a group column and more than 1 group (10 rows toy data) dfBug = pd.DataFrame(data={ 'Date': pd.date_range('2020-01-01', '2020-01-10'), 'gb': ['group_1'] * 6 + ['group_2'] * 4, 'value': range(10), }) center = True # Problem only occurs when center=True # the apply produces the expected result via_apply = dfBug.groupby('gb').apply(lambda df: \ df.set_index('Date').rolling(6, center=center, min_periods=1).value.mean()) # the groupby.rolling... produces a different result via_groupbyrolling = dfBug.groupby('gb') \ .rolling(6, on='Date', center=center, min_periods=1).value.mean() print(pd.concat([via_apply.rename('apply'), via_groupbyrolling.rename('groupbyrolling'), (via_apply == via_groupbyrolling).rename('is-equal'), ], axis=1)) assert (abs(via_apply - via_groupbyrolling) < 1e-4).all() ``` #### Problem description The code via apply and via groupbyrolling should produce identical results, yet the groupbyrolling version seems to ignore the grouping for the mean. Strange enough, when setting center to False, both variants produce identical results. Output is the following (I expect the is-equal column to be True in all rows): ``` apply groupbyrolling is-equal gb Date group_1 2020-01-01 1.0 1.0 True 2020-01-02 1.5 1.5 True 2020-01-03 2.0 2.0 True 2020-01-04 2.5 2.5 True 2020-01-05 3.0 6.0 False 2020-01-06 3.5 6.5 False group_2 2020-01-07 7.0 7.0 True 2020-01-08 7.5 7.5 True 2020-01-09 7.5 NaN False 2020-01-10 7.5 NaN False ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-51-generic Version : #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.1.3 numpy : 1.17.4 pytz : 2020.1 dateutil : 2.7.3 pip : 20.0.2 setuptools : 45.2.0 Cython : 0.29.21 pytest : 4.6.9 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.3 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : 1.1.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37141/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37141/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37142
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37142/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37142/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37142/events
https://github.com/pandas-dev/pandas/pull/37142
722,542,936
MDExOlB1bGxSZXF1ZXN0NTA0Mjc1NDUw
37,142
CLN: indexing
{ "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, "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-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-10-15T17:50:27Z
2020-10-16T01:09:22Z
2020-10-16T01:05:18Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Working on refactoring the indexing setitem code so that we go down the same path regardless of consolidation status. This splits off a small piece of that as a prelim.
{ "+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/37142/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37142/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37142.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37142", "merged_at": "2020-10-16T01:05:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37142.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37142" }
https://api.github.com/repos/pandas-dev/pandas/issues/37143
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37143/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37143/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37143/events
https://github.com/pandas-dev/pandas/pull/37143
722,549,654
MDExOlB1bGxSZXF1ZXN0NTA0MjgwODgz
37,143
DOC: Remove redundant table in Series docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/2754821?v=4", "events_url": "https://api.github.com/users/erictleung/events{/privacy}", "followers_url": "https://api.github.com/users/erictleung/followers", "following_url": "https://api.github.com/users/erictleung/following{/other_user}", "gists_url": "https://api.github.com/users/erictleung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erictleung", "id": 2754821, "login": "erictleung", "node_id": "MDQ6VXNlcjI3NTQ4MjE=", "organizations_url": "https://api.github.com/users/erictleung/orgs", "received_events_url": "https://api.github.com/users/erictleung/received_events", "repos_url": "https://api.github.com/users/erictleung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erictleung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erictleung/subscriptions", "type": "User", "url": "https://api.github.com/users/erictleung" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T18:00:42Z
2020-10-16T01:21:23Z
2020-10-16T01:21:15Z
CONTRIBUTOR
null
The attribute `Series.index` was separated in another table, which makes the rendering of the documentation slightly inconsistent. This commit consolidates the tables together to make the documentation consistent and aligned. **Live site** (https://pandas.pydata.org/docs/reference/series.html): ![image](https://user-images.githubusercontent.com/2754821/96168089-20708500-0ed5-11eb-8bab-cc34ebb7f7bc.png) **Locally rendered change**: ![image](https://user-images.githubusercontent.com/2754821/96168171-4007ad80-0ed5-11eb-99a2-48c200602213.png) I'm not sure why the color changed. My guess is because I just rendered that page with `python make.py --single reference/series.rst`, so the links to those pages are nonexistent. If this separate table was intentional, feel free to close this PR. Thanks for considering this! - [ ] 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/37143/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37143/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37143.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37143", "merged_at": "2020-10-16T01:21:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37143.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37143" }
https://api.github.com/repos/pandas-dev/pandas/issues/37144
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37144/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37144/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37144/events
https://github.com/pandas-dev/pandas/pull/37144
722,571,927
MDExOlB1bGxSZXF1ZXN0NTA0Mjk4Njkz
37,144
BLD: update build requirement for py39 #37135
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
3
2020-10-15T18:33:10Z
2020-10-17T11:28:25Z
2020-10-16T19:25:30Z
MEMBER
null
- [x] closes #37135
{ "+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/37144/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37144/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37144.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37144", "merged_at": "2020-10-16T19:25:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37144.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37144" }
https://api.github.com/repos/pandas-dev/pandas/issues/37145
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37145/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37145/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37145/events
https://github.com/pandas-dev/pandas/pull/37145
722,660,668
MDExOlB1bGxSZXF1ZXN0NTA0Mzc0NzI0
37,145
BUG: Fix bug in quantile() for resample and groupby with Timedelta
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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": "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, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
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" }
8
2020-10-15T20:38:45Z
2020-10-31T21:26:00Z
2020-10-31T18:57:02Z
MEMBER
null
- [x] closes #29485 - [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/37145/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37145/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37145.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37145", "merged_at": "2020-10-31T18:57:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37145.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37145" }
https://api.github.com/repos/pandas-dev/pandas/issues/37146
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37146/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37146/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37146/events
https://github.com/pandas-dev/pandas/pull/37146
722,665,859
MDExOlB1bGxSZXF1ZXN0NTA0Mzc5MDMy
37,146
DOC: capitalize Python as proper noun
{ "avatar_url": "https://avatars.githubusercontent.com/u/2754821?v=4", "events_url": "https://api.github.com/users/erictleung/events{/privacy}", "followers_url": "https://api.github.com/users/erictleung/followers", "following_url": "https://api.github.com/users/erictleung/following{/other_user}", "gists_url": "https://api.github.com/users/erictleung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erictleung", "id": 2754821, "login": "erictleung", "node_id": "MDQ6VXNlcjI3NTQ4MjE=", "organizations_url": "https://api.github.com/users/erictleung/orgs", "received_events_url": "https://api.github.com/users/erictleung/received_events", "repos_url": "https://api.github.com/users/erictleung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erictleung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erictleung/subscriptions", "type": "User", "url": "https://api.github.com/users/erictleung" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T20:48:13Z
2020-10-16T01:21:57Z
2020-10-16T01:21:53Z
CONTRIBUTOR
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/37146/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37146/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37146.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37146", "merged_at": "2020-10-16T01:21:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37146.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37146" }
https://api.github.com/repos/pandas-dev/pandas/issues/37147
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37147/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37147/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37147/events
https://github.com/pandas-dev/pandas/pull/37147
722,666,350
MDExOlB1bGxSZXF1ZXN0NTA0Mzc5NDQ2
37,147
CLN: sync min versions
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T20:49:08Z
2020-10-21T00:29:38Z
2020-10-16T01:18:30Z
MEMBER
null
The minimum version of pytables and pytest was not synchronized.
{ "+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/37147/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37147/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37147.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37147", "merged_at": "2020-10-16T01:18:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37147.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37147" }
https://api.github.com/repos/pandas-dev/pandas/issues/37148
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37148/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37148/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37148/events
https://github.com/pandas-dev/pandas/pull/37148
722,668,750
MDExOlB1bGxSZXF1ZXN0NTA0MzgxNDU0
37,148
BUG: DataFrame[td64].sum(skipna=False)
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-10-15T20:53:27Z
2020-10-24T03:08:28Z
2020-10-24T02:47:51Z
MEMBER
null
- [x] closes #17235 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The same underlying problem affects mean, so this fixes that too.
{ "+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/37148/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37148/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37148.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37148", "merged_at": "2020-10-24T02:47:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37148.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37148" }
https://api.github.com/repos/pandas-dev/pandas/issues/37149
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37149/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37149/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37149/events
https://github.com/pandas-dev/pandas/pull/37149
722,726,665
MDExOlB1bGxSZXF1ZXN0NTA0NDMwMjcy
37,149
BUG: GroupBy().fillna() performance regression
{ "avatar_url": "https://avatars.githubusercontent.com/u/3813175?v=4", "events_url": "https://api.github.com/users/smithto1/events{/privacy}", "followers_url": "https://api.github.com/users/smithto1/followers", "following_url": "https://api.github.com/users/smithto1/following{/other_user}", "gists_url": "https://api.github.com/users/smithto1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smithto1", "id": 3813175, "login": "smithto1", "node_id": "MDQ6VXNlcjM4MTMxNzU=", "organizations_url": "https://api.github.com/users/smithto1/orgs", "received_events_url": "https://api.github.com/users/smithto1/received_events", "repos_url": "https://api.github.com/users/smithto1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smithto1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smithto1/subscriptions", "type": "User", "url": "https://api.github.com/users/smithto1" }
[ { "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": "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": "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-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
10
2020-10-15T22:52:55Z
2020-10-19T09:50:03Z
2020-10-18T14:56:32Z
MEMBER
null
- [x] closes #36757 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry A performance regression was introduced with #30679 in handling grouping on a duplicate axis. The regression can be avoided by skipping the call to `get_indexer_non_unique` if the axis is unchanged (i.e. like it is in `fillna`). I don't know how to write a test for this fix since it is just an issue of speed. If there is a test pattern or other check that should be included please highlight and I'm happy to add it. In lieu of a test, running the minimal example from the issue report on the fixed branch shows the performance fix: ``` In [5]: import pandas as pd ...: import numpy as np ...: ...: N = 2000 ...: df = pd.DataFrame({"A": [1] * N, "B": [np.nan, 1.0] * (N // 2)}) ...: df = df.sort_values("A").set_index("A") ...: ...: %time df.groupby("A")["B"].fillna(method="ffill") ...: Wall time: 1.03 ms Out[5]: A 1 NaN 1 1.0 1 1.0 1 1.0 1 1.0 ... 1 1.0 1 1.0 1 1.0 1 1.0 1 1.0 Name: B, Length: 2000, 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/37149/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37149/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37149.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37149", "merged_at": "2020-10-18T14:56:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37149.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37149" }
https://api.github.com/repos/pandas-dev/pandas/issues/37150
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37150/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37150/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37150/events
https://github.com/pandas-dev/pandas/pull/37150
722,758,875
MDExOlB1bGxSZXF1ZXN0NTA0NDU5MTMx
37,150
BUG: indexing bugs #26490, #13691
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T23:48:49Z
2020-10-16T15:31:47Z
2020-10-16T15:31:33Z
MEMBER
null
- [x] closes #26490 - [x] closes #13691 - [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/37150/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37150/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37150.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37150", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37150.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37150" }
https://api.github.com/repos/pandas-dev/pandas/issues/37151
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37151/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37151/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37151/events
https://github.com/pandas-dev/pandas/issues/37151
722,760,168
MDU6SXNzdWU3MjI3NjAxNjg=
37,151
API/BUG: empty sum with td64 NaT or timedelta(0)?
{ "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-15T23:53:04Z
2020-10-26T12:06:46Z
2020-10-26T12:06:46Z
MEMBER
null
``` ser = pd.Series([], dtype="m8[ns]") >>> ser.sum() NaT >>> pd.Index(ser).sum() NaT >>> ser.array.sum() NaT >>> ser.to_frame().sum() 0 0 days dtype: timedelta64[ns] ``` I think zero makes more sense. Easy fix if we have consensus.
{ "+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/37151/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37151/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37152
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37152/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37152/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37152/events
https://github.com/pandas-dev/pandas/pull/37152
722,794,517
MDExOlB1bGxSZXF1ZXN0NTA0NDg4Nzcx
37,152
BUG: RecursionError when selecting single column from IntervalIndex #26490
{ "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": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-16T01:36:41Z
2020-10-17T01:54:05Z
2020-10-17T01:53:49Z
MEMBER
null
- [x] closes #26490 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry #37150 is failing, this is the first of two orthogonal bugfixes in that 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/37152/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37152/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37152.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37152", "merged_at": "2020-10-17T01:53:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37152.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37152" }
https://api.github.com/repos/pandas-dev/pandas/issues/37153
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37153/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37153/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37153/events
https://github.com/pandas-dev/pandas/issues/37153
722,849,514
MDU6SXNzdWU3MjI4NDk1MTQ=
37,153
BUG: rolling.median/quantile does not work with (some) BaseIndexer subclasses
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
1
2020-10-16T03:48:16Z
2020-10-30T23:11:48Z
2020-10-30T23:11:48Z
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- Using the example from `computation.rst`. ``` In [1]: In [70]: use_expanding = [True, False, True, False, True] ...: In [2]: In [72]: df = pd.DataFrame({'values': range(5)}) ...: In [3]: In [2]: from pandas.api.indexers import BaseIndexer ...: In [4]: ...: class CustomIndexer(BaseIndexer): ...: ...: ...: ...: def get_window_bounds(self, num_values, min_periods, center, closed): ...: ...: start = np.empty(num_values, dtype=np.int64) ...: ...: end = np.empty(num_values, dtype=np.int64) ...: ...: for i in range(num_values): ...: ...: if self.use_expanding[i]: ...: ...: start[i] = 0 ...: ...: end[i] = i + 1 ...: ...: else: ...: ...: start[i] = i ...: ...: end[i] = i + self.window_size ...: ...: return start, end ...: In [5]: indexer = CustomIndexer(window_size=1, use_expanding=use_expanding) # Each window In [7]: for window in df.rolling(indexer): ...: print(window) ...: values 0 0 values 1 1 values 0 0 1 1 2 2 values 3 3 values 0 0 1 1 2 2 3 3 4 4 # Should be [0, 1, 1, 3, 2] In [8]: df.rolling(indexer).median() Out[8]: values 0 0.0 1 1.0 2 1.5 3 NaN 4 3.0 # Should be [0, 1, 1, 3, 2] In [10]: df.rolling(indexer).quantile(0.5) Out[10]: values 0 0.0 1 1.0 2 1.5 3 NaN 4 3.0 ``` The cython aggregations probably assume some sort of property of the windows that may not hold with the custom indexers
{ "+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/37153/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37153/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37154
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37154/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37154/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37154/events
https://github.com/pandas-dev/pandas/pull/37154
722,874,906
MDExOlB1bGxSZXF1ZXN0NTA0NTU5MTA1
37,154
TST: RollingGroupby(..., center=True, on=...)
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-16T04:10:02Z
2020-10-16T16:16:14Z
2020-10-16T14:14:08Z
MEMBER
null
- [x] closes #37141 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Didn't look like we had a test case that exactly covered this.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37154/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37154/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37154.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37154", "merged_at": "2020-10-16T14:14:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37154.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37154" }
https://api.github.com/repos/pandas-dev/pandas/issues/37155
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37155/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37155/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37155/events
https://github.com/pandas-dev/pandas/pull/37155
722,969,170
MDExOlB1bGxSZXF1ZXN0NTA0NjQwMjcx
37,155
REF: avoid access to _mgr.blocks -> _mgr._is_single_block
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-16T07:09:09Z
2020-10-16T17:27:38Z
2020-10-16T17:27:33Z
MEMBER
null
@jbrockmendel a small follow-up on https://github.com/pandas-dev/pandas/pull/36873. It keeps the same spirit of that PR (I think), but just replacing the access of `len(self._mgr.blocks)` with an existing attribute on the manager (could also remove the leading underscore on the attribute). (this makes it easier to override this attribute in the ArrayManager, and limits the access to the blocks outside of the internals)
{ "+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/37155/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37155/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37155.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37155", "merged_at": "2020-10-16T17:27:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37155.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37155" }
https://api.github.com/repos/pandas-dev/pandas/issues/37156
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37156/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37156/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37156/events
https://github.com/pandas-dev/pandas/pull/37156
722,982,110
MDExOlB1bGxSZXF1ZXN0NTA0NjUwNjc3
37,156
CLN/REF: Refactor min_periods calculation in rolling
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-16T07:30:53Z
2020-10-16T19:20:30Z
2020-10-16T19:09:58Z
MEMBER
null
- [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/37156/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37156/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37156.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37156", "merged_at": "2020-10-16T19:09:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37156.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37156" }
https://api.github.com/repos/pandas-dev/pandas/issues/37157
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37157/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37157/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37157/events
https://github.com/pandas-dev/pandas/issues/37157
723,017,409
MDU6SXNzdWU3MjMwMTc0MDk=
37,157
BUG: pd.read_sql_table() raises unknown column error when column name of a table contains `%`
{ "avatar_url": "https://avatars.githubusercontent.com/u/41903335?v=4", "events_url": "https://api.github.com/users/TrigunaBN/events{/privacy}", "followers_url": "https://api.github.com/users/TrigunaBN/followers", "following_url": "https://api.github.com/users/TrigunaBN/following{/other_user}", "gists_url": "https://api.github.com/users/TrigunaBN/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TrigunaBN", "id": 41903335, "login": "TrigunaBN", "node_id": "MDQ6VXNlcjQxOTAzMzM1", "organizations_url": "https://api.github.com/users/TrigunaBN/orgs", "received_events_url": "https://api.github.com/users/TrigunaBN/received_events", "repos_url": "https://api.github.com/users/TrigunaBN/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TrigunaBN/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TrigunaBN/subscriptions", "type": "User", "url": "https://api.github.com/users/TrigunaBN" }
[ { "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": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-10-16T08:27:57Z
2020-12-22T13:57:17Z
2020-12-22T13:57:17Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ###### Mysql Create Table ``` DROP TABLE IF EXISTS test.my_table; CREATE TABLE test.my_table ( `id` VARCHAR(3), PRIMARY KEY(id), `price` DOUBLE NULL, `%_variation` DOUBLE NULL ); INSERT INTO test.my_table VALUES('101', 25.2, 0.1); INSERT INTO test.my_table VALUES('102', 40.2, -0.5); INSERT INTO test.my_table VALUES('103', 55.2, 0.9); ``` ```python import pandas as pd from sqlalchemy import create_engine DB_PW = 'My_password' DB_PORT = '3306' DB_NAME = 'Test' db_uri = f'mysql+mysqldb://root:{DB_PW}@localhost:{DB_PORT}' engine = create_engine(f'{db_uri}/{DB_NAME}') df = pd.read_sql_table(table_name='my_table', con=engine, schema=DB_NAME) ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] ![image](https://user-images.githubusercontent.com/41903335/96234571-e7e6af00-0f99-11eb-9715-ddf167cde9b0.png) ![image](https://user-images.githubusercontent.com/41903335/96234256-7b6bb000-0f99-11eb-88da-b82c0b361df7.png) As you can see above, the `%_variation` column is read as `%%_variation` in the SELECT statement. <br> But the `%%_variation` column is not present in the database and thus reading this table from the database provides an error. #### Expected Output I expect pandas to read the table from the database. <br> I tried reading with pandas version 1.0.5 and I was able to read the table from the database without any problem. <br> ![image](https://user-images.githubusercontent.com/41903335/96232062-2bd8b480-0f98-11eb-9228-56a6ba23c3e8.png) #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.7.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.19.0 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.19 tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37157/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37157/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37158
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37158/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37158/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37158/events
https://github.com/pandas-dev/pandas/issues/37158
723,031,135
MDU6SXNzdWU3MjMwMzExMzU=
37,158
BUG: unexpected behaviour using `.sample` without replacement and with weights as a series
{ "avatar_url": "https://avatars.githubusercontent.com/u/18324242?v=4", "events_url": "https://api.github.com/users/theMogget/events{/privacy}", "followers_url": "https://api.github.com/users/theMogget/followers", "following_url": "https://api.github.com/users/theMogget/following{/other_user}", "gists_url": "https://api.github.com/users/theMogget/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/theMogget", "id": 18324242, "login": "theMogget", "node_id": "MDQ6VXNlcjE4MzI0MjQy", "organizations_url": "https://api.github.com/users/theMogget/orgs", "received_events_url": "https://api.github.com/users/theMogget/received_events", "repos_url": "https://api.github.com/users/theMogget/repos", "site_admin": false, "starred_url": "https://api.github.com/users/theMogget/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theMogget/subscriptions", "type": "User", "url": "https://api.github.com/users/theMogget" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
2
2020-10-16T08:48:11Z
2020-11-17T04:24:28Z
2020-11-17T04:24:27Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import pandas as pd elems = [0, 1, 2, 3, 4] series_test = pd.Series(elems) long_bad_weights = [0.1, 0.2] * 3 long_bad_weights_series = pd.Series([0.1, 0.2] * 3) short_bad_weights_series = pd.Series([0.1, 0.2]) ### Case 1: Weights passed in as a list # throws pandas error - if weight list is too long or short, also throws with replace=True and replace=False series_test.sample(weights=long_bad_weights) ### Case 2: Weights passed in as a series, with replace=True series_test.sample(weights=long_bad_weights_series) # throws no error series_test.sample(n=3, weights=short_bad_weights_series, replace=True) # throws no error series_test.sample(n=3, weights=long_bad_weights_series, replace=True) # throws no error ### Case 3: Weights passed in as a series, with replace=False series_test.sample(n=3, weights=long_bad_weights_series, replace=False) # throws no error series_test.sample(n=3, weights=short_bad_weights_series, replace=False) # throws numpy error ``` #### Problem description Passing in weights that do not match the length of the axis to be sampled throws a pandas error (Case 1). However, if passing in weights as a series, `.sample` accepts it despite unequal lengths. This behaviour seems rather inconsistent to me. It results an error possibly being thrown by numpy, _if the weights are too short_, depending on whether `replace=True` or `replace=False` (Case 2, Case 3). In the code for `.sample` with weights passed in as a series, we reindex the weights, leading to `np.nan`s if the weights were too short. https://github.com/pandas-dev/pandas/blob/c2a96c644e51f4d164b657240b7bed5f39fd349c/pandas/core/generic.py#L5200-L5202 This can later throw an error from numpy, since random.choice doesn't accept sampling with replacement if `np.nan` is in the weights. **Case 1 pandas error** ``` Traceback (most recent call last): File "/python-scratchpad/main.py", line 11, in <module> df_test.sample(weights=long_bad_weights) File "/python-scratchpad/venv/lib/python3.8/site-packages/pandas/core/generic.py", line 4950, in sample raise ValueError( ValueError: Weights and axis to be sampled must be of same length ``` **Case 3 numpy error** ``` Traceback (most recent call last): File "/repositories/python-scratchpad/main.py", line 20, in <module> series_test.sample(n=3, weights=short_bad_weights_series, replace=False) # throws numpy error File "/repositories/python-scratchpad/venv/lib/python3.8/site-packages/pandas/core/generic.py", line 4993, in sample locs = rs.choice(axis_length, size=n, replace=replace, p=weights) File "mtrand.pyx", line 961, in numpy.random.mtrand.RandomState.choice ValueError: Fewer non-zero entries in p than size ``` #### Expected Output I'd expect pandas to throw a weight length error, no matter the dtype the weights are passed in as. Is there a reason for accepting weights as a series regardless of length? #### Output of ``pd.show_versions()`` <details> ```INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.0.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37158/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37158/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37159
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37159/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37159/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37159/events
https://github.com/pandas-dev/pandas/pull/37159
723,138,104
MDExOlB1bGxSZXF1ZXN0NTA0Nzc2NTY5
37,159
BUG: Fix parsing of ISO8601 durations
{ "avatar_url": "https://avatars.githubusercontent.com/u/124705?v=4", "events_url": "https://api.github.com/users/mgmarino/events{/privacy}", "followers_url": "https://api.github.com/users/mgmarino/followers", "following_url": "https://api.github.com/users/mgmarino/following{/other_user}", "gists_url": "https://api.github.com/users/mgmarino/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mgmarino", "id": 124705, "login": "mgmarino", "node_id": "MDQ6VXNlcjEyNDcwNQ==", "organizations_url": "https://api.github.com/users/mgmarino/orgs", "received_events_url": "https://api.github.com/users/mgmarino/received_events", "repos_url": "https://api.github.com/users/mgmarino/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mgmarino/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mgmarino/subscriptions", "type": "User", "url": "https://api.github.com/users/mgmarino" }
[ { "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": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-16T11:29:05Z
2020-10-17T06:34:22Z
2020-10-17T00:07:08Z
CONTRIBUTOR
null
This PR fixes the following behavior: - Adds "W" as a valid weeks designator - Fixes parsing of durations with empty periods (e.g. "PT10M") - Fixes partial parsing of durations (e.g. "P1DT1H") Fixes #29773. Fixes #36204. - [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37159/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37159/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37159.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37159", "merged_at": "2020-10-17T00:07:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37159.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37159" }
https://api.github.com/repos/pandas-dev/pandas/issues/37160
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37160/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37160/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37160/events
https://github.com/pandas-dev/pandas/pull/37160
723,320,331
MDExOlB1bGxSZXF1ZXN0NTA0OTI3Mjk2
37,160
API: Index.__cmp__(Series) return NotImplemented
{ "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
null
2
2020-10-16T15:27:06Z
2020-11-11T19:06:09Z
2020-11-11T19:05:30Z
MEMBER
null
- [x] closes #36759 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Gets rid of an unnecessary special case. Could do this as a deprecation first.
{ "+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/37160/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37160/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37160.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37160", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37160.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37160" }
https://api.github.com/repos/pandas-dev/pandas/issues/37161
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37161/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37161/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37161/events
https://github.com/pandas-dev/pandas/pull/37161
723,323,522
MDExOlB1bGxSZXF1ZXN0NTA0OTI5Nzcx
37,161
BUG: Series.loc[[]] with non-unique MultiIndex #13691
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-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-10-16T15:31:10Z
2020-10-16T20:35:36Z
2020-10-16T19:17:12Z
MEMBER
null
- [x] closes #13691 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Broken off from #37150
{ "+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/37161/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37161/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37161.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37161", "merged_at": "2020-10-16T19:17:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37161.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37161" }
https://api.github.com/repos/pandas-dev/pandas/issues/37162
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37162/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37162/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37162/events
https://github.com/pandas-dev/pandas/pull/37162
723,353,143
MDExOlB1bGxSZXF1ZXN0NTA0OTUzNzUw
37,162
TST: share logical tests Series/DataFrame
{ "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": "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" } ]
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-10-16T16:13:11Z
2020-10-16T17:58:08Z
2020-10-16T17:17:45Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37162/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37162/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37162.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37162", "merged_at": "2020-10-16T17:17:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37162.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37162" }
https://api.github.com/repos/pandas-dev/pandas/issues/37163
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37163/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37163/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37163/events
https://github.com/pandas-dev/pandas/pull/37163
723,421,973
MDExOlB1bGxSZXF1ZXN0NTA1MDEwNTUy
37,163
DEPR: Series/Index .values special cases
{ "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-10-16T17:56:38Z
2020-10-19T16:50:19Z
2020-10-19T16:50:12Z
MEMBER
null
- [x] closes #36957 - [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/37163/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37163/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37163.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37163", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37163.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37163" }
https://api.github.com/repos/pandas-dev/pandas/issues/37164
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37164/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37164/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37164/events
https://github.com/pandas-dev/pandas/pull/37164
723,445,657
MDExOlB1bGxSZXF1ZXN0NTA1MDI5OTcx
37,164
ENH: __repr__ for 2D DTA/TDA
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
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-10-16T18:38:01Z
2020-11-02T21:47:01Z
2020-11-02T21:26:54Z
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/37164/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37164/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37164.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37164", "merged_at": "2020-11-02T21:26:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37164.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37164" }
https://api.github.com/repos/pandas-dev/pandas/issues/37165
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37165/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37165/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37165/events
https://github.com/pandas-dev/pandas/pull/37165
723,452,689
MDExOlB1bGxSZXF1ZXN0NTA1MDM1OTIz
37,165
ENH: DataFrame __divmod__, __rdivmod__
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-16T18:50:53Z
2020-10-17T15:09:04Z
2020-10-17T13:43:31Z
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/37165/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37165/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37165.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37165", "merged_at": "2020-10-17T13:43:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37165.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37165" }
https://api.github.com/repos/pandas-dev/pandas/issues/37166
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37166/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37166/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37166/events
https://github.com/pandas-dev/pandas/pull/37166
723,459,489
MDExOlB1bGxSZXF1ZXN0NTA1MDQxNjgw
37,166
BUG: Bug in quantile() and median() returned wrong result for non monotonic window borders
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
10
2020-10-16T19:02:58Z
2020-10-30T23:17:52Z
2020-10-30T23:11:48Z
MEMBER
null
- [x] closes #37153 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry cc @mroeschke Values were not added to the window again if starting point was moved back and values were not removed from the window, when ending point was moved back Should I create functions for the deletion and addition?
{ "+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/37166/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37166/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37166.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37166", "merged_at": "2020-10-30T23:11:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37166.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37166" }
https://api.github.com/repos/pandas-dev/pandas/issues/37167
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37167/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37167/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37167/events
https://github.com/pandas-dev/pandas/issues/37167
723,471,917
MDU6SXNzdWU3MjM0NzE5MTc=
37,167
BUG: Legend is wrong when plotting line over bar plot on same axis
{ "avatar_url": "https://avatars.githubusercontent.com/u/9399446?v=4", "events_url": "https://api.github.com/users/Jeitan/events{/privacy}", "followers_url": "https://api.github.com/users/Jeitan/followers", "following_url": "https://api.github.com/users/Jeitan/following{/other_user}", "gists_url": "https://api.github.com/users/Jeitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Jeitan", "id": 9399446, "login": "Jeitan", "node_id": "MDQ6VXNlcjkzOTk0NDY=", "organizations_url": "https://api.github.com/users/Jeitan/orgs", "received_events_url": "https://api.github.com/users/Jeitan/received_events", "repos_url": "https://api.github.com/users/Jeitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Jeitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jeitan/subscriptions", "type": "User", "url": "https://api.github.com/users/Jeitan" }
[ { "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
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" }
11
2020-10-16T19:21:46Z
2021-09-13T09:43:26Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd np.random.seed(123456) d1 = ((np.random.randn(8)*3) + 200).astype(np.int) d2 = ((np.random.randn(8)*3) - 150).astype(np.int) df = pd.DataFrame({'Accrued': d1, 'Spent': d2}) df.loc[:, 'Net'] = df['Accrued'] + df['Spent'] # First plot step ax = df.plot.bar(y=['Accrued', 'Spent'], stacked=True) # Second plot step df.plot.line(y='Net', marker='s', ms=3, color='0.3', ax=ax) ``` #### Problem description I'm plotting a line on top of a stacked bar plot, but when I do the legend ends up incorrect - somehow the label _appends_ to the legend while the actual marker _prepends_ to the legend. The first plot is what shows after the first plot step. The second plot is after the second plot step. The dark line should be associated with 'Net', but instead it's associated with 'Accrued', and the whole legend is wrong. ![barstacked](https://user-images.githubusercontent.com/9399446/96299141-6a766b00-0fa8-11eb-983a-a1e2a6ef9b72.png) ![barstackedplusline](https://user-images.githubusercontent.com/9399446/96299149-6e09f200-0fa8-11eb-9b4b-a74983e90985.png) It may be worth noting that if I replace `.bar(` with `.line(` in the first step, the legend stays correct. I usually run from inside PyCharm but this particular behavior is the same whether from PyCharm or directly from the command line. #### Expected Output I expect that the legend should a) update properly, or b) at the very least not update at all. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.3.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.14393 machine : AMD64 processor : Intel64 Family 6 Model 63 Stepping 2, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0.post20201006 Cython : 0.29.21 pytest : 6.1.1 hypothesis : 5.37.1 sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.3 fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : None xarray : 0.11.3 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 </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/37167/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37167/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37168
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37168/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37168/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37168/events
https://github.com/pandas-dev/pandas/pull/37168
723,498,865
MDExOlB1bGxSZXF1ZXN0NTA1MDc1NDc0
37,168
NIT: Format text.rst doc code
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-16T20:01:58Z
2020-10-17T00:03:23Z
2020-10-16T23:47:09Z
MEMBER
null
Minor formatting mistake I made in another 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/37168/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37168/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37168.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37168", "merged_at": "2020-10-16T23:47:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37168.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37168" }
https://api.github.com/repos/pandas-dev/pandas/issues/37169
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37169/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37169/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37169/events
https://github.com/pandas-dev/pandas/issues/37169
723,513,514
MDU6SXNzdWU3MjM1MTM1MTQ=
37,169
CI: Windows PY38 build RuntimeError: can't start new thread
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
open
false
null
[]
null
1
2020-10-16T20:30:29Z
2020-11-18T16:28:56Z
null
MEMBER
null
I'm seeing this build fail a lot with low-level-looking errors, e.g. ``` FATAL ERROR: Committing semi space failed. Allocation failed - process out of memory ``` ``` INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 257, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 313, in _main INTERNALERROR> config.hook.pytest_runtestloop(session=session) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 84, in <lambda> INTERNALERROR> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 80, in get_result File "C:\Miniconda\envs\pandas-dev\Scripts\pytest-script.py", line 10, in <module> sys.exit(main()) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret = config.hook.pytest_cmdline_main( File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 208, in _multicall return outcome.get_result() File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 80, in get_result raise ex[1].with_traceback(ex[2]) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 306, in pytest_cmdline_main return wrap_session(config, _main) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 294, in wrap_session config.hook.pytest_sessionfinish( File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 203, in _multicall gen.send(outcome) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\terminal.py", line 794, in pytest_sessionfinish outcome.get_result() File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 80, in get_result raise ex[1].with_traceback(ex[2]) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\xdist\dsession.py", line 86, in pytest_sessionfinish nm.teardown_nodes() File "C:\Miniconda\envs\pandas-dev\lib\site-packages\xdist\workermanage.py", line 78, in teardown_nodes self.group.terminate(self.EXIT_TIMEOUT) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\multi.py", line 215, in terminate safe_terminate( File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\multi.py", line 308, in safe_terminate reply = workerpool.spawn(termkill, termfunc, killfunc) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 315, in spawn self.execmodel.start(self._perform_spawn, (reply,)) File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 93, in exec_start self._start_new_thread(func, args) RuntimeError: can't start new thread ``` ``` INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 257, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 313, in _main INTERNALERROR> config.hook.pytest_runtestloop(session=session) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 84, in <lambda> INTERNALERROR> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\xdist\dsession.py", line 112, in pytest_runtestloop INTERNALERROR> self.loop_once() INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\xdist\dsession.py", line 135, in loop_once INTERNALERROR> call(**kwargs) INTERNALERROR> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\xdist\dsession.py", line 174, in worker_workerfinished INTERNALERROR> assert not crashitem, (crashitem, node) INTERNALERROR> AssertionError: ('pandas/tests/plotting/test_frame.py::TestDataFramePlots::test_hist_weights[weights0]', <WorkerController gw1>) INTERNALERROR> assert not 'pandas/tests/plotting/test_frame.py::TestDataFramePlots::test_hist_weights[weights0]' ``` ``` ..........s....ss................................................................................................................................................................................s..ss...................ss...........................................................................................................................................x.........x...x..............................................................................x..............x........ss......x..............x.........x.........x...............................................ssssss........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x...............................................................................................................................................................................................................................x.............................................x......................................................x..................x..............................................x..............................................................................................................................x..................................................................x............................................x..................................................................x.........................x.....................................x.........................................x.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x...................x......................x................................x.........................................................................x.......................x........................x..................x.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x..x....x.....x......................................x......x......x.......x.............................................................................................................................................................................................................................................................................................s............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss.............................................................................................................................................................................................................................s...................s....................................s.........s............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x......................x............................x......................x..........................x.........................x........................................x.......................................................x..................x........................x......................................................................................................................................................................................................................................................................................................................................................................................................................x.............................x...........................x.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x.....................................................................................................................................................x........................................x.........................................................................................................................................................................................................................................................................................................................................x........x.................................................................................................................................................................................................................................................................................................................................................................................x.........................................................................................................................................................................................................................................................................................................................s.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x.............x................x.........x...................x........................................x...........x...................x..............x...x.....x.x.x......x...........x..........................................................................................................................................................................................................................................................................................................................x.........x...............x..............x......................x...........x...........x..........................x.....................x.........................x.x...............x.......x............x................x........x.........x...........x...x..x...x....x....x.x...x......x.....................x........x................x...................x................x...........x................x......................x...............x..............x................x.............x....................x......ss....x................x..........ss................x....ss...................x.ss.....x...........ss...x......x.......ss....x............sxs..........x......ss.x..............x.ss.........x.......ss.....x...........sxs..........sxs....ss.......x.....................x.............................x...................x...........x.......................x....................x..........x.......................x........................x......................x......................................x.....x..................x..............x.................x...............................x..................x...................s..s...x.............x.........x...............x............x..................x..........................................x............................................................................................................................................................................................................................................................................................................................................................x...................s.x...........s.x.......................x........................x..................x.............x...............x.............x.....................x.................x..................x................x................x......................x..........x..................x...........x.................x...........x...............x.......................xx.........................xx........................................xx.........x............x...............................xx.......x.........x...............x........x..........x........sxs...................x...................x......................x........x..........x..................x....................x......x.......................x............x......................x...........x.............................x.............x...x..............x.................x........x....................xx.............................x.....................x..............x.................x............x...............x...............x....................x................x..............x................x............x...............x................x...............x....x..x...............x.........x..........x..........x.............x.............x.......................................x.................................................................................................................................................................................s.....................................................................x...x..x...................x....x....x..x..x..xx....................x...................................................................................................................x......x...................xx...x..........x........x....x..........x...............x...............x...x..........x....x.............x........x.............x........x...x............x.......xx........x............x........x..........x..........x...........x..............x............x..x.x..x.x...............x..............x..............x.......s.s........x................x...............x...........s.....s.x..............x.................x..............x..........................x..................x...............x..............x.x...............x...ss.s.........x..........x.............x...............x.........ssx..ssss..ss.x...........ss....s..ss..........xs.s..s.s...s...x......s..xs.......................x................................................................s.s..........................................s...........ss...s...ssss....ss.........s.............................................................................................................................................ss.s...........................................................................s.......s...sss.................................................................................................................................................................................................................................................................x..x......x.......x..........x.....x.............x..........x...........x..........x........x....x.......x.....ss.ssss..ss........ssxxs..s...ss.sss.s..x.........x............................x....x.........s.s.................ss....s.s.s.s.s.s..ss..ss..........................................................................................s.sssss...ss...............s.s.ss.s.sss...................................................s..s.ssssssssss..ss.s.s.ss.ss.................x.....sxssssssx.sss.........x.....x.....x.......x.....x........x........x...x....x....ss....x.........x....s.s.s.xs.s..s.x...s......x.......s.s.s.sss.........x........x.x...........x.........x.............x..........x...s..ssss.s.sssx.....sx......x..........x........x.......x....sx.....x..............x.................x.............x..........x.....................xx.....s.........x.................x...............x................................................................................x..x...x....x..x.....x......x............x...s............x................x..............x.................x........................x...............x...............x.................x..............x............x............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s...............s...................s...............................s................................s......................s.......................s............s...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x.........................................................x..................................................................................................................................................................................sss..ss.s....sss.sss....ss...........................................x...............................................................................................................................................................................................................................................................x.....................................................x...............................x......................................x...........................................x...........................................x........................................x....................................x.......................................x.................................................x.................................................x........ss.....sss..sss...ss.ss.............................................................................................................s......................................................................................................................................................................................................................................................................................................................x......................................................................................s...............................................ss.................................................................................................................................................x....................................x..........................................................s..s........................................................................................................................................s...s..........................................................................................ss.....s.............................................................................................................s.s..............................s..................s......................................................................................................................................................................................................................................................................................................................................................................................................................................s....s............................s................................................................s...........................................................................................................................x.............x............x....................x.................x...........x.............................s..................................................................................................x...........................xx..............x.........x...........x...........x..........x........x.....x.......x..x.......x......x......x........x....x.......x............xxxxxx................................................ss.s.ss.s.ss.ss......sssss..sss..ssss..s.ss..sss........................................................................................................................................................................................................................s.................................................s.s.ss..................................................................................................................................x.........x.....x.......x............x..........x...........................................................................................s......s.................................ss..s.s................................................ss.................s.s...................x..................x.............x..........................x..............s..s.....x......x.ss.....x.x....ss.ss.....x..........x....s...s.x....s..s....x..............x............s..x............x.......x............x........x.........x..........x........x.............x............x............x............x...........x...ssss.x....x...x...x..x...xs.s....s...xs........ss.s.s....s.x..s...s...s....s.s.x.s..s....s.s.x..ss.....s....ssx.s........................s.x.sss.........................s.....sss.xx..x......s.sxs..............ss..s....x..............x...................x.....x..x.......xxx....x.x......xxxxx..x..........x...s.xxx...xxxxxxxxxxx.x.x..........x.x...xx....x...................x......x....x.....x..................................x.................x.............x.....................x..................x........................x....................x...............x.........................x...........x.............x........................x......x........x.....x.......x........x.........x.....................x..x.....................x.......x..x...............x........................x.s.....x.s..........ss..ssx.s...ssss....ss...ss.ss.s......sssss..sx..sssss......ss...........ss.s..x.s......s........s...s.....s..x.....s......s.s.x.s.s.............s..s...x.s.....s..s..sss.......x.....s.......s.s........s....s.s..x.s..s..........s.....s.x..s....s.s.....x...............ss.x..s..s..s.s..s.s....xs.s......ss.....ss.....x..s.s.......s.s......ss...x.........ss.....x......ss..........x.........................s.s.s.s.s...s..s.............................................................................x....x............x........x.xx..............x..x........x..........xx.....xx.ss............................x........x....xxx..............x......x....x..x.........x............x................x...........x.........x................................................ssss...........................ssxx.xx.....s...s...s...s.............................................................x.............x..........................s...s..s...s...s.s..s..s...s..s...s..s...s.s..s...ss............ss..s....s.......s..ss..........s.s.s.........................ssssssss.s............s....ss..ssssssss..sssss...ssss..sssssss...ss.s.ss.s.ss.ss.sss.sss.s.sss.s.s.ss.ssssssssxs.s.ssssssssss.ss.sssss.sssss.sss.ssss.ssssssssssssssss.sssss.......................x.............................xs............s............................................................................s........................................................................x................................s..s..............................................x..........................................x...........ss....................................x..............xx........s......s................s.....s........s.........s..........................x................x.....................................................................................................................................................................x.x.....s..........................................xx..............s..............................................................................................................................s...............................................................................................................................................................................................................................x..x............ss...s...........ss..s.ss.s.ss........................x.x........................x..............................................sx...x...x..x...x...........x.x......................x......................x...............x.................x.....x..x........................x................x......................x....s...x...x.x..x....x...x.x.x.....x..x...x.x..xxxxxxxxx.x.x...x......x...........x..............x..........................ss..................................................x...................................s.....s..................................................ssss...........ssssssss..........s....ss......x...........x..xxxxxxxxxx.xxxxxx.x.x.xx...x..x.............xxx............x.................x....ss.s.ss...sss.ss.ssss.......x..s.....s...................................sssss.....ssss.s....sss...s...x............................................................................x........xxx..........x.x..xxxx.xxx...xx......x.....x......x.....x....x..xx............................................................................................s....................................................................................................................................................................x.....................................................................................s........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss..........................x..s..s..............................ss..........x..........................................x..........................................x.......................s.....s.......sssss................................................x......................................x....................................................s..s......sss.s.sx.....................................x.............................................................ss.......s.s..................ss..................................................x.........x.........x...................x............x..x.x...x............................................................................................................................................................................................x...........................................x........x...x.........x.........x.........xx.......x.......x.....x.....x......x..........x......x......xx...........x..........................................xx..x........x.........x......x.........x................................x........x......x.......x..........x..........x..............x.......x.x.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x...........x.............x........x...........x..............x............x......x.x........x..................x..................x..........x...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss.ssssssssssss.ss........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x......x.....x..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s.................................................................................................x.......x......................................................................................................................................................................................................................................................................................................................x...x.x...x....x..x.....x.x..x.x..........x..x...x.x.x...................x.....xx.........x.............x......x........x......x....x.........x..........................x................x...x...x.........x....x.........x............................................................................................................................................................x.............x.......x........x...x....x....x...x...x...x........x......x..x..........x...x...................x......x...........x..x..x.x...ssxs..sssss..ssssssssssssxsx..ssssssssssssssss..x....x..xs...........................x....x.............x.....................................x...............................................x..................x......x...x....x....x..x....x...x.............x....x.............................x................x........x....x...x...x...x..x......x........x......x.................x.x........x....x....x...x....x...x........x.........x....x....................x.....x.......x....x.....x...x....x....x.........x.........x......x......................x.............x....x.....x.....x.....x...x..x.....x.........x....x...............x........x...x.....x...x....x...x......x....x.......x....x.....................x...x....x.....x.....x....x....x.....x..x........x..x.............x..x...x...x......x..x......x...x...x.........x..x.......x...........x..x..x.....x..x.....x....x...x...x..........x........x...........................x.................x...................................x...x...x......x............x..........x..x..x............x.......................x.......x..........x...x.x..x..x.x.......................x....x...x...x.......x.x..............x.....x..........x..x....x.x.x.x..x..............x..........x...................xxx.x......................x..x.......x....x.....................................................................................................xx....xx.x..............xx...x...x.....x....x..x.....x..s...x....x.......x.....x............sss..x....x..........ss....x.....x........x........x.......x...x.xx....................................s..................................................................................................................s....................x...x.x..x..x.......xx...x...x...........x.x.......x............x..............................x....x....................s.s....................................................................................s..s................ss.......................ss...................................................................................x..................................s...................................x...............................................................................................................................................................................................................................................................................................................................................................s........s.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x............................................................x.............................................................................................................................................................................................................................................................................................................................................................x..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x......................................................x......xx.....................................................................................................................x.x.............................................................................................................................................................................................................................................................................................................s.x.................................................................................................................................................................................................s.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................sss...............sss........................................................................................ssssssssss...........ssssssssssssssssss.ss..................................................ssssssssss..........ssssssssssssssssssss...................................................ssssssssss...........ssssssssssssssssssss..................................................ssssssssss...........ssssssssssssssssssss..............sss...............sss...............sss............s..sss.......sss....sssss.............s..................................sssss...........................................sss............ssssssssssss.................sss...........................s....ssss.....................................................................................................................................xxx.xxxxxxxxxxx......x...x.....xxxxxxxxxx....xxxxxxx....x...x....x....x...x...x....x...x.........x...x.......x....x..x....x..xxxxxx.......................................................x.........................................................xxxx...........................x...................x..................................................................................................................................................................................................................................................................................x..............................................................................................................x....................................x.....................................x..........................................................................................................................................x...................................................................................................................................................................................................................................................x...................................xxx............................................................................xx.........x..xxxx.xx........x..x.xxx...x...........xxx....x...........xxx.x......x.........xxx......x........xxx.......x.xx....xxxx.....x..x.x....xxx.......x.xx....xxxx......xxxx....xxxxxx........x..xxxx...x...........x..xxx.............x.xxx.xx........x..xxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxx.......x.xxx......xxxx........................x..................................x..................................................................................................................ss...x..............................x................................................................x...................................................................................................................................x......................................................................................................................x....s........x..x.x....x.x.............................x....................xx..........xx.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss.....................................................................................................................................x....................................................................x.........................ssssss.................................................................................................................................................................................................................ss.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s...................................x............................................................................x.x.....x..x.x.......................................................................................................................................................................................................................................................................................x.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................x...x........x.x.x.x.................x..xxxxxxx.............xx.....xx...........s.......s...................xxxxx....x......................................xxxxxx.xx......................................ss...................s.sss...............................................................................................................................................................................................................................................x........................................................................x................................................................................................................................................................................................................................................................................................................s...............................................x........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s...........................................................................................................................................................................................................................................................................................................................................................................................................s...............s.................s.......s..s...ss...........s..........................................................................................................................................................................................................................................................................................................sssssssssss.s.sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...................................s...s.........................................................................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.....................................ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss.............................sssssssss..s......................................................................................................s......s............................................ss................ss...............ss..........................x......................x............ssssssssssss....................ssss.........ss.........ssx..........ss.........ss...........ss...............s.......ssss......s........ss......s.......ss...s........ss..........s.....ss.......s........ss.....sss.s.ss..........ssss.ss..........s.ss..........ss..........s....ss.......................sssss........X..s.ssssssss.sssssss.s.sssss........s..ss..........ss...........ss......s.ss.ss.s.ss...........ss......x.x...ss..ssss.ss..x..x.....ss......s......ss.........ss........x...s...sssssssss.sss.............ss.....s.......s.s..........ss.............s..ss......................s....s.......s......s....s.....s....ss.......s.......ss.............................ss.............ss.s..ss......ss.....s...........................ss.s..................................................ss......s..................................ss.........................ss.s............s...ss..........s.......s........s......s.........s.......s......s.....s.......s........s........................s...ss............ss...................s...ss........s................s.............s.ssssss.........s...................s........ss.............s...ss......s........s.s....s......ss.........ss..........s...ss.............ss......................s...................ss.ss...............s.s.....s.............s.............s........................s....................s...........................................................s........................................s...........s....................s.............................s........................................s.........s.......s.sss.............s.........s..............s..........s........................s..............................s.............................x......................ss.ss...s..............................................................s.......................s....................s.....................s............................s.............................................s.............................s......................................s................................s..................................s....s....s....s....s..................s.................................s..........................s...ssss........................s..................................................s.ss......s...s..............................s...................s..........................s.....................................s..........................s.............................................s..................................s........................................s..............................................s...........................................s....................s..x...........x....s.........x..........s.x..............x.........x........x....s.......x.........s.....x...s....................s................s..........s.............s....................s..........................s..............................s...............s..........................s..............................s........................s.............s....................s..................s..........................s...............................................s....................s..........s........s.......s......s......x........s................s...x.....s...........s........................s....s....xs......s....s......s......s..............xs............s....................s..............s...............s.........s...x.........s............ss........xs..........ss..s................s...................s................s...........s...............s..x..................sx.......s.......s............xx..xxxxxxxx.x...x...................s.......................................................................xx.....................................s...........................................................................s.s......s..................s..s.s.x.....x....s.....s..s..x....x....s..s....sx..x...............................................................................................................................................................................................................................................................................................................................................sss................................................................s........s................................................ss.........................................ss.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s..................................................................................................................................................................................................................................ss..ss....s.....s.ss.sssss.s.s...............................................................s....................................................................................................................................................................................................x.....x...........................x...................x..............x...................x.................................................................................................................................................................s....................................................................................................................................................................................................................x...........................................................................s...............................................................x..........x...........................s................s............................s..........s.............................................................................s................s.......................................s.s.....................................x..........................s..................................................................................x............................s....................................................................ssss..............................................................................................................................................................................................................FF..................................................................................................................................................Fx..................................................s..................................................................................................................................s..s..s.......s..s.s.sss......................................................................................................Windows fatal exception: stack overflow Thread 0x00001184 (most recent call first): <no Python frame> Current thread 0x00001f04 (most recent call first): File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 180 in Event File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 197 in __init__ File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 309 in spawn File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\multi.py", line 300 in termkill File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 220 in run File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 285 in _perform_spawn Thread 0x00001fd8 (most recent call first): <no Python frame> Thread 0x00000eb0 (most recent call first): <no Python frame> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 285 in _perform_spawn Thread 0x000011e0 (most recent call first): File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 400 in read File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 432 in from_io File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 967 in _thread_receiver File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 220 in run File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 285 in _perform_spawn Thread 0x00001fd8 (most recent call first): File "C:\Miniconda\envs\pandas-dev\lib\threading.py", line 302 in wait File "C:\Miniconda\envs\pandas-dev\lib\threading.py", line 558 in wait File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 213 in waitfinish File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\gateway_base.py", line 206 in get File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\multi.py", line 311 in safe_terminate File "C:\Miniconda\envs\pandas-dev\lib\site-packages\execnet\multi.py", line 215 in terminate File "C:\Miniconda\envs\pandas-dev\lib\site-packages\xdist\workermanage.py", line 78 in teardown_nodes File "C:\Miniconda\envs\pandas-dev\lib\site-packages\xdist\dsession.py", line 86 in pytest_sessionfinish File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 84 in <lambda> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 93 in _hookexec File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__ File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 294 in wrap_session File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 306 in pytest_cmdline_main File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 84 in <lambda> File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 93 in _hookexec File "C:\Miniconda\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__ File "C:\Miniconda\envs\pandas-dev\lib\site-packages\_pytest\config\__init__.py", line 164 in main File "C:\Miniconda\envs\pandas-dev\Scripts\pytest-script.py", line 10 in <module> The STDIO streams did not close within 10 seconds of the exit event from process 'C:\Program Files\Git\bin\bash.exe'. This may indicate a child process inherited the STDIO streams and has not yet exited. ``` Is this an upstream thing?
{ "+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/37169/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37169/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37170
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37170/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37170/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37170/events
https://github.com/pandas-dev/pandas/pull/37170
723,525,478
MDExOlB1bGxSZXF1ZXN0NTA1MDk3NTU2
37,170
BUG: MultiIndex comparison with tuple #21517
{ "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-16T20:54:17Z
2020-10-18T17:35:26Z
2020-10-18T15:01:55Z
MEMBER
null
- [x] closes #21517 - [x] closes #34180 - [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/37170/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37170/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37170.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37170", "merged_at": "2020-10-18T15:01:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37170.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37170" }
https://api.github.com/repos/pandas-dev/pandas/issues/37171
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37171/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37171/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37171/events
https://github.com/pandas-dev/pandas/pull/37171
723,533,728
MDExOlB1bGxSZXF1ZXN0NTA1MTA0MTQw
37,171
CLN: ensure we pass correct type to DTI/TDI shallow_copy
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-16T21:10:21Z
2020-10-22T12:02:57Z
2020-10-17T13:41:27Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37171/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37171/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37171.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37171", "merged_at": "2020-10-17T13:41:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37171.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37171" }
https://api.github.com/repos/pandas-dev/pandas/issues/37172
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37172/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37172/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37172/events
https://github.com/pandas-dev/pandas/issues/37172
723,542,213
MDU6SXNzdWU3MjM1NDIyMTM=
37,172
BUG: Handle negative sign (-) when parsing ISO 8601 durations
{ "avatar_url": "https://avatars.githubusercontent.com/u/124705?v=4", "events_url": "https://api.github.com/users/mgmarino/events{/privacy}", "followers_url": "https://api.github.com/users/mgmarino/followers", "following_url": "https://api.github.com/users/mgmarino/following{/other_user}", "gists_url": "https://api.github.com/users/mgmarino/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mgmarino", "id": 124705, "login": "mgmarino", "node_id": "MDQ6VXNlcjEyNDcwNQ==", "organizations_url": "https://api.github.com/users/mgmarino/orgs", "received_events_url": "https://api.github.com/users/mgmarino/received_events", "repos_url": "https://api.github.com/users/mgmarino/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mgmarino/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mgmarino/subscriptions", "type": "User", "url": "https://api.github.com/users/mgmarino" }
[ { "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": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-10-16T21:28:08Z
2021-02-10T23:15:25Z
2021-02-10T23:15:25Z
CONTRIBUTOR
null
Related to #37159, #29773, #36204, splitting out only dealing with the behavior of the negative sign when parsing ISO 8601 Durations. The current behavior is somewhat counter intuitive: `"P-6DT0H50M3.010010012S"` parses as `Timedelta( days=-6, minutes=50, seconds=3, milliseconds=10, microseconds=10, nanoseconds=12, )` , and the negative is only allowed right after the P descriptor. A negative in any other position will raise an error. This [comment](https://github.com/moment/moment/issues/2408#issuecomment-110180010) notes that the original spec for 8601 doesn't mention negativity at all, but that some other "extensions" (e.g. usage of it in Java Duration) do support it. I have been unable to find the detailed ISO 8601 spec. As far as I can tell, there are a few possibilities to deal with this here: - explicitly drop support for the negative sign - only support an overall "-" e.g. `"-P6DT1H" = Timedelta('-7 days +23:00:00')` and/or - support positive/negative on each, e.g. `"P7DT-1H3M" = Timedelta('6 days 23:03:00')` _Originally posted by @mgmarino in https://github.com/pandas-dev/pandas/pull/37159#discussion_r506726762_
{ "+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/37172/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37172/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37173
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37173/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37173/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37173/events
https://github.com/pandas-dev/pandas/pull/37173
723,547,605
MDExOlB1bGxSZXF1ZXN0NTA1MTE1NjE1
37,173
BUG: fix tab completion
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
4
2020-10-16T21:40:31Z
2020-11-28T18:41:42Z
2020-10-26T13:27:02Z
CONTRIBUTOR
null
Currently tab completion doesn't work on attributes defined on the instance, only ones defined on the class. This fixes that. Example: ```python >>> class MyCls(pd.core.accessor.DirNamesMixin): ... x = 1 ... ... def __init__(self): ... self.y = 2 ... >>> x = MyCls() >>> "x" in dir(x) True # master and this PR >>> "y" in dir(x) False # master True # this PR ``` Also some type fixups.
{ "+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/37173/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37173/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37173.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37173", "merged_at": "2020-10-26T13:27:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37173.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37173" }
https://api.github.com/repos/pandas-dev/pandas/issues/37174
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37174/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37174/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37174/events
https://github.com/pandas-dev/pandas/issues/37174
723,548,548
MDU6SXNzdWU3MjM1NDg1NDg=
37,174
BUG: ValueError: buffer source array is read-only
{ "avatar_url": "https://avatars.githubusercontent.com/u/41548538?v=4", "events_url": "https://api.github.com/users/dmitra79/events{/privacy}", "followers_url": "https://api.github.com/users/dmitra79/followers", "following_url": "https://api.github.com/users/dmitra79/following{/other_user}", "gists_url": "https://api.github.com/users/dmitra79/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dmitra79", "id": 41548538, "login": "dmitra79", "node_id": "MDQ6VXNlcjQxNTQ4NTM4", "organizations_url": "https://api.github.com/users/dmitra79/orgs", "received_events_url": "https://api.github.com/users/dmitra79/received_events", "repos_url": "https://api.github.com/users/dmitra79/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dmitra79/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmitra79/subscriptions", "type": "User", "url": "https://api.github.com/users/dmitra79" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-16T21:42:35Z
2020-10-17T17:04:02Z
2020-10-17T17:04:02Z
NONE
null
- [ ] I have checked that this issue has not already been reported. - [ X ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- This seems similar to: https://github.com/pandas-dev/pandas/issues/31710 I am getting it in a dash application, so it's difficult to get an example from there. However, isin() example from the above post also causes the error: #### Code Sample, a copy-pastable example ```python >>> import numpy as np # v1.16.4, then v1.18.1 >>> import pandas as pd # v1.0.1 >>> >>> arr = np.array([1,2,3], dtype=np.int64) # works fine if I don't set the dtype! >>> >>> arr.setflags(write=False) # make it read-only >>> >>> df = pd.DataFrame({"col": [2,4,8]}) >>> >>> test = df.col.isin(arr) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/z0022z7b/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/series.py", line 4685, in isin result = algorithms.isin(self, values) File "/home/z0022z7b/anaconda3/envs/mindsynchro/lib/python3.8/site-packages/pandas/core/algorithms.py", line 465, in isin return f(comps, values) File "pandas/_libs/hashtable_func_helper.pxi", line 566, in pandas._libs.hashtable.ismember_int64 File "stringsource", line 658, in View.MemoryView.memoryview_cwrapper File "stringsource", line 349, in View.MemoryView.memoryview.__cinit__ ValueError: buffer source array is read-only ``` #### Problem description The problem is this error. My application code worked fine before, but I had to set it up on a new machine with new pandas and cython a couple days ago, and ran into this. (Previously I had - cython=0.29.14=py37he1b5a44_0 - pandas=0.24.2=py37he6710b0_0 Don't know if the isin() example would have thrown an error with that) #### Output of ``pd.show_versions()`` ''' INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-118-generic Version : #119-Ubuntu SMP Tue Sep 8 12:30:01 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 49.6.0.post20201009 Cython : 0.29.21 lxml.etree : 4.5.2 jinja2 : 2.11.2 IPython : 7.18.1 fsspec : 0.8.4 fastparquet : 0.4.1 matplotlib : 3.3.2 pyarrow : 0.17.1 scipy : 1.5.2 xarray : 0.16.1 numba : 0.51.2 ''' </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/37174/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37174/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37175
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37175/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37175/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37175/events
https://github.com/pandas-dev/pandas/issues/37175
723,550,876
MDU6SXNzdWU3MjM1NTA4NzY=
37,175
DOC: Same description of `Returns` in `isna` and `notna`
{ "avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4", "events_url": "https://api.github.com/users/galipremsagar/events{/privacy}", "followers_url": "https://api.github.com/users/galipremsagar/followers", "following_url": "https://api.github.com/users/galipremsagar/following{/other_user}", "gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/galipremsagar", "id": 11664259, "login": "galipremsagar", "node_id": "MDQ6VXNlcjExNjY0MjU5", "organizations_url": "https://api.github.com/users/galipremsagar/orgs", "received_events_url": "https://api.github.com/users/galipremsagar/received_events", "repos_url": "https://api.github.com/users/galipremsagar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions", "type": "User", "url": "https://api.github.com/users/galipremsagar" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-16T21:48:10Z
2020-10-17T16:00:53Z
2020-10-17T16:00:53Z
NONE
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.isna.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.notna.html #### Documentation problem There seems to be a typo in `Returns` section where both `isna` and `notna` are having this same description: _Mask of bool values for each element in DataFrame that indicates whether an element is **not an NA value.**_ #### Suggested fix for documentation I think `isna` doc should be corrected with: _Mask of bool values for each element in DataFrame that indicates whether an element is **an NA 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/37175/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37175/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37176
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37176/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37176/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37176/events
https://github.com/pandas-dev/pandas/pull/37176
723,555,375
MDExOlB1bGxSZXF1ZXN0NTA1MTIyMTUy
37,176
BUG: infer_dtype with decimal/complex
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-16T21:59:49Z
2020-10-18T17:39:28Z
2020-10-18T14:58:45Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Does this need a whatsnew?
{ "+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/37176/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37176/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37176.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37176", "merged_at": "2020-10-18T14:58:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37176.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37176" }
https://api.github.com/repos/pandas-dev/pandas/issues/37177
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37177/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37177/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37177/events
https://github.com/pandas-dev/pandas/pull/37177
723,561,519
MDExOlB1bGxSZXF1ZXN0NTA1MTI3MTc0
37,177
REF: Simplify creation of rolling window indexers internally
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-16T22:15:57Z
2020-10-17T01:00:24Z
2020-10-17T01:00:21Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37177/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37177/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37177.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37177", "merged_at": "2020-10-17T01:00:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37177.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37177" }
https://api.github.com/repos/pandas-dev/pandas/issues/37178
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37178/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37178/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37178/events
https://github.com/pandas-dev/pandas/issues/37178
723,571,384
MDU6SXNzdWU3MjM1NzEzODQ=
37,178
TST: suppress matplotlib warnings (or determine if they represent a bug)
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "f2f074", "default": false, "description": "Warnings that appear or should be added to pandas", "id": 1628184320, "name": "Warnings", "node_id": "MDU6TGFiZWwxNjI4MTg0MzIw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings" } ]
closed
false
null
[]
null
7
2020-10-16T22:44:52Z
2020-11-11T20:44:18Z
2020-11-11T20:44:17Z
MEMBER
null
There are a bunch of these in the test logs: ``` pandas/tests/plotting/test_hist_method.py::TestDataFramePlots::test_hist_column_order_unchanged[None-expected0] pandas/tests/plotting/test_hist_method.py::TestDataFramePlots::test_hist_column_order_unchanged[column1-expected1] pandas/tests/plotting/test_hist_method.py::TestDataFramePlots::test_hist_with_legend[None-None] pandas/tests/plotting/common.py:556: UserWarning: To output multiple subplots, the figure containing the passed axes is being cleared ret = f(**kwargs) ``` Do these represent problems we need to do something about? cc @tacaswell If not, we should suppress them. My attempts to do so with `pytestmark = pytest.mark.filterwarnings` have failed, could use another pair of eyeballs.
{ "+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/37178/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37178/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37179
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37179/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37179/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37179/events
https://github.com/pandas-dev/pandas/pull/37179
723,575,229
MDExOlB1bGxSZXF1ZXN0NTA1MTM4MzQz
37,179
API: tighten DTA/TDA _from_sequence signature
{ "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" }, { "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
10
2020-10-16T22:56:42Z
2021-11-20T23:21:27Z
2020-11-21T17:35:04Z
MEMBER
null
cc @jorisvandenbossche need to decide how to handle test_from_2d_ndarray_with_dtype which this currently xfails
{ "+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/37179/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37179/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37179.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37179", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37179.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37179" }
https://api.github.com/repos/pandas-dev/pandas/issues/37180
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37180/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37180/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37180/events
https://github.com/pandas-dev/pandas/pull/37180
723,579,003
MDExOlB1bGxSZXF1ZXN0NTA1MTQxNDY2
37,180
BUG: use cls instead of MultiIndex in MultiIndex classmethods
{ "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": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-16T23:08:53Z
2020-10-17T01:51:49Z
2020-10-17T01:51:37Z
MEMBER
null
- [x] closes #11267 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This doesn't go through all the places where MultiIndex is hard-coded, just the classmethods where in `cls` should be used as a matter of principle.
{ "+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/37180/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37180/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37180.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37180", "merged_at": "2020-10-17T01:51:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37180.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37180" }
https://api.github.com/repos/pandas-dev/pandas/issues/37181
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37181/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37181/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37181/events
https://github.com/pandas-dev/pandas/pull/37181
723,593,055
MDExOlB1bGxSZXF1ZXN0NTA1MTUzMTg1
37,181
BUG: Fix isin with read-only target
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
4
2020-10-17T00:02:58Z
2020-10-18T14:04:50Z
2020-10-17T17:04:02Z
MEMBER
null
- [x] closes #37174 - [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/37181/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37181/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37181.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37181", "merged_at": "2020-10-17T17:04:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37181.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37181" }
https://api.github.com/repos/pandas-dev/pandas/issues/37182
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37182/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37182/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37182/events
https://github.com/pandas-dev/pandas/pull/37182
723,608,087
MDExOlB1bGxSZXF1ZXN0NTA1MTY1MDkx
37,182
Tests for where() with categorical
{ "avatar_url": "https://avatars.githubusercontent.com/u/26482095?v=4", "events_url": "https://api.github.com/users/gabriellm1/events{/privacy}", "followers_url": "https://api.github.com/users/gabriellm1/followers", "following_url": "https://api.github.com/users/gabriellm1/following{/other_user}", "gists_url": "https://api.github.com/users/gabriellm1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gabriellm1", "id": 26482095, "login": "gabriellm1", "node_id": "MDQ6VXNlcjI2NDgyMDk1", "organizations_url": "https://api.github.com/users/gabriellm1/orgs", "received_events_url": "https://api.github.com/users/gabriellm1/received_events", "repos_url": "https://api.github.com/users/gabriellm1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gabriellm1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabriellm1/subscriptions", "type": "User", "url": "https://api.github.com/users/gabriellm1" }
[ { "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": "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "d80222", "default": false, "description": "", "id": 2402564166, "name": "hacktoberfest-accepted", "node_id": "MDU6TGFiZWwyNDAyNTY0MTY2", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/hacktoberfest-accepted" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-17T01:09:43Z
2020-10-20T01:37:40Z
2020-10-20T01:37:29Z
CONTRIBUTOR
null
- [X] closes #18888 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Hey everyone, I wrote some tests for issue #18888. I don't know exactly if the format is correct but if any change is needed I'm happy to make it right. Which 'whatsnew entry' should I report for both new tests? Also, if you think this is a decent contribution and if there's no problem with doing that, it would be nice to tag this PR with hacktoberfest-accepted label :)
{ "+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/37182/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37182/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37182.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37182", "merged_at": "2020-10-20T01:37:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37182.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37182" }
https://api.github.com/repos/pandas-dev/pandas/issues/37183
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37183/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37183/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37183/events
https://github.com/pandas-dev/pandas/pull/37183
723,616,685
MDExOlB1bGxSZXF1ZXN0NTA1MTcxNzMw
37,183
CLN: core/dtypes/cast.py::maybe_casted_values
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-17T01:54:14Z
2020-10-17T13:36:00Z
2020-10-17T13:35:54Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry xref https://github.com/pandas-dev/pandas/pull/36985#issuecomment-705804862
{ "+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/37183/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37183/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37183.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37183", "merged_at": "2020-10-17T13:35:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37183.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37183" }
https://api.github.com/repos/pandas-dev/pandas/issues/37184
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37184/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37184/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37184/events
https://github.com/pandas-dev/pandas/pull/37184
723,623,163
MDExOlB1bGxSZXF1ZXN0NTA1MTc2NTA4
37,184
BUG: Series.loc[timestamp] with MultiIndex with DTI first-level
{ "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
0
2020-10-17T02:29:15Z
2020-10-17T15:05:17Z
2020-10-17T02:39:21Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The underlying problem here is that `MultiIndex._get_level_number` is not idempotent.
{ "+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/37184/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37184/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37184.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37184", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37184.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37184" }
https://api.github.com/repos/pandas-dev/pandas/issues/37185
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37185/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37185/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37185/events
https://github.com/pandas-dev/pandas/pull/37185
723,625,446
MDExOlB1bGxSZXF1ZXN0NTA1MTc4MjE2
37,185
DOC: Add example to Series.divmod
{ "avatar_url": "https://avatars.githubusercontent.com/u/19281800?v=4", "events_url": "https://api.github.com/users/hongshaoyang/events{/privacy}", "followers_url": "https://api.github.com/users/hongshaoyang/followers", "following_url": "https://api.github.com/users/hongshaoyang/following{/other_user}", "gists_url": "https://api.github.com/users/hongshaoyang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hongshaoyang", "id": 19281800, "login": "hongshaoyang", "node_id": "MDQ6VXNlcjE5MjgxODAw", "organizations_url": "https://api.github.com/users/hongshaoyang/orgs", "received_events_url": "https://api.github.com/users/hongshaoyang/received_events", "repos_url": "https://api.github.com/users/hongshaoyang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hongshaoyang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hongshaoyang/subscriptions", "type": "User", "url": "https://api.github.com/users/hongshaoyang" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-17T02:42:14Z
2020-10-17T13:39:56Z
2020-10-17T13:38:54Z
CONTRIBUTOR
null
- [x] closes #24589 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` ----- [Current doc](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.divmod.html); Rendered doc: ![Screenshot 2020-10-17 at 10 44 26 AM](https://user-images.githubusercontent.com/19281800/96326790-3d888d80-1066-11eb-94e7-0a4e0db5d4ba.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/37185/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37185/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37185.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37185", "merged_at": "2020-10-17T13:38:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37185.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37185" }
https://api.github.com/repos/pandas-dev/pandas/issues/37186
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37186/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37186/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37186/events
https://github.com/pandas-dev/pandas/pull/37186
723,627,283
MDExOlB1bGxSZXF1ZXN0NTA1MTc5NTc1
37,186
call __finalize__ in more methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "56efc9", "default": false, "description": "_metadata, .attrs", "id": 1539579994, "name": "metadata", "node_id": "MDU6TGFiZWwxNTM5NTc5OTk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-10-17T02:52:42Z
2020-10-20T18:01:30Z
2020-10-20T18:01:26Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The goal here is to make progress on some of the more uncontroversial/easier content of #28283. I'll split off into another PR if this gets too big
{ "+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/37186/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37186/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37186.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37186", "merged_at": "2020-10-20T18:01:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37186.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37186" }
https://api.github.com/repos/pandas-dev/pandas/issues/37187
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37187/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37187/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37187/events
https://github.com/pandas-dev/pandas/issues/37187
723,648,968
MDU6SXNzdWU3MjM2NDg5Njg=
37,187
BUG:When SeriesGroupBy.apply to return DataFrame for each group, the result is incorrect
{ "avatar_url": "https://avatars.githubusercontent.com/u/36034954?v=4", "events_url": "https://api.github.com/users/CrystalWindSnake/events{/privacy}", "followers_url": "https://api.github.com/users/CrystalWindSnake/followers", "following_url": "https://api.github.com/users/CrystalWindSnake/following{/other_user}", "gists_url": "https://api.github.com/users/CrystalWindSnake/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CrystalWindSnake", "id": 36034954, "login": "CrystalWindSnake", "node_id": "MDQ6VXNlcjM2MDM0OTU0", "organizations_url": "https://api.github.com/users/CrystalWindSnake/orgs", "received_events_url": "https://api.github.com/users/CrystalWindSnake/received_events", "repos_url": "https://api.github.com/users/CrystalWindSnake/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CrystalWindSnake/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CrystalWindSnake/subscriptions", "type": "User", "url": "https://api.github.com/users/CrystalWindSnake" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
5
2020-10-17T03:47:13Z
2021-01-27T12:11:26Z
2021-01-27T12:11:25Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np df = pd.DataFrame( { 'name':'a a b b'.split(), 'n1': [1,20,1,30], }) def ap_gp(s): des = np.where(s>10,'over','not over') res = s.to_frame() res['des']=des return res df.groupby('name')['n1'].apply(ap_gp) ``` output: | | a | des | b | |---:|----:|:---------|----:| | 0 | 1 | not over | nan | | 1 | 20 | over | nan | | 2 | nan | not over | 1 | | 3 | nan | over | 30 | #### Expected Output | | n1 | des | |---:|-----:|:---------| | 0 | 1 | not over | | 1 | 20 | over | | 2 | 1 | not over | | 3 | 30 | over | #### Problem description I think the reason for this error is to modify the name attribute of Series before concat #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.1 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0.post20200210 Cython : 0.29.15 pytest : 5.3.5 hypothesis : 5.5.4 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.12.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.5 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.13 tables : 3.6.1 tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37187/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37187/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37188
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37188/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37188/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37188/events
https://github.com/pandas-dev/pandas/pull/37188
723,652,955
MDExOlB1bGxSZXF1ZXN0NTA1MjAyNTQ2
37,188
CI: Check for inconsistent pandas namespace usage
{ "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": "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
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" }
7
2020-10-17T03:51:42Z
2020-10-21T00:54:43Z
2020-10-21T00:52:16Z
MEMBER
null
Adding a CI check that we aren't (for instance) using Series(...) and pd.Series(...) in the same file. ~This is kept intentionally small in scope (checking only DataFrame and Series for one file name right now) since this is very common in the code base and I'm not sure if this is something we'd actually want to enforce.~
{ "+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/37188/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37188/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37188.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37188", "merged_at": "2020-10-21T00:52:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37188.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37188" }
https://api.github.com/repos/pandas-dev/pandas/issues/37189
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37189/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37189/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37189/events
https://github.com/pandas-dev/pandas/pull/37189
723,736,268
MDExOlB1bGxSZXF1ZXN0NTA1MjY2MDM0
37,189
Backport PR #37144 on branch 1.1.x: BLD: update build requirement for py39 #37135
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-17T11:27:04Z
2020-10-17T13:27:57Z
2020-10-17T13:27:53Z
MEMBER
null
Backport PR #37144 on branch 1.1.x
{ "+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/37189/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37189/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37189.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37189", "merged_at": "2020-10-17T13:27:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37189.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37189" }
https://api.github.com/repos/pandas-dev/pandas/issues/37190
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37190/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37190/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37190/events
https://github.com/pandas-dev/pandas/issues/37190
723,747,638
MDU6SXNzdWU3MjM3NDc2Mzg=
37,190
weird behaviours with tuples in index
{ "avatar_url": "https://avatars.githubusercontent.com/u/33967107?v=4", "events_url": "https://api.github.com/users/johny-b/events{/privacy}", "followers_url": "https://api.github.com/users/johny-b/followers", "following_url": "https://api.github.com/users/johny-b/following{/other_user}", "gists_url": "https://api.github.com/users/johny-b/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/johny-b", "id": 33967107, "login": "johny-b", "node_id": "MDQ6VXNlcjMzOTY3MTA3", "organizations_url": "https://api.github.com/users/johny-b/orgs", "received_events_url": "https://api.github.com/users/johny-b/received_events", "repos_url": "https://api.github.com/users/johny-b/repos", "site_admin": false, "starred_url": "https://api.github.com/users/johny-b/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johny-b/subscriptions", "type": "User", "url": "https://api.github.com/users/johny-b" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "f2f989", "default": false, "description": "Data where the values are collections (lists, sets, dicts, objects, etc.).", "id": 2189479765, "name": "Nested Data", "node_id": "MDU6TGFiZWwyMTg5NDc5NzY1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data" } ]
open
false
null
[]
null
1
2020-10-17T12:32:06Z
2021-08-13T04:57:57Z
null
NONE
null
I'm not submitting this strictly as a bug because this is so messed up that I seriously consider tuples in indexes just simply never work, but I don't think the docs are clear about it. I'm using python 3.6.9 and pandas==1.1.3. Example 1: ``` import pandas as pd data = { 'first': [[(0,), 0, 0], [(1,), 1, 1], [(2,), 2, 2]], 'second': [[(0,), 0, 0], [(1,), 1, 1], [(1,), 2, 2]], } for name, d in data.items(): df = pd.DataFrame(d, columns=['a', 'b', 'c']).set_index('a') print(name) print(df) print(df.index.get_loc((0,))) ``` works for `first` and not for `second`: ``` first b c a (0,) 0 0 (1,) 1 1 (2,) 2 2 0 second b c a (0,) 0 0 (1,) 1 1 (1,) 2 2 Traceback (most recent call last): File "pandas/_libs/index.pyx", line 112, in pandas._libs.index.IndexEngine._get_loc_duplicates TypeError: '<' not supported between instances of 'tuple' and 'int' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py", line 2895, in get_loc return self._engine.get_loc(casted_key) File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 96, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 116, in pandas._libs.index.IndexEngine._get_loc_duplicates KeyError: (0,) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "t3.py", line 10, in <module> print(df.index.get_loc((0,))) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py", line 2897, in get_loc raise KeyError(key) from err KeyError: (0,) ``` Example 2: ``` import pandas as pd data = [[0, (1,2), (3,)], [1, (2,3), (4,5)]] a = pd.DataFrame(data, columns=['a', 'b', 'c']).set_index(['b', 'c']) print(a) print(a.loc[[a.index.values[0]]]) print(a.loc[[a.index.values[1]]]) ``` works for the first row only: ``` a b c (1, 2) (3,) 0 (2, 3) (4, 5) 1 a b c (1, 2) (3,) 0 Traceback (most recent call last): File "t2.py", line 8, in <module> print(a.loc[[a.index.values[1]]]) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py", line 879, in __getitem__ return self._getitem_axis(maybe_callable, axis=axis) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py", line 1099, in _getitem_axis return self._getitem_iterable(key, axis=axis) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py", line 1037, in _getitem_iterable keyarr, indexer = self._get_listlike_indexer(key, axis, raise_missing=False) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py", line 1240, in _get_listlike_indexer indexer, keyarr = ax._convert_listlike_indexer(key) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/multi.py", line 2388, in _convert_listlike_indexer _, indexer = self.reindex(keyarr, level=level) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/multi.py", line 2302, in reindex target = ensure_index(target) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py", line 5618, in ensure_index return Index(index_like) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py", line 385, in __new__ return Int64Index(data, copy=copy, dtype=dtype, name=name) File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/numeric.py", line 76, in __new__ raise ValueError("Index data must be 1-dimensional") ValueError: Index data must be 1-dimensional ```
{ "+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/37190/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37190/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37191
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37191/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37191/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37191/events
https://github.com/pandas-dev/pandas/pull/37191
723,752,265
MDExOlB1bGxSZXF1ZXN0NTA1Mjc3NTI2
37,191
BUG: Regression in Resample.apply raised error when apply affected only a Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
null
0
2020-10-17T12:54:13Z
2020-10-17T16:12:45Z
2020-10-17T16:12:44Z
MEMBER
null
- [x] closes #36951 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Error was no longer caught as before.
{ "+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/37191/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37191/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37191.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37191", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37191.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37191" }
https://api.github.com/repos/pandas-dev/pandas/issues/37192
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37192/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37192/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37192/events
https://github.com/pandas-dev/pandas/pull/37192
723,754,244
MDExOlB1bGxSZXF1ZXN0NTA1Mjc4OTM4
37,192
DOC: fix doc isna same as notna
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-17T13:04:26Z
2020-10-17T16:01:50Z
2020-10-17T16:00:54Z
CONTRIBUTOR
null
- [x] closes #37175
{ "+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/37192/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37192/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37192.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37192", "merged_at": "2020-10-17T16:00:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37192.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37192" }
https://api.github.com/repos/pandas-dev/pandas/issues/37193
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37193/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37193/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37193/events
https://github.com/pandas-dev/pandas/pull/37193
723,769,657
MDExOlB1bGxSZXF1ZXN0NTA1MjkwMDY2
37,193
BUG: record warnings related to DatetimeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "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": "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-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2020-10-17T14:22:59Z
2020-11-06T15:32:27Z
2020-10-23T00:18:07Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This PR handles warnings emitted when running tests in ``pandas/tests/plotting/test_datetimelike.py``. Warnings looked like this: ``` pandas/tests/plotting/test_datetimelike.py::TestTSPlot::test_irreg_dtypes /workspaces/pandas/pandas/core/frame.py:3216: FutureWarning: Automatically casting object-dtype Index of datetimes to DatetimeIndex is deprecated and will be removed in a future version. Explicitly cast to DatetimeIndex instead. return klass(values, index=self.index, name=name, fastpath=True) ``` Presumably it started after implementing this: https://github.com/pandas-dev/pandas/pull/36697/ The reason for not using ``tm.assert_produces_warning`` is that when I use it, then I get an error that the warning is raised with the incorrect stacklevel.
{ "+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/37193/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37193/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37193.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37193", "merged_at": "2020-10-23T00:18:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37193.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37193" }
https://api.github.com/repos/pandas-dev/pandas/issues/37194
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37194/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37194/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37194/events
https://github.com/pandas-dev/pandas/pull/37194
723,778,457
MDExOlB1bGxSZXF1ZXN0NTA1Mjk2NDEz
37,194
BUG: .loc with MultiIndex with names[1] = 0
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-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-10-17T15:05:46Z
2020-10-23T00:54:28Z
2020-10-23T00:17:00Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37194/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37194/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37194.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37194", "merged_at": "2020-10-23T00:17:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37194.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37194" }
https://api.github.com/repos/pandas-dev/pandas/issues/37195
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37195/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37195/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37195/events
https://github.com/pandas-dev/pandas/pull/37195
723,784,735
MDExOlB1bGxSZXF1ZXN0NTA1MzAwOTQx
37,195
CLN: parametrize test_nat_comparisons
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "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": "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
[]
{ "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" }
10
2020-10-17T15:35:50Z
2020-11-06T15:36:53Z
2020-11-04T17:25:27Z
MEMBER
null
Parametrize ``TestDatetime64SeriesComparison.test_nat_comparisons`` using ``operator`` module. If this kind of cleanup is considered reasonable, then I will go through the remaining tests in this test module. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37195/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37195/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37195.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37195", "merged_at": "2020-11-04T17:25:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37195.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37195" }
https://api.github.com/repos/pandas-dev/pandas/issues/37196
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37196/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37196/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37196/events
https://github.com/pandas-dev/pandas/pull/37196
723,785,334
MDExOlB1bGxSZXF1ZXN0NTA1MzAxMzcx
37,196
BUG: JoinUnit.is_na wrong for CategoricalDtype
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-17T15:38:41Z
2020-10-20T01:48:35Z
2020-10-20T01:28:50Z
MEMBER
null
- [x] closes #20833 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry JoinUnit.is_na is basically checking `isna(self.block.values).all()`. The check for is_categorical is an attempted optimization bc values.categories is often much smaller than values. But Categorical represents its NAs in its codes, not in its categories. So this will incorrectly always return False in the status quo. Having trouble coming up with a useful test. I can adapt a test from test_concat that returns an incorrect answer from is_na, but that does not appear to affect the result of the higher-level pd.concat call.
{ "+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/37196/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37196/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37196.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37196", "merged_at": "2020-10-20T01:28:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37196.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37196" }
https://api.github.com/repos/pandas-dev/pandas/issues/37197
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37197/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37197/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37197/events
https://github.com/pandas-dev/pandas/issues/37197
723,786,435
MDU6SXNzdWU3MjM3ODY0MzU=
37,197
QST: read_csv succeeded with one file, but failed with another with the same format
{ "avatar_url": "https://avatars.githubusercontent.com/u/3665590?v=4", "events_url": "https://api.github.com/users/playgithub/events{/privacy}", "followers_url": "https://api.github.com/users/playgithub/followers", "following_url": "https://api.github.com/users/playgithub/following{/other_user}", "gists_url": "https://api.github.com/users/playgithub/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/playgithub", "id": 3665590, "login": "playgithub", "node_id": "MDQ6VXNlcjM2NjU1OTA=", "organizations_url": "https://api.github.com/users/playgithub/orgs", "received_events_url": "https://api.github.com/users/playgithub/received_events", "repos_url": "https://api.github.com/users/playgithub/repos", "site_admin": false, "starred_url": "https://api.github.com/users/playgithub/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/playgithub/subscriptions", "type": "User", "url": "https://api.github.com/users/playgithub" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
3
2020-10-17T15:43:55Z
2020-10-19T07:24:23Z
2020-10-19T07:24:23Z
NONE
null
version * python 3.8 64bit for windows * pandas 1.1.3 code ```python import pandas as pd path = 'tmp.txt' df = pd.read_csv(path, sep='\s+', index_col=0) print(df) ``` Below are two `tmp.txt` files with different contents but the same format. The 1st one works with `read_csv`. The 2nd one doesn't, error message: ``` pandas.errors.ParserError: Error tokenizing data. C error: Expected 4 fields in line 3, saw 5 ``` Why? How to fix? tmp.txt (in utf-8) ``` 0 1 2 3 0 项目 附注 2019年12月31日 2018年12月31日 1 流动资产: 2 货币资金 七(1) 8,356,153,735 6,365,973,126 3 结算备付金 4 拆出资金 5 交易性金融资产 七(2) 860,894,383 387,261,777 6 以公允价值计量且其变动计入当期损益的金融资产 7 衍生金融资产 七(3) 85,110 47,542,362 8 应收票据 七(4) 20,011,631 710,399,926 9 应收账款 七(5) 3,457,428,686 3,593,707,590 10 应收款项融资 七(6) 784,417,775 11 预付款项 七(7) 222,501,827 220,126,772 12 应收保费 13 应收分保账款 14 应收分保合同准备金 15 其他应收款 七(8) 472,000,751 510,753,825 16 其中:应收利息 17 应收股利 18 买入返售金融资产 19 存货 七(9) 3,280,465,303 3,241,739,977 20 合同资产 21 持有待售资产 22 一年内到期的非流动资产 七(12) 190,000,000 23 其他流动资产 七(13) 320,404,434 313,634,314 24 流动资产合计 17,774,363,635 15,581,139,669 25 非流动资产: 26 发放贷款和垫款 27 债权投资 28 可供出售金融资产 29 其他债权投资 30 持有至到期投资 31 长期应收款 七(16) 180,000,000 32 长期股权投资 七(17) 199,805,151 205,738,050 33 其他权益工具投资 34 其他非流动金融资产 35 投资性房地产 36 固定资产 七(21) 14,520,366,436 13,629,887,296 37 在建工程 七(22) 2,901,032,823 2,936,812,592 38 生产性生物资产 39 油气资产 40 使用权资产 七(25) 701,329,178 41 无形资产 七(26) 1,337,282,523 1,219,578,721 ``` tmp.txt (in utf-8) ``` 0 1 2 3 0 开发支出 1 商誉 七(28) 154,940,513 153,707,174 2 长期待摊费用 七(29) 538,654,362 510,271,130 3 递延所得税资产 七(30) 518,504,986 252,461,078 4 其他非流动资产 七(31) 842,960 5 非流动资产合计 21,051,915,972 18,909,299,001 6 资产总计 38,826,279,607 34,490,438,670 7 流动负债: 8 短期借款 七(32) 8,491,599,785 5,567,436,870 9 向中央银行借款 10 拆入资金 11 交易性金融负债 12 以公允价值计量且其变动计入当期损益的金融负债 13 衍生金融负债 七(34) 3,795,000 3,077,741 14 应付票据 七(35) 860,739,543 1,164,568,692 15 应付账款 七(36) 1,236,580,062 1,300,781,289 16 预收款项 17 合同负债 七(38) 695,400,166 594,503,112 18 卖出回购金融资产款 19 吸收存款及同业存放 20 代理买卖证券款 21 代理承销证券款 22 应付职工薪酬 七(39) 473,972,041 483,015,711 23 应交税费 七(40) 344,357,096 449,716,675 24 其他应付款 七(41) 1,555,660,964 1,177,199,622 25 其中:应付利息 26 应付股利 27 应付手续费及佣金 28 应付分保账款 29 持有待售负债 30 一年内到期的非流动负债 七(43) 1,123,793,163 1,315,823,251 31 其他流动负债 300,984,971 32 流动负债合计 14,785,897,820 12,357,107,934 33 非流动负债: 34 保险合同准备金 35 长期借款 七(45) 1,193,000,000 1,246,875,075 36 应付债券 37 其中:优先股 38 永续债 39 租赁负债 七(47) 571,281,590 40 长期应付款 七(48) 72,490,512 41 长期应付职工薪酬 42 预计负债 43 递延收益 七(51) 673,448,373 536,834,206 44 递延所得税负债 七(30) 161,079,790 159,748,849 45 其他非流动负债 46 非流动负债合计 2,671,300,265 1,943,458,130 ```
{ "+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/37197/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37197/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37198
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37198/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37198/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37198/events
https://github.com/pandas-dev/pandas/pull/37198
723,793,238
MDExOlB1bGxSZXF1ZXN0NTA1MzA2OTYy
37,198
BUG: Regression in Resample.apply raised error when apply affected only a Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
2
2020-10-17T16:14:41Z
2020-10-21T10:46:18Z
2020-10-20T01:30:23Z
MEMBER
null
- [x] closes #36951 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Error was no longer caught as before. Sorry made a mistake when pushing...
{ "+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/37198/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37198/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37198.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37198", "merged_at": "2020-10-20T01:30:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37198.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37198" }
https://api.github.com/repos/pandas-dev/pandas/issues/37199
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37199/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37199/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37199/events
https://github.com/pandas-dev/pandas/pull/37199
723,795,283
MDExOlB1bGxSZXF1ZXN0NTA1MzA4NDM3
37,199
BUG: Non deterministic level order in MultiIndex with join
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-17T16:24:09Z
2020-10-25T19:19:14Z
2020-10-23T00:20:33Z
MEMBER
null
- [x] closes #36910 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This fixes the issue, if the number should be deterministic. If not, we should add a note in the 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/37199/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37199/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37199.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37199", "merged_at": "2020-10-23T00:20:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37199.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37199" }
https://api.github.com/repos/pandas-dev/pandas/issues/37200
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37200/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37200/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37200/events
https://github.com/pandas-dev/pandas/issues/37200
723,795,342
MDU6SXNzdWU3MjM3OTUzNDI=
37,200
DOC: excel format tag (binary) seems to be missing in the table output
{ "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": "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", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/1223213?v=4", "events_url": "https://api.github.com/users/knabben/events{/privacy}", "followers_url": "https://api.github.com/users/knabben/followers", "following_url": "https://api.github.com/users/knabben/following{/other_user}", "gists_url": "https://api.github.com/users/knabben/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/knabben", "id": 1223213, "login": "knabben", "node_id": "MDQ6VXNlcjEyMjMyMTM=", "organizations_url": "https://api.github.com/users/knabben/orgs", "received_events_url": "https://api.github.com/users/knabben/received_events", "repos_url": "https://api.github.com/users/knabben/repos", "site_admin": false, "starred_url": "https://api.github.com/users/knabben/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/knabben/subscriptions", "type": "User", "url": "https://api.github.com/users/knabben" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1223213?v=4", "events_url": "https://api.github.com/users/knabben/events{/privacy}", "followers_url": "https://api.github.com/users/knabben/followers", "following_url": "https://api.github.com/users/knabben/following{/other_user}", "gists_url": "https://api.github.com/users/knabben/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/knabben", "id": 1223213, "login": "knabben", "node_id": "MDQ6VXNlcjEyMjMyMTM=", "organizations_url": "https://api.github.com/users/knabben/orgs", "received_events_url": "https://api.github.com/users/knabben/received_events", "repos_url": "https://api.github.com/users/knabben/repos", "site_admin": false, "starred_url": "https://api.github.com/users/knabben/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/knabben/subscriptions", "type": "User", "url": "https://api.github.com/users/knabben" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-17T16:24:30Z
2020-10-17T18:36:33Z
2020-10-17T18:36:33Z
CONTRIBUTOR
null
https://pandas.pydata.org/docs/user_guide/io.html
{ "+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/37200/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37200/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37201
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37201/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37201/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37201/events
https://github.com/pandas-dev/pandas/pull/37201
723,804,392
MDExOlB1bGxSZXF1ZXN0NTA1MzE0NzQy
37,201
Backport PR #37181 on branch 1.1.x (BUG: Fix isin with read-only target)
{ "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-17T17:04:54Z
2020-10-17T18:56:41Z
2020-10-17T18:56:41Z
NONE
null
Backport PR #37181: BUG: Fix isin with read-only target
{ "+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/37201/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37201/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37201.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37201", "merged_at": "2020-10-17T18:56:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37201.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37201" }
https://api.github.com/repos/pandas-dev/pandas/issues/37202
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37202/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37202/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37202/events
https://github.com/pandas-dev/pandas/pull/37202
723,806,533
MDExOlB1bGxSZXF1ZXN0NTA1MzE2MjQx
37,202
DOC: update io-excel tag
{ "avatar_url": "https://avatars.githubusercontent.com/u/1223213?v=4", "events_url": "https://api.github.com/users/knabben/events{/privacy}", "followers_url": "https://api.github.com/users/knabben/followers", "following_url": "https://api.github.com/users/knabben/following{/other_user}", "gists_url": "https://api.github.com/users/knabben/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/knabben", "id": 1223213, "login": "knabben", "node_id": "MDQ6VXNlcjEyMjMyMTM=", "organizations_url": "https://api.github.com/users/knabben/orgs", "received_events_url": "https://api.github.com/users/knabben/received_events", "repos_url": "https://api.github.com/users/knabben/repos", "site_admin": false, "starred_url": "https://api.github.com/users/knabben/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/knabben/subscriptions", "type": "User", "url": "https://api.github.com/users/knabben" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-17T17:14:41Z
2020-10-17T18:36:37Z
2020-10-17T18:36:33Z
CONTRIBUTOR
null
- [x] closes #37200 - [ ] 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/37202/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37202/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37202.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37202", "merged_at": "2020-10-17T18:36:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37202.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37202" }
https://api.github.com/repos/pandas-dev/pandas/issues/37203
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37203/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37203/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37203/events
https://github.com/pandas-dev/pandas/pull/37203
723,819,617
MDExOlB1bGxSZXF1ZXN0NTA1MzI1ODg2
37,203
CLN: clean color selection in _matplotlib/style
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "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": "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-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-10-17T18:18:43Z
2020-11-04T02:18:10Z
2020-11-04T02:18:05Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry There was a comment in the top of the module that the code was a bit too dynamic. The logic in the function was too complex. I refactored the code - Extract functions - Simplify logic - Add type annotations Note: there is one issue with mypy, which I do not know how to handle. Currently I suggested to ignore the error.
{ "+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/37203/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37203/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37203.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37203", "merged_at": "2020-11-04T02:18:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37203.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37203" }
https://api.github.com/repos/pandas-dev/pandas/issues/37204
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37204/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37204/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37204/events
https://github.com/pandas-dev/pandas/pull/37204
723,825,216
MDExOlB1bGxSZXF1ZXN0NTA1MzMwMjIx
37,204
ENH: Support all Scipy window types in rolling(..., win_type)
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-17T18:49:01Z
2020-10-31T22:57:52Z
2020-10-31T15:34:38Z
MEMBER
null
- [x] closes #34556 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Additionally cleans up some helper methods
{ "+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/37204/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37204/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37204.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37204", "merged_at": "2020-10-31T15:34:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37204.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37204" }
https://api.github.com/repos/pandas-dev/pandas/issues/37205
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37205/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37205/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37205/events
https://github.com/pandas-dev/pandas/pull/37205
723,839,534
MDExOlB1bGxSZXF1ZXN0NTA1MzQwOTIw
37,205
BUG: Don't copy DataFrame columns as metadata
{ "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": "56efc9", "default": false, "description": "_metadata, .attrs", "id": 1539579994, "name": "metadata", "node_id": "MDU6TGFiZWwxNTM5NTc5OTk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-17T20:14:42Z
2020-10-28T11:33:02Z
2020-10-20T00:26:53Z
CONTRIBUTOR
null
See https://github.com/pandas-dev/pandas/pull/37186/files#r506978889. Basically, we don't want to accidentally do `series.name = dataframe.name` and try to set a column. cc @jorisvandenbossche. This could conceivably affect geopandas, since geodataframe has different metadata than geoseries: https://github.com/geopandas/geopandas/blob/924cdf65c7c15b01749d1cdd036c5c291e87b0f4/geopandas/geodataframe.py#L83 But I don't think it'll actually break anything for you.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37205/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37205/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37205.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37205", "merged_at": "2020-10-20T00:26:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37205.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37205" }
https://api.github.com/repos/pandas-dev/pandas/issues/37206
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37206/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37206/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37206/events
https://github.com/pandas-dev/pandas/pull/37206
723,844,046
MDExOlB1bGxSZXF1ZXN0NTA1MzQ0MzU2
37,206
DOC: remove debug messages by adding semicolons
{ "avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4", "events_url": "https://api.github.com/users/partev/events{/privacy}", "followers_url": "https://api.github.com/users/partev/followers", "following_url": "https://api.github.com/users/partev/following{/other_user}", "gists_url": "https://api.github.com/users/partev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/partev", "id": 23830955, "login": "partev", "node_id": "MDQ6VXNlcjIzODMwOTU1", "organizations_url": "https://api.github.com/users/partev/orgs", "received_events_url": "https://api.github.com/users/partev/received_events", "repos_url": "https://api.github.com/users/partev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/partev/subscriptions", "type": "User", "url": "https://api.github.com/users/partev" }
[ { "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": "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-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-17T20:42:33Z
2020-10-18T14:54:34Z
2020-10-18T14:54:30Z
CONTRIBUTOR
null
remove last few remaining debug messages that slipped through the cracks by adding semicolons after plot functions - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37206/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37206/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37206.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37206", "merged_at": "2020-10-18T14:54:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37206.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37206" }
https://api.github.com/repos/pandas-dev/pandas/issues/37207
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37207/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37207/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37207/events
https://github.com/pandas-dev/pandas/pull/37207
723,844,542
MDExOlB1bGxSZXF1ZXN0NTA1MzQ0NzQx
37,207
ENH: Support closed for fixed windows in rolling
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-17T20:45:53Z
2020-10-22T04:41:30Z
2020-10-22T00:21:11Z
MEMBER
null
- [x] closes #34315 - [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/37207/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37207/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37207.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37207", "merged_at": "2020-10-22T00:21:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37207.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37207" }
https://api.github.com/repos/pandas-dev/pandas/issues/37208
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37208/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37208/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37208/events
https://github.com/pandas-dev/pandas/pull/37208
723,854,390
MDExOlB1bGxSZXF1ZXN0NTA1MzUyMTk1
37,208
BUG: Join did not work correctly when one MultiIndex had only one level
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2020-10-17T21:51:17Z
2021-01-03T22:26:06Z
2021-01-03T22:22:53Z
MEMBER
null
- [x] closes #36909 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry ``droplevel`` for ``MultiIndex`` returns an ``Index`` when the resulting ``MultiIndex`` had only one level. But if the input had only one level and no level should be dropped, the return was a ``MultiIndex``. This did not seem consistent, so I changed it, that in this case an Index would be returned too. If this is not the desired behavior, we could fix the ``join`` problems after calling this functions. If this is not desired, we should add a note to the docstring, that the return for ``droplevel`` is a MultiIndex, if no level is dropped.
{ "+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/37208/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37208/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37208.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37208", "merged_at": "2021-01-03T22:22:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37208.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37208" }
https://api.github.com/repos/pandas-dev/pandas/issues/37209
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37209/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37209/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37209/events
https://github.com/pandas-dev/pandas/pull/37209
723,854,400
MDExOlB1bGxSZXF1ZXN0NTA1MzUyMjAz
37,209
DOC: add value counts as related method to count
{ "avatar_url": "https://avatars.githubusercontent.com/u/2754821?v=4", "events_url": "https://api.github.com/users/erictleung/events{/privacy}", "followers_url": "https://api.github.com/users/erictleung/followers", "following_url": "https://api.github.com/users/erictleung/following{/other_user}", "gists_url": "https://api.github.com/users/erictleung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erictleung", "id": 2754821, "login": "erictleung", "node_id": "MDQ6VXNlcjI3NTQ4MjE=", "organizations_url": "https://api.github.com/users/erictleung/orgs", "received_events_url": "https://api.github.com/users/erictleung/received_events", "repos_url": "https://api.github.com/users/erictleung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erictleung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erictleung/subscriptions", "type": "User", "url": "https://api.github.com/users/erictleung" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-17T21:51:22Z
2020-11-09T05:09:36Z
2020-10-22T23:54:09Z
CONTRIBUTOR
null
Counting values using `.value_counts()`, more generally, is a counting task, so it felt natural to link the `.count()` page to `.value_counts()`. I copied the description for `.value_counts()` from the "See also" box in [`.drop_duplicates()`](https://github.com/pandas-dev/pandas/blob/9fed16cd4c302e47383480361260d63dc23cbefc/pandas/core/frame.py#L5102). - [ ] 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/37209/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37209/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37209.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37209", "merged_at": "2020-10-22T23:54:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37209.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37209" }
https://api.github.com/repos/pandas-dev/pandas/issues/37210
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37210/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37210/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37210/events
https://github.com/pandas-dev/pandas/issues/37210
723,861,329
MDU6SXNzdWU3MjM4NjEzMjk=
37,210
ENH: DataFrame.to_sql with if_exists='replace' should do truncate table instead of drop table
{ "avatar_url": "https://avatars.githubusercontent.com/u/6429271?v=4", "events_url": "https://api.github.com/users/tokorhon/events{/privacy}", "followers_url": "https://api.github.com/users/tokorhon/followers", "following_url": "https://api.github.com/users/tokorhon/following{/other_user}", "gists_url": "https://api.github.com/users/tokorhon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tokorhon", "id": 6429271, "login": "tokorhon", "node_id": "MDQ6VXNlcjY0MjkyNzE=", "organizations_url": "https://api.github.com/users/tokorhon/orgs", "received_events_url": "https://api.github.com/users/tokorhon/received_events", "repos_url": "https://api.github.com/users/tokorhon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tokorhon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tokorhon/subscriptions", "type": "User", "url": "https://api.github.com/users/tokorhon" }
[ { "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
4
2020-10-17T22:39:28Z
2021-09-22T15:16:52Z
null
NONE
null
#### Is your feature request related to a problem? Dropping table when if_exists=‘replace’ will fail if the table has any objects, like a view, depending on it. Also, some databases like Oracle will end a transaction implicitly when a DLL statement like 'drop table' is issued. #### Describe the solution you'd like Better alternative would be to issue 'truncate table' command instead. #### API breaking implications Should not have any changes on API #### Describe alternatives you've considered As above or a new flag if_exists=‘truncate’
{ "+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/37210/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37210/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37211
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37211/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37211/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37211/events
https://github.com/pandas-dev/pandas/pull/37211
723,867,323
MDExOlB1bGxSZXF1ZXN0NTA1MzYxOTAz
37,211
BUG: Join behaved like an inner join when only one side had MultiIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "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", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
5
2020-10-17T23:28:47Z
2021-06-16T13:49:40Z
2021-06-16T13:49:40Z
MEMBER
null
- [x] closes #34292 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry We can use the regular path now, since ``droplevel`` can handle an ``Index``. Only difference is a resorted result, because ``Index.join()`` does not preserve the order of the leading input ``` left = pd.Index([0, 1, 2, 1], name="b") right = pd.Index([1, 2, 5], name="b") print(left.join(right, how="left")) ``` returns ``` Int64Index([0, 1, 1, 2], dtype='int64', name='b') ``` Edit: We may be able to delete the ``_join_level`` function, if we add a ``level`` keyword to the ``_join_multi`` function to determine the overlap.
{ "+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/37211/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37211/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37211.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37211", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37211.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37211" }
https://api.github.com/repos/pandas-dev/pandas/issues/37212
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37212/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37212/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37212/events
https://github.com/pandas-dev/pandas/pull/37212
723,877,781
MDExOlB1bGxSZXF1ZXN0NTA1MzcwMDYy
37,212
TYP: core.window
{ "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-18T00:50:59Z
2020-10-18T17:49:26Z
2020-10-18T14:57:00Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37212/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37212/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37212.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37212", "merged_at": "2020-10-18T14:57:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37212.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37212" }
https://api.github.com/repos/pandas-dev/pandas/issues/37213
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37213/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37213/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37213/events
https://github.com/pandas-dev/pandas/issues/37213
723,878,093
MDU6SXNzdWU3MjM4NzgwOTM=
37,213
QST: How to handle Index._id in an Index subclass?
{ "avatar_url": "https://avatars.githubusercontent.com/u/6628425?v=4", "events_url": "https://api.github.com/users/spencerkclark/events{/privacy}", "followers_url": "https://api.github.com/users/spencerkclark/followers", "following_url": "https://api.github.com/users/spencerkclark/following{/other_user}", "gists_url": "https://api.github.com/users/spencerkclark/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/spencerkclark", "id": 6628425, "login": "spencerkclark", "node_id": "MDQ6VXNlcjY2Mjg0MjU=", "organizations_url": "https://api.github.com/users/spencerkclark/orgs", "received_events_url": "https://api.github.com/users/spencerkclark/received_events", "repos_url": "https://api.github.com/users/spencerkclark/repos", "site_admin": false, "starred_url": "https://api.github.com/users/spencerkclark/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/spencerkclark/subscriptions", "type": "User", "url": "https://api.github.com/users/spencerkclark" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-18T00:53:38Z
2020-10-22T23:31:02Z
2020-10-22T23:31:02Z
CONTRIBUTOR
null
- [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas In xarray we make use of an `Index` subclass for datetime-like indexing with non-standard calendars, which we call `CFTimeIndex`. A recent change, #37087, led to some test failures on our end. We currently do not define an `_id` attribute on our subclass, so we are vulnerable to the kinds of attribute errors illustrated below (note this example requires the [xarray](https://github.com/pydata/xarray) and [cftime](https://github.com/Unidata/cftime) libraries be installed, with the development version of pandas): ``` In [1]: import xarray as xr In [2]: xr.cftime_range("2000", periods=2).view() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-2-5226cd5e3bc1> in <module> ----> 1 xr.cftime_range("2000", periods=2).view() ~/Software/pandas/pandas/core/indexes/base.py in view(self, cls) 630 result = self._shallow_copy() 631 if isinstance(result, Index): --> 632 result._id = self._id 633 return result 634 AttributeError: 'CFTimeIndex' object has no attribute '_id' ``` Where possible, we try to avoid using private methods/attributes on our subclass. In this case would you recommend we go against that by setting the `_id` attribute, e.g. by using `_reset_identity` in our constructor, or would it be possible to continue to have `_id` be somewhat of an optional attribute of `Index` objects in 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/37213/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37213/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37214
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37214/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37214/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37214/events
https://github.com/pandas-dev/pandas/pull/37214
723,884,971
MDExOlB1bGxSZXF1ZXN0NTA1Mzc1NDg3
37,214
DOC: macOS is the new name for Mac OS
{ "avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4", "events_url": "https://api.github.com/users/partev/events{/privacy}", "followers_url": "https://api.github.com/users/partev/followers", "following_url": "https://api.github.com/users/partev/following{/other_user}", "gists_url": "https://api.github.com/users/partev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/partev", "id": 23830955, "login": "partev", "node_id": "MDQ6VXNlcjIzODMwOTU1", "organizations_url": "https://api.github.com/users/partev/orgs", "received_events_url": "https://api.github.com/users/partev/received_events", "repos_url": "https://api.github.com/users/partev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/partev/subscriptions", "type": "User", "url": "https://api.github.com/users/partev" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-18T01:55:15Z
2020-10-18T15:00:18Z
2020-10-18T15:00:14Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37214/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37214/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37214.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37214", "merged_at": "2020-10-18T15:00:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37214.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37214" }
https://api.github.com/repos/pandas-dev/pandas/issues/37215
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37215/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37215/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37215/events
https://github.com/pandas-dev/pandas/pull/37215
723,907,319
MDExOlB1bGxSZXF1ZXN0NTA1MzkyMTA3
37,215
CLN: de-duplicate in arithmetic/test_numeric
{ "avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4", "events_url": "https://api.github.com/users/ivanovmg/events{/privacy}", "followers_url": "https://api.github.com/users/ivanovmg/followers", "following_url": "https://api.github.com/users/ivanovmg/following{/other_user}", "gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivanovmg", "id": 41443370, "login": "ivanovmg", "node_id": "MDQ6VXNlcjQxNDQzMzcw", "organizations_url": "https://api.github.com/users/ivanovmg/orgs", "received_events_url": "https://api.github.com/users/ivanovmg/received_events", "repos_url": "https://api.github.com/users/ivanovmg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions", "type": "User", "url": "https://api.github.com/users/ivanovmg" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-18T05:13:57Z
2020-10-20T05:47:18Z
2020-10-20T00:29:12Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry - Move one test to another one parametrized. - Address one part of TODO item
{ "+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/37215/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37215/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37215.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37215", "merged_at": "2020-10-20T00:29:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37215.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37215" }
https://api.github.com/repos/pandas-dev/pandas/issues/37216
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37216/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37216/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37216/events
https://github.com/pandas-dev/pandas/issues/37216
723,956,445
MDU6SXNzdWU3MjM5NTY0NDU=
37,216
BUG:cannot perform __truediv__ with this index type: DatetimeArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/6410591?v=4", "events_url": "https://api.github.com/users/syejing/events{/privacy}", "followers_url": "https://api.github.com/users/syejing/followers", "following_url": "https://api.github.com/users/syejing/following{/other_user}", "gists_url": "https://api.github.com/users/syejing/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/syejing", "id": 6410591, "login": "syejing", "node_id": "MDQ6VXNlcjY0MTA1OTE=", "organizations_url": "https://api.github.com/users/syejing/orgs", "received_events_url": "https://api.github.com/users/syejing/received_events", "repos_url": "https://api.github.com/users/syejing/repos", "site_admin": false, "starred_url": "https://api.github.com/users/syejing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/syejing/subscriptions", "type": "User", "url": "https://api.github.com/users/syejing" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
3
2020-10-18T08:27:53Z
2020-10-19T02:23:55Z
2020-10-19T02:23:55Z
NONE
null
#### Code Sample, a copy-pastable example ```python df_price_new.pct_change() ``` #### Problem description Index is time, column is 300 stock names, calculating the growth rate, pandas reported an error df_price_new.info() <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 81 entries, 2019-09-02 to 2019-12-31 Columns: 300 entries, 000001.SZ to 603993.SH dtypes: datetime64[ns](1), float64(299) memory usage: 190.5 KB #### Expected Output --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-27-de16c3a3e118> in <module> ----> 1 df_price_new.pct_change() d:\Anaconda3\lib\site-packages\pandas\core\generic.py in pct_change(self, periods, fill_method, limit, freq, **kwargs) 10239 data = _data 10240 > 10241 rs = data.div(data.shift(periods=periods, freq=freq, axis=axis, **kwargs)) - 1 10242 if freq is not None: 10243 # Shift method is implemented differently when freq is not None d:\Anaconda3\lib\site-packages\pandas\core\ops\__init__.py in f(self, other, axis, level, fill_value) 649 if isinstance(other, ABCDataFrame): 650 # Another DataFrame --> 651 new_data = self._combine_frame(other, na_op, fill_value) 652 653 elif isinstance(other, ABCSeries): d:\Anaconda3\lib\site-packages\pandas\core\frame.py in _combine_frame(self, other, func, fill_value) 5864 return func(left, right) 5865 -> 5866 new_data = ops.dispatch_to_series(self, other, _arith_op) 5867 return new_data 5868 d:\Anaconda3\lib\site-packages\pandas\core\ops\__init__.py in dispatch_to_series(left, right, func, axis) 273 # _frame_arith_method_with_reindex 274 --> 275 bm = left._mgr.operate_blockwise(right._mgr, array_op) 276 return type(left)(bm) 277 d:\Anaconda3\lib\site-packages\pandas\core\internals\managers.py in operate_blockwise(self, other, array_op) 362 Apply array_op blockwise with another (aligned) BlockManager. 363 """ --> 364 return operate_blockwise(self, other, array_op) 365 366 def apply(self: T, f, align_keys=None, **kwargs) -> T: d:\Anaconda3\lib\site-packages\pandas\core\internals\ops.py in operate_blockwise(left, right, array_op) 36 lvals, rvals = _get_same_shape_values(blk, rblk, left_ea, right_ea) 37 ---> 38 res_values = array_op(lvals, rvals) 39 if left_ea and not right_ea and hasattr(res_values, "reshape"): 40 res_values = res_values.reshape(1, -1) d:\Anaconda3\lib\site-packages\pandas\core\ops\array_ops.py in arithmetic_op(left, right, op) 184 if should_extension_dispatch(lvalues, rvalues) or isinstance(rvalues, Timedelta): 185 # Timedelta is included because numexpr will fail on it, see GH#31457 --> 186 res_values = op(lvalues, rvalues) 187 188 else: d:\Anaconda3\lib\site-packages\pandas\core\ops\invalid.py in invalid_op(self, other) 51 def invalid_op(self, other=None): 52 typ = type(self).__name__ ---> 53 raise TypeError(f"cannot perform {name} with this index type: {typ}") 54 55 invalid_op.__name__ = name TypeError: cannot perform __truediv__ with this index type: DatetimeArray #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.3.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.15063 machine : AMD64 processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Chinese (Simplified)_China.936 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 49.2.0.post20200714 Cython : 0.29.21 pytest : 5.4.3 hypothesis : None sphinx : 3.1.2 blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : 0.9.2 psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: 0.9.0 bs4 : 4.9.1 bottleneck : 1.3.2 fsspec : 0.7.4 fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.4 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.18 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.50.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37216/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37216/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37217
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37217/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37217/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37217/events
https://github.com/pandas-dev/pandas/issues/37217
723,996,038
MDU6SXNzdWU3MjM5OTYwMzg=
37,217
BUG: pytables index expressions fail in Python 3.9
{ "avatar_url": "https://avatars.githubusercontent.com/u/8066014?v=4", "events_url": "https://api.github.com/users/rebecca-palmer/events{/privacy}", "followers_url": "https://api.github.com/users/rebecca-palmer/followers", "following_url": "https://api.github.com/users/rebecca-palmer/following{/other_user}", "gists_url": "https://api.github.com/users/rebecca-palmer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rebecca-palmer", "id": 8066014, "login": "rebecca-palmer", "node_id": "MDQ6VXNlcjgwNjYwMTQ=", "organizations_url": "https://api.github.com/users/rebecca-palmer/orgs", "received_events_url": "https://api.github.com/users/rebecca-palmer/received_events", "repos_url": "https://api.github.com/users/rebecca-palmer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rebecca-palmer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rebecca-palmer/subscriptions", "type": "User", "url": "https://api.github.com/users/rebecca-palmer" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "72e24d", "default": false, "description": "", "id": 1971420228, "name": "Python 3.9", "node_id": "MDU6TGFiZWwxOTcxNDIwMjI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
4
2020-10-18T12:27:16Z
2020-11-28T17:49:46Z
2020-11-28T17:49:46Z
CONTRIBUTOR
null
- [ y] I have checked that this issue has not already been reported. (Here - it [has in Debian](https://bugs.debian.org/972033)) - [ y] I have confirmed this bug exists on the latest version of pandas. - [ y] (optional) I have confirmed this bug exists on the master branch of pandas. (Though with a mix of Debian and pip dependencies, as pip doesn't have them all for 3.9 yet.) --- #### Code Sample, a copy-pastable example The tests in tests/io/pytables/test_store.py, or ```python import pandas as pd;from pandas.io.pytables import HDFStore;s1=HDFStore("tmp1.h5","w");df=pd.DataFrame([[1,2,3],[4,5,6]],columns=['A','B','C']);s1.append("d1",df,data_columns=["B"]);df2=s1.select("d1","index>df.index[0]");print(type(df2.index[0])) ``` #### Problem description In Python 3.9, HDFStore.Select fails if it involves an index expression, with this traceback: ``` self = <DatetimeArray> ['2000-01-03 00:00:00', '2000-01-04 00:00:00', '2000-01-05 00:00:00', '2000-01-06 00:00:00', '2000-01...2-08 00:00:00', '2000-02-09 00:00:00', '2000-02-10 00:00:00', '2000-02-11 00:00:00'] Length: 30, dtype: datetime64[ns] key = 4 def __getitem__(self, key): if lib.is_integer(key): # fast-path result = self._ndarray[key] if self.ndim == 1: return self._box_func(result) return self._from_backing_data(result) key = extract_array(key, extract_numpy=True) key = check_array_indexer(self, key) > result = self._ndarray[key] E IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices pandas/core/arrays/_mixins.py:200: IndexError ``` The debugger says key is a pandas.core.computation.pytables.Constant, while in Python 3.8 (where this works) it is a plain int. The underlying cause may be [Python replacing ast.Index with bare values](https://docs.python.org/3/library/ast.html#ast.AST). The CI may have missed this because it [skips optional dependencies on 3.9](https://github.com/pandas-dev/pandas/blob/master/.travis.yml#L97) (to avoid having to build them). #### Possible fix Warning: not fully tested. ``` --- a/pandas/core/computation/pytables.py +++ b/pandas/core/computation/pytables.py @@ -429,6 +429,10 @@ class PyTablesExprVisitor(BaseExprVisito value = value.value except AttributeError: pass + try: + slobj = slobj.value + except AttributeError: + pass try: return self.const_type(value[slobj], self.env) ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.9.0.final.0 python-bits : 64 OS : Linux OS-release : 4.19.0-11-amd64 Version : #1 SMP Debian 4.19.146-1 (2020-09-17) machine : x86_64 processor : byteorder : little LC_ALL : C LANG : C LOCALE : None.None pandas : 0+unknown numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 50.3.0 Cython : 0.29.21 pytest : 6.1.1 hypothesis : 5.32.1 sphinx : 3.2.1 blosc : 1.9.2 feather : None xlsxwriter : 1.1.2 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.2.1 fsspec : 0.8.4 fastparquet : None gcsfs : 0.7.1 matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : 0.5.1 scipy : 1.5.2 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : 0.8.7 xarray : None xlrd : 1.1.0 xlwt : 1.3.0 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/37217/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37217/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37218
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37218/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37218/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37218/events
https://github.com/pandas-dev/pandas/issues/37218
723,999,175
MDU6SXNzdWU3MjM5OTkxNzU=
37,218
BUG: Wrong results and SegFaults when indexing with uint arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/17546299?v=4", "events_url": "https://api.github.com/users/HagaiHargil/events{/privacy}", "followers_url": "https://api.github.com/users/HagaiHargil/followers", "following_url": "https://api.github.com/users/HagaiHargil/following{/other_user}", "gists_url": "https://api.github.com/users/HagaiHargil/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HagaiHargil", "id": 17546299, "login": "HagaiHargil", "node_id": "MDQ6VXNlcjE3NTQ2Mjk5", "organizations_url": "https://api.github.com/users/HagaiHargil/orgs", "received_events_url": "https://api.github.com/users/HagaiHargil/received_events", "repos_url": "https://api.github.com/users/HagaiHargil/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HagaiHargil/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HagaiHargil/subscriptions", "type": "User", "url": "https://api.github.com/users/HagaiHargil" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
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-10-18T12:44:37Z
2020-10-30T22:45:57Z
2020-10-30T22:45:57Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np ser = pd.Series([1, 2, 3]) arr8 = np.array([4], dtype=np.uint8) arr16 = np.array([4], dtype=np.uint16) arr32 = np.array([4], dtype=np.uint32) arr64 = np.array([4], dtype=np.uint64) print(ser[arr8]) # prints random number, probably out-of-bounds memory address print(ser[arr16]) # prints random number, probably out-of-bounds memory address print(ser[arr32]) # segfault print(ser[arr64]) # correctly returns a KeyError ``` #### Problem description Indexing into a Series without `.iloc` or `.loc` using an unsigned integer that points outside of the Series sometimes results in pandas returning some bogus value, and sometimes causes a segfault. I wasn't able to reproduce this behavior with signed integer arrays. #### Expected Output I assume that these queries should return a KeyError. #### Output of ``pd.show_versions()`` I confirmed the bug with the following two versions: <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.19.147-1-MANJARO machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_IL.UTF-8 LOCALE : en_IL.UTF-8 pandas : 1.0.3 numpy : 1.17.1 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.19 pytest : 5.1.2 hypothesis : None sphinx : 2.4.4 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : 0.9.3 psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.1 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.1.2 pyxlsb : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : 0.15.1 xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.45.1 </details> <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.19.147-1-MANJARO machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_IL.UTF-8 LOCALE : en_IL.UTF-8 pandas : 1.0.3 numpy : 1.17.1 pytz : 2019.2 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.19 pytest : 5.1.2 hypothesis : None sphinx : 2.4.4 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : 0.9.3 psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.1 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.1.2 pyxlsb : None s3fs : None scipy : 1.3.1 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : 0.15.1 xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.45.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37218/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37218/timeline
null
null
null