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/36117
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36117/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36117/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36117/events
|
https://github.com/pandas-dev/pandas/pull/36117
| 693,229,552
|
MDExOlB1bGxSZXF1ZXN0NDc5NzM4NzEw
| 36,117
|
Backport PR #36061 on branch 1.1.x (BUG: groupby and agg on read-only array gives ValueError: buffer source array is read-only)
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-04T14:28:47Z
| 2020-09-04T17:59:04Z
| 2020-09-04T15:14:26Z
|
NONE
| null |
Backport PR #36061: BUG: groupby and agg on read-only array gives ValueError: buffer source array is read-only
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36117/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36117/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36117.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36117",
"merged_at": "2020-09-04T15:14:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36117.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36117"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36118
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36118/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36118/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36118/events
|
https://github.com/pandas-dev/pandas/pull/36118
| 693,230,861
|
MDExOlB1bGxSZXF1ZXN0NDc5NzM5ODYz
| 36,118
|
REGR: ensure closed attribute of IntervalIndex is preserved in pickle roundtrip
|
{
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
},
{
"color": "6c1cdb",
"default": false,
"description": "read_pickle, to_pickle",
"id": 1625435109,
"name": "IO Pickle",
"node_id": "MDU6TGFiZWwxNjI1NDM1MTA5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Pickle"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 2
| 2020-09-04T14:30:02Z
| 2020-09-04T15:59:48Z
| 2020-09-04T15:17:10Z
|
MEMBER
| null |
Closes #35658
cc @jbrockmendel
(I suppose the long term way would rather to properly pickle the IntervalArray itself and restore from that, instead of restoring from the left/right arrays, but would rather leave such a change for 1.2)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36118/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36118/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36118.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36118",
"merged_at": "2020-09-04T15:17:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36118.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36118"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36119
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36119/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36119/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36119/events
|
https://github.com/pandas-dev/pandas/pull/36119
| 693,333,012
|
MDExOlB1bGxSZXF1ZXN0NDc5ODMxNTI5
| 36,119
|
Backport PR #36118 on branch 1.1.x (REGR: ensure closed attribute of IntervalIndex is preserved in pickle roundtrip)
|
{
"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": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
},
{
"color": "6c1cdb",
"default": false,
"description": "read_pickle, to_pickle",
"id": 1625435109,
"name": "IO Pickle",
"node_id": "MDU6TGFiZWwxNjI1NDM1MTA5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Pickle"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-04T15:59:58Z
| 2020-09-04T17:49:50Z
| 2020-09-04T17:49:50Z
|
NONE
| null |
Backport PR #36118: REGR: ensure closed attribute of IntervalIndex is preserved in pickle roundtrip
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36119/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36119/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36119.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36119",
"merged_at": "2020-09-04T17:49:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36119.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36119"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36120
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36120/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36120/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36120/events
|
https://github.com/pandas-dev/pandas/pull/36120
| 693,351,326
|
MDExOlB1bGxSZXF1ZXN0NDc5ODQ3NDUy
| 36,120
|
TYP: io
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-09-04T16:17:42Z
| 2020-09-04T17:53:49Z
| 2020-09-04T17:34:50Z
|
MEMBER
| null |
@simonjayhawkins are there any typing-related areas that you'd suggest I prioritize?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36120/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36120/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36120.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36120",
"merged_at": "2020-09-04T17:34:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36120.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36120"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36121
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36121/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36121/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36121/events
|
https://github.com/pandas-dev/pandas/pull/36121
| 693,376,581
|
MDExOlB1bGxSZXF1ZXN0NDc5ODcwMzAy
| 36,121
|
Bug 29764 groupby loses index name sometimes
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
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-09-04T16:42:54Z
| 2020-09-05T19:04:08Z
| 2020-09-05T03:18:13Z
|
MEMBER
| null |
- [x] closes #29764
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry´
Issue was fixed for sum and any with c9144ca54dcc924995acae3d9dcb890a5802d7c0.
So the only thing left was to add the index name in `_wrap_transformed_output`. I kept the tests from #33111, to show, that alle cases are now handled correctly.
I hope it is okay, to add a new PR for 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/36121/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36121/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36121.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36121",
"merged_at": "2020-09-05T03:18:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36121.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36121"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36122
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36122/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36122/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36122/events
|
https://github.com/pandas-dev/pandas/issues/36122
| 693,379,165
|
MDU6SXNzdWU2OTMzNzkxNjU=
| 36,122
|
Regression in pandas/io/excel/_odfreader.py (UnboundLocalError: local variable 'spaces' referenced before assignment)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3696165?v=4",
"events_url": "https://api.github.com/users/cpbl/events{/privacy}",
"followers_url": "https://api.github.com/users/cpbl/followers",
"following_url": "https://api.github.com/users/cpbl/following{/other_user}",
"gists_url": "https://api.github.com/users/cpbl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpbl",
"id": 3696165,
"login": "cpbl",
"node_id": "MDQ6VXNlcjM2OTYxNjU=",
"organizations_url": "https://api.github.com/users/cpbl/orgs",
"received_events_url": "https://api.github.com/users/cpbl/received_events",
"repos_url": "https://api.github.com/users/cpbl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpbl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpbl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpbl"
}
|
[
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 2
| 2020-09-04T16:45:44Z
| 2020-09-14T11:29:05Z
| 2020-09-13T22:57:45Z
|
NONE
| null |
An OpenDocument spreadsheet with a single cell containing a superscript causes a `UnboundLocalError: local variable 'spaces' referenced before assignment` crash in Pandas.
I'm attaching the .ods file.
This used to work fine (one month ago on my machine). I tried upgrading to Pandas 1.1.1 and get the same bug. It looks like what's below:
```
In [2]: import pandas as pd
In [3]: pd.read_excel('/home/meuser/tmp/pandas-bug.ods', sheet_name='Sheet1', engine='odf')
---------------------------------------------------------------------------
UnboundLocalError Traceback (most recent call last)
<ipython-input-3-0fec79f4321d> in <module>
----> 1 pd.read_excel('/home/meuser/tmp/pandas-bug.ods', sheet_name='Sheet1', engine='odf')
~/.local/lib/python3.8/site-packages/pandas/util/_decorators.py in wrapper(*args, **kwargs)
294 )
295 warnings.warn(msg, FutureWarning, stacklevel=stacklevel)
--> 296 return func(*args, **kwargs)
297
298 return wrapper
~/.local/lib/python3.8/site-packages/pandas/io/excel/_base.py in read_excel(io, sheet_name, header, names, index_col, usecols, squeeze, dtype, engine, converters, true_values, false_values, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, parse_dates, date_parser, thousands, comment, skipfooter, convert_float, mangle_dupe_cols)
309 )
310
--> 311 return io.parse(
312 sheet_name=sheet_name,
313 header=header,
~/.local/lib/python3.8/site-packages/pandas/io/excel/_base.py in parse(self, sheet_name, header, names, index_col, usecols, squeeze, converters, true_values, false_values, skiprows, nrows, na_values, parse_dates, date_parser, thousands, comment, skipfooter, convert_float, mangle_dupe_cols, **kwds)
904 DataFrame from the passed in Excel file.
905 """
--> 906 return self._reader.parse(
907 sheet_name=sheet_name,
908 header=header,
~/.local/lib/python3.8/site-packages/pandas/io/excel/_base.py in parse(self, sheet_name, header, names, index_col, usecols, squeeze, dtype, true_values, false_values, skiprows, nrows, na_values, verbose, parse_dates, date_parser, thousands, comment, skipfooter, convert_float, mangle_dupe_cols, **kwds)
441 sheet = self.get_sheet_by_index(asheetname)
442
--> 443 data = self.get_sheet_data(sheet, convert_float)
444 usecols = _maybe_convert_usecols(usecols)
445
~/.local/lib/python3.8/site-packages/pandas/io/excel/_odfreader.py in get_sheet_data(self, sheet, convert_float)
89 for j, sheet_cell in enumerate(sheet_cells):
90 if sheet_cell.qname == table_cell_name:
---> 91 value = self._get_cell_value(sheet_cell, convert_float)
92 else:
93 value = self.empty_value
~/.local/lib/python3.8/site-packages/pandas/io/excel/_odfreader.py in _get_cell_value(self, cell, convert_float)
173 return float(cell_value)
174 elif cell_type == "string":
--> 175 return self._get_cell_string_value(cell)
176 elif cell_type == "currency":
177 cell_value = cell.attributes.get((OFFICENS, "value"))
~/.local/lib/python3.8/site-packages/pandas/io/excel/_odfreader.py in _get_cell_string_value(self, cell)
209 if fragment.qname == text_s:
210 spaces = int(fragment.attributes.get((TEXTNS, "c"), 1))
--> 211 value.append(" " * spaces)
212 return "".join(value)
UnboundLocalError: local variable 'spaces' referenced before assignment
> /home/meuser/.local/lib/python3.8/site-packages/pandas/io/excel/_odfreader.py(211)_get_cell_string_value()
208 elif isinstance(fragment, Element):
209 if fragment.qname == text_s:
210 spaces = int(fragment.attributes.get((TEXTNS, "c"), 1))
--> 211 value.append(" " * spaces)
212 return "".join(value)
```
[pandas-bug.zip](https://github.com/pandas-dev/pandas/files/5176030/pandas-bug.zip)
Versions:
In [2]: pd.show_versions()
```
INSTALLED VERSIONS
------------------
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07
python : 3.8.2.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-45-generic
Version : #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_CA.UTF-8
LOCALE : en_CA.UTF-8
pandas : 1.1.1
numpy : 1.17.4
pytz : 2019.3
dateutil : 2.7.3
pip : 20.0.2
setuptools : 45.2.0
Cython : 0.29.21
pytest : 4.6.9
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
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.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.1.0
xlwt : 1.3.0
numba : None
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36122/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36122/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36123
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36123/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36123/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36123/events
|
https://github.com/pandas-dev/pandas/issues/36123
| 693,463,817
|
MDU6SXNzdWU2OTM0NjM4MTc=
| 36,123
|
BUG: GroupBy.mean() is extremely slow with sparse arrays
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1140359?v=4",
"events_url": "https://api.github.com/users/gokceneraslan/events{/privacy}",
"followers_url": "https://api.github.com/users/gokceneraslan/followers",
"following_url": "https://api.github.com/users/gokceneraslan/following{/other_user}",
"gists_url": "https://api.github.com/users/gokceneraslan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gokceneraslan",
"id": 1140359,
"login": "gokceneraslan",
"node_id": "MDQ6VXNlcjExNDAzNTk=",
"organizations_url": "https://api.github.com/users/gokceneraslan/orgs",
"received_events_url": "https://api.github.com/users/gokceneraslan/received_events",
"repos_url": "https://api.github.com/users/gokceneraslan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gokceneraslan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gokceneraslan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gokceneraslan"
}
|
[
{
"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"
},
{
"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"
}
] |
open
| false
| null |
[] | null | 7
| 2020-09-04T18:18:44Z
| 2021-08-13T02:18:25Z
| 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.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
np.random.seed(0)
df = pd.DataFrame(np.random.rand(1000, 1000) > 0.8, dtype=int)
df['g'] = ['A' if x else 'B' for x in np.random.rand(1000) > 0.5]
%timeit -n 3 -r 5 df.groupby('g').mean()
sdf = df.set_index('g').astype('Sparse[int]').reset_index()
%timeit -n 3 -r 5 sdf.groupby('g').mean()
```
Output:
Dense:
`11 ms ± 430 µs per loop (mean ± std. dev. of 5 runs, 3 loops each)`
Sparse:
`3.91 s ± 33.5 ms per loop (mean ± std. dev. of 5 runs, 3 loops each)`
or subset of a real-word dataset:
```python
import pandas as pd
df = pd.read_csv('https://github.com/pandas-dev/pandas/files/5176354/pbmc-sparse-df.csv.gz',
index_col=0).astype(int).reset_index()
%timeit -n 3 -r 5 df.groupby('Cell type').mean()
sdf = df.set_index('Cell type').astype(pd.SparseDtype(int, fill_value=0)).reset_index()
%timeit -n 3 -r 5 sdf.groupby('Cell type').mean()
```
Output:
Dense:
`9.2 ms ± 403 µs per loop (mean ± std. dev. of 5 runs, 3 loops each)`
Sparse:
`3.73 s ± 126 ms per loop (mean ± std. dev. of 5 runs, 3 loops each)`
#### Problem description
`GroupBy.mean()` with the SparseArray seems extremely slow compared to dense matrices (here around 355 times).
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.1
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.1
setuptools : 49.2.1.post20200802
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.17.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.0
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.50.1
</details>
I attached the file here for reproducibility.
[pbmc-sparse-df.csv.gz](https://github.com/pandas-dev/pandas/files/5176354/pbmc-sparse-df.csv.gz)
|
{
"+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/36123/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36123/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36124
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36124/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36124/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36124/events
|
https://github.com/pandas-dev/pandas/issues/36124
| 693,516,220
|
MDU6SXNzdWU2OTM1MTYyMjA=
| 36,124
|
ENH: Display IntEnums by name rather then value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16160230?v=4",
"events_url": "https://api.github.com/users/dzimmanck/events{/privacy}",
"followers_url": "https://api.github.com/users/dzimmanck/followers",
"following_url": "https://api.github.com/users/dzimmanck/following{/other_user}",
"gists_url": "https://api.github.com/users/dzimmanck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dzimmanck",
"id": 16160230,
"login": "dzimmanck",
"node_id": "MDQ6VXNlcjE2MTYwMjMw",
"organizations_url": "https://api.github.com/users/dzimmanck/orgs",
"received_events_url": "https://api.github.com/users/dzimmanck/received_events",
"repos_url": "https://api.github.com/users/dzimmanck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dzimmanck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dzimmanck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dzimmanck"
}
|
[
{
"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": "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"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16160230?v=4",
"events_url": "https://api.github.com/users/dzimmanck/events{/privacy}",
"followers_url": "https://api.github.com/users/dzimmanck/followers",
"following_url": "https://api.github.com/users/dzimmanck/following{/other_user}",
"gists_url": "https://api.github.com/users/dzimmanck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dzimmanck",
"id": 16160230,
"login": "dzimmanck",
"node_id": "MDQ6VXNlcjE2MTYwMjMw",
"organizations_url": "https://api.github.com/users/dzimmanck/orgs",
"received_events_url": "https://api.github.com/users/dzimmanck/received_events",
"repos_url": "https://api.github.com/users/dzimmanck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dzimmanck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dzimmanck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dzimmanck"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/16160230?v=4",
"events_url": "https://api.github.com/users/dzimmanck/events{/privacy}",
"followers_url": "https://api.github.com/users/dzimmanck/followers",
"following_url": "https://api.github.com/users/dzimmanck/following{/other_user}",
"gists_url": "https://api.github.com/users/dzimmanck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dzimmanck",
"id": 16160230,
"login": "dzimmanck",
"node_id": "MDQ6VXNlcjE2MTYwMjMw",
"organizations_url": "https://api.github.com/users/dzimmanck/orgs",
"received_events_url": "https://api.github.com/users/dzimmanck/received_events",
"repos_url": "https://api.github.com/users/dzimmanck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dzimmanck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dzimmanck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dzimmanck"
}
] | null | 15
| 2020-09-04T19:16:21Z
| 2020-10-02T23:30:22Z
| null |
NONE
| null |
#### Is your feature request related to a problem?
When displaying dataframes that contain IntEnums in the index, columns, or data, it would be nice if they displayed similar to Enum types by using the Enum names that correspond to the value rather then the integer values, which somewhat defeats the prupose of using IntEnums over just ints with alias names.
#### Describe the solution you'd like
I would like pandas to display IntEnums in the same way as Enums.
#### API breaking implications
Non that I am aware of, as this request is only for a display change.
#### Describe alternatives you've considered
I have considered two solution which both have drawbacks. First was to monkey patch Int Array Formatter. This ended up not working as Pandas appears to case IntEnums to regulat ints as soon as they are put into the frame. The second was to change the IntEnums to be categorical, which makes logical sense, but to get them to display properly I need to map the data to the names of the enums which changes the underlying data to strings.
#### Additional context
Here is a simple example.
```python
from enum import Enum, IntEnum
import pandas as pd
class Colors(Enum):
red = 1
blue = 2
class IntColors(IntEnum):
red = 1
blue = 2
df = pd.DataFrame({Colors.red:[1,2,3], Colors.blue:[5,6,6]})
int_df = pd.DataFrame({IntColors.red:[1,2,3], IntColors.blue:[5,6,6]})
print('This is how I want the dataframe to display')
print(df)
print()
print('This is how it is displayed')
print(int_df)
```
Which outputs:
```
This is how I want the dataframe to display
Colors.red Colors.blue
0 1 5
1 2 6
2 3 6
This is how it is displayed
1 2
0 1 5
1 2 6
2 3 6
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36124/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36124/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36125
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36125/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36125/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36125/events
|
https://github.com/pandas-dev/pandas/pull/36125
| 693,520,749
|
MDExOlB1bGxSZXF1ZXN0NDgwMDAxNTcy
| 36,125
|
DOC: add missing data handling info to pd.Categorical docstring
|
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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"
}
| 2
| 2020-09-04T19:21:33Z
| 2020-09-05T10:50:58Z
| 2020-09-05T10:50:58Z
|
MEMBER
| null |
- [x] closes #35162
- [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/36125/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36125/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36125.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36125",
"merged_at": "2020-09-05T10:50:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36125.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36125"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36126
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36126/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36126/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36126/events
|
https://github.com/pandas-dev/pandas/issues/36126
| 693,582,256
|
MDU6SXNzdWU2OTM1ODIyNTY=
| 36,126
|
Make ExtensionDtype.construct_array_type a regular method
|
{
"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": "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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "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"
}
] |
open
| false
| null |
[] | null | 2
| 2020-09-04T20:22:25Z
| 2021-08-13T02:26:37Z
| null |
CONTRIBUTOR
| null |
Currently ExtensionDtype.consruct_array_type is a classmethod. This makes it hard to use a single dtype with multiple array classes where the array type depends on some parameter of the dtype.
I'd like to change construct_array_type to be a regular method rather than a classmethod. AFAICT, this is fine for pandas since everywhere we use construct_array_type we have an instance rather than a type. It should be fine for 3rd party arrays to continue to use classmethods since you can call a classmethod on an instance. The API breaking change would be for 3rd-party code relying on `ExtensionDtype.construct_array_type()` working (i.e. calling it on the class).
My motivation is for allowing a parametrized `StringDtype` that can be used for either the current StringArray and an Arrow-backed StringArray.
|
{
"+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/36126/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36126/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36127
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36127/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36127/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36127/events
|
https://github.com/pandas-dev/pandas/pull/36127
| 693,589,594
|
MDExOlB1bGxSZXF1ZXN0NDgwMDY1NTA5
| 36,127
|
Backport PR #36050 on branch 1.1.x (BUG: incorrect year returned in isocalendar for certain dates)
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-04T20:29:38Z
| 2020-09-04T21:58:14Z
| 2020-09-04T21:58:13Z
|
NONE
| null |
Backport PR #36050: BUG: incorrect year returned in isocalendar for certain dates
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36127/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36127/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36127.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36127",
"merged_at": "2020-09-04T21:58:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36127.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36127"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36128
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36128/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36128/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36128/events
|
https://github.com/pandas-dev/pandas/pull/36128
| 693,597,713
|
MDExOlB1bGxSZXF1ZXN0NDgwMDczMTAy
| 36,128
|
CLN: remove xfails/skips for no-longer-supported numpys
|
{
"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": "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"
}
| 0
| 2020-09-04T20:37:37Z
| 2020-09-04T22:03:52Z
| 2020-09-04T21:57:25Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36128/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36128/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36128.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36128",
"merged_at": "2020-09-04T21:57:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36128.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36128"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36129
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36129/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36129/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36129/events
|
https://github.com/pandas-dev/pandas/pull/36129
| 693,627,157
|
MDExOlB1bGxSZXF1ZXN0NDgwMTAwNzg0
| 36,129
|
CLN: remove unused args/kwargs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-04T21:02:11Z
| 2020-09-05T14:08:13Z
| 2020-09-05T03:11:40Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36129/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36129/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36129.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36129",
"merged_at": "2020-09-05T03:11:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36129.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36129"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36130
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36130/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36130/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36130/events
|
https://github.com/pandas-dev/pandas/pull/36130
| 693,692,871
|
MDExOlB1bGxSZXF1ZXN0NDgwMTYzNTg3
| 36,130
|
CLN: De-privatize
|
{
"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 |
[] |
{
"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-09-04T21:47:24Z
| 2020-09-05T14:10:44Z
| 2020-09-05T02:51:04Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36130/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36130/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36130.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36130",
"merged_at": "2020-09-05T02:51:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36130.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36130"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36131
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36131/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36131/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36131/events
|
https://github.com/pandas-dev/pandas/pull/36131
| 693,718,240
|
MDExOlB1bGxSZXF1ZXN0NDgwMTg3NDc2
| 36,131
|
BUG: Timestamp == date match stdlib
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related 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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
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"
}
| 27
| 2020-09-04T22:08:55Z
| 2021-01-01T21:09:12Z
| 2021-01-01T20:40:19Z
|
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
ATM we have one reasonable behavior `Timestamp("2020-09-04") == date(2020, 9, 4)` and two un-reasonable behaviors: ``Timestamp("2020-09-04").tz_localize("US/Pacific") == date(2020, 9, 4)`, `Timestamp.now() == Timestamp.now().date()`. Since the stdlib datetime doesnt consider `datetime(2020, 9, 4) == date(2020, 9, 4)`, this follows the stdlib and considers them never equal.
<s>I'm still getting one test failure locally.</s>
cc @mroeschke
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36131/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36131/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36131.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36131",
"merged_at": "2021-01-01T20:40:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36131.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36131"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36132
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36132/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36132/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36132/events
|
https://github.com/pandas-dev/pandas/pull/36132
| 693,816,164
|
MDExOlB1bGxSZXF1ZXN0NDgwMjgxMTU2
| 36,132
|
API: reimplement FixedWindowIndexer.get_window_bounds to fix groupby bug
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24326925?v=4",
"events_url": "https://api.github.com/users/justinessert/events{/privacy}",
"followers_url": "https://api.github.com/users/justinessert/followers",
"following_url": "https://api.github.com/users/justinessert/following{/other_user}",
"gists_url": "https://api.github.com/users/justinessert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/justinessert",
"id": 24326925,
"login": "justinessert",
"node_id": "MDQ6VXNlcjI0MzI2OTI1",
"organizations_url": "https://api.github.com/users/justinessert/orgs",
"received_events_url": "https://api.github.com/users/justinessert/received_events",
"repos_url": "https://api.github.com/users/justinessert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/justinessert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/justinessert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/justinessert"
}
|
[
{
"color": "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 | 9
| 2020-09-04T23:37:20Z
| 2020-10-10T15:55:41Z
| 2020-10-10T15:55:40Z
|
CONTRIBUTOR
| null |
- [x] closes #36040
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Creating PR to solve [Issue 36040](https://github.com/pandas-dev/pandas/issues/36040).
The old `FixedWindowIndexer.get_window_bounds` function provided unintuitive bounds that went beyond the length of the original array. Additionally, to do a centered rolling operation, it required NaN values to be appended to the end of original array to enable some roundabout way of achieving the centering.
I replaced it with one that seems much simpler and actually creates "fixed" size windows (at least prior to clipping the ends), which the previous function did not.
That being said, I know this PR fails some tests, I'm would appreciate some advice on how best to proceed!
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36132/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36132/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36132.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36132",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36132.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36132"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36133
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36133/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36133/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36133/events
|
https://github.com/pandas-dev/pandas/pull/36133
| 693,957,852
|
MDExOlB1bGxSZXF1ZXN0NDgwNDE0NzQy
| 36,133
|
WIP/DEPR: DataFrame reductions match Series behavior
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-09-05T03:34:39Z
| 2021-11-20T23:22:46Z
| 2020-09-05T16:47:32Z
|
MEMBER
| null |
#34479, #36076
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @jorisvandenbossche this feels klunky, and the axis==1 part im pretty unsure of. how would you approach 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/36133/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36133/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36133.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36133",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36133.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36133"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36134
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36134/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36134/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36134/events
|
https://github.com/pandas-dev/pandas/pull/36134
| 693,974,714
|
MDExOlB1bGxSZXF1ZXN0NDgwNDMwMDYy
| 36,134
|
BUG: shows correct package name when import_optional_dependency is ca…
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/51477130?v=4",
"events_url": "https://api.github.com/users/hs2361/events{/privacy}",
"followers_url": "https://api.github.com/users/hs2361/followers",
"following_url": "https://api.github.com/users/hs2361/following{/other_user}",
"gists_url": "https://api.github.com/users/hs2361/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hs2361",
"id": 51477130,
"login": "hs2361",
"node_id": "MDQ6VXNlcjUxNDc3MTMw",
"organizations_url": "https://api.github.com/users/hs2361/orgs",
"received_events_url": "https://api.github.com/users/hs2361/received_events",
"repos_url": "https://api.github.com/users/hs2361/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hs2361/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hs2361/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hs2361"
}
|
[
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 12
| 2020-09-05T04:19:41Z
| 2020-09-07T19:30:44Z
| 2020-09-07T11:16:12Z
|
CONTRIBUTOR
| null |
…lled. fixes #35948
- [x] closes #35948
- [x] tests added / passed
- [x] passes `black pandas`
- [ ] 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/36134/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36134/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36134.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36134",
"merged_at": "2020-09-07T11:16:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36134.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36134"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36135
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36135/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36135/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36135/events
|
https://github.com/pandas-dev/pandas/pull/36135
| 694,010,292
|
MDExOlB1bGxSZXF1ZXN0NDgwNDYyMTIy
| 36,135
|
Backport PR #36114 on branch 1.1.x (REGR: fix consolidation/cache issue with take operation)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-05T06:05:41Z
| 2020-09-05T07:56:14Z
| 2020-09-05T07:56:14Z
|
NONE
| null |
Backport PR #36114: REGR: fix consolidation/cache issue with take operation
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36135/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36135/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36135.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36135",
"merged_at": "2020-09-05T07:56:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36135.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36135"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36136
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36136/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36136/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36136/events
|
https://github.com/pandas-dev/pandas/pull/36136
| 694,062,666
|
MDExOlB1bGxSZXF1ZXN0NDgwNTAxODMy
| 36,136
|
API: Make ExtensionDtype.construct_array_type a method
|
{
"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": "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": "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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 10
| 2020-09-05T11:10:53Z
| 2020-10-19T19:04:26Z
| 2020-10-19T14:01:43Z
|
CONTRIBUTOR
| null |
This allows a single dtype to support multiple array classes.
For arrow-backed strings, we'll likely want a separate array class
for ease of implementation, clarity. But we'll have a parametrized
dtype.
```python
class StringDtype:
def __init__(self, storage="python"):
self.storage = storage
def construct_array_type(self): # regular method
if self.storage == "python":
return StringArray
else:
return ArrowStringArray
```
Closes #36126
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36136/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36136/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36136.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36136",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36136.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36136"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36137
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36137/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36137/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36137/events
|
https://github.com/pandas-dev/pandas/pull/36137
| 694,073,309
|
MDExOlB1bGxSZXF1ZXN0NDgwNTA5Nzg2
| 36,137
|
TYP: Check for use of Union[Series, DataFrame] instead of FrameOrSeriesUnion alias
|
{
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "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-09-05T12:11:57Z
| 2020-09-05T15:10:22Z
| 2020-09-05T14:55:12Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36137/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36137/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36137.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36137",
"merged_at": "2020-09-05T14:55:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36137.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36137"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36138
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36138/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36138/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36138/events
|
https://github.com/pandas-dev/pandas/pull/36138
| 694,087,204
|
MDExOlB1bGxSZXF1ZXN0NDgwNTIwMzk4
| 36,138
|
TYP: misc property return types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-09-05T13:33:15Z
| 2020-09-13T19:12:11Z
| 2020-09-13T19:12:11Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36138/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36138/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36138.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36138",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36138.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36138"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36139
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36139/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36139/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36139/events
|
https://github.com/pandas-dev/pandas/pull/36139
| 694,090,670
|
MDExOlB1bGxSZXF1ZXN0NDgwNTIzMDE1
| 36,139
|
Updated series documentation to close #35406
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11210290?v=4",
"events_url": "https://api.github.com/users/TAJD/events{/privacy}",
"followers_url": "https://api.github.com/users/TAJD/followers",
"following_url": "https://api.github.com/users/TAJD/following{/other_user}",
"gists_url": "https://api.github.com/users/TAJD/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TAJD",
"id": 11210290,
"login": "TAJD",
"node_id": "MDQ6VXNlcjExMjEwMjkw",
"organizations_url": "https://api.github.com/users/TAJD/orgs",
"received_events_url": "https://api.github.com/users/TAJD/received_events",
"repos_url": "https://api.github.com/users/TAJD/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TAJD/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TAJD/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TAJD"
}
|
[
{
"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": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-05T13:52:12Z
| 2020-09-13T15:28:37Z
| 2020-09-05T14:44:27Z
|
CONTRIBUTOR
| null |
- [x ] closes #35406
- [x ] tests added / passed
- [ x] passes `black pandas`
- [ x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Not sure how to do whatsnew entry for this - first contribution! Do let me know how to improve.
Output of scripts/validate_docstring.py:
```
################################################################################
########################## Docstring (pandas.Series) ##########################
################################################################################
One-dimensional ndarray with axis labels (including time series).
Labels need not be unique but must be a hashable type. The object
supports both integer- and label-based indexing and provides a host of
methods for performing operations involving the index. Statistical
methods from ndarray have been overridden to automatically exclude
missing data (currently represented as NaN).
Operations between Series (+, -, /, *, **) align values based on their
associated index values-- they need not be the same length. The result
index will be the sorted union of the two indexes.
Parameters
----------
data : array-like, Iterable, dict, or scalar value
Contains data stored in Series.
.. versionchanged:: 0.23.0
If data is a dict, argument order is maintained for Python 3.6
and later.
index : array-like or Index (1d)
Values must be hashable and have the same length as `data`.
Non-unique index values are allowed. Will default to
RangeIndex (0, 1, 2, ..., n) if not provided. If data is dict-like
and index is None, then the values in the index are used to
reindex the Series after it is created using the keys in the data.
dtype : str, numpy.dtype, or ExtensionDtype, optional
Data type for the output Series. If not specified, this will be
inferred from `data`.
See the :ref:`user guide <basics.dtypes>` for more usages.
name : str, optional
The name to give to the Series.
copy : bool, default False
Copy input data.
################################################################################
################################## Validation ##################################
################################################################################
3 Errors found:
Parameters {'fastpath'} not documented
See Also section not found
No examples section found
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36139/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36139/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36139.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36139",
"merged_at": "2020-09-05T14:44:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36139.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36139"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36140
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36140/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36140/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36140/events
|
https://github.com/pandas-dev/pandas/pull/36140
| 694,094,940
|
MDExOlB1bGxSZXF1ZXN0NDgwNTI2MTY0
| 36,140
|
TYP: remove string literals for type annotations in pandas\core\frame.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"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-09-05T14:17:16Z
| 2020-09-05T15:09:24Z
| 2020-09-05T15:03:54Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36140/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36140/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36140.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36140",
"merged_at": "2020-09-05T15:03:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36140.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36140"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36141
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36141/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36141/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36141/events
|
https://github.com/pandas-dev/pandas/pull/36141
| 694,102,668
|
MDExOlB1bGxSZXF1ZXN0NDgwNTMxOTgz
| 36,141
|
BUG: copying series into empty dataframe does not preserve dataframe index name
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
}
|
[
{
"color": "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": "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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 9
| 2020-09-05T14:58:57Z
| 2020-09-18T11:34:07Z
| 2020-09-08T13:45:09Z
|
CONTRIBUTOR
| null |
- [x] closes #31368
- [x] tests added / passed
`indexing/test_partial.py:TestPartialSetting:test_index_name_empty`
- [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/36141/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36141/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36141.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36141",
"merged_at": "2020-09-08T13:45:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36141.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36141"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36142
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36142/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36142/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36142/events
|
https://github.com/pandas-dev/pandas/pull/36142
| 694,102,822
|
MDExOlB1bGxSZXF1ZXN0NDgwNTMyMTA4
| 36,142
|
Arrow string array dtype
|
{
"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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] |
closed
| false
| null |
[] | null | 10
| 2020-09-05T14:59:38Z
| 2021-02-19T14:05:49Z
| 2021-02-19T13:48:10Z
|
CONTRIBUTOR
| null |
This is a continuation of https://github.com/pandas-dev/pandas/pull/35259, updated to use a single `StringDtype` parameterized by `storage` (python or pyarrow). We do use different classes for the array though.
I wouldn't recommend reviewing this yet. In particular, I need to refactor the string ops implementation. That will likely be done in a separate PR to keep things smaller here.
```python
In [1]: import pandas as pd
In [2]: a = pd.Series(pd.array([pd.NA, pd.NA], dtype=pd.StringDtype("python")))
In [3]: b = pd.Series(pd.array([pd.NA, pd.NA], dtype=pd.StringDtype("pyarrow")))
In [4]: a.array
Out[4]:
<StringArray>
[<NA>, <NA>]
Length: 2, dtype: StringDtype[python]
In [5]: b.array
Out[5]:
<ArrowStringArray>
[<NA>, <NA>]
Length: 2, dtype: StringDtype[pyarrow]
```
Closes https://github.com/pandas-dev/pandas/issues/35169
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36142/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36142/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36142.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36142",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36142.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36142"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36143
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36143/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36143/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36143/events
|
https://github.com/pandas-dev/pandas/pull/36143
| 694,102,873
|
MDExOlB1bGxSZXF1ZXN0NDgwNTMyMTQ0
| 36,143
|
CLN: unused case in compare_or_regex_search
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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-09-05T15:00:00Z
| 2020-09-05T18:49:02Z
| 2020-09-05T17:54:30Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36143/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36143/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36143.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36143",
"merged_at": "2020-09-05T17:54:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36143.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36143"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36144
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36144/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36144/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36144/events
|
https://github.com/pandas-dev/pandas/pull/36144
| 694,103,540
|
MDExOlB1bGxSZXF1ZXN0NDgwNTMyNjUw
| 36,144
|
STY+CI: check for private function access across modules
|
{
"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 |
[] |
{
"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-09-05T15:03:38Z
| 2021-04-12T15:30:07Z
| 2020-09-05T17:53:22Z
|
MEMBER
| null |
The added checks here are broken off from #36055.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36144/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36144/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36144.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36144",
"merged_at": "2020-09-05T17:53:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36144.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36144"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36145
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36145/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36145/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36145/events
|
https://github.com/pandas-dev/pandas/pull/36145
| 694,110,245
|
MDExOlB1bGxSZXF1ZXN0NDgwNTM3ODQy
| 36,145
|
DOC: add userwarning doc about mpl #35684
|
{
"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": "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"
}
| 2
| 2020-09-05T15:39:27Z
| 2020-09-06T05:16:07Z
| 2020-09-05T19:50:44Z
|
MEMBER
| null |
- [x] closes #35684
- [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/36145/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36145/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36145.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36145",
"merged_at": "2020-09-05T19:50:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36145.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36145"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36146
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36146/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36146/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36146/events
|
https://github.com/pandas-dev/pandas/pull/36146
| 694,153,234
|
MDExOlB1bGxSZXF1ZXN0NDgwNTcyMDgx
| 36,146
|
CLN: Separate transform tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "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": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-09-05T19:29:24Z
| 2020-09-10T00:07:40Z
| 2020-09-06T17:11:05Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Setup for #35964. There were two tests that are accidental duplicates; I've just copied them over to the transform modules. Will cleanup in #35964.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36146/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36146/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36146.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36146",
"merged_at": "2020-09-06T17:11:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36146.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36146"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36147
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36147/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36147/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36147/events
|
https://github.com/pandas-dev/pandas/pull/36147
| 694,159,160
|
MDExOlB1bGxSZXF1ZXN0NDgwNTc2ODQ2
| 36,147
|
REGR: Series access with Index of tuples/frozenset
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "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": "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": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 12
| 2020-09-05T20:02:05Z
| 2020-09-13T12:29:54Z
| 2020-09-12T21:39:40Z
|
MEMBER
| null |
- [x] closes #35534
- [x] closes #35747
- [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/36147/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36147/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36147.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36147",
"merged_at": "2020-09-12T21:39:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36147.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36147"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36148
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36148/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36148/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36148/events
|
https://github.com/pandas-dev/pandas/pull/36148
| 694,159,804
|
MDExOlB1bGxSZXF1ZXN0NDgwNTc3MzU4
| 36,148
|
DEPR: disallow tznaive datetimes when indexing tzaware datetimeindex
|
{
"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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-09-05T20:05:51Z
| 2020-10-07T20:31:19Z
| 2020-10-07T20:29:37Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @mroeschke
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36148/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36148/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36148.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36148",
"merged_at": "2020-10-07T20:29:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36148.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36148"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36149
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36149/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36149/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36149/events
|
https://github.com/pandas-dev/pandas/pull/36149
| 694,181,735
|
MDExOlB1bGxSZXF1ZXN0NDgwNTk3MzEx
| 36,149
|
Make to_numeric default to correct precision
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "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"
}
| 14
| 2020-09-05T20:59:20Z
| 2020-09-18T11:34:47Z
| 2020-09-08T15:30:37Z
|
CONTRIBUTOR
| null |
- [x] closes #31364
- [x] tests added / passed
- tools/test_to_numeric.py:test_precision
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This relates to a very old issue #8002 where the default precision for CSV files could create wrong answers in the last bit. @jreback was involved in the PR review for that, which created the default to not be the high precision parser.
For `to_numeric()`, I switched it to use `precise_xstrtod` instead of `xstrtod` by default.
Unknown whether there are performance implications for `to_numeric()`, although this comment https://github.com/pandas-dev/pandas/issues/17154#issuecomment-319917647 from @jorisvandenbossche indicates that maybe we should consider switching to the higher precision parser by default in `read_csv()` anyway.
Open question as to whether performance analysis of *this* PR is needed beyond what is shown below, which seems to indicate that using `precise_xstrtod` is *faster* than `xstrtod`
The other possibility is to use a keyword argument in `to_numeric` that would allow the higher precision parser.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36149/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36149/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36149.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36149",
"merged_at": "2020-09-08T15:30:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36149.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36149"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36150
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36150/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36150/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36150/events
|
https://github.com/pandas-dev/pandas/pull/36150
| 694,201,740
|
MDExOlB1bGxSZXF1ZXN0NDgwNjEzMzAz
| 36,150
|
REF: use BlockManager.apply in csv code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "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"
}
| 3
| 2020-09-05T22:56:02Z
| 2020-09-12T21:30:15Z
| 2020-09-12T21:28:01Z
|
MEMBER
| null |
This doesn't get rid of internals usage entirely, but makes that access 1 layer less deep
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36150/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36150/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36150.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36150",
"merged_at": "2020-09-12T21:28:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36150.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36150"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36151
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36151/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36151/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36151/events
|
https://github.com/pandas-dev/pandas/issues/36151
| 694,202,993
|
MDU6SXNzdWU2OTQyMDI5OTM=
| 36,151
|
ENH/API: errors argument for ExtensionArray.astype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"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 | 3
| 2020-09-05T23:05:18Z
| 2020-10-12T16:33:18Z
| 2020-10-12T16:33:17Z
|
MEMBER
| null |
`Series.astype` and `DataFrame.astype` both allow control over whether the original object should be returned on errors in conversion by setting the `errors` argument to either `"ignore"` or `"raise"`. Should `ExtensionArray.astype` also allow this?
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.astype.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.astype.html
xref https://github.com/pandas-dev/pandas/pull/35979
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36151/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36151/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36152
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36152/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36152/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36152/events
|
https://github.com/pandas-dev/pandas/pull/36152
| 694,204,424
|
MDExOlB1bGxSZXF1ZXN0NDgwNjE1MzU0
| 36,152
|
Fix compressed multiindex for output of groupby.rolling
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 2
| 2020-09-05T23:16:51Z
| 2020-09-07T21:14:34Z
| 2020-09-07T21:06:30Z
|
MEMBER
| null |
- [x] closes #36018
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The number of leves for MultiIndex in input was compressed to one, because the tuples representing the Index rows were not unpacked. Also name was used instead of names -> resulted in missing name for every MultiIndex.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36152/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36152/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36152.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36152",
"merged_at": "2020-09-07T21:06:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36152.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36152"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36153
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36153/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36153/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36153/events
|
https://github.com/pandas-dev/pandas/issues/36153
| 694,208,318
|
MDU6SXNzdWU2OTQyMDgzMTg=
| 36,153
|
API: ser[dt64].astype("string") vs ser[dt64]._values.astype("string")
|
{
"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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
open
| false
| null |
[] | null | 3
| 2020-09-05T23:47:32Z
| 2021-08-13T02:30:57Z
| null |
MEMBER
| null |
```
ser = pd.Series([pd.NaT, pd.Timestamp.now()])
>>> ser.astype("string")
0 NaT
1 2020-09-05 16:44:52.259773
dtype: string
>>> pd.Series(ser._values.astype("string"))
0 <NA>
1 2020-09-05 16:44:52.259773
dtype: string
```
It would be nice to have the Series code (i.e. the Block.astype) dispatch to the array code.
Note also:
```
vals = ser._values.astype("string")
>>> vals.astype(ser.dtype)
ValueError: Could not convert object to NumPy datetime
>>> pd.Series(vals, dtype=ser.dtype)
ValueError: Could not convert object to NumPy datetime
>>> pd.to_datetime(vals) # <-- works
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36153/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36153/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36154
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36154/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36154/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36154/events
|
https://github.com/pandas-dev/pandas/pull/36154
| 694,210,330
|
MDExOlB1bGxSZXF1ZXN0NDgwNjE5OTcx
| 36,154
|
REF: share more EA methods
|
{
"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"
}
] |
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-09-06T00:05:22Z
| 2020-09-06T19:29:40Z
| 2020-09-06T17:08:26Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36154/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36154/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36154.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36154",
"merged_at": "2020-09-06T17:08:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36154.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36154"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36155
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36155/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36155/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36155/events
|
https://github.com/pandas-dev/pandas/pull/36155
| 694,230,377
|
MDExOlB1bGxSZXF1ZXN0NDgwNjM1OTY1
| 36,155
|
CLN: backport mpl warning fix to 1.1.2
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 1
| 2020-09-06T02:44:40Z
| 2020-09-06T17:18:15Z
| 2020-09-06T17:17:54Z
|
MEMBER
| null |
backport #35946 and #36145
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36155/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36155/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36155.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36155",
"merged_at": "2020-09-06T17:17:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36155.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36155"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36156
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36156/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36156/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36156/events
|
https://github.com/pandas-dev/pandas/pull/36156
| 694,233,476
|
MDExOlB1bGxSZXF1ZXN0NDgwNjM4NDkw
| 36,156
|
STY: De-privatize imported names
|
{
"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 |
[] |
{
"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-09-06T03:06:33Z
| 2020-09-06T19:04:13Z
| 2020-09-06T17:05:36Z
|
MEMBER
| null |
getting close to being able to enable a code_check for these
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36156/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36156/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36156.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36156",
"merged_at": "2020-09-06T17:05:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36156.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36156"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36157
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36157/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36157/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36157/events
|
https://github.com/pandas-dev/pandas/pull/36157
| 694,233,814
|
MDExOlB1bGxSZXF1ZXN0NDgwNjM4NzM0
| 36,157
|
DOC: Fix capitalization among headings in doc/source/user_guide/ part…
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39869108?v=4",
"events_url": "https://api.github.com/users/ShyamDesai/events{/privacy}",
"followers_url": "https://api.github.com/users/ShyamDesai/followers",
"following_url": "https://api.github.com/users/ShyamDesai/following{/other_user}",
"gists_url": "https://api.github.com/users/ShyamDesai/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShyamDesai",
"id": 39869108,
"login": "ShyamDesai",
"node_id": "MDQ6VXNlcjM5ODY5MTA4",
"organizations_url": "https://api.github.com/users/ShyamDesai/orgs",
"received_events_url": "https://api.github.com/users/ShyamDesai/received_events",
"repos_url": "https://api.github.com/users/ShyamDesai/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShyamDesai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShyamDesai/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShyamDesai"
}
|
[
{
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-09-06T03:08:46Z
| 2020-11-26T01:34:49Z
| 2020-11-26T01:34:49Z
|
NONE
| null |
… 1 (#32550)
- [ ] xref #32550
- [ ] tests added / passed
- [x] 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/36157/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36157/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36157.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36157",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36157.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36157"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36158
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36158/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36158/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36158/events
|
https://github.com/pandas-dev/pandas/issues/36158
| 694,260,668
|
MDU6SXNzdWU2OTQyNjA2Njg=
| 36,158
|
BUG: indices and get_group raise exception with GroupBy initialized using lambda or named function with tuple values as group names (Multi-dimensional groups)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32206956?v=4",
"events_url": "https://api.github.com/users/dimithras/events{/privacy}",
"followers_url": "https://api.github.com/users/dimithras/followers",
"following_url": "https://api.github.com/users/dimithras/following{/other_user}",
"gists_url": "https://api.github.com/users/dimithras/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dimithras",
"id": 32206956,
"login": "dimithras",
"node_id": "MDQ6VXNlcjMyMjA2OTU2",
"organizations_url": "https://api.github.com/users/dimithras/orgs",
"received_events_url": "https://api.github.com/users/dimithras/received_events",
"repos_url": "https://api.github.com/users/dimithras/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dimithras/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimithras/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dimithras"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32206956?v=4",
"events_url": "https://api.github.com/users/dimithras/events{/privacy}",
"followers_url": "https://api.github.com/users/dimithras/followers",
"following_url": "https://api.github.com/users/dimithras/following{/other_user}",
"gists_url": "https://api.github.com/users/dimithras/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dimithras",
"id": 32206956,
"login": "dimithras",
"node_id": "MDQ6VXNlcjMyMjA2OTU2",
"organizations_url": "https://api.github.com/users/dimithras/orgs",
"received_events_url": "https://api.github.com/users/dimithras/received_events",
"repos_url": "https://api.github.com/users/dimithras/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dimithras/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimithras/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dimithras"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/32206956?v=4",
"events_url": "https://api.github.com/users/dimithras/events{/privacy}",
"followers_url": "https://api.github.com/users/dimithras/followers",
"following_url": "https://api.github.com/users/dimithras/following{/other_user}",
"gists_url": "https://api.github.com/users/dimithras/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dimithras",
"id": 32206956,
"login": "dimithras",
"node_id": "MDQ6VXNlcjMyMjA2OTU2",
"organizations_url": "https://api.github.com/users/dimithras/orgs",
"received_events_url": "https://api.github.com/users/dimithras/received_events",
"repos_url": "https://api.github.com/users/dimithras/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dimithras/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimithras/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dimithras"
}
] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 11
| 2020-09-06T05:49:12Z
| 2020-10-31T19:11:34Z
| 2020-10-31T19:11:34Z
|
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.
**UPD**: bug does not exist anymore in latest master branch, yet still present in 1.1.3 from pip.
Updated version details:
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.3.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.1
pytz : 2020.1
dateutil : 2.8.0
pip : 20.2.3
setuptools : 40.8.0
Cython : 0.29.21
pytest : 6.0.1
hypothesis : 5.36.0
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.3.4
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : None
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.19
tables : None
tabulate : 0.8.7
xarray : None
xlrd : 1.2.0
xlwt : None
numba : None
</details>
**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.
**Edit**: removed everything related to categorical rhetoric, updated with findings. Corrected several mistypes.
---
#### Code Sample, a copy-pastable example
**UPD**: A clearer sample [provided](https://github.com/pandas-dev/pandas/issues/36158#issuecomment-697977693) by @AlexanderCecile which addresses that bug appears on group names inside lambda, not due to tuples in cell values.
```python
import random
import pandas as pd
df = pd.DataFrame({"col_1": [random.randint(0, 5) for _ in range(5)]})
print(df, end="\n\n")
grp_tuples = [("a", "b"), ("c", "d"), ("e", "f")]
# grp_res = df.groupby(by="col_1")
grp_res = df.groupby(by=lambda x: grp_tuples[x % len(grp_tuples)])
for key, grp in grp_res:
print(f"key: {key}\ngroup:\n{grp}\n")
print(grp_res.indices)
print(grp_res.grouper.indices)
```
##### Original sample
```python
df = pd.DataFrame({'Tuples': ((x, y)
for x in [0, 1]
for y in np.random.randint(3, 5, 5))})
df.groupby('Tuples').grouper.indices
df.groupby(lambda x: df.iloc[x,0]).indices
```
||0|1|2|3|4|5|6|7|8|9|
|-|-|-|-|-|-|-|-|-|-|-|
|'Tuples'|(0,3)|(0,3)|(0,3)|(0,3)|(0,3)|(1,4)|(1,4)|(1,4)|(1,3)|(1,4)|
---
### Problem description
**Problem**: .indices do not work on lambda made group by with tuples
In the sample above two different **.groupby** in crude terms do the same thing and provide groups with same characteristics - grouping DataFrame by column values which are represented by tuples. Technically single column **DF** is a **Series** object, but issue remains the same if some other columns are added. However these groups share some weird behavior:
- Both have same output for **.groups**:
> {(0, 3): [0, 1, 2, 3, 4], (1, 3): [8], (1, 4): [5, 6, 7, 9]}
- Both show same .**head**(), .**size**() some other methods [listed here](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html). Groups can be selected with tuple key `(0, 3)` with all same output.
And here come the differences:
```diff
gb.transform('size')
+ just shows the index of a DF
- IndexError: Column(s) Tuples already selected
gb1.sum() / gb1.agg(sum)
+ shows column 'Tuples' with recurring tuples, e.g. (0, 3), (1, 3)
+ in case GroupBy is prepared with as_index=False, also shows index
- show index and 'Tuples' column where tuples are added per group
- on each line: (0, 3, 0, 3, 0, 3), (1, 3, 1, 3)
gb.all()
+ index with tuples per line, e.g. (0, 3), (1, 3)
+ if as_index=False:
+ ValueError: Length mismatch: Expected axis has 0 elements, new values have 3 elements
- table with tuples (indexes if as_index=False) and True values
gb.count()
+ Tuples column and no counts
+ if as_index=False:
+ IndexError: list index out of range
- table with tuples (indexes if as_index=False) and actual count of groups
```
Basically all aggregated methods have same result as above. However if **GroupBy** is made on Series `df['Tuples'].groupby(df['Tuples'])` majority of aggregated functions start working as for lambda made **GroupBy**, output is the same, but does not show as table in jupyter, just plain-text, yet I guess that's an unexpected behavior. That's __sapid__, but whatever, these are the differences one can live with.
## Main issue
**Tuple** group names in **lambda** or named function ***GroupBy*** break method **.get_group()** and attribute **.indices**.
As mentioned in [docs](https://pandas.pydata.org/docs/user_guide/groupby.html#piping-function-calls) **GroupBy** works pretty well with two-dimensional keys, although missing handful level selectors that MultiIndex has. Perhaps that's a topic for __feature-request__, not an issue.
Sample in [docs](https://pandas.pydata.org/docs/user_guide/groupby.html#piping-function-calls) produces same tuple groups `dict_keys( [ ('Store_1', 'Product_1'), ... () ]`, this should not be a problem. Also **GroupBy** made with lambda works all fine with numeric / string labels.
In case with tuples, **.indices** and **.get_group** fall with error `NotImplementedError: isna is not defined for MultiIndex`.
</br>
**.get_group()**
<details><summary>.get_group() Traceback</summary><blockquote>
<details><summary>ERROR</summary><blockquote>
```python
df.groupby(lambda x: df.iloc[x,0]).get_group((0,3))
```
```diff
- ---------------------------------------------------------------------------
- NotImplementedError Traceback (most recent call last)
- <ipython-input-3-c37a9ee93781> in <module>
- ----> 1 df.groupby(lambda x: df.iloc[x,0]).get_group((0,3))
```
</details><details><summary>Part 1 => .get_indices</summary><blockquote>
##### c:\python37\lib\site-packages\pandas\core\groupby\groupby.py in get_group(self, name, obj)
806 obj = self._selected_obj
807
--> 808 inds = self._get_index(name)
809 if not len(inds):
810 raise KeyError(name)
##### c:\python37\lib\site-packages\pandas\core\groupby\groupby.py in _get_index(self, name)
628 Safe get index, translate keys for datelike to underlying repr.
629 """
--> 630 return self._get_indices([name])[0]
631
632 @cache_readonly
##### c:\python37\lib\site-packages\pandas\core\groupby\groupby.py in _get_indices(self, names)
593 return []
594
--> 595 if len(self.indices) > 0:
596 index_sample = next(iter(self.indices))
597 else:
##### c:\python37\lib\site-packages\pandas\core\groupby\groupby.py in indices(self)
572 """
573 self._assure_grouper()
--> 574 return self.grouper.indices
575
576 def _get_indices(self, names):
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
</details><details><summary>Part 2 => Categories nan</summary><blockquote>
##### c:\python37\lib\site-packages\pandas\core\groupby\ops.py in indices(self)
222 """ dict {group name -> group indices} """
223 if len(self.groupings) == 1:
--> 224 return self.groupings[0].indices
225 else:
226 codes_list = [ping.codes for ping in self.groupings]
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
##### c:\python37\lib\site-packages\pandas\core\groupby\grouper.py in indices(self)
558 return self.grouper.indices
559
--> 560 values = Categorical(self.grouper)
561 return values._reverse_indexer()
562
##### c:\python37\lib\site-packages\pandas\core\arrays\categorical.py in __init__(self, values, categories, ordered, dtype, fastpath)
360
361 # we're inferring from values
--> 362 dtype = CategoricalDtype(categories, dtype.ordered)
363
364 elif is_categorical_dtype(values.dtype):
##### c:\python37\lib\site-packages\pandas\core\dtypes\dtypes.py in __init__(self, categories, ordered)
161
162 def __init__(self, categories=None, ordered: Ordered = False):
--> 163 self._finalize(categories, ordered, fastpath=False)
164
165 @classmethod
##### c:\python37\lib\site-packages\pandas\core\dtypes\dtypes.py in _finalize(self, categories, ordered, fastpath)
315
316 if categories is not None:
--> 317 categories = self.validate_categories(categories, fastpath=fastpath)
318
319 self._categories = categories
##### c:\python37\lib\site-packages\pandas\core\dtypes\dtypes.py in validate_categories(categories, fastpath)
487 if not fastpath:
488
--> 489 if categories.hasnans:
490 raise ValueError("Categorical categories cannot be null")
491
</details><details><summary>Part 3 => nan, Multiindex</summary><blockquote>
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
##### c:\python37\lib\site-packages\pandas\core\indexes\base.py in hasnans(self)
2046 """
2047 if self._can_hold_na:
-> 2048 return bool(self._isnan.any())
2049 else:
2050 return False
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
##### c:\python37\lib\site-packages\pandas\core\indexes\base.py in _isnan(self)
2026 """
2027 if self._can_hold_na:
-> 2028 return isna(self)
2029 else:
2030 # shouldn't reach to this condition by checking hasnans beforehand
##### c:\python37\lib\site-packages\pandas\core\dtypes\missing.py in isna(obj)
122 Name: 1, dtype: bool
123 """
--> 124 return _isna(obj)
125
126
##### c:\python37\lib\site-packages\pandas\core\dtypes\missing.py in _isna(obj, inf_as_na)
151 # hack (for now) because MI registers as ndarray
152 elif isinstance(obj, ABCMultiIndex):
--> 153 raise NotImplementedError("isna is not defined for MultiIndex")
154 elif isinstance(obj, type):
155 return False
### NotImplementedError: isna is not defined for MultiIndex
**>>> End of Traceback <<<**
</details></details>
**.indices**
<details>
<summary>.indices Traceback</summary><blockquote>
<details><summary>ERROR</summary><blockquote>
```python
df.groupby(lambda x: df.iloc[x,0]).indices
```
```diff
- ---------------------------------------------------------------------------
- NotImplementedError Traceback (most recent call last)
- <ipython-input-5-fd5a9f33be4e> in <module>
- ----> 1 df.groupby(lambda x: df.iloc[x,0]).indices
```
</details><details><summary>Part 1 => groupings, Categorical</summary><blockquote>
##### c:\python37\lib\site-packages\pandas\core\groupby\groupby.py in indices(self)
572 """
573 self._assure_grouper()
--> 574 return self.grouper.indices
575
576 def _get_indices(self, names):
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
##### c:\python37\lib\site-packages\pandas\core\groupby\ops.py in indices(self)
222 """ dict {group name -> group indices} """
223 if len(self.groupings) == 1:
--> 224 return self.groupings[0].indices
225 else:
226 codes_list = [ping.codes for ping in self.groupings]
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
##### c:\python37\lib\site-packages\pandas\core\groupby\grouper.py in indices(self)
558 return self.grouper.indices
559
--> 560 values = Categorical(self.grouper)
561 return values._reverse_indexer()
562
##### c:\python37\lib\site-packages\pandas\core\arrays\categorical.py in __init__(self, values, categories, ordered, dtype, fastpath)
360
361 # we're inferring from values
--> 362 dtype = CategoricalDtype(categories, dtype.ordered)
363
364 elif is_categorical_dtype(values.dtype):
##### c:\python37\lib\site-packages\pandas\core\dtypes\dtypes.py in __init__(self, categories, ordered)
161
162 def __init__(self, categories=None, ordered: Ordered = False):
--> 163 self._finalize(categories, ordered, fastpath=False)
164
165 @classmethod
##### c:\python37\lib\site-packages\pandas\core\dtypes\dtypes.py in _finalize(self, categories, ordered, fastpath)
315
316 if categories is not None:
--> 317 categories = self.validate_categories(categories, fastpath=fastpath)
318
319 self._categories = categories
</details><details><summary>Part 2 => Categories nan</summary><blockquote>
##### c:\python37\lib\site-packages\pandas\core\dtypes\dtypes.py in validate_categories(categories, fastpath)
487 if not fastpath:
488
--> 489 if categories.hasnans:
490 raise ValueError("Categorical categories cannot be null")
491
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
##### c:\python37\lib\site-packages\pandas\core\indexes\base.py in hasnans(self)
2046 """
2047 if self._can_hold_na:
-> 2048 return bool(self._isnan.any())
2049 else:
2050 return False
#### pandas\_libs\properties.pyx in pandas._libs.properties.CachedProperty.__get__()
##### c:\python37\lib\site-packages\pandas\core\indexes\base.py in _isnan(self)
2026 """
2027 if self._can_hold_na:
-> 2028 return isna(self)
2029 else:
2030 # shouldn't reach to this condition by checking hasnans beforehand
##### c:\python37\lib\site-packages\pandas\core\dtypes\missing.py in isna(obj)
122 Name: 1, dtype: bool
123 """
--> 124 return _isna(obj)
125
126
##### c:\python37\lib\site-packages\pandas\core\dtypes\missing.py in _isna(obj, inf_as_na)
151 # hack (for now) because MI registers as ndarray
152 elif isinstance(obj, ABCMultiIndex):
--> 153 raise NotImplementedError("isna is not defined for MultiIndex")
154 elif isinstance(obj, type):
155 return False
### NotImplementedError: isna is not defined for MultiIndex
**>>> End of Traceback <<<**
</details></details></br>
~~Seems like in both cases problem starts on **Categorical(self.grouper)** and no categories are found, that's just my doubt.~~
Problem starts during grouper init ([line 413](https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/grouper.py#L413)), if lambda or function is used, grouper is assigned lambda or named function respectively and [line 440](https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/grouper.py#L440) is skipped as it does not see MultiIndex behind it.
Later on [line 512](https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/grouper.py#L512) changes are triggered and [line 518](https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/grouper.py#L518) assigns actual value (MultiIndex) instead of a function, however this case skips [line 440](https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/grouper.py#L440) casting and bug appears.
Most of the methods listed in grouper.py for lambda made **GroupBy grouper** are working, to name a few: **codes**, **ngroups**, **result_index**. Everything the _BaseGrouper_ has. Only indices and get_group do not work.
Pandas is a great module and I'm happy to use it without those indices especially that I can get the same output performing a `for` loop on .groups __PrettyDict__, yet that's a bug and usage of multiple-level group names is a potential growth area for the module.
I will be happy to continue digging on this problem further on my own and will appreciate any input on the course of this error.
#### Expected Output
```
>>> df.groupby(lambda x: df.iloc[x,0]).indices
{(0, 3): array([0, 1, 2, 3, 4], dtype=int64),
(1, 3): array([8], dtype=int64),
(1, 4): array([5, 6, 7, 9], dtype=int64)}
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : d9fff2792bf16178d4e450fe7384244e50635733
python : 3.7.3.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.0
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.0
pip : 20.2.2
setuptools : 40.8.0
Cython : None
pytest : 6.0.1
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.3.4
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : None
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.19
tables : None
tabulate : 0.8.7
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 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/36158/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36158/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36159
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36159/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36159/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36159/events
|
https://github.com/pandas-dev/pandas/pull/36159
| 694,354,285
|
MDExOlB1bGxSZXF1ZXN0NDgwNzQyNDEy
| 36,159
|
ENH: add set_td_classes method for CSS class addition to data cells
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "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": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"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-09-06T11:59:10Z
| 2020-09-13T14:04:17Z
| 2020-09-13T12:52:43Z
|
CONTRIBUTOR
| null |
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Simple extension to Styler to allow cells to be assigned CSS classes from a DataFrame of strings.
Seems to be a reasonably common request.
The existing framework, i.e. the `cell_context` dictionary (which previously did nothing) is leveraged.
@TomAugspurger
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36159/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36159/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36159.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36159",
"merged_at": "2020-09-13T12:52:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36159.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36159"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36160
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36160/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36160/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36160/events
|
https://github.com/pandas-dev/pandas/pull/36160
| 694,365,180
|
MDExOlB1bGxSZXF1ZXN0NDgwNzUxOTgw
| 36,160
|
CLN: _wrap_applied_output
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-06T12:34:00Z
| 2020-09-10T00:07:20Z
| 2020-09-06T17:24:04Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
All if statements above the changed block return, so we can remove the else's and flatten out the structure a bit.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36160/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36160/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36160.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36160",
"merged_at": "2020-09-06T17:24:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36160.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36160"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36161
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36161/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36161/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36161/events
|
https://github.com/pandas-dev/pandas/pull/36161
| 694,369,857
|
MDExOlB1bGxSZXF1ZXN0NDgwNzU2MDg4
| 36,161
|
BUG: Enable Series.equals to compare numpy arrays to scalars
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"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"
}
| 17
| 2020-09-06T12:50:08Z
| 2020-09-19T20:29:49Z
| 2020-09-19T20:29:44Z
|
CONTRIBUTOR
| null |
- [x] closes #35267
- [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/36161/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36161/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36161.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36161",
"merged_at": "2020-09-19T20:29:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36161.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36161"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36162
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36162/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36162/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36162/events
|
https://github.com/pandas-dev/pandas/pull/36162
| 694,372,718
|
MDExOlB1bGxSZXF1ZXN0NDgwNzU4NTg4
| 36,162
|
Backport PR #36054 on branch 1.1.x (BUG: Don't raise when constructing Series from ordered set)
|
{
"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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-06T12:59:34Z
| 2020-09-06T15:13:55Z
| 2020-09-06T15:13:54Z
|
NONE
| null |
Backport PR #36054: BUG: Don't raise when constructing Series from ordered set
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36162/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36162/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36162.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36162",
"merged_at": "2020-09-06T15:13:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36162.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36162"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36163
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36163/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36163/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36163/events
|
https://github.com/pandas-dev/pandas/pull/36163
| 694,373,236
|
MDExOlB1bGxSZXF1ZXN0NDgwNzU5MDI3
| 36,163
|
Backport PR #35914 on branch 1.1.x (Make MultiIndex.get_loc raise for unhashable type)
|
{
"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": "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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-06T13:01:29Z
| 2020-09-06T15:13:33Z
| 2020-09-06T15:13:33Z
|
NONE
| null |
Backport PR #35914: Make MultiIndex.get_loc raise for unhashable type
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36163/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36163/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36163.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36163",
"merged_at": "2020-09-06T15:13:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36163.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36163"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36164
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36164/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36164/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36164/events
|
https://github.com/pandas-dev/pandas/pull/36164
| 694,395,754
|
MDExOlB1bGxSZXF1ZXN0NDgwNzc4NTg5
| 36,164
|
TST verify groupby doesn't alter unit64s to floats #30859
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11210290?v=4",
"events_url": "https://api.github.com/users/TAJD/events{/privacy}",
"followers_url": "https://api.github.com/users/TAJD/followers",
"following_url": "https://api.github.com/users/TAJD/following{/other_user}",
"gists_url": "https://api.github.com/users/TAJD/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TAJD",
"id": 11210290,
"login": "TAJD",
"node_id": "MDQ6VXNlcjExMjEwMjkw",
"organizations_url": "https://api.github.com/users/TAJD/orgs",
"received_events_url": "https://api.github.com/users/TAJD/received_events",
"repos_url": "https://api.github.com/users/TAJD/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TAJD/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TAJD/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TAJD"
}
|
[
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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-09-06T14:12:04Z
| 2020-09-07T20:47:44Z
| 2020-09-07T20:47:40Z
|
CONTRIBUTOR
| null |
- [x] closes #30859
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Logic of the test is to check that the value hasn't changes and that the dtype remains uint64.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36164/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36164/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36164.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36164",
"merged_at": "2020-09-07T20:47:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36164.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36164"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36165
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36165/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36165/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36165/events
|
https://github.com/pandas-dev/pandas/issues/36165
| 694,400,142
|
MDU6SXNzdWU2OTQ0MDAxNDI=
| 36,165
|
BUG: Adding offset produces NonExistentTimeError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] |
closed
| false
| null |
[] | null | 7
| 2020-09-06T14:25:34Z
| 2021-07-27T08:16:45Z
| 2020-09-07T12:38:28Z
|
MEMBER
| null |
In #36160, Travis had the following failure:
````
pandas/tests/tseries/offsets/test_offsets_properties.py:88:
[snip]
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_on_offset_implementations(
dt=datetime.datetime(1900, 1, 1, 0, 0, tzinfo=tzfile('/usr/share/zoneinfo/Iceland')),
offset=<96 * MonthBegins>,
)
You can reproduce this example by temporarily adding @reproduce_failure('5.29.0', b'AAEAMgAAAAAAAAAAAABgAA==') as a decorator on your test case
````
Can reproduce with:
from datetime import datetime
import pytz
from pandas.tseries.offsets import MonthBegin
dt = datetime(1900, 1, 1, 0, 0, tzinfo=pytz.timezone('Iceland'))
offset = MonthBegin(96)
dt + offset
which produces the trace:
````
File "pandas/_libs/tslibs/offsets.pyx", line 422, in pandas._libs.tslibs.offsets.BaseOffset.__add__
File "pandas/_libs/tslibs/offsets.pyx", line 424, in pandas._libs.tslibs.offsets.BaseOffset.__add__
File "pandas/_libs/tslibs/offsets.pyx", line 172, in pandas._libs.tslibs.offsets.apply_wraps.wrapper
File "pandas/_libs/tslibs/timestamps.pyx", line 1317, in pandas._libs.tslibs.timestamps.Timestamp.tz_localize
File "pandas/_libs/tslibs/tzconversion.pyx", line 63, in pandas._libs.tslibs.tzconversion.tz_localize_to_utc_single
File "pandas/_libs/tslibs/tzconversion.pyx", line 319, in pandas._libs.tslibs.tzconversion.tz_localize_to_utc
pytz.exceptions.NonExistentTimeError: 1908-01-01 00:00:00
````
Not sure if this is a bug or an invalid input.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36165/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36165/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36166
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36166/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36166/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36166/events
|
https://github.com/pandas-dev/pandas/pull/36166
| 694,453,148
|
MDExOlB1bGxSZXF1ZXN0NDgwODI4MTA2
| 36,166
|
Backport PR #36115 on branch 1.1.x (REGR: append tz-aware DataFrame with tz-naive values)
|
{
"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": "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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-06T17:05:57Z
| 2020-09-06T18:07:56Z
| 2020-09-06T18:07:55Z
|
NONE
| null |
Backport PR #36115: REGR: append tz-aware DataFrame with tz-naive values
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36166/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36166/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36166.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36166",
"merged_at": "2020-09-06T18:07:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36166.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36166"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36167
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36167/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36167/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36167/events
|
https://github.com/pandas-dev/pandas/pull/36167
| 694,453,637
|
MDExOlB1bGxSZXF1ZXN0NDgwODI4NTM4
| 36,167
|
Backport PR #35979 on branch 1.1.x (BUG: Respect errors="ignore" during extension astype)
|
{
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-06T17:07:33Z
| 2020-09-06T18:06:24Z
| 2020-09-06T18:06:24Z
|
NONE
| null |
Backport PR #35979: BUG: Respect errors="ignore" during extension astype
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36167/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36167/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36167.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36167",
"merged_at": "2020-09-06T18:06:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36167.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36167"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36168
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36168/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36168/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36168/events
|
https://github.com/pandas-dev/pandas/pull/36168
| 694,454,508
|
MDExOlB1bGxSZXF1ZXN0NDgwODI5MzA4
| 36,168
|
Comma cleanup
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/38149479?v=4",
"events_url": "https://api.github.com/users/JonathanShrek/events{/privacy}",
"followers_url": "https://api.github.com/users/JonathanShrek/followers",
"following_url": "https://api.github.com/users/JonathanShrek/following{/other_user}",
"gists_url": "https://api.github.com/users/JonathanShrek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JonathanShrek",
"id": 38149479,
"login": "JonathanShrek",
"node_id": "MDQ6VXNlcjM4MTQ5NDc5",
"organizations_url": "https://api.github.com/users/JonathanShrek/orgs",
"received_events_url": "https://api.github.com/users/JonathanShrek/received_events",
"repos_url": "https://api.github.com/users/JonathanShrek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JonathanShrek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JonathanShrek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JonathanShrek"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
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-09-06T17:10:01Z
| 2020-09-07T19:04:48Z
| 2020-09-07T19:04:43Z
|
CONTRIBUTOR
| null |
- [x] pandas/tests/indexing/test_iloc.py
- [x] pandas/tests/indexing/test_indexing.py
- [x] pandas/tests/indexing/test_loc.py
- [x] pandas/tests/internals/test_internals.py
- [x] pandas/tests/io/formats/test_css.py
- [x] pandas/tests/io/formats/test_info.py
- [x] pandas/tests/io/json/test_compression.py
- [x] pandas/tests/io/json/test_pandas.py
- [x] pandas/tests/io/parser/test_c_parser_only.py
- [x] pandas/tests/io/parser/test_parse_dates.py
- [x] pandas/tests/io/parser/test_usecols.py
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36168/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36168/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36168.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36168",
"merged_at": "2020-09-07T19:04:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36168.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36168"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36169
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36169/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36169/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36169/events
|
https://github.com/pandas-dev/pandas/pull/36169
| 694,485,212
|
MDExOlB1bGxSZXF1ZXN0NDgwODU2MDA4
| 36,169
|
BUG GH31355 fixed by adding more relevant error message
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11210290?v=4",
"events_url": "https://api.github.com/users/TAJD/events{/privacy}",
"followers_url": "https://api.github.com/users/TAJD/followers",
"following_url": "https://api.github.com/users/TAJD/following{/other_user}",
"gists_url": "https://api.github.com/users/TAJD/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TAJD",
"id": 11210290,
"login": "TAJD",
"node_id": "MDQ6VXNlcjExMjEwMjkw",
"organizations_url": "https://api.github.com/users/TAJD/orgs",
"received_events_url": "https://api.github.com/users/TAJD/received_events",
"repos_url": "https://api.github.com/users/TAJD/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TAJD/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TAJD/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TAJD"
}
|
[
{
"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": "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"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-09-06T18:47:12Z
| 2020-09-13T13:36:56Z
| 2020-09-13T13:31:49Z
|
CONTRIBUTOR
| null |
- [ ] closes #31355
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Added a test to trigger the reported error using code from the issue. An if statement was included to return a more helpful error message - borrowing the solution from the 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/36169/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36169/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36169.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36169",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36169.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36169"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36170
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36170/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36170/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36170/events
|
https://github.com/pandas-dev/pandas/issues/36170
| 694,490,450
|
MDU6SXNzdWU2OTQ0OTA0NTA=
| 36,170
|
DOC: index described as a "set" but permits duplicates -- change to multiset or list?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1517155?v=4",
"events_url": "https://api.github.com/users/notestaff/events{/privacy}",
"followers_url": "https://api.github.com/users/notestaff/followers",
"following_url": "https://api.github.com/users/notestaff/following{/other_user}",
"gists_url": "https://api.github.com/users/notestaff/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/notestaff",
"id": 1517155,
"login": "notestaff",
"node_id": "MDQ6VXNlcjE1MTcxNTU=",
"organizations_url": "https://api.github.com/users/notestaff/orgs",
"received_events_url": "https://api.github.com/users/notestaff/received_events",
"repos_url": "https://api.github.com/users/notestaff/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/notestaff/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/notestaff/subscriptions",
"type": "User",
"url": "https://api.github.com/users/notestaff"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/49715980?v=4",
"events_url": "https://api.github.com/users/Nikhil1O1/events{/privacy}",
"followers_url": "https://api.github.com/users/Nikhil1O1/followers",
"following_url": "https://api.github.com/users/Nikhil1O1/following{/other_user}",
"gists_url": "https://api.github.com/users/Nikhil1O1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Nikhil1O1",
"id": 49715980,
"login": "Nikhil1O1",
"node_id": "MDQ6VXNlcjQ5NzE1OTgw",
"organizations_url": "https://api.github.com/users/Nikhil1O1/orgs",
"received_events_url": "https://api.github.com/users/Nikhil1O1/received_events",
"repos_url": "https://api.github.com/users/Nikhil1O1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Nikhil1O1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Nikhil1O1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Nikhil1O1"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/49715980?v=4",
"events_url": "https://api.github.com/users/Nikhil1O1/events{/privacy}",
"followers_url": "https://api.github.com/users/Nikhil1O1/followers",
"following_url": "https://api.github.com/users/Nikhil1O1/following{/other_user}",
"gists_url": "https://api.github.com/users/Nikhil1O1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Nikhil1O1",
"id": 49715980,
"login": "Nikhil1O1",
"node_id": "MDQ6VXNlcjQ5NzE1OTgw",
"organizations_url": "https://api.github.com/users/Nikhil1O1/orgs",
"received_events_url": "https://api.github.com/users/Nikhil1O1/received_events",
"repos_url": "https://api.github.com/users/Nikhil1O1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Nikhil1O1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Nikhil1O1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Nikhil1O1"
}
] |
{
"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"
}
| 7
| 2020-09-06T19:04:28Z
| 2020-09-09T22:25:32Z
| 2020-09-09T22:25:32Z
|
NONE
| null |
#### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/indexing.html
#### Documentation problem
Index is described as a "set", but behaves as a multiset: len() counts each occurrent of a duplicate element separately.
Also, Index is described as an "ordered set", but that term connotes a set with an order relation on the _values_ of its elements.
#### Suggested fix for documentation
An index seems more like an immutable ordered _list_; maybe, describe it as that?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36170/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36170/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36171
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36171/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36171/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36171/events
|
https://github.com/pandas-dev/pandas/pull/36171
| 694,516,782
|
MDExOlB1bGxSZXF1ZXN0NDgwODgzNjcw
| 36,171
|
DTA/TDA/PA use self._data instead of self.asi8 for self._ndarray
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "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": "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-09-06T20:26:35Z
| 2020-09-07T21:51:02Z
| 2020-09-07T20:46:34Z
|
MEMBER
| null |
This in turn will let us share more methods with the parent class, at the cost of re-shuffling where we do some of the view-casting.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36171/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36171/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36171.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36171",
"merged_at": "2020-09-07T20:46:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36171.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36171"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36172
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36172/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36172/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36172/events
|
https://github.com/pandas-dev/pandas/pull/36172
| 694,522,333
|
MDExOlB1bGxSZXF1ZXN0NDgwODg4NTE2
| 36,172
|
Clarify docs for df.to_sql `chunksize`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1232895?v=4",
"events_url": "https://api.github.com/users/gbrova/events{/privacy}",
"followers_url": "https://api.github.com/users/gbrova/followers",
"following_url": "https://api.github.com/users/gbrova/following{/other_user}",
"gists_url": "https://api.github.com/users/gbrova/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gbrova",
"id": 1232895,
"login": "gbrova",
"node_id": "MDQ6VXNlcjEyMzI4OTU=",
"organizations_url": "https://api.github.com/users/gbrova/orgs",
"received_events_url": "https://api.github.com/users/gbrova/received_events",
"repos_url": "https://api.github.com/users/gbrova/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gbrova/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbrova/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gbrova"
}
|
[
{
"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": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-09-06T20:45:00Z
| 2020-09-14T20:25:13Z
| 2020-09-14T20:25:12Z
|
NONE
| null |
- [x] closes #35891
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Note: this is a docs pr, so not adding tests or a 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/36172/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36172/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36172.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36172",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36172.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36172"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36173
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36173/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36173/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36173/events
|
https://github.com/pandas-dev/pandas/pull/36173
| 694,530,585
|
MDExOlB1bGxSZXF1ZXN0NDgwODk1NjI2
| 36,173
|
REF: collect methods by topic
|
{
"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"
}
] |
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-09-06T21:13:10Z
| 2020-09-07T21:47:37Z
| 2020-09-07T21:43:13Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36173/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36173/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36173.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36173",
"merged_at": "2020-09-07T21:43:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36173.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36173"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36174
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36174/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36174/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36174/events
|
https://github.com/pandas-dev/pandas/pull/36174
| 694,534,870
|
MDExOlB1bGxSZXF1ZXN0NDgwODk5MzUw
| 36,174
|
BUG: Ensure read_spss accepts pathlib Paths (GH33666)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9156191?v=4",
"events_url": "https://api.github.com/users/drmrd/events{/privacy}",
"followers_url": "https://api.github.com/users/drmrd/followers",
"following_url": "https://api.github.com/users/drmrd/following{/other_user}",
"gists_url": "https://api.github.com/users/drmrd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/drmrd",
"id": 9156191,
"login": "drmrd",
"node_id": "MDQ6VXNlcjkxNTYxOTE=",
"organizations_url": "https://api.github.com/users/drmrd/orgs",
"received_events_url": "https://api.github.com/users/drmrd/received_events",
"repos_url": "https://api.github.com/users/drmrd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/drmrd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drmrd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/drmrd"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 4
| 2020-09-06T21:28:24Z
| 2020-09-13T20:33:16Z
| 2020-09-13T20:29:42Z
|
CONTRIBUTOR
| null |
- [x] closes #33666
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Wrapped the `path` passed into `pandas.io.spss.read_spss` in a `pandas.io.common.stringify_path` call prior to passing it to `pyreadstat.read_sav`. This fixes #33666. I've also included tests validating `pd.read_spss` accepts strings and `pathlib.Path`s.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36174/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36174/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36174.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36174",
"merged_at": "2020-09-13T20:29:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36174.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36174"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36175
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36175/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36175/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36175/events
|
https://github.com/pandas-dev/pandas/pull/36175
| 694,560,851
|
MDExOlB1bGxSZXF1ZXN0NDgwOTIyMDQw
| 36,175
|
BUG: read_excel for ods files raising UnboundLocalError in certain cases
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1978117?v=4",
"events_url": "https://api.github.com/users/asishm/events{/privacy}",
"followers_url": "https://api.github.com/users/asishm/followers",
"following_url": "https://api.github.com/users/asishm/following{/other_user}",
"gists_url": "https://api.github.com/users/asishm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/asishm",
"id": 1978117,
"login": "asishm",
"node_id": "MDQ6VXNlcjE5NzgxMTc=",
"organizations_url": "https://api.github.com/users/asishm/orgs",
"received_events_url": "https://api.github.com/users/asishm/received_events",
"repos_url": "https://api.github.com/users/asishm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/asishm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asishm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/asishm"
}
|
[
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 7
| 2020-09-06T22:58:37Z
| 2021-01-05T09:37:02Z
| 2020-09-13T22:57:45Z
|
CONTRIBUTOR
| null |
- [x] closes #36122
- [x] closes #35802
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Need some guidance on tests here. Do we need tests for other file formats here as well? Also unsure about naming conventions.
The primary bug in this case (apart from the indentation problem in the original code) is that the code was ignoring cases where the XML of the cell had multiple child nodes that were not spaces
reverted implementation from #33233 incorporating part of its modifications.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36175/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36175/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36175.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36175",
"merged_at": "2020-09-13T22:57:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36175.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36175"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36176
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36176/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36176/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36176/events
|
https://github.com/pandas-dev/pandas/pull/36176
| 694,565,485
|
MDExOlB1bGxSZXF1ZXN0NDgwOTI2MTE0
| 36,176
|
COMPAT: match numpy behavior for searchsorted on dt64/td64
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "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"
}
| 3
| 2020-09-06T23:14:17Z
| 2020-09-08T00:17:02Z
| 2020-09-08T00:15:52Z
|
MEMBER
| null |
- [x] closes #29884
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Should whatsnew be considered a bug or breaking change?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36176/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36176/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36176.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36176",
"merged_at": "2020-09-08T00:15:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36176.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36176"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36177
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36177/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36177/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36177/events
|
https://github.com/pandas-dev/pandas/pull/36177
| 694,578,132
|
MDExOlB1bGxSZXF1ZXN0NDgwOTM3MDQ1
| 36,177
|
Move sort index to generic
|
{
"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": "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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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-09-06T23:57:53Z
| 2020-09-15T15:14:21Z
| 2020-09-15T02:11:48Z
|
MEMBER
| null |
- [x] closes #8283
- [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/36177/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36177/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36177.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36177",
"merged_at": "2020-09-15T02:11:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36177.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36177"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36178
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36178/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36178/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36178/events
|
https://github.com/pandas-dev/pandas/pull/36178
| 694,579,458
|
MDExOlB1bGxSZXF1ZXN0NDgwOTM4MDkz
| 36,178
|
STY: de-privatize names imported across modules
|
{
"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 |
[] |
{
"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-09-07T00:02:21Z
| 2020-09-08T23:04:44Z
| 2020-09-08T22:41:30Z
|
MEMBER
| null |
getting close to the end of this and enabling a code_check
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36178/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36178/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36178.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36178",
"merged_at": "2020-09-08T22:41:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36178.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36178"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36179
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36179/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36179/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36179/events
|
https://github.com/pandas-dev/pandas/pull/36179
| 694,633,442
|
MDExOlB1bGxSZXF1ZXN0NDgwOTg0ODEy
| 36,179
|
DEPR: string indexing along index for datetimes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related 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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
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-09-07T02:21:18Z
| 2020-09-27T01:04:33Z
| 2020-09-24T19:57:39Z
|
MEMBER
| null |
- [x] closes #31476
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Let's get ourselves one less special case to worry about
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36179/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36179/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36179.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36179",
"merged_at": "2020-09-24T19:57:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36179.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36179"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36180
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36180/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36180/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36180/events
|
https://github.com/pandas-dev/pandas/pull/36180
| 694,636,693
|
MDExOlB1bGxSZXF1ZXN0NDgwOTg3NjMy
| 36,180
|
REF: implement Categorical._validate_setitem_value
|
{
"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"
}
| 2
| 2020-09-07T02:28:46Z
| 2020-09-08T00:12:46Z
| 2020-09-07T22:41:00Z
|
MEMBER
| null |
Moving towards sharing more methods
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36180/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36180/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36180.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36180",
"merged_at": "2020-09-07T22:41:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36180.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36180"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36181
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36181/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36181/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36181/events
|
https://github.com/pandas-dev/pandas/pull/36181
| 694,649,310
|
MDExOlB1bGxSZXF1ZXN0NDgwOTk4NjMx
| 36,181
|
REF: use _validate_foo pattern in Categorical
|
{
"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"
},
{
"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-09-07T02:57:23Z
| 2020-09-07T20:10:41Z
| 2020-09-07T19:56:19Z
|
MEMBER
| null |
Similar to how we did it in datetimelike, eventually these validator methods are going to end up sharing most of their code
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36181/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36181/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36181.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36181",
"merged_at": "2020-09-07T19:56:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36181.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36181"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36182
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36182/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36182/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36182/events
|
https://github.com/pandas-dev/pandas/pull/36182
| 694,888,000
|
MDExOlB1bGxSZXF1ZXN0NDgxMjA1NDIw
| 36,182
|
DOC: release date for 1.1.2
|
{
"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": "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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 1
| 2020-09-07T09:03:18Z
| 2020-09-09T08:46:02Z
| 2020-09-08T11:50:14Z
|
MEMBER
| null |
pr for tomorrow
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36182/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36182/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36182.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36182",
"merged_at": "2020-09-08T11:50:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36182.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36182"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36183
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36183/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36183/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36183/events
|
https://github.com/pandas-dev/pandas/pull/36183
| 694,894,313
|
MDExOlB1bGxSZXF1ZXN0NDgxMjEwNjAz
| 36,183
|
DOC: Start 1.1.3
|
{
"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": "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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 3
| 2020-09-07T09:10:51Z
| 2020-09-09T08:37:11Z
| 2020-09-08T22:43:53Z
|
MEMBER
| null |
pr for tomorrow
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36183/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36183/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36183.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36183",
"merged_at": "2020-09-08T22:43:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36183.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36183"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36184
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36184/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36184/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36184/events
|
https://github.com/pandas-dev/pandas/issues/36184
| 694,925,934
|
MDU6SXNzdWU2OTQ5MjU5MzQ=
| 36,184
|
DOC: Insert "pandas" into json_normalize examples
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33203439?v=4",
"events_url": "https://api.github.com/users/joseberlines/events{/privacy}",
"followers_url": "https://api.github.com/users/joseberlines/followers",
"following_url": "https://api.github.com/users/joseberlines/following{/other_user}",
"gists_url": "https://api.github.com/users/joseberlines/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joseberlines",
"id": 33203439,
"login": "joseberlines",
"node_id": "MDQ6VXNlcjMzMjAzNDM5",
"organizations_url": "https://api.github.com/users/joseberlines/orgs",
"received_events_url": "https://api.github.com/users/joseberlines/received_events",
"repos_url": "https://api.github.com/users/joseberlines/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joseberlines/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joseberlines/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joseberlines"
}
|
[
{
"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": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-07T09:49:50Z
| 2020-09-08T00:30:20Z
| 2020-09-08T00:30:20Z
|
NONE
| null |
#### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.json_normalize.html
#### Documentation problem
It seems that in the examples cells the json_normalize is not preceded by pandas. (i.e. pandas dot)
This does not allow to simply copy and paste the examples.
#### Suggested fix for documentation
Just insert " pandas. " preceding the json_normalize() method in the example cells where it is missing.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36184/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36184/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36185
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36185/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36185/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36185/events
|
https://github.com/pandas-dev/pandas/pull/36185
| 694,940,719
|
MDExOlB1bGxSZXF1ZXN0NDgxMjUwMTI0
| 36,185
|
BUG: pandas.DataFrame().stack() raise an error, while expected is empty
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7390489?v=4",
"events_url": "https://api.github.com/users/steveya/events{/privacy}",
"followers_url": "https://api.github.com/users/steveya/followers",
"following_url": "https://api.github.com/users/steveya/following{/other_user}",
"gists_url": "https://api.github.com/users/steveya/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/steveya",
"id": 7390489,
"login": "steveya",
"node_id": "MDQ6VXNlcjczOTA0ODk=",
"organizations_url": "https://api.github.com/users/steveya/orgs",
"received_events_url": "https://api.github.com/users/steveya/received_events",
"repos_url": "https://api.github.com/users/steveya/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/steveya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/steveya/subscriptions",
"type": "User",
"url": "https://api.github.com/users/steveya"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, 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"
}
| 26
| 2020-09-07T10:07:24Z
| 2020-11-27T07:29:39Z
| 2020-11-26T15:54:44Z
|
CONTRIBUTOR
| null |
- [ ] closes #36113
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36185/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36185/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36185.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36185",
"merged_at": "2020-11-26T15:54:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36185.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36185"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36186
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36186/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36186/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36186/events
|
https://github.com/pandas-dev/pandas/issues/36186
| 694,961,388
|
MDU6SXNzdWU2OTQ5NjEzODg=
| 36,186
|
RLS: 1.1.3
|
{
"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": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 29
| 2020-09-07T10:32:12Z
| 2020-10-29T13:27:08Z
| 2020-10-29T13:15:36Z
|
MEMBER
| null |
[](https://github.com/simonjayhawkins/pandas-release/actions?query=workflow%3A%22Tag+Release%22)
Tracking issue for the 1.1.3 release.
https://github.com/pandas-dev/pandas/milestone/77
Please do not remove/change milestones from these issues without a note explaining the reasoning (changing milestones doesn't trigger notification)
During issue triage, regressions from 1.0.5 onwards should be milestoned 1.1.3 in the first instance. cc @pandas-dev/pandas-triage
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36186/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36186/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36187
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36187/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36187/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36187/events
|
https://github.com/pandas-dev/pandas/pull/36187
| 695,005,882
|
MDExOlB1bGxSZXF1ZXN0NDgxMzA3MDQ2
| 36,187
|
DOC: move release note for #36155
|
{
"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": "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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 3
| 2020-09-07T11:28:54Z
| 2020-09-07T19:44:44Z
| 2020-09-07T19:41:43Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/36155#issuecomment-687846461
does not need backport. release note already in 1.1.2 on backport branch
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36187/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36187/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36187.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36187",
"merged_at": "2020-09-07T19:41:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36187.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36187"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36188
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36188/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36188/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36188/events
|
https://github.com/pandas-dev/pandas/pull/36188
| 695,010,296
|
MDExOlB1bGxSZXF1ZXN0NDgxMzEwOTQ2
| 36,188
|
Backport PR #35882 on branch 1.1.x (BUG: item_cache invalidation in get_numeric_data)
|
{
"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": "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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-07T11:34:34Z
| 2020-09-07T19:06:15Z
| 2020-09-07T19:06:15Z
|
NONE
| null |
Backport PR #35882: BUG: item_cache invalidation in get_numeric_data
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36188/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36188/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36188.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36188",
"merged_at": "2020-09-07T19:06:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36188.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36188"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36189
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36189/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36189/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36189/events
|
https://github.com/pandas-dev/pandas/issues/36189
| 695,023,951
|
MDU6SXNzdWU2OTUwMjM5NTE=
| 36,189
|
BUG: Inconsistent behavior of index values for `DataFrame.apply` and `Series.apply`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26389732?v=4",
"events_url": "https://api.github.com/users/YarShev/events{/privacy}",
"followers_url": "https://api.github.com/users/YarShev/followers",
"following_url": "https://api.github.com/users/YarShev/following{/other_user}",
"gists_url": "https://api.github.com/users/YarShev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/YarShev",
"id": 26389732,
"login": "YarShev",
"node_id": "MDQ6VXNlcjI2Mzg5NzMy",
"organizations_url": "https://api.github.com/users/YarShev/orgs",
"received_events_url": "https://api.github.com/users/YarShev/received_events",
"repos_url": "https://api.github.com/users/YarShev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/YarShev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/YarShev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/YarShev"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
}
] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 6
| 2020-09-07T11:52:53Z
| 2020-09-13T15:53:38Z
| 2020-09-13T15:53:38Z
|
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 pandas as pd
pdf = pd.DataFrame([[4, 9]] * 3, columns=['A', 'B'])
pdf.apply(["sum", lambda df: df.sum(), lambda df: df.sum()]) # lambdas have postfix 0, 1 ...
A B
sum 12 27
<lambda_0> 12 27
<lambda_1> 12 27
s = pd.Series([4] * 3)
s.apply(["sum", lambda df: df.sum(), lambda df: df.sum()]) # lambdas have not postfix 0, 1 ...
sum 12
<lambda> 12
<lambda> 12
dtype: int64
```
#### Problem description
Could anyone explain please? Is it normal behavior? Why DataFrame's index has postfix for lambdas, but Series's index hasn't. The same behavior is observed for `agg`. There is no such behavior in pandas==1.0.5.
#### Output of ``pd.show_versions()``
<details>
pandas : 1.1.1
numpy : 1.18.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 41.2.0
Cython : None
pytest : 5.4.2
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.14.0
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : 0.7.3
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.4.1
sqlalchemy : 1.3.17
tables : 3.6.1
tabulate : None
xarray : 0.15.1
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/36189/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36189/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36190
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36190/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36190/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36190/events
|
https://github.com/pandas-dev/pandas/issues/36190
| 695,037,877
|
MDU6SXNzdWU2OTUwMzc4Nzc=
| 36,190
|
BUG: Inconsistent conversion of to_datetime
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31596773?v=4",
"events_url": "https://api.github.com/users/JulianWgs/events{/privacy}",
"followers_url": "https://api.github.com/users/JulianWgs/followers",
"following_url": "https://api.github.com/users/JulianWgs/following{/other_user}",
"gists_url": "https://api.github.com/users/JulianWgs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/JulianWgs",
"id": 31596773,
"login": "JulianWgs",
"node_id": "MDQ6VXNlcjMxNTk2Nzcz",
"organizations_url": "https://api.github.com/users/JulianWgs/orgs",
"received_events_url": "https://api.github.com/users/JulianWgs/received_events",
"repos_url": "https://api.github.com/users/JulianWgs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/JulianWgs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JulianWgs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/JulianWgs"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 2
| 2020-09-07T12:11:10Z
| 2020-09-07T13:04:29Z
| 2020-09-07T12:30:43Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
I've looked through all issues regarding `to_datetime`, but I could've missed something.
- [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
pd.to_datetime(["13.12.2020", "12.13.2020"])
# DatetimeIndex(['2020-12-13', '2020-12-13'], dtype='datetime64[ns]', freq=None)
```
#### Problem description
Two different inputs produce the same result. The reason is that the function uses a different format for different entries. I don't know what the usecase of this is, but usually all the data has the same format. The error also passes silently.
#### Expected Output
Either an error that something is wrong with the hint to use `days_first=True` or detect the format for all values and apply it.
I'm aware that the format can't always be determined, but it is possible to detect if something is wrong.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07
python : 3.8.3.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 : de_DE.cp1252
pandas : 1.1.1
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.3.1.post20200622
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.7.4
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.3.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36190/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36190/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36191
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36191/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36191/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36191/events
|
https://github.com/pandas-dev/pandas/pull/36191
| 695,037,938
|
MDExOlB1bGxSZXF1ZXN0NDgxMzM0OTk4
| 36,191
|
TST: update test_series_factorize_na_sentinel_none for 32bit
|
{
"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": "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": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 2
| 2020-09-07T12:11:14Z
| 2020-09-07T19:41:30Z
| 2020-09-07T19:39:16Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/issues/35831#issuecomment-688163069
(I've not tested this locally, after backport can retrigger https://github.com/MacPython/pandas-wheels/pull/97 to check)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36191/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36191/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36191.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36191",
"merged_at": "2020-09-07T19:39:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36191.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36191"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36192
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36192/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36192/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36192/events
|
https://github.com/pandas-dev/pandas/pull/36192
| 695,041,685
|
MDExOlB1bGxSZXF1ZXN0NDgxMzM4MjY0
| 36,192
|
TST: test_datetime64_factorize on 32bit
|
{
"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": "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": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
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-09-07T12:16:13Z
| 2020-09-07T19:07:35Z
| 2020-09-07T19:05:51Z
|
MEMBER
| null |
- [ ] closes #35921
- [ ] 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/36192/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36192/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36192.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36192",
"merged_at": "2020-09-07T19:05:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36192.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36192"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36193
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36193/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36193/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36193/events
|
https://github.com/pandas-dev/pandas/pull/36193
| 695,222,137
|
MDExOlB1bGxSZXF1ZXN0NDgxNDk1NTg0
| 36,193
|
CLN: remove unnecessary trailing commas on issues #35925
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44076327?v=4",
"events_url": "https://api.github.com/users/satrio-hw/events{/privacy}",
"followers_url": "https://api.github.com/users/satrio-hw/followers",
"following_url": "https://api.github.com/users/satrio-hw/following{/other_user}",
"gists_url": "https://api.github.com/users/satrio-hw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/satrio-hw",
"id": 44076327,
"login": "satrio-hw",
"node_id": "MDQ6VXNlcjQ0MDc2MzI3",
"organizations_url": "https://api.github.com/users/satrio-hw/orgs",
"received_events_url": "https://api.github.com/users/satrio-hw/received_events",
"repos_url": "https://api.github.com/users/satrio-hw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/satrio-hw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/satrio-hw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/satrio-hw"
}
|
[
{
"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"
}
| 6
| 2020-09-07T15:40:32Z
| 2020-09-09T13:24:19Z
| 2020-09-09T13:24:15Z
|
CONTRIBUTOR
| null |
#35925
- pandas/tests/arrays/categorical/test_replace.py
- pandas/tests/arrays/sparse/test_array.py
- pandas/tests/arrays/test_array.py
- pandas/tests/arrays/test_timedeltas.py
- pandas/tests/base/test_conversion.py
- pandas/tests/dtypes/test_missing.py
- pandas/tests/extension/base/methods.py
- pandas/tests/extension/test_sparse.py
- pandas/tests/frame/indexing/test_setitem.py
please give me a feedback if there is something that I have to change.. thank you 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/36193/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36193/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36193.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36193",
"merged_at": "2020-09-09T13:24:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36193.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36193"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36194
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36194/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36194/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36194/events
|
https://github.com/pandas-dev/pandas/pull/36194
| 695,238,601
|
MDExOlB1bGxSZXF1ZXN0NDgxNTA5ODY4
| 36,194
|
pandas docs json_normalize example
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40881094?v=4",
"events_url": "https://api.github.com/users/nzare/events{/privacy}",
"followers_url": "https://api.github.com/users/nzare/followers",
"following_url": "https://api.github.com/users/nzare/following{/other_user}",
"gists_url": "https://api.github.com/users/nzare/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nzare",
"id": 40881094,
"login": "nzare",
"node_id": "MDQ6VXNlcjQwODgxMDk0",
"organizations_url": "https://api.github.com/users/nzare/orgs",
"received_events_url": "https://api.github.com/users/nzare/received_events",
"repos_url": "https://api.github.com/users/nzare/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nzare/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nzare/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nzare"
}
|
[
{
"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": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-09-07T16:00:38Z
| 2020-09-08T03:37:02Z
| 2020-09-08T00:30:20Z
|
CONTRIBUTOR
| null |
- [x] closes #36184
- [x] Inserted " pandas. " preceding the json_normalize() method in the example cells where it was missing.
Documentation Location : [https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.json_normalize.html](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.json_normalize.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/36194/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36194/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36194.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36194",
"merged_at": "2020-09-08T00:30:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36194.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36194"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36195
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36195/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36195/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36195/events
|
https://github.com/pandas-dev/pandas/issues/36195
| 695,280,288
|
MDU6SXNzdWU2OTUyODAyODg=
| 36,195
|
Proposal for future copy / view semantics in indexing operations
|
{
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "1d76db",
"default": false,
"description": "A proposal for the roadmap.",
"id": 1653939309,
"name": "Roadmap",
"node_id": "MDU6TGFiZWwxNjUzOTM5MzA5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Roadmap"
},
{
"color": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] |
open
| false
| null |
[] | null | 71
| 2020-09-07T16:55:17Z
| 2021-10-29T22:16:54Z
| null |
CONTRIBUTOR
| null |
Update: concrete proposal for Copy-on-Write: https://docs.google.com/document/d/1ZCQ9mx3LBMy-nhwRl33_jgcvWo9IWdEfxDNQ2thyTb0/edit?usp=sharing
---
[_original post_]
Hi all,
During the recent sprint we discussed copy / view semantics in indexing operations. I've tried to summarize *a* proposal that came out of it.
The tldr is
1. Indexing operations always return a view *where possible* (always when indexing columns, if possible when indexing the rows).
2. For consistent behavior, we implement either Copy on Write or Error on Write (explained in the proposal)
3. For readability / understandability, we give users the tools to control in code whether mutations to a "child" dataframe (result of an indexing operation) propagate to the parent, while avoiding unnecessary "defensive" copies.
The full proposal is available at https://docs.google.com/document/d/1csGE4qigPR2vzmU2--jwURn3sK5k5eVewinxd8OUPk0/edit. I'd like to collect comments there and then propose properly by adding it to the roadmap.
cc @pandas-dev/pandas-core
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36195/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36195/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36196
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36196/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36196/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36196/events
|
https://github.com/pandas-dev/pandas/pull/36196
| 695,305,629
|
MDExOlB1bGxSZXF1ZXN0NDgxNTY5MTQx
| 36,196
|
CLN: remove unused return value in _create_blocks
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "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-09-07T17:38:01Z
| 2020-09-08T15:31:24Z
| 2020-09-08T15:29:03Z
|
MEMBER
| null |
The blocks are made unnecessary by the recent changes to use BlockManager.apply
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36196/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36196/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36196.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36196",
"merged_at": "2020-09-08T15:29:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36196.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36196"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36197
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36197/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36197/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36197/events
|
https://github.com/pandas-dev/pandas/issues/36197
| 695,334,022
|
MDU6SXNzdWU2OTUzMzQwMjI=
| 36,197
|
BUG: DataFrameGroupBy.rolling on an empty DataFrame throws a ValueError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/65913?v=4",
"events_url": "https://api.github.com/users/rbu/events{/privacy}",
"followers_url": "https://api.github.com/users/rbu/followers",
"following_url": "https://api.github.com/users/rbu/following{/other_user}",
"gists_url": "https://api.github.com/users/rbu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rbu",
"id": 65913,
"login": "rbu",
"node_id": "MDQ6VXNlcjY1OTEz",
"organizations_url": "https://api.github.com/users/rbu/orgs",
"received_events_url": "https://api.github.com/users/rbu/received_events",
"repos_url": "https://api.github.com/users/rbu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rbu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rbu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rbu"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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
|
{
"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"
}
|
[
{
"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"
}
] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 1
| 2020-09-07T18:39:53Z
| 2020-09-08T09:51:21Z
| 2020-09-08T09:51:21Z
|
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.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
pd.DataFrame({"s1": []}).groupby("s1").rolling(window=1).sum()
```
#### Problem description
Since a pandas update, the groupby above started failing in the edge case of an empty DataFrame. It used to simply return an empty DataFrame before, which seems like a more robust behaviour to me.
#### Expected Output
```
>>> pd.DataFrame({"s1": []}).groupby("s1").rolling(window=1).sum()
Empty DataFrame
Columns: []
Index: []
```
#### Actual Output
```
>>> pd.DataFrame({"s1": []}).groupby("s1").rolling(window=1).sum()'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "site-packages/pandas/core/window/rolling.py", line 2072, in sum
return super().sum(*args, **kwargs)
File "site-packages/pandas/core/window/rolling.py", line 1424, in sum
window_func, center=self.center, floor=0, name="sum", **kwargs
File "site-packages/pandas/core/window/rolling.py", line 2194, in _apply
**kwargs,
File "site-packages/pandas/core/window/rolling.py", line 528, in _apply
blocks, obj = self._create_blocks(self._selected_obj)
File "site-packages/pandas/core/window/rolling.py", line 2230, in _create_blocks
list(self._groupby.grouper.indices.values())
File "<__array_function__ internals>", line 6, in concatenate
ValueError: need at least one array to concatenate
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07
python : 3.7.9.final.0
python-bits : 64
OS : Linux
OS-release : 5.7.17-200.fc32.x86_64
Version : #1 SMP Fri Aug 21 15:23:46 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.1
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.7.3
pip : 19.3.1
setuptools : 42.0.2
Cython : None
pytest : 5.1.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.3.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.3.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.0
fastparquet : None
gcsfs : None
matplotlib : 3.0.3
numexpr : None
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.12.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
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/36197/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36197/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36198
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36198/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36198/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36198/events
|
https://github.com/pandas-dev/pandas/pull/36198
| 695,354,779
|
MDExOlB1bGxSZXF1ZXN0NDgxNjExNTE2
| 36,198
|
[BUG]: Groupy and Resample miscalculated aggregation
|
{
"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": "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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-09-07T19:30:14Z
| 2020-11-26T19:03:29Z
| 2020-11-26T19:03:29Z
|
MEMBER
| null |
- [x] closes #27343
- [x] closes #33548
- [x] closes #35275
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I think I found a solution for this issue. We used `obj.index` to get the Index values. In case of resample `obj.index` had the original index. This index was not necessarily a RangeIndex of course -> resulted in a IndexError. In case of a RangeIndex the object `self._grouper` may have been resorted -> Wrong elements were selected. The object `self.obj` stored the original DataFrame, but already sorted in the first go around (is overwritten later). I stored the mapping from original index to a new synthetic RangeIndex (sorted after the grouping column). This allows us to replace the Index of obj in a way, that the take function works.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36198/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36198/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36198.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36198",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36198.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36198"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36199
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36199/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36199/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36199/events
|
https://github.com/pandas-dev/pandas/pull/36199
| 695,354,790
|
MDExOlB1bGxSZXF1ZXN0NDgxNjExNTI1
| 36,199
|
Backport PR #36134: BUG: shows correct package name when import_optional_dependency is ca…
|
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-07T19:30:17Z
| 2020-09-07T20:51:23Z
| 2020-09-07T20:35:19Z
|
MEMBER
| null |
xref #36134
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36199/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36199/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36199.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36199",
"merged_at": "2020-09-07T20:35:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36199.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36199"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36200
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36200/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36200/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36200/events
|
https://github.com/pandas-dev/pandas/pull/36200
| 695,358,939
|
MDExOlB1bGxSZXF1ZXN0NDgxNjE1MDQ0
| 36,200
|
Backport PR #36191 on branch 1.1.x (TST: update test_series_factorize_na_sentinel_none for 32bit)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-07T19:41:11Z
| 2020-09-07T20:35:07Z
| 2020-09-07T20:35:06Z
|
NONE
| null |
Backport PR #36191: TST: update test_series_factorize_na_sentinel_none for 32bit
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36200/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36200/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36200.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36200",
"merged_at": "2020-09-07T20:35:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36200.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36200"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36201
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36201/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36201/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36201/events
|
https://github.com/pandas-dev/pandas/pull/36201
| 695,362,610
|
MDExOlB1bGxSZXF1ZXN0NDgxNjE4MTg0
| 36,201
|
BUG: Don't raise for NDFrame.mask with nullable boolean
|
{
"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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-09-07T19:51:30Z
| 2021-03-30T20:16:43Z
| 2020-11-06T18:03:18Z
|
MEMBER
| null |
- [x] closes https://github.com/pandas-dev/pandas/issues/35429
- [x] closes https://github.com/pandas-dev/pandas/issues/36395
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
~(Need to wait until the v1.1.3 whatsnew gets merged before adding a release note.)~
This is taking the approach of treating NA as False within NDFrame.mask and NDFrame.where when dealing with a nullable boolean mask.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36201/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36201/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36201.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36201",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36201.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36201"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36202
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36202/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36202/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36202/events
|
https://github.com/pandas-dev/pandas/pull/36202
| 695,363,800
|
MDExOlB1bGxSZXF1ZXN0NDgxNjE5MTY4
| 36,202
|
TST: DataFrame.replace: TypeError: Cannot compare types 'ndarray(dtype=int64)' and 'unicode'
|
{
"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": "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"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] |
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-09-07T19:54:48Z
| 2020-09-07T21:13:36Z
| 2020-09-07T21:11:30Z
|
MEMBER
| null |
- [x] closes #16784
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Thanks @jbrockmendel for fixing my related 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/36202/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36202/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36202.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36202",
"merged_at": "2020-09-07T21:11:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36202.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36202"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36203
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36203/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36203/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36203/events
|
https://github.com/pandas-dev/pandas/pull/36203
| 695,393,373
|
MDExOlB1bGxSZXF1ZXN0NDgxNjQ0NjA4
| 36,203
|
Backport PR #36152 on branch 1.1.x (Fix compressed multiindex for output of groupby.rolling)
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-07T21:13:12Z
| 2020-09-07T22:10:03Z
| 2020-09-07T22:10:03Z
|
NONE
| null |
Backport PR #36152: Fix compressed multiindex for output of groupby.rolling
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36203/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36203/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36203.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36203",
"merged_at": "2020-09-07T22:10:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36203.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36203"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36204
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36204/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36204/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36204/events
|
https://github.com/pandas-dev/pandas/issues/36204
| 695,410,606
|
MDU6SXNzdWU2OTU0MTA2MDY=
| 36,204
|
BUG: Incorrect parsing of ISO 8601 durations
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4249447?v=4",
"events_url": "https://api.github.com/users/lmeyerov/events{/privacy}",
"followers_url": "https://api.github.com/users/lmeyerov/followers",
"following_url": "https://api.github.com/users/lmeyerov/following{/other_user}",
"gists_url": "https://api.github.com/users/lmeyerov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lmeyerov",
"id": 4249447,
"login": "lmeyerov",
"node_id": "MDQ6VXNlcjQyNDk0NDc=",
"organizations_url": "https://api.github.com/users/lmeyerov/orgs",
"received_events_url": "https://api.github.com/users/lmeyerov/received_events",
"repos_url": "https://api.github.com/users/lmeyerov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lmeyerov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lmeyerov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lmeyerov"
}
|
[
{
"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"
}
| 3
| 2020-09-07T22:06:02Z
| 2020-10-17T00:07:07Z
| 2020-10-17T00:07:07Z
|
NONE
| null |
- [x ] I have checked that this issue has not already been reported.
- [ x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
pd.Timedelta('P1Y')
pd.Timedelta('P1M')
pd.Timedelta('P1W')
pd.Timedelta('P1D')
pd.Timedelta('P1DT1H')
pd.Timedelta('PT1H')
pd.Timedelta('P1H')
```
#### Problem description
Trying [most iso8601 duration formats](https://en.wikipedia.org/wiki/ISO_8601#Durations) fails.
For above examples:
* Expected pd.Timedelta instances of 1yr, 1mo, 1wk, 1d, 1d 1hr
* ... but got `ValueError: Invalid ISO 8601 Duration format - ...` on Y/M/W, PT1H
* ... 1D was '0'
* ... 1DT1H was '1d' (no hr)
Encountered while trying to figure out neo4j.time.Duration().isoformat() -> pandas ->arrow > rapids cudf timedelta[*] . Neo4j returns values like `P1Y3M15DT2H3M` and `P1Y3M`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36204/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36204/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36205
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36205/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36205/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36205/events
|
https://github.com/pandas-dev/pandas/pull/36205
| 695,410,876
|
MDExOlB1bGxSZXF1ZXN0NDgxNjU5MjU1
| 36,205
|
DOC: doc fix
|
{
"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": "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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 1
| 2020-09-07T22:06:54Z
| 2020-09-08T10:23:17Z
| 2020-09-08T10:22:20Z
|
MEMBER
| null |
https://github.com/pandas-dev/pandas/issues/35831#issuecomment-688518465
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36205/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36205/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36205.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36205",
"merged_at": "2020-09-08T10:22:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36205.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36205"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36206
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36206/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36206/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36206/events
|
https://github.com/pandas-dev/pandas/pull/36206
| 695,463,419
|
MDExOlB1bGxSZXF1ZXN0NDgxNzA1MjUw
| 36,206
|
REF: implement Categorical._box_func, make _box_func a method
|
{
"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": "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-09-08T00:50:57Z
| 2020-09-08T23:10:51Z
| 2020-09-08T22:24:55Z
|
MEMBER
| null |
Defining `_box_func` on `Categorical` is to facilitate more code sharing with datetimelike. Also there are a bunch of places that do something _similar_ but slightly different that I want to standardize within `Categorical`.
Changing `_box_func` from a property-lambda to a method on the datetimelike arrays gives a slight perf boost:
```
In [1]: import pandas as pd
In [2]: dti = pd.date_range("2016-01-01", periods=3)
In [3]: %timeit dti[1]
8.73 µs ± 50.8 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- master
8.08 µs ± 119 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- PR
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36206/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36206/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36206.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36206",
"merged_at": "2020-09-08T22:24:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36206.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36206"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36207
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36207/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36207/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36207/events
|
https://github.com/pandas-dev/pandas/pull/36207
| 695,483,220
|
MDExOlB1bGxSZXF1ZXN0NDgxNzIxODA3
| 36,207
|
Fixed pandas.json_normalize doctests errors
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18493550?v=4",
"events_url": "https://api.github.com/users/ylin00/events{/privacy}",
"followers_url": "https://api.github.com/users/ylin00/followers",
"following_url": "https://api.github.com/users/ylin00/following{/other_user}",
"gists_url": "https://api.github.com/users/ylin00/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ylin00",
"id": 18493550,
"login": "ylin00",
"node_id": "MDQ6VXNlcjE4NDkzNTUw",
"organizations_url": "https://api.github.com/users/ylin00/orgs",
"received_events_url": "https://api.github.com/users/ylin00/received_events",
"repos_url": "https://api.github.com/users/ylin00/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ylin00/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ylin00/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ylin00"
}
|
[
{
"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": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
closed
| false
| 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-09-08T01:52:16Z
| 2020-09-08T23:15:16Z
| 2020-09-08T13:01:44Z
|
CONTRIBUTOR
| null |
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] Changed `pandas.` to `pd.` in the docstring of `pandas.json_normalize`. Fixed the expected results.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36207/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36207/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36207.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36207",
"merged_at": "2020-09-08T13:01:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36207.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36207"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36208
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36208/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36208/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36208/events
|
https://github.com/pandas-dev/pandas/pull/36208
| 695,486,154
|
MDExOlB1bGxSZXF1ZXN0NDgxNzI0MDY5
| 36,208
|
BUG: GroupbyRolling with an empty frame
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 2
| 2020-09-08T02:01:13Z
| 2020-11-12T05:15:26Z
| 2020-09-08T09:51:21Z
|
MEMBER
| null |
- [x] closes #36197
- [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/36208/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36208/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36208.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36208",
"merged_at": "2020-09-08T09:51:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36208.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36208"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36209
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36209/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36209/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36209/events
|
https://github.com/pandas-dev/pandas/pull/36209
| 695,498,559
|
MDExOlB1bGxSZXF1ZXN0NDgxNzM0MTc5
| 36,209
|
REF: share more EA methods
|
{
"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": "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"
}
| 0
| 2020-09-08T02:37:54Z
| 2020-09-11T14:36:10Z
| 2020-09-11T13:04:38Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36209/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36209/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36209.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36209",
"merged_at": "2020-09-11T13:04:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36209.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36209"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36210
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36210/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36210/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36210/events
|
https://github.com/pandas-dev/pandas/issues/36210
| 695,507,502
|
MDU6SXNzdWU2OTU1MDc1MDI=
| 36,210
|
API/DEPR: casting bool-indexer to slice in dt64/td64/period
|
{
"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": "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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "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 |
[] |
{
"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-09-08T03:03:56Z
| 2020-10-12T01:23:58Z
| 2020-10-12T01:23:57Z
|
MEMBER
| null |
We use special logic for dt64/td64/period dtypes that makes view/copy behavior different from other dtypes:
```
dti = pd.date_range("2016-01-01", periods=4, tz="US/Pacific")
key = np.array([True, True, False, False])
ser1 = pd.Series(dti._data)
ser2 = pd.Series(range(4))
res1 = ser1[key]
res2 = ser2[key]
>>> res1._values._data.base is None
False
>>> res2._values.base is None
True
```
cc @jorisvandenbossche IIRC you advocated not doing this special casing.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36210/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36210/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36211
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36211/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36211/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36211/events
|
https://github.com/pandas-dev/pandas/issues/36211
| 695,637,094
|
MDU6SXNzdWU2OTU2MzcwOTQ=
| 36,211
|
BUG: to_json for DataFrame containing Path objects crash with infinite recursion
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12795317?v=4",
"events_url": "https://api.github.com/users/rikardn/events{/privacy}",
"followers_url": "https://api.github.com/users/rikardn/followers",
"following_url": "https://api.github.com/users/rikardn/following{/other_user}",
"gists_url": "https://api.github.com/users/rikardn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rikardn",
"id": 12795317,
"login": "rikardn",
"node_id": "MDQ6VXNlcjEyNzk1MzE3",
"organizations_url": "https://api.github.com/users/rikardn/orgs",
"received_events_url": "https://api.github.com/users/rikardn/received_events",
"repos_url": "https://api.github.com/users/rikardn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rikardn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rikardn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rikardn"
}
|
[
{
"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": "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": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
open
| false
| null |
[] | null | 1
| 2020-09-08T07:43:18Z
| 2020-09-16T22:44:58Z
| 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.
---
When trying to convert a DataFrame that contains Path objects to json it crashes:
```python
import pandas as pd
from pathlib import Path
df = pd.DataFrame({'a': [Path('m1')]})
df.to_json()
```
output
```
Traceback (most recent call last):
File "<ipython-input-67-05359facf0e6>", line 1, in <module>
df.to_json()
File "/home/rikard/.local/lib/python3.7/site-packages/pandas/core/generic.py", line 2305, in to_json
indent=indent,
File "/home/rikard/.local/lib/python3.7/site-packages/pandas/io/json/_json.py", line 84, in to_json
indent=indent,
File "/home/rikard/.local/lib/python3.7/site-packages/pandas/io/json/_json.py", line 144, in write
self.indent,
File "/home/rikard/.local/lib/python3.7/site-packages/pandas/io/json/_json.py", line 244, in _write
indent,
File "/home/rikard/.local/lib/python3.7/site-packages/pandas/io/json/_json.py", line 166, in _write
indent=indent,
OverflowError: Maximum recursion level reached
```
It might be that Path objects are not supported by to_json, but I wouldn't expect an infinite recursion.
<details>
INSTALLED VERSIONS
------------------
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07
python : 3.7.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.0-64-generic
Version : #58-Ubuntu SMP Fri Jul 10 19:33:51 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.1
numpy : 1.16.2
pytz : 2019.2
dateutil : 2.7.3
pip : 18.1
setuptools : 41.1.0
Cython : None
pytest : 3.7.4
hypothesis : None
sphinx : 2.4.4
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.10.2
pandas_datareader: None
bs4 : 4.9.0
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.1.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.1.0
sqlalchemy : None
tables : None
tabulate : None
xarray : 0.14.1
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/36211/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36211/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36212
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36212/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36212/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36212/events
|
https://github.com/pandas-dev/pandas/issues/36212
| 695,715,585
|
MDU6SXNzdWU2OTU3MTU1ODU=
| 36,212
|
BUG: df agg() issue when dataframe has a column called 'name'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15043698?v=4",
"events_url": "https://api.github.com/users/shyam-sreenivasan/events{/privacy}",
"followers_url": "https://api.github.com/users/shyam-sreenivasan/followers",
"following_url": "https://api.github.com/users/shyam-sreenivasan/following{/other_user}",
"gists_url": "https://api.github.com/users/shyam-sreenivasan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shyam-sreenivasan",
"id": 15043698,
"login": "shyam-sreenivasan",
"node_id": "MDQ6VXNlcjE1MDQzNjk4",
"organizations_url": "https://api.github.com/users/shyam-sreenivasan/orgs",
"received_events_url": "https://api.github.com/users/shyam-sreenivasan/received_events",
"repos_url": "https://api.github.com/users/shyam-sreenivasan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shyam-sreenivasan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shyam-sreenivasan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shyam-sreenivasan"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-08T09:35:01Z
| 2020-09-13T13:15:07Z
| 2020-09-13T13:15:07Z
|
NONE
| null |
- [ ] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
data = {"name": ["abc", "xyz"]}
df = pd.DataFrame(data)
print(df.agg({'name': 'count'}))
```
#### Problem description
In the above code snippet, there is a column called 'name' in the dataframe and when executing it an exception is being thrown. Following the stacktrace , it is observed that in line 475 of core/base.py , df.name is being passed to the `name` argument of
result = Series(result, name=getattr(self, "name", None))
when the dataframe has a column called 'name'.
The same code snippet works fine for any other column name. For example, if we change the column name to `nameee`. It executes fine.
Stack trace
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/base.py in _aggregate(self, arg, *args, **kwargs)
470 try:
--> 471 result = DataFrame(result)
472 except ValueError:
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/frame.py in __init__(self, data, index, columns, dtype, copy)
467 elif isinstance(data, dict):
--> 468 mgr = init_dict(data, index, columns, dtype=dtype)
469 elif isinstance(data, ma.MaskedArray):
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/internals/construction.py in init_dict(data, index, columns, dtype)
282 ]
--> 283 return arrays_to_mgr(arrays, data_names, index, columns, dtype=dtype)
284
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/internals/construction.py in arrays_to_mgr(arrays, arr_names, index, columns, dtype, verify_integrity)
77 if index is None:
---> 78 index = extract_index(arrays)
79 else:
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/internals/construction.py in extract_index(data)
386 if not indexes and not raw_lengths:
--> 387 raise ValueError("If using all scalar values, you must pass an index")
388
ValueError: If using all scalar values, you must pass an index
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/frame.py in aggregate(self, func, axis, *args, **kwargs)
7358 try:
-> 7359 result, how = self._aggregate(func, axis=axis, *args, **kwargs)
7360 except TypeError as err:
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/frame.py in _aggregate(self, arg, axis, *args, **kwargs)
7383 return result, how
-> 7384 return super()._aggregate(arg, *args, **kwargs)
7385
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/base.py in _aggregate(self, arg, *args, **kwargs)
474 # we have a dict of scalars
--> 475 result = Series(result, name=getattr(self, "name", None))
476
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/series.py in __init__(self, data, index, dtype, name, copy, fastpath)
228
--> 229 name = ibase.maybe_extract_name(name, data, type(self))
230
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/indexes/base.py in maybe_extract_name(name, obj, cls)
5658 if not is_hashable(name):
-> 5659 raise TypeError(f"{cls.__name__}.name must be a hashable type")
5660
TypeError: Series.name must be a hashable type
The above exception was the direct cause of the following exception:
TypeError Traceback (most recent call last)
<ipython-input-6-efe06ed8dce0> in <module>
2 data = {"name": ["abc", "xyz"]}
3 df = pd.DataFrame(data)
----> 4 print(df.agg({'name': 'count'}))
~/.virtualenvs/dimensions-connectors/lib/python3.7/site-packages/pandas/core/frame.py in aggregate(self, func, axis, *args, **kwargs)
7363 f"incompatible data and dtype: {err}"
7364 )
-> 7365 raise exc from err
7366 if result is None:
7367 return self.apply(func, axis=axis, args=args, **kwargs)
TypeError: DataFrame constructor called with incompatible data and dtype: Series.name must be a hashable type
```
#### Expected Output
name 2
dtype: int64
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
------------------
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07
python : 3.7.5.final.0
python-bits : 64
OS : Darwin
OS-release : 17.4.0
Version : Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.1
numpy : 1.18.4
pytz : 2019.3
dateutil : 2.8.1
pip : 20.1
setuptools : 46.1.3
Cython : 0.29.16
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : 0.9.3
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.7.4
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.11
tables : None
tabulate : 0.7.7
xarray : None
xlrd : 1.2.0
xlwt : None
numba : None
<details>
</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/36212/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36212/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36213
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36213/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36213/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36213/events
|
https://github.com/pandas-dev/pandas/pull/36213
| 695,727,725
|
MDExOlB1bGxSZXF1ZXN0NDgxOTIzODI2
| 36,213
|
Backport PR #36208 on branch 1.1.x (BUG: GroupbyRolling with an empty frame)
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-08T09:53:16Z
| 2020-09-08T10:49:23Z
| 2020-09-08T10:49:23Z
|
NONE
| null |
Backport PR #36208: BUG: GroupbyRolling with an empty frame
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36213/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36213/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36213.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36213",
"merged_at": "2020-09-08T10:49:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36213.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36213"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36214
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36214/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36214/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36214/events
|
https://github.com/pandas-dev/pandas/issues/36214
| 695,741,854
|
MDU6SXNzdWU2OTU3NDE4NTQ=
| 36,214
|
ENH: add sep argument to DataFrame/Series.explode
|
{
"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": "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
|
{
"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"
}
] | null | 3
| 2020-09-08T10:09:42Z
| 2020-09-08T12:32:39Z
| 2020-09-08T12:32:39Z
|
CONTRIBUTOR
| null |
Right now both `DataFrame.explode` and `Series.explode` will unnest a list to rows. But most of the times the origin of the problem is that we have a concatenated string with a seperator. So the solution is to overwrite the column while splitting it to a list and then calling `DataFrame.explode`:
```python
df = pd.DataFrame({
"a":["string1;string2;string3", "string4;string5"]
})
a
0 string1;string2;string3
1 string4;string5
df.assign(a=df["a"].str.split(";")).explode("a")
a
0 string1
0 string2
0 string3
1 string4
1 string5
```
What would be more convenient is to have a `sep` argument which then checks if the column dtype is "object" or "string" and does the splitting itself:
```
df.explode("a", sep=";")
a
0 string1
0 string2
0 string3
1 string4
1 string5
```
Note: if argument `sep` is given and the column values is list-like, it should raise.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36214/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36214/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36215
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36215/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36215/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36215/events
|
https://github.com/pandas-dev/pandas/pull/36215
| 695,749,762
|
MDExOlB1bGxSZXF1ZXN0NDgxOTQyMzQ0
| 36,215
|
Backport PR #36205 on branch 1.1.x (DOC: doc fix)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-09-09T09:07:44Z",
"closed_issues": 94,
"created_at": "2020-08-17T19:11:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-08T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/76",
"id": 5781056,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76/labels",
"node_id": "MDk6TWlsZXN0b25lNTc4MTA1Ng==",
"number": 76,
"open_issues": 0,
"state": "closed",
"title": "1.1.2",
"updated_at": "2020-10-02T11:57:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/76"
}
| 0
| 2020-09-08T10:22:30Z
| 2020-09-08T11:05:52Z
| 2020-09-08T11:05:52Z
|
NONE
| null |
Backport PR #36205: DOC: doc fix
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36215/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36215/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36215.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36215",
"merged_at": "2020-09-08T11:05:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36215.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36215"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36216
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36216/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36216/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36216/events
|
https://github.com/pandas-dev/pandas/issues/36216
| 695,783,412
|
MDU6SXNzdWU2OTU3ODM0MTI=
| 36,216
|
Refactor StringMethods for extension arrays
|
{
"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": "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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "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": null,
"closed_issues": 4,
"created_at": "2016-08-16T13:21:24Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2022-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/42",
"id": 1945020,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/42/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0NTAyMA==",
"number": 42,
"open_issues": 11,
"state": "open",
"title": "2.0",
"updated_at": "2021-10-07T22:01:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/42"
}
| 0
| 2020-09-08T11:17:48Z
| 2020-09-30T12:22:25Z
| 2020-09-30T12:22:25Z
|
CONTRIBUTOR
| null |
This is an issue to track a refactor of StringMethods that'll be necessary for ArrowStringArray to use pyarrow compute algorithms.
We'll need to update StringMethods
1. Extract the array from the Series / Index
2. Dispatch the string methods
3. Wrap the result
So in my proposal, we'll have something like
```python
class StringMethods:
def __init__(self, data, ...):
self._array = data.array
...
def upper(self):
return self._wrap_result(self._array._str.upper())
```
cc @xhochy. I have a branch started and will hopefully finish it off this week.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36216/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36216/timeline
| null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.