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
unknown | updated_at
unknown | closed_at
unknown | 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/42320 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42320/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42320/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42320/events | https://github.com/pandas-dev/pandas/issues/42320 | 933,375,191 | MDU6SXNzdWU5MzMzNzUxOTE= | 42,320 | BUG: `Styler.to_latex` permanently impacts `table_styles` for successive calls | {
"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": "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": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
},
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-06-30T07:05:29Z" | "2021-06-30T14:39:23Z" | "2021-06-30T14:39:23Z" | CONTRIBUTOR | null | For
```styler = DataFrame([[1]]).style```
doing
```styler.to_latex(hrules=True)``` (or any other kw argument which impacts `table_styles`)
results in:
```
\begin{tabular}{lr}
\toprule
{} & {0} \\
\midrule
0 & 1 \\
\bottomrule
\end{tabular}
```
Now doing
```styler.to_latex(hrules=False)```
still results in
```
\begin{tabular}{lr}
\toprule
{} & {0} \\
\midrule
0 & 1 \\
\bottomrule
\end{tabular}
```
because the `table_styles` attribute on `styler` has been overwritten by first call which dominates the second.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42320/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42320/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42321 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42321/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42321/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42321/events | https://github.com/pandas-dev/pandas/pull/42321 | 933,390,764 | MDExOlB1bGxSZXF1ZXN0NjgwNjAzODE2 | 42,321 | Backport PR #42317 on branch 1.3.x (Revert "REF: move shift logic from BlockManager to DataFrame") | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-06-30T07:26:16Z" | "2021-06-30T09:19:45Z" | "2021-06-30T09:19:45Z" | NONE | null | Backport PR #42317: Revert "REF: move shift logic from BlockManager to DataFrame" | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42321/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42321/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42321.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42321",
"merged_at": "2021-06-30T09:19:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42321.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42321"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42322 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42322/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42322/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42322/events | https://github.com/pandas-dev/pandas/pull/42322 | 933,394,888 | MDExOlB1bGxSZXF1ZXN0NjgwNjA3MzIz | 42,322 | Revert "Revert "REF: move shift logic from BlockManager to DataFrame"" | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "b60205",
"default": false,
"description": "Temporarily-closed PR the author plans to return to",
"id": 1991290519,
"name": "Mothballed",
"node_id": "MDU6TGFiZWwxOTkxMjkwNTE5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Mothballed"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-06-30T07:31:53Z" | "2021-07-02T21:03:14Z" | "2021-07-02T20:30:47Z" | MEMBER | null | Reverts pandas-dev/pandas#42317 which was a revert to backport for 1.3.0 release, this puts those changes back on master.
does not close perf issue as will still exist on master | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42322/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42322/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42322.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42322",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42322.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42322"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42323 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42323/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42323/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42323/events | https://github.com/pandas-dev/pandas/pull/42323 | 933,404,692 | MDExOlB1bGxSZXF1ZXN0NjgwNjE1NjI0 | 42,323 | BUG: `Styler.to_latex` now doesn't manipulate the `Styler` object. | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "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": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
},
{
"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": "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"
} | 8 | "2021-06-30T07:45:04Z" | "2021-07-13T20:58:54Z" | "2021-06-30T14:39:23Z" | CONTRIBUTOR | null | - [x] closes #42320
- [x] tests added / passed
- [x] whatsnew entry not needed if included in 1.3.0 (although will be needed for 1.3.1)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42323/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42323/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42323.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42323",
"merged_at": "2021-06-30T14:39:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42323.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42323"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42324 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42324/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42324/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42324/events | https://github.com/pandas-dev/pandas/pull/42324 | 933,510,198 | MDExOlB1bGxSZXF1ZXN0NjgwNzA0Njk0 | 42,324 | Backport PR #42318: PERF/REGR: symmetric_difference revert most of #41833 | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "006b75",
"default": false,
"description": "union, intersection, difference, symmetric_difference",
"id": 3073524400,
"name": "setops",
"node_id": "MDU6TGFiZWwzMDczNTI0NDAw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/setops"
}
] | 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"
} | 3 | "2021-06-30T09:51:39Z" | "2021-06-30T14:34:39Z" | "2021-06-30T14:34:30Z" | MEMBER | null | Backport PR #42318 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42324/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42324/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42324.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42324",
"merged_at": "2021-06-30T14:34:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42324.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42324"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42325 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42325/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42325/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42325/events | https://github.com/pandas-dev/pandas/pull/42325 | 933,693,056 | MDExOlB1bGxSZXF1ZXN0NjgwODYyOTI3 | 42,325 | WEB: Added theme dependent favicon | {
"avatar_url": "https://avatars.githubusercontent.com/u/53790060?v=4",
"events_url": "https://api.github.com/users/DeviousLab/events{/privacy}",
"followers_url": "https://api.github.com/users/DeviousLab/followers",
"following_url": "https://api.github.com/users/DeviousLab/following{/other_user}",
"gists_url": "https://api.github.com/users/DeviousLab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DeviousLab",
"id": 53790060,
"login": "DeviousLab",
"node_id": "MDQ6VXNlcjUzNzkwMDYw",
"organizations_url": "https://api.github.com/users/DeviousLab/orgs",
"received_events_url": "https://api.github.com/users/DeviousLab/received_events",
"repos_url": "https://api.github.com/users/DeviousLab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DeviousLab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DeviousLab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DeviousLab"
} | [
{
"color": "23ef97",
"default": false,
"description": "pandas website",
"id": 1508144531,
"name": "Web",
"node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 7 | "2021-06-30T13:11:23Z" | "2021-07-09T13:16:26Z" | "2021-07-09T13:16:22Z" | CONTRIBUTOR | null | - [x] closes #42314
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Added a light mode version of the favicon based upon the .svgs in the static folder as well as added a small js scipt to the template page to detect the theme 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/42325/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42325/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42325.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42325",
"merged_at": "2021-07-09T13:16:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42325.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42325"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42326 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42326/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42326/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42326/events | https://github.com/pandas-dev/pandas/pull/42326 | 933,774,210 | MDExOlB1bGxSZXF1ZXN0NjgwOTMyMjc4 | 42,326 | REF: avoid try/except in maybe_mi_droplevel | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-06-30T14:31:25Z" | "2021-07-04T21:43:50Z" | "2021-07-04T21:35:14Z" | MEMBER | null | Sits on top of #42315 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42326/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42326/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42326.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42326",
"merged_at": "2021-07-04T21:35:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42326.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42326"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42327 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42327/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42327/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42327/events | https://github.com/pandas-dev/pandas/pull/42327 | 933,782,504 | MDExOlB1bGxSZXF1ZXN0NjgwOTM5NDAw | 42,327 | Backport PR #42323 on branch 1.3.x (BUG: `Styler.to_latex` now doesn't manipulate the `Styler` object.) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
},
{
"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": "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"
} | 3 | "2021-06-30T14:39:54Z" | "2021-06-30T17:03:16Z" | "2021-06-30T17:03:08Z" | NONE | null | Backport PR #42323: BUG: `Styler.to_latex` now doesn't manipulate the `Styler` object. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42327/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42327/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42327.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42327",
"merged_at": "2021-06-30T17:03:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42327.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42327"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42328 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42328/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42328/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42328/events | https://github.com/pandas-dev/pandas/pull/42328 | 933,913,481 | MDExOlB1bGxSZXF1ZXN0NjgxMDQ2ODg1 | 42,328 | add Juneteenth to USFederalHolidayCalendar | {
"avatar_url": "https://avatars.githubusercontent.com/u/6011789?v=4",
"events_url": "https://api.github.com/users/ChuliangXiao/events{/privacy}",
"followers_url": "https://api.github.com/users/ChuliangXiao/followers",
"following_url": "https://api.github.com/users/ChuliangXiao/following{/other_user}",
"gists_url": "https://api.github.com/users/ChuliangXiao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ChuliangXiao",
"id": 6011789,
"login": "ChuliangXiao",
"node_id": "MDQ6VXNlcjYwMTE3ODk=",
"organizations_url": "https://api.github.com/users/ChuliangXiao/orgs",
"received_events_url": "https://api.github.com/users/ChuliangXiao/received_events",
"repos_url": "https://api.github.com/users/ChuliangXiao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ChuliangXiao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ChuliangXiao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ChuliangXiao"
} | [
{
"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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | closed | false | null | [] | null | 5 | "2021-06-30T16:59:01Z" | "2021-08-08T21:20:33Z" | "2021-08-08T21:20:32Z" | NONE | null | * Add **Juneteenth National Independence Day**
* Standardize the [official federal holiday names](https://www.opm.gov/policy-data-oversight/pay-leave/federal-holidays/#url=2021) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42328/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42328/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42328.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42328",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42328.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42328"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42329 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42329/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42329/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42329/events | https://github.com/pandas-dev/pandas/pull/42329 | 934,119,838 | MDExOlB1bGxSZXF1ZXN0NjgxMjI4NjQ3 | 42,329 | BUG: .loc with MultiIndex with tuple in level GH#27591 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-06-30T20:55:22Z" | "2021-08-09T01:50:17Z" | "2021-08-08T23:30:36Z" | MEMBER | null | - [x] closes #27591
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/42329/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42329/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42329.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42329",
"merged_at": "2021-08-08T23:30:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42329.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42329"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42330 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42330/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42330/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42330/events | https://github.com/pandas-dev/pandas/pull/42330 | 934,688,511 | MDExOlB1bGxSZXF1ZXN0NjgxNzIxODMw | 42,330 | BENCH: update imports to allow testing against 1.2.5 | {
"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": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-01T10:30:44Z" | "2021-07-02T18:29:02Z" | "2021-07-02T00:23:07Z" | 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/42330/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42330/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42330.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42330",
"merged_at": "2021-07-02T00:23:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42330.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42330"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42331 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42331/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42331/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42331/events | https://github.com/pandas-dev/pandas/issues/42331 | 934,688,784 | MDU6SXNzdWU5MzQ2ODg3ODQ= | 42,331 | BUG: Unsorted and Monotonic Indexes respond differently on non-existant key(s) slicing | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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"
}
] | open | false | null | [] | null | 1 | "2021-07-01T10:31:01Z" | "2021-08-21T04:06:28Z" | null | CONTRIBUTOR | null | For a python list, bad-indexing can result in `IndexError`:
```
>>> ls = ["a", "b", "c"]
>>> ls[1]
"b"
>>> ls[5]
IndexError("list index out of range")
```
Slicing behaves differently and returns empty list with bad indexes:
```
>>> ls[2:5]
["c"]
>>> ls[4:5]
[]
```
For a **monotonic** `Index` pandas behaves in the same way either when a single key or list of keys is given compared with a slice:
```
>>> ser = Series([1,2,3], index=["a", "b", "c"])
# single key
>>> ser.loc["a"]
1
>>> ser.loc["!"]
KeyError("!")
# list of keys
>>> ser.loc[["a", "b"]]
Series([1, 2], index=["a", "b"])
>>> ser.loc[["!", "a"]]
KeyError("['!'] not in index")
>>> ser.loc[["!", "!!"]]
KeyError("None of [Index(['!', '!!'], dtype='object')] are in the [index]")
# key slicing
>>> ser.loc[slice("a","b")]
Series([1, 2], index=["a", "b"])
>>> ser.loc[slice("a", "!")]
Series([], dtype: int64)
>>> ser.loc[slice("!", "!!")]
Series([], dtype: int64)
```
For a non-monotonic (**unsorted**) index the behaviour is the same except for the empty return:
```
>>> ser = Series([1,3,2], index=["a", "c", "b"])
# key slicing
>>> ser.loc[slice("a", "b")
Series([1, 3, 2], index=["a", "c", "b"])
>>> ser.loc[slice("a", "!")]
KeyError("!")
>>> ser.loc[slice("!", "!!")]
KeyError("!")
```
Anyone with ideas?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42331/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42331/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42332 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42332/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42332/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42332/events | https://github.com/pandas-dev/pandas/issues/42332 | 934,704,528 | MDU6SXNzdWU5MzQ3MDQ1Mjg= | 42,332 | BUG: groupby().agg() loses column names for an empty dataframe with 'idxmax' as an aggregation function | {
"avatar_url": "https://avatars.githubusercontent.com/u/28623784?v=4",
"events_url": "https://api.github.com/users/DFEvans/events{/privacy}",
"followers_url": "https://api.github.com/users/DFEvans/followers",
"following_url": "https://api.github.com/users/DFEvans/following{/other_user}",
"gists_url": "https://api.github.com/users/DFEvans/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DFEvans",
"id": 28623784,
"login": "DFEvans",
"node_id": "MDQ6VXNlcjI4NjIzNzg0",
"organizations_url": "https://api.github.com/users/DFEvans/orgs",
"received_events_url": "https://api.github.com/users/DFEvans/received_events",
"repos_url": "https://api.github.com/users/DFEvans/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DFEvans/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DFEvans/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DFEvans"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "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/18680207?v=4",
"events_url": "https://api.github.com/users/calvh/events{/privacy}",
"followers_url": "https://api.github.com/users/calvh/followers",
"following_url": "https://api.github.com/users/calvh/following{/other_user}",
"gists_url": "https://api.github.com/users/calvh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/calvh",
"id": 18680207,
"login": "calvh",
"node_id": "MDQ6VXNlcjE4NjgwMjA3",
"organizations_url": "https://api.github.com/users/calvh/orgs",
"received_events_url": "https://api.github.com/users/calvh/received_events",
"repos_url": "https://api.github.com/users/calvh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/calvh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/calvh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/calvh"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/18680207?v=4",
"events_url": "https://api.github.com/users/calvh/events{/privacy}",
"followers_url": "https://api.github.com/users/calvh/followers",
"following_url": "https://api.github.com/users/calvh/following{/other_user}",
"gists_url": "https://api.github.com/users/calvh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/calvh",
"id": 18680207,
"login": "calvh",
"node_id": "MDQ6VXNlcjE4NjgwMjA3",
"organizations_url": "https://api.github.com/users/calvh/orgs",
"received_events_url": "https://api.github.com/users/calvh/received_events",
"repos_url": "https://api.github.com/users/calvh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/calvh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/calvh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/calvh"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/43814575?v=4",
"events_url": "https://api.github.com/users/goyaldhara/events{/privacy}",
"followers_url": "https://api.github.com/users/goyaldhara/followers",
"following_url": "https://api.github.com/users/goyaldhara/following{/other_user}",
"gists_url": "https://api.github.com/users/goyaldhara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/goyaldhara",
"id": 43814575,
"login": "goyaldhara",
"node_id": "MDQ6VXNlcjQzODE0NTc1",
"organizations_url": "https://api.github.com/users/goyaldhara/orgs",
"received_events_url": "https://api.github.com/users/goyaldhara/received_events",
"repos_url": "https://api.github.com/users/goyaldhara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/goyaldhara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/goyaldhara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/goyaldhara"
}
] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 7 | "2021-07-01T10:49:41Z" | "2021-08-31T22:43:44Z" | "2021-08-31T07:52:56Z" | 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
df = pd.DataFrame(columns=["id1", "id2", "time", "values"], dtype="int")
df_ok = df.groupby(["id1", "id2"]).sum()
print("Dataframe using .count() with groupby column names retained")
print(df_ok.index.names)
df_ok_2 = df.groupby(["id1", "id2"]).agg(**{
"start": pd.NamedAgg(column="time", aggfunc="min"),
})
print()
print("Dataframe using aggfunc='min' with groupby columns retained")
print(df_ok_2.index.names)
df_bad = df.groupby(["id1", "id2"]).agg(**{
"start": pd.NamedAgg(column="time", aggfunc="min"),
"peak_time": pd.NamedAgg(column="values", aggfunc="idxmax")
})
print()
print("Dataframe using aggfunc='min' and aggfunc='idxmax' with groupby column names lost")
print(df_bad.index.names)
df_bad = df.groupby(["id1", "id2"]).agg(**{
"peak_time": pd.NamedAgg(column="values", aggfunc="idxmax")
})
print()
print("Dataframe using only aggfunc='idxmax' with groupby columns lost entirely")
print(df_bad.index.names)
```
Output:
```
Dataframe using .count() with groupby column names retained
['id1', 'id2']
Dataframe using aggfunc='min' with groupby columns retained
['id1', 'id2']
Dataframe using aggfunc='min' and aggfunc='idxmax' with groupby column names lost
[None, None]
Dataframe using only aggfunc='idxmax' with groupby columns lost entirely
[None]
```
#### Problem description
The index returned by `DataFrame.groupby().agg()` is inconsistent depending on the aggregation applied to the groupby for an empty dataframe. This makes it difficult to use the output of these functions without adding subsequent if/else blocks to re-build the index names.
In the above examples, the provided DataFrame is empty. The behaviour of the returned DataFrames differs by how I handle the groupby:
1. If I use a function like .count(), the 'groupby' columns are both retained, and their names are kept, as I expect
2. If I use .agg() with 'min' as the function, the same good behaviour occurs
3. If I use .agg() with two functions, one being 'min' and the other 'idxmin', two index columns are returned but their names are lost, becoming 'level_0' and 'level_1'
4. If I use .agg() with only 'idxmin' as the function, only a single index column is returned, even though I grouped by two columns.
In Pandas 1.1.5, the third case behaved well, remembering the column names; the behaviour changed in 1.2.0.
#### Expected Output
The groupby columns and their names are remembered in all cases.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7c48ff4409c622c582c56a5702373f726de08e96
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-1160.31.1.el7.x86_64
Version : #1 SMP Tue Jun 15 10:20:52 CDT 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.2.5
numpy : 1.19.4
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 41.6.0
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : 3.5.4
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.9.1 (dt dec pq3 ext lo64)
jinja2 : 3.0.1
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 2021.06.0
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.7.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.53.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42332/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42332/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42333 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42333/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42333/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42333/events | https://github.com/pandas-dev/pandas/issues/42333 | 934,893,495 | MDU6SXNzdWU5MzQ4OTM0OTU= | 42,333 | REGR: rolling.EWMMethods.time_ewm | {
"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": "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": "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": "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": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"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.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 0 | "2021-07-01T14:13:09Z" | "2021-08-16T20:26:59Z" | "2021-08-16T20:26:59Z" | MEMBER | null | This seems to have resulted in a performance regression for the existing ASV benchmark: https://pandas.pydata.org/speed/pandas/#rolling.EWMMethods.time_ewm?python=3.8&Cython=0.29.21&p-constructor='DataFrame'&p-constructor='Series'&p-window=1000&p-dtype='float'&p-method='mean'&commits=ab687aec-f066cda6
_Originally posted by @jorisvandenbossche in https://github.com/pandas-dev/pandas/issues/40072#issuecomment-787456038_ | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42333/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42333/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42334 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42334/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42334/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42334/events | https://github.com/pandas-dev/pandas/pull/42334 | 934,988,199 | MDExOlB1bGxSZXF1ZXN0NjgxOTgwMjc3 | 42,334 | PERF/REGR: restore IntervalIndex._intersection_non_unique | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
},
{
"color": "006b75",
"default": false,
"description": "union, intersection, difference, symmetric_difference",
"id": 3073524400,
"name": "setops",
"node_id": "MDU6TGFiZWwzMDczNTI0NDAw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/setops"
}
] | 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"
} | 9 | "2021-07-01T15:53:09Z" | "2021-07-02T13:36:36Z" | "2021-07-01T18:17:50Z" | MEMBER | null | - [ ] xref #42240
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Reverts the rest of #41929 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42334/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42334/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42334.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42334",
"merged_at": "2021-07-01T18:17:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42334.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42334"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42335 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42335/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42335/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42335/events | https://github.com/pandas-dev/pandas/pull/42335 | 935,047,979 | MDExOlB1bGxSZXF1ZXN0NjgyMDI5NzQz | 42,335 | BUG: Series.loc with MultiIndex whose first level is all-NaN | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-01T17:06:31Z" | "2021-07-15T04:38:12Z" | "2021-07-15T04:24:14Z" | MEMBER | null | - [x] closes #42055
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/42335/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42335/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42335.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42335",
"merged_at": "2021-07-15T04:24:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42335.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42335"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42336 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42336/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42336/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42336/events | https://github.com/pandas-dev/pandas/pull/42336 | 935,102,464 | MDExOlB1bGxSZXF1ZXN0NjgyMDczOTkw | 42,336 | Backport PR #42334 on branch 1.3.x (PERF/REGR: restore IntervalIndex._intersection_non_unique) | {
"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": "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": "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": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
},
{
"color": "006b75",
"default": false,
"description": "union, intersection, difference, symmetric_difference",
"id": 3073524400,
"name": "setops",
"node_id": "MDU6TGFiZWwzMDczNTI0NDAw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/setops"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-07-01T18:18:19Z" | "2021-07-01T19:18:53Z" | "2021-07-01T19:18:53Z" | NONE | null | Backport PR #42334: PERF/REGR: restore IntervalIndex._intersection_non_unique | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42336/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42336/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42336.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42336",
"merged_at": "2021-07-01T19:18:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42336.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42336"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42337 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42337/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42337/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42337/events | https://github.com/pandas-dev/pandas/pull/42337 | 935,123,947 | MDExOlB1bGxSZXF1ZXN0NjgyMDkwOTA3 | 42,337 | Backport PR #42313 on branch 1.3.x (DOC: v1.3.0 release date) | {
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 0 | "2021-07-01T18:50:52Z" | "2021-07-01T20:39:34Z" | "2021-07-01T20:39:32Z" | NONE | null | Backport PR #42313: DOC: v1.3.0 release date | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42337/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42337/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42337.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42337",
"merged_at": "2021-07-01T20:39:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42337.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42337"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42338 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42338/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42338/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42338/events | https://github.com/pandas-dev/pandas/pull/42338 | 935,277,145 | MDExOlB1bGxSZXF1ZXN0NjgyMjIxNTIy | 42,338 | PERF/REGR: revert #41785 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 5 | "2021-07-01T23:06:36Z" | "2021-07-13T09:51:59Z" | "2021-07-08T12:42:32Z" | MEMBER | null | - [x] closes #42248
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/42338/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42338/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42338.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42338",
"merged_at": "2021-07-08T12:42:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42338.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42338"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42339 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42339/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42339/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42339/events | https://github.com/pandas-dev/pandas/pull/42339 | 935,413,848 | MDExOlB1bGxSZXF1ZXN0NjgyMzMzNzU0 | 42,339 | ENH: Add `method='table'` for EWM.mean | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-07-02T04:56:30Z" | "2021-07-06T19:06:22Z" | "2021-07-06T16:52:51Z" | MEMBER | null | - [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
close #42273 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42339/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42339/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42339.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42339",
"merged_at": "2021-07-06T16:52:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42339.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42339"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42340 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42340/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42340/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42340/events | https://github.com/pandas-dev/pandas/pull/42340 | 935,436,732 | MDExOlB1bGxSZXF1ZXN0NjgyMzUyMDIx | 42,340 | DOC: Unsuppress relevant dataframe in split-apply-combine guide | {
"avatar_url": "https://avatars.githubusercontent.com/u/7686641?v=4",
"events_url": "https://api.github.com/users/chrisyeh96/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisyeh96/followers",
"following_url": "https://api.github.com/users/chrisyeh96/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisyeh96/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrisyeh96",
"id": 7686641,
"login": "chrisyeh96",
"node_id": "MDQ6VXNlcjc2ODY2NDE=",
"organizations_url": "https://api.github.com/users/chrisyeh96/orgs",
"received_events_url": "https://api.github.com/users/chrisyeh96/received_events",
"repos_url": "https://api.github.com/users/chrisyeh96/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrisyeh96/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisyeh96/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrisyeh96"
} | [
{
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-02T05:43:53Z" | "2021-07-15T21:22:42Z" | "2021-07-15T21:22:34Z" | CONTRIBUTOR | null | Currently, the [user guide for groupby](https://pandas.pydata.org/docs/dev/user_guide/groupby.html#dataframe-column-selection-in-groupby) shows the following code, but it is unclear where the "C" and "D" columns come from.

In the rendered documentation, the preceding definition of `df` does not have "C" and "D" columns.
```python
In [50]: arrays = [
....: ["bar", "bar", "baz", "baz", "foo", "foo", "qux", "qux"],
....: ["one", "two", "one", "two", "one", "two", "one", "two"],
....: ]
....:
In [51]: index = pd.MultiIndex.from_arrays(arrays, names=["first", "second"])
In [52]: df = pd.DataFrame({"A": [1, 1, 1, 1, 2, 2, 3, 3], "B": np.arange(8)}, index=index)
In [53]: df
Out[53]:
A B
first second
bar one 1 0
two 1 1
baz one 1 2
two 1 3
foo one 2 4
two 2 5
qux one 3 6
two 3 7
```
Instead, the code under the heading "DataFrame column selection in GroupBy" is referring to a completely different dataframe which is in the RST file but is suppressed in the rendered documentation.
This pull request un-suppresses that relevant dataframe so that readers can see where the "C" and "D" columns come from. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42340/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42340/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42340.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42340",
"merged_at": "2021-07-15T21:22:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42340.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42340"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42341 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42341/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42341/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42341/events | https://github.com/pandas-dev/pandas/pull/42341 | 935,626,602 | MDExOlB1bGxSZXF1ZXN0NjgyNTA3NDk5 | 42,341 | For CI check | {
"avatar_url": "https://avatars.githubusercontent.com/u/16566635?v=4",
"events_url": "https://api.github.com/users/ytakashina/events{/privacy}",
"followers_url": "https://api.github.com/users/ytakashina/followers",
"following_url": "https://api.github.com/users/ytakashina/following{/other_user}",
"gists_url": "https://api.github.com/users/ytakashina/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ytakashina",
"id": 16566635,
"login": "ytakashina",
"node_id": "MDQ6VXNlcjE2NTY2NjM1",
"organizations_url": "https://api.github.com/users/ytakashina/orgs",
"received_events_url": "https://api.github.com/users/ytakashina/received_events",
"repos_url": "https://api.github.com/users/ytakashina/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ytakashina/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ytakashina/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ytakashina"
} | [] | closed | false | null | [] | null | 1 | "2021-07-02T10:13:08Z" | "2021-07-02T10:16:36Z" | "2021-07-02T10:13:15Z" | CONTRIBUTOR | 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/42341/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42341/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42341.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42341",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42341.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42341"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42342 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42342/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42342/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42342/events | https://github.com/pandas-dev/pandas/pull/42342 | 935,644,126 | MDExOlB1bGxSZXF1ZXN0NjgyNTIyMjkz | 42,342 | DOC: fix docs after deprecation of args | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 3 | "2021-07-02T10:35:15Z" | "2021-07-04T13:33:00Z" | "2021-07-03T22:46:35Z" | CONTRIBUTOR | null | follows up an oversigh from #40628.
`False` was deprecated as an input so the example should be updated. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42342/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42342/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42342.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42342",
"merged_at": "2021-07-03T22:46:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42342.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42342"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42343 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42343/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42343/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42343/events | https://github.com/pandas-dev/pandas/issues/42343 | 935,786,335 | MDU6SXNzdWU5MzU3ODYzMzU= | 42,343 | RLS: 1.3.1 | {
"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": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 16 | "2021-07-02T13:45:44Z" | "2021-07-28T12:08:05Z" | "2021-07-28T12:08:04Z" | MEMBER | null | Tracking issue for the 1.3.1 release.
https://github.com/pandas-dev/pandas/milestone/87
Currently scheduled for July 25, 2021 (date flexible on severity of regressions)
List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression
significant performance regressions between 1.2.5 and 1.3.0
```
before after ratio
[7c48ff44] [f00ed8f4]
<v1.2.5^0> <v1.3.0^0>
+ 2.43±0.03ms 28.4±1ms 11.66 indexing.InsertColumns.time_assign_list_like_with_setitem
+ 5.79±0.08ms 29.9±0.4ms 5.17 frame_methods.MaskBool.time_frame_mask_bools
+ 88.7±0.9μs 453±5μs 5.11 inference.ToTimedelta.time_convert_int
+ 82.6±2ms 386±1ms 4.67 frame_ctor.FromDicts.time_nested_dict_int64
+ 363±10μs 1.26±0.01ms 3.48 stat_ops.FrameOps.time_op('prod', 'int', 1)
+ 537±7μs 1.84±0.01ms 3.43 stat_ops.FrameOps.time_op('mean', 'int', 1)
+ 341±3μs 1.09±0.01ms 3.21 stat_ops.FrameOps.time_op('sum', 'int', 1)
+ 643±10μs 1.95±0.01ms 3.03 rolling.EWMMethods.time_ewm('Series', 1000, 'float', 'mean')
+ 626±6μs 1.88±0.03ms 3.00 rolling.EWMMethods.time_ewm('Series', 10, 'float', 'mean')
+ 678±9μs 2.00±0.04ms 2.95 rolling.EWMMethods.time_ewm('Series', 10, 'int', 'mean')
+ 696±10μs 2.01±0.01ms 2.89 rolling.EWMMethods.time_ewm('Series', 1000, 'int', 'mean')
+ 592±9μs 1.68±0.01ms 2.84 stat_ops.FrameOps.time_op('mean', 'int', 0)
+ 758±10μs 2.11±0.02ms 2.79 rolling.EWMMethods.time_ewm('DataFrame', 10, 'float', 'mean')
+ 1.34±0.01ms 3.73±0.1ms 2.78 stat_ops.FrameOps.time_op('std', 'int', 0)
+ 804±10μs 2.21±0.03ms 2.75 rolling.EWMMethods.time_ewm('DataFrame', 10, 'int', 'mean')
+ 479±4μs 1.32±0.04ms 2.75 stat_ops.FrameOps.time_op('sum', 'int', 0)
+ 213±4ns 583±8ns 2.74 tslibs.timestamp.TimestampProperties.time_freqstr(None, 'B')
+ 218±2ns 592±4ns 2.72 tslibs.timestamp.TimestampProperties.time_freqstr(<DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>, 'B')
+ 1.32±0.03ms 3.58±0.04ms 2.70 stat_ops.FrameOps.time_op('var', 'int', 0)
+ 221±2ns 595±9ns 2.69 tslibs.timestamp.TimestampProperties.time_freqstr(tzlocal(), 'B')
+ 216±2ns 582±6ns 2.69 tslibs.timestamp.TimestampProperties.time_freqstr(datetime.timezone(datetime.timedelta(seconds=3600)), 'B')
+ 212±4ns 567±10ns 2.68 tslibs.timestamp.TimestampProperties.time_freqstr(tzfile('/usr/share/zoneinfo/Asia/Tokyo'), 'B')
```
cc @pandas-dev/pandas-core @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/42343/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42343/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42344 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42344/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42344/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42344/events | https://github.com/pandas-dev/pandas/issues/42344 | 935,855,649 | MDU6SXNzdWU5MzU4NTU2NDk= | 42,344 | BUG: pandas 1.3.0 is only available for python 3.7 | {
"avatar_url": "https://avatars.githubusercontent.com/u/480845?v=4",
"events_url": "https://api.github.com/users/Alphadelta14/events{/privacy}",
"followers_url": "https://api.github.com/users/Alphadelta14/followers",
"following_url": "https://api.github.com/users/Alphadelta14/following{/other_user}",
"gists_url": "https://api.github.com/users/Alphadelta14/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Alphadelta14",
"id": 480845,
"login": "Alphadelta14",
"node_id": "MDQ6VXNlcjQ4MDg0NQ==",
"organizations_url": "https://api.github.com/users/Alphadelta14/orgs",
"received_events_url": "https://api.github.com/users/Alphadelta14/received_events",
"repos_url": "https://api.github.com/users/Alphadelta14/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Alphadelta14/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Alphadelta14/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Alphadelta14"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 2 | "2021-07-02T15:06:03Z" | "2021-07-02T15:12:17Z" | "2021-07-02T15:11:57Z" | 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.
#### Problem description
Using a package manager (pip 21.1.1 on python 3.8), pandas 1.3.0 is not installable.
This project has neither a source distribution nor any non-3.7 versions for the 1.3.0 version of pandas according to: https://pypi.org/project/pandas/#files

#### Expected Output
`pip install pandas==1.3.0` would work if python 3.8 is platform.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42344/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42344/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42345 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42345/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42345/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42345/events | https://github.com/pandas-dev/pandas/issues/42345 | 935,876,620 | MDU6SXNzdWU5MzU4NzY2MjA= | 42,345 | BUG: regression for 1.3.0: saving a dataframe with the "pickle" package using pandas 1.2.5 would not open with "pickle" again with pandas 1.3.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8392324?v=4",
"events_url": "https://api.github.com/users/shadiakiki1986/events{/privacy}",
"followers_url": "https://api.github.com/users/shadiakiki1986/followers",
"following_url": "https://api.github.com/users/shadiakiki1986/following{/other_user}",
"gists_url": "https://api.github.com/users/shadiakiki1986/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shadiakiki1986",
"id": 8392324,
"login": "shadiakiki1986",
"node_id": "MDQ6VXNlcjgzOTIzMjQ=",
"organizations_url": "https://api.github.com/users/shadiakiki1986/orgs",
"received_events_url": "https://api.github.com/users/shadiakiki1986/received_events",
"repos_url": "https://api.github.com/users/shadiakiki1986/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shadiakiki1986/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shadiakiki1986/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shadiakiki1986"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 9 | "2021-07-02T15:33:25Z" | "2021-07-06T19:40:38Z" | "2021-07-06T19:40:38Z" | 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.
---
**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
I created a notebook here to illustrate the issue
https://colab.research.google.com/drive/1por9_BTeLYvZxNzLOBv_jIsFh44mnz4N?usp=sharing
Main error message:
```
/usr/local/lib/python3.7/dist-packages/pandas/_libs/internals.pyx in pandas._libs.internals.BlockManager.__cinit__()
TypeError: __cinit__() takes at least 2 positional arguments (0 given)
```
#### Problem description
Dataframes saved with pandas 1.2.5 and "pickle" are no longer loadable with pandas 1.3.0
Related to #42343
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.104+
Version : #1 SMP Sat Jun 5 09:50:34 PDT 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.19.5
pytz : 2018.9
dateutil : 2.8.1
pip : 19.3.1
setuptools : 57.0.0
Cython : 0.29.23
pytest : 3.6.4
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.2.6
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64)
jinja2 : 2.11.3
IPython : 5.5.0
pandas_datareader: 0.9.0
bs4 : 4.6.3
bottleneck : 1.3.2
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.3
odfpy : None
openpyxl : 2.5.9
pandas_gbq : 0.13.3
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.4.18
tables : 3.4.4
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 1.1.0
xlwt : 1.3.0
numba : 0.51.2
</details>
| {
"+1": 14,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 14,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42345/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42345/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42346 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42346/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42346/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42346/events | https://github.com/pandas-dev/pandas/pull/42346 | 935,882,908 | MDExOlB1bGxSZXF1ZXN0NjgyNzI0MTUx | 42,346 | ENH: Rename index when using DataFrame.reset_index | {
"avatar_url": "https://avatars.githubusercontent.com/u/44147817?v=4",
"events_url": "https://api.github.com/users/gcaria/events{/privacy}",
"followers_url": "https://api.github.com/users/gcaria/followers",
"following_url": "https://api.github.com/users/gcaria/following{/other_user}",
"gists_url": "https://api.github.com/users/gcaria/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gcaria",
"id": 44147817,
"login": "gcaria",
"node_id": "MDQ6VXNlcjQ0MTQ3ODE3",
"organizations_url": "https://api.github.com/users/gcaria/orgs",
"received_events_url": "https://api.github.com/users/gcaria/received_events",
"repos_url": "https://api.github.com/users/gcaria/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gcaria/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gcaria/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gcaria"
} | [
{
"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": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
}
] | null | 9 | "2021-07-02T15:42:15Z" | "2021-10-31T01:10:37Z" | "2021-10-31T01:10:37Z" | CONTRIBUTOR | null | - [x] closes #6878
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Probably the hardest part of this PR is choosing a good name for the new argument. As mentioned in #6878 the `name` keyword is already used in `Series.reset_index`, although to rename the data column. It could be argued that using `name` also in this PR would not cause confusion, since it's hard to assume one can rename a column's name in `DataFrame.reset_index` (which column would it be?).
Anyway, I've opted for `names`. I've also thought of `rename` but that sounds like asking for a boolean. `new_name` is an option too, although a bit ugly. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42346/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42346/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42346.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42346",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42346.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42346"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42347 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42347/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42347/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42347/events | https://github.com/pandas-dev/pandas/issues/42347 | 935,912,349 | MDU6SXNzdWU5MzU5MTIzNDk= | 42,347 | RLS: Missing assets in release 1.3.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/12542576?v=4",
"events_url": "https://api.github.com/users/benoit9126/events{/privacy}",
"followers_url": "https://api.github.com/users/benoit9126/followers",
"following_url": "https://api.github.com/users/benoit9126/following{/other_user}",
"gists_url": "https://api.github.com/users/benoit9126/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benoit9126",
"id": 12542576,
"login": "benoit9126",
"node_id": "MDQ6VXNlcjEyNTQyNTc2",
"organizations_url": "https://api.github.com/users/benoit9126/orgs",
"received_events_url": "https://api.github.com/users/benoit9126/received_events",
"repos_url": "https://api.github.com/users/benoit9126/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benoit9126/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benoit9126/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benoit9126"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Administrative tasks related to the pandas project",
"id": 32933285,
"name": "Admin",
"node_id": "MDU6TGFiZWwzMjkzMzI4NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin"
},
{
"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 | [] | null | 3 | "2021-07-02T16:26:12Z" | "2021-07-04T13:28:00Z" | "2021-07-04T13:28:00Z" | 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.
#### Problem description
The list of assets published on Pypi for pandas 1.3.0 does not contain assets for Python 3.8 and Python 3.9. See the list [here](https://pypi.org/project/pandas/1.3.0/#files)
For comparison, in Pandas 1.2.5, the list of published assets is [here](https://pypi.org/project/pandas/1.2.5/#files).
#### Expected Output
I expected the same list of assets as the one of Pandas 1.2.5 for Pandas 1.3.0. | {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42347/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42347/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42348 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42348/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42348/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42348/events | https://github.com/pandas-dev/pandas/pull/42348 | 935,913,572 | MDExOlB1bGxSZXF1ZXN0NjgyNzUwMTU4 | 42,348 | Backport PR #42312 on branch 1.3.x (DOC: Start v1.3.1 release notes) | {
"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": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-02T16:28:20Z" | "2021-07-02T17:24:30Z" | "2021-07-02T17:24:30Z" | NONE | null | Backport PR #42312: DOC: Start v1.3.1 release notes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42348/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42348/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42348.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42348",
"merged_at": "2021-07-02T17:24:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42348.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42348"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42349 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42349/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42349/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42349/events | https://github.com/pandas-dev/pandas/issues/42349 | 936,001,052 | MDU6SXNzdWU5MzYwMDEwNTI= | 42,349 | API: pd.Label to disambiguate e.g. MultiIndex level, or tuple as sequence vs label | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "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": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] | open | false | null | [] | null | 1 | "2021-07-02T18:51:15Z" | "2021-08-21T04:08:40Z" | null | MEMBER | null | The 'level' argument in MultiIndex methods can be ambiguous in at least 2 ways.
1) If an index's level names are `[1, 0]`, then `level=0` may refer to either level depending on whether it is a position or a label #21677.
2) If an index level names are `["foo", "bar", ("foo, "bar")]`, then `level=("foo", "bar")` may refer to either the first two levels, or the last level #21120
One option to address the first one is adding keywords to specify e.g. level_num or level_name #10461
The new idea I'd like to discuss is having a `pd.Label` class to treat something ambiguous as a label. So in the first case, passing `level=pd.Label(0)` would indicate that you want the second level. In the second case, `level=pd.Label(("foo", "bar"))` would indicate that this should be interpreted as a single label and not a sequence of labels.
Following an appropriate deprecation cycle, the default would be to interpret ambiguous cases as positional/sequence unless pd.Label is explicitly used.
pd.Label has a couple of other potential uses
A) If `frame.index` (or `series.index.levels[0]`) contains tuples, then `df.loc[a, b]` may either be selecting a single key `(a, b)` from the index, or may be selecting `a` from the index and `b` from the columns. `df.loc[pd.Label((a, b))` would disambiguate
B) in `__getitem__/__setitem__` pd.Label could indicate to use .loc and not fallback to .iloc (not that useful since the user could just use .loc directly) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42349/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42349/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42350 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42350/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42350/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42350/events | https://github.com/pandas-dev/pandas/pull/42350 | 936,086,587 | MDExOlB1bGxSZXF1ZXN0NjgyODk3NzUy | 42,350 | BUG: Don't cache args during rolling/expanding.apply with numba engine | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
},
{
"color": "5319e7",
"default": false,
"description": "numba-accelerated operations",
"id": 2138993554,
"name": "numba",
"node_id": "MDU6TGFiZWwyMTM4OTkzNTU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-02T21:59:52Z" | "2021-07-05T23:21:16Z" | "2021-07-04T18:13:18Z" | MEMBER | null | - [x] closes #42287
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/42350/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42350/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42350.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42350",
"merged_at": "2021-07-04T18:13:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42350.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42350"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42351 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42351/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42351/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42351/events | https://github.com/pandas-dev/pandas/pull/42351 | 936,119,377 | MDExOlB1bGxSZXF1ZXN0NjgyOTI2MDE4 | 42,351 | DEPR: ignoring missing labels when indexing on MultiIndex level | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-07-02T23:42:06Z" | "2021-07-14T23:50:56Z" | "2021-07-14T23:20:45Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
There are a bunch of issues that boil down to this weird behavior. I need to track down the full list (@attack68 do you have such a list handy?) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42351/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42351/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42351.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42351",
"merged_at": "2021-07-14T23:20:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42351.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42351"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42352 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42352/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42352/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42352/events | https://github.com/pandas-dev/pandas/issues/42352 | 936,156,022 | MDU6SXNzdWU5MzYxNTYwMjI= | 42,352 | BUG: df.to_dict(orient="records") significantly slower in Pandas 1.3.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/67301607?v=4",
"events_url": "https://api.github.com/users/kyri-petrou/events{/privacy}",
"followers_url": "https://api.github.com/users/kyri-petrou/followers",
"following_url": "https://api.github.com/users/kyri-petrou/following{/other_user}",
"gists_url": "https://api.github.com/users/kyri-petrou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kyri-petrou",
"id": 67301607,
"login": "kyri-petrou",
"node_id": "MDQ6VXNlcjY3MzAxNjA3",
"organizations_url": "https://api.github.com/users/kyri-petrou/orgs",
"received_events_url": "https://api.github.com/users/kyri-petrou/received_events",
"repos_url": "https://api.github.com/users/kyri-petrou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kyri-petrou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kyri-petrou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kyri-petrou"
} | [
{
"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": "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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 2 | "2021-07-03T03:07:51Z" | "2021-07-12T12:43:43Z" | "2021-07-12T12:43:43Z" | NONE | null | Using `df.to_dict(orient="records")` with large dataframes is significantly slower in pandas 1.3.0 vs 1.2.5.
Could you please advice on what might be the cause of this issue?
### Test dataframe

```
<class 'pandas.core.frame.DataFrame'>
Int64Index: 100823 entries, 0 to 262141
Data columns (total 13 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 Class 100823 non-null object
1 x 100823 non-null float64
2 y 100823 non-null float64
3 z 100823 non-null float64
4 rgb 100823 non-null object
5 distance 100823 non-null float64
6 treecluster 100820 non-null float64
7 normal 100823 non-null object
8 color 100823 non-null object
9 rgb_distance 100823 non-null object
10 responsibility 100820 non-null object
11 vp_codes 100820 non-null float64
12 rgb_treecluster 100823 non-null object
dtypes: float64(6), object(7)
memory usage: 10.8+ MB
```
### Simple timing test

### Profiling
#### Pandas 1.2.5
```
5547864 function calls (5547672 primitive calls) in 1.791 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
1310699 0.568 0.000 0.831 0.000 cast.py:137(maybe_box_datetimelike)
1411522 0.351 0.000 1.181 0.000 frame.py:1601(<genexpr>)
100824 0.288 0.000 0.288 0.000 frame.py:1596(<genexpr>)
1 0.280 0.280 1.759 1.759 frame.py:1600(<listcomp>)
2621687 0.263 0.000 0.263 0.000 {built-in method builtins.isinstance}
1 0.028 0.028 1.791 1.791 <string>:2(<module>)
100823 0.010 0.000 0.010 0.000 {method 'items' of 'dict' objects}
83/3 0.002 0.000 0.002 0.001 {built-in method _abc._abc_subclasscheck}
13 0.000 0.000 0.001 0.000 indexing.py:782(_getitem_lowerdim)
26 0.000 0.000 0.000 0.000 generic.py:5467(__setattr__)
```
#### Pandas 1.3.0
```
35794233 function calls (35794206 primitive calls) in 15.844 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
1310699 2.127 0.000 11.738 0.000 common.py:1578(_is_dtype_type)
806581 2.013 0.000 5.492 0.000 base.py:425(find)
1310696 1.942 0.000 8.020 0.000 common.py:1744(pandas_dtype)
2218073 1.415 0.000 1.740 0.000 base.py:208(construct_from_string)
12703947 1.410 0.000 1.410 0.000 {built-in method builtins.isinstance}
1310699 1.066 0.000 14.387 0.000 cast.py:173(maybe_box_native)
1310699 0.962 0.000 12.927 0.000 common.py:996(is_datetime_or_timedelta_dtype)
1411522 0.598 0.000 14.985 0.000 frame.py:1823(<genexpr>)
1 0.498 0.498 15.815 15.815 frame.py:1822(<listcomp>)
1310699 0.344 0.000 0.535 0.000 common.py:146(<lambda>)
100824 0.313 0.000 0.313 0.000 frame.py:1818(<genexpr>)
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42352/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42352/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42353 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42353/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42353/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42353/events | https://github.com/pandas-dev/pandas/pull/42353 | 936,159,147 | MDExOlB1bGxSZXF1ZXN0NjgyOTU3NDc3 | 42,353 | PERF: DatetimeIndex.union | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-03T03:28:17Z" | "2021-07-04T21:42:51Z" | "2021-07-04T21:33:46Z" | MEMBER | null | ```
In [2]: dti = pd.date_range('2016-01-01', periods=10**5, freq="s")
In [3]: dti2 = dti.delete(50000)
In [4]: %timeit dti.union(dti2)
1.77 ms ± 7.97 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- master
1.55 ms ± 9.29 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42353/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42353/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42353.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42353",
"merged_at": "2021-07-04T21:33:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42353.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42353"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42354 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42354/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42354/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42354/events | https://github.com/pandas-dev/pandas/pull/42354 | 936,194,214 | MDExOlB1bGxSZXF1ZXN0NjgyOTgyNjI0 | 42,354 | TST: mark test_wrong_url as requiring network | {
"avatar_url": "https://avatars.githubusercontent.com/u/110765?v=4",
"events_url": "https://api.github.com/users/mgorny/events{/privacy}",
"followers_url": "https://api.github.com/users/mgorny/followers",
"following_url": "https://api.github.com/users/mgorny/following{/other_user}",
"gists_url": "https://api.github.com/users/mgorny/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mgorny",
"id": 110765,
"login": "mgorny",
"node_id": "MDQ6VXNlcjExMDc2NQ==",
"organizations_url": "https://api.github.com/users/mgorny/orgs",
"received_events_url": "https://api.github.com/users/mgorny/received_events",
"repos_url": "https://api.github.com/users/mgorny/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mgorny/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mgorny/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mgorny"
} | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-03T07:19:32Z" | "2021-07-04T21:34:16Z" | "2021-07-04T21:34:12Z" | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/42354/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42354/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42354.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42354",
"merged_at": "2021-07-04T21:34:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42354.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42354"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42355 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42355/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42355/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42355/events | https://github.com/pandas-dev/pandas/issues/42355 | 936,199,943 | MDU6SXNzdWU5MzYxOTk5NDM= | 42,355 | BUG: build failure on PyPy in hash functions | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-03T07:57:15Z" | "2021-07-04T21:32:44Z" | "2021-07-04T21:32:43Z" | MEMBER | null | The PyPy builds on conda-forge are failing with
```
In file included from pandas/_libs/algos.c:663:
pandas/_libs/src/klib/khash_python.h: In function 'complexobject_hash':
pandas/_libs/src/klib/khash_python.h:282:38: error: '_PyHASH_IMAG' undeclared (first use in this function)
282 | Py_uhash_t combined = realhash + _PyHASH_IMAG * imaghash;
| ^~~~~~~~~~~~
pandas/_libs/src/klib/khash_python.h:282:38: note: each undeclared identifier is reported only once for each function it appears in
```
This seems to be related to https://github.com/pandas-dev/pandas/pull/41988 cc @realead
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42355/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42355/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42356 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42356/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42356/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42356/events | https://github.com/pandas-dev/pandas/issues/42356 | 936,258,086 | MDU6SXNzdWU5MzYyNTgwODY= | 42,356 | BUG: AttributeError: 'DataFrame' object has no attribute '_is_builtin_func' | {
"avatar_url": "https://avatars.githubusercontent.com/u/33585645?v=4",
"events_url": "https://api.github.com/users/ngupta23/events{/privacy}",
"followers_url": "https://api.github.com/users/ngupta23/followers",
"following_url": "https://api.github.com/users/ngupta23/following{/other_user}",
"gists_url": "https://api.github.com/users/ngupta23/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ngupta23",
"id": 33585645,
"login": "ngupta23",
"node_id": "MDQ6VXNlcjMzNTg1NjQ1",
"organizations_url": "https://api.github.com/users/ngupta23/orgs",
"received_events_url": "https://api.github.com/users/ngupta23/received_events",
"repos_url": "https://api.github.com/users/ngupta23/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ngupta23/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ngupta23/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ngupta23"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | "2021-07-03T13:44:19Z" | "2021-07-20T22:16:49Z" | "2021-07-20T22:16:44Z" | 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
# Comes from private repo, but I will paste snippets where it gives errors
data.loc[:, 'update_status'] = data.apply(
my_function,
func_arg=some_value
)
```
#### Problem description
GitHub Actions started failing after July 3rd (see image below). Realized that pandas has been upgraded to 1.3.0 on July 2nd. **Reverted to pinning pandas to <= 1.2.5 and it started working again.**

#### Expected Output
#### Output of ``pd.show_versions()``
<details>
Issue with 1.3.0 but works fine with 1.2.5
</details>
| {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42356/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42356/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42357 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42357/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42357/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42357/events | https://github.com/pandas-dev/pandas/issues/42357 | 936,273,884 | MDU6SXNzdWU5MzYyNzM4ODQ= | 42,357 | PERF: concat of pyarrow string array does not rechunk | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "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": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29:59Z",
"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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 3 | "2021-07-03T15:15:04Z" | "2021-10-16T18:27:35Z" | null | CONTRIBUTOR | null | ```
In [2]: import pandas as pd
In [3]: pd.__version__
Out[3]: '1.4.0.dev0+143.g5675cd8ab2'
In [4]: s = pd.concat([pd.Series(list('abc'))] * 100_000)
In [5]: %timeit s.str.upper()
48.6 ms ± 420 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
In [6]: s1 = pd.concat([pd.Series(list('abc'), dtype='string[pyarrow]')] * 100_000)
In [7]: %timeit s1.str.upper()
308 ms ± 12.6 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
In [10]: s2 = s.astype('string[pyarrow]')
In [11]: %timeit s2.str.upper()
1.38 ms ± 21.4 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
In [12]: s1._mgr.blocks[0].values._data.num_chunks
Out[12]: 100000
In [13]: s2._mgr.blocks[0].values._data.num_chunks
Out[13]: 1
```
If you naively concat series, then the pyarrow storage is not-rechunked. This can lead to dramatic performance issues.
e.g. you get 100k chunks above, vs 1 in the astype 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/42357/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42357/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42358 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42358/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42358/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42358/events | https://github.com/pandas-dev/pandas/pull/42358 | 936,298,678 | MDExOlB1bGxSZXF1ZXN0NjgzMDU2MzY1 | 42,358 | ERR: better error message with invalid argument in sort_values | {
"avatar_url": "https://avatars.githubusercontent.com/u/86786852?v=4",
"events_url": "https://api.github.com/users/deej197/events{/privacy}",
"followers_url": "https://api.github.com/users/deej197/followers",
"following_url": "https://api.github.com/users/deej197/following{/other_user}",
"gists_url": "https://api.github.com/users/deej197/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/deej197",
"id": 86786852,
"login": "deej197",
"node_id": "MDQ6VXNlcjg2Nzg2ODUy",
"organizations_url": "https://api.github.com/users/deej197/orgs",
"received_events_url": "https://api.github.com/users/deej197/received_events",
"repos_url": "https://api.github.com/users/deej197/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/deej197/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deej197/subscriptions",
"type": "User",
"url": "https://api.github.com/users/deej197"
} | [
{
"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 | 2 | "2021-07-03T17:46:05Z" | "2021-07-07T17:33:08Z" | "2021-07-07T17:33:07Z" | NONE | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
added a if branch to check the ascending type, as the existing one accepts value with string as well instead of boolean.
k=df.sort_values(by=['col1'],ascending="False") does not give exception with str.
added piece of code to raise exception if the type is not boolean
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42358/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42358/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42358.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42358",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42358.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42358"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42359 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42359/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42359/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42359/events | https://github.com/pandas-dev/pandas/issues/42359 | 936,301,293 | MDU6SXNzdWU5MzYzMDEyOTM= | 42,359 | STYLE disallow Series | AnyArrayLike | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | open | false | null | [] | null | 0 | "2021-07-03T18:02:31Z" | "2021-07-03T18:02:31Z" | null | MEMBER | null | PR should be made to https://github.com/pandas-dev/pandas-dev-flaker
idea is to disallow `foo: Series | AnyArrayLike`, as `Series` is array-like already
This came out of this review: https://github.com/pandas-dev/pandas/pull/41955#discussion_r663390463 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42359/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42359/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42360 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42360/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42360/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42360/events | https://github.com/pandas-dev/pandas/pull/42360 | 936,312,037 | MDExOlB1bGxSZXF1ZXN0NjgzMDY2NTI1 | 42,360 | BUG: fixes PyPy build (do not use _PyHASH_Imag) | {
"avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4",
"events_url": "https://api.github.com/users/realead/events{/privacy}",
"followers_url": "https://api.github.com/users/realead/followers",
"following_url": "https://api.github.com/users/realead/following{/other_user}",
"gists_url": "https://api.github.com/users/realead/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/realead",
"id": 17513912,
"login": "realead",
"node_id": "MDQ6VXNlcjE3NTEzOTEy",
"organizations_url": "https://api.github.com/users/realead/orgs",
"received_events_url": "https://api.github.com/users/realead/received_events",
"repos_url": "https://api.github.com/users/realead/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/realead/subscriptions",
"type": "User",
"url": "https://api.github.com/users/realead"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 5 | "2021-07-03T19:11:00Z" | "2021-07-05T06:34:40Z" | "2021-07-04T21:32:44Z" | CONTRIBUTOR | null | - [x] closes #42355
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] what's new entry
`_PyHASH_Imag` is not defined in PyPy, thus we define and use our own `_PandasHASH_Imag`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 2,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42360/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42360/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42360.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42360",
"merged_at": "2021-07-04T21:32:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42360.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42360"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42361 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42361/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42361/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42361/events | https://github.com/pandas-dev/pandas/pull/42361 | 936,322,345 | MDExOlB1bGxSZXF1ZXN0NjgzMDc0Mjk5 | 42,361 | CLN: make some private Index methods keyword-only | {
"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"
},
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-07-03T20:28:11Z" | "2021-07-04T18:17:31Z" | "2021-07-04T18:13:51Z" | MEMBER | null | Not sure how much mileage we can get out of doing this for only private methods, but if we had it for everything then it'd be a lot easier to address #21677 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42361/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42361/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42361.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42361",
"merged_at": "2021-07-04T18:13:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42361.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42361"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42362 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42362/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42362/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42362/events | https://github.com/pandas-dev/pandas/pull/42362 | 936,331,427 | MDExOlB1bGxSZXF1ZXN0NjgzMDgxMDQw | 42,362 | REF: handle length-0 setops cases higher up | {
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-03T21:43:27Z" | "2021-07-04T18:16:41Z" | "2021-07-04T18:14:53Z" | MEMBER | null | Trying to be more consistent about 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/42362/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42362/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42362.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42362",
"merged_at": "2021-07-04T18:14:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42362.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42362"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42363 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42363/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42363/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42363/events | https://github.com/pandas-dev/pandas/pull/42363 | 936,338,410 | MDExOlB1bGxSZXF1ZXN0NjgzMDg2MjQ1 | 42,363 | Backport PR #42342 on branch 1.3.x (DOC: fix docs after deprecation of args) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "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-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-03T22:47:00Z" | "2021-07-04T11:37:27Z" | "2021-07-04T11:37:27Z" | NONE | null | Backport PR #42342: DOC: fix docs after deprecation of args | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42363/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42363/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42363.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42363",
"merged_at": "2021-07-04T11:37:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42363.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42363"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42364 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42364/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42364/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42364/events | https://github.com/pandas-dev/pandas/issues/42364 | 936,349,814 | MDU6SXNzdWU5MzYzNDk4MTQ= | 42,364 | ENH: ASV Coverage | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 0 | "2021-07-04T00:30:52Z" | "2021-08-05T02:24:22Z" | null | MEMBER | null | Codecov supports multiple coverage reports through flags. (https://docs.codecov.com/docs/flags) By modifying the CI ASV Check to do ```coverage run ... ``` instead, we should be able to have code coverage with the ASV in addition to regular test coverage, which will help us catch perf regressions.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42364/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42364/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42365 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42365/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42365/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42365/events | https://github.com/pandas-dev/pandas/issues/42365 | 936,354,911 | MDU6SXNzdWU5MzYzNTQ5MTE= | 42,365 | BUG: `truncate` has wrong behavior when the Index has only one unique value | {
"avatar_url": "https://avatars.githubusercontent.com/u/42706631?v=4",
"events_url": "https://api.github.com/users/neelmraman/events{/privacy}",
"followers_url": "https://api.github.com/users/neelmraman/followers",
"following_url": "https://api.github.com/users/neelmraman/following{/other_user}",
"gists_url": "https://api.github.com/users/neelmraman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/neelmraman",
"id": 42706631,
"login": "neelmraman",
"node_id": "MDQ6VXNlcjQyNzA2NjMx",
"organizations_url": "https://api.github.com/users/neelmraman/orgs",
"received_events_url": "https://api.github.com/users/neelmraman/received_events",
"repos_url": "https://api.github.com/users/neelmraman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/neelmraman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neelmraman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/neelmraman"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/42706631?v=4",
"events_url": "https://api.github.com/users/neelmraman/events{/privacy}",
"followers_url": "https://api.github.com/users/neelmraman/followers",
"following_url": "https://api.github.com/users/neelmraman/following{/other_user}",
"gists_url": "https://api.github.com/users/neelmraman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/neelmraman",
"id": 42706631,
"login": "neelmraman",
"node_id": "MDQ6VXNlcjQyNzA2NjMx",
"organizations_url": "https://api.github.com/users/neelmraman/orgs",
"received_events_url": "https://api.github.com/users/neelmraman/received_events",
"repos_url": "https://api.github.com/users/neelmraman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/neelmraman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neelmraman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/neelmraman"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/42706631?v=4",
"events_url": "https://api.github.com/users/neelmraman/events{/privacy}",
"followers_url": "https://api.github.com/users/neelmraman/followers",
"following_url": "https://api.github.com/users/neelmraman/following{/other_user}",
"gists_url": "https://api.github.com/users/neelmraman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/neelmraman",
"id": 42706631,
"login": "neelmraman",
"node_id": "MDQ6VXNlcjQyNzA2NjMx",
"organizations_url": "https://api.github.com/users/neelmraman/orgs",
"received_events_url": "https://api.github.com/users/neelmraman/received_events",
"repos_url": "https://api.github.com/users/neelmraman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/neelmraman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neelmraman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/neelmraman"
}
] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-04T01:18:43Z" | "2021-07-08T12:59:20Z" | "2021-07-08T12:59:20Z" | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# Returns an empty Series/DataFrame when the one you pass in has length > 1 and an index with only one unique value
x = pd.Series(0, index=pd.date_range('2021-06-29', '2021-06-29')).repeat(5)
x.truncate('2021-06-28', '2021-07-01')
# If you add another unique index value, you get the expected behavior
x = pd.Series(0, index=pd.date_range('2021-06-29', '2021-06-29')).repeat(5)
y = pd.Series(0, index=pd.date_range('2021-06-01', '2021-06-01'))
x = x.append(y)
x.truncate('2021-06-28', '2021-07-01')
```
#### Problem description
I would expect truncate to not do any filtering in the first case given that all index values are between `before` and `after`. The fix is trivial, so I'll submit a PR.
#### Expected Output
```
2021-06-29 0
2021-06-29 0
2021-06-29 0
2021-06-29 0
2021-06-29 0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7c48ff4409c622c582c56a5702373f726de08e96
python : 3.9.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19043
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.5
numpy : 1.20.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 52.0.0.post20210125
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.22.0
pandas_datareader: None
bs4 : None
bottleneck : 1.3.2
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : 2.7.3
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42365/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42365/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42366 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42366/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42366/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42366/events | https://github.com/pandas-dev/pandas/pull/42366 | 936,366,364 | MDExOlB1bGxSZXF1ZXN0NjgzMTA2ODgw | 42,366 | BUG: truncate has incorrect behavior when index has only one unique v… | {
"avatar_url": "https://avatars.githubusercontent.com/u/42706631?v=4",
"events_url": "https://api.github.com/users/neelmraman/events{/privacy}",
"followers_url": "https://api.github.com/users/neelmraman/followers",
"following_url": "https://api.github.com/users/neelmraman/following{/other_user}",
"gists_url": "https://api.github.com/users/neelmraman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/neelmraman",
"id": 42706631,
"login": "neelmraman",
"node_id": "MDQ6VXNlcjQyNzA2NjMx",
"organizations_url": "https://api.github.com/users/neelmraman/orgs",
"received_events_url": "https://api.github.com/users/neelmraman/received_events",
"repos_url": "https://api.github.com/users/neelmraman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/neelmraman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neelmraman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/neelmraman"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-07-04T03:12:03Z" | "2021-07-08T12:59:24Z" | "2021-07-08T12:59:20Z" | CONTRIBUTOR | null | …alue (#42365)
- [x] closes #42365
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/42366/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42366/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42366.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42366",
"merged_at": "2021-07-08T12:59:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42366.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42366"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42367 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42367/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42367/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42367/events | https://github.com/pandas-dev/pandas/pull/42367 | 936,374,485 | MDExOlB1bGxSZXF1ZXN0NjgzMTEyODIy | 42,367 | TYP: fix reportInvalidTypeVarUse from pyright | {
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
} | [
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 17 | "2021-07-04T04:26:25Z" | "2021-09-26T10:14:32Z" | "2021-09-26T10:14:31Z" | CONTRIBUTOR | null | This fixes the following warning from pyright: `TypeVar "..." appears only once in generic function signature (reportInvalidTypeVarUse)`.
It would be great to enable pyright on the CI. It takes only ~90sec to run pyright on the entire codebase with the following configuration in pyproject.toml (ignores most type errors for now):
```
[tool.pyright]
pythonVersion = "3.8"
include = ["pandas"]
ignore = ["pandas/tests"]
reportOptionalMemberAccess = false
reportOptionalOperand = false
reportGeneralTypeIssues = false
reportMissingImports = false
reportUnboundVariable = false
reportMissingModuleSource = false
reportOptionalSubscript = false
reportOptionalCall = false
reportOptionalIterable = false
reportPropertyTypeMismatch = false
```
The following errors would need to be taken care of before then:
pandas/pandas/core/frame.py:4575:9 - error: Method "_reindex_axes" cannot override final method defined in class "NDFrame"
pandas/pandas/core/frame.py:10736:9 - error: Method "mask" cannot override final method defined in class "NDFrame"
pandas/pandas/core/series.py:5449:9 - error: Method "mask" cannot override final method defined in class "NDFrame"
pandas/pandas/core/computation/expr.py:268:26 - error: TypeVar bound type cannot be generic
pandas/pandas/core/groupby/generic.py:676:9 - error: Method "describe" cannot override final method defined in class "GroupBy"
pandas/pandas/core/groupby/generic.py:856:9 - error: Method "pct_change" cannot override final method defined in class "GroupBy" | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42367/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42367/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42367.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42367",
"merged_at": "2021-09-26T10:14:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42367.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42367"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42368 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42368/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42368/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42368/events | https://github.com/pandas-dev/pandas/pull/42368 | 936,477,293 | MDExOlB1bGxSZXF1ZXN0NjgzMTg5MTky | 42,368 | TYP: remove some ignores | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-04T15:05:12Z" | "2021-07-04T18:16:30Z" | "2021-07-04T18:11:24Z" | 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/42368/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42368/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42368.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42368",
"merged_at": "2021-07-04T18:11:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42368.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42368"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42369 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42369/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42369/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42369/events | https://github.com/pandas-dev/pandas/issues/42369 | 936,503,961 | MDU6SXNzdWU5MzY1MDM5NjE= | 42,369 | BUG: df.where() shows no effects when `inplace=True` | {
"avatar_url": "https://avatars.githubusercontent.com/u/37232969?v=4",
"events_url": "https://api.github.com/users/MemphisMeng/events{/privacy}",
"followers_url": "https://api.github.com/users/MemphisMeng/followers",
"following_url": "https://api.github.com/users/MemphisMeng/following{/other_user}",
"gists_url": "https://api.github.com/users/MemphisMeng/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MemphisMeng",
"id": 37232969,
"login": "MemphisMeng",
"node_id": "MDQ6VXNlcjM3MjMyOTY5",
"organizations_url": "https://api.github.com/users/MemphisMeng/orgs",
"received_events_url": "https://api.github.com/users/MemphisMeng/received_events",
"repos_url": "https://api.github.com/users/MemphisMeng/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MemphisMeng/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MemphisMeng/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MemphisMeng"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 0 | "2021-07-04T17:27:51Z" | "2021-07-05T19:07:29Z" | "2021-07-05T19:07:29Z" | 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
import numpy as np
d1 = pd.DataFrame({"a": [1.0, 2.0], 'b': [3, np.nan]})
print('\nd1:')
print(d1)
print('\nd1.where(pd.notnull(d1), None, inplace=True):')
d1.where(pd.notnull(d1), None, inplace=True)
print('\nd1:')
print(d1)
d2 = pd.DataFrame({"a": [1.0, 2.0], 'b': [3, np.nan]})
print('\nd2:')
print(d2)
print('\nd2.where(pd.notnull(d2), None, inplace=True):')
d2.where(pd.notnull(d2), -1, inplace=True)
print('\nd2:')
print(d2)
```
#### Problem description
The result shows as follows. This means that if I set inplace to True, and the value of parameter "other" is `None`, then the manipulation isn't effective on the dataframe itself. This issue is kind of related to [BUG#42295](https://github.com/pandas-dev/pandas/issues/42295). Similarly, the bug doesn't show up if the value of `other` is a float/int type value.
```
d1:
a b
0 1.0 3.0
1 2.0 NaN
d1.where(pd.notnull(d1), None, inplace=True):
d1:
a b
0 1.0 3.0
1 2.0 NaN
d2:
a b
0 1.0 3.0
1 2.0 NaN
d2.where(pd.notnull(d2), None, inplace=True):
d2:
a b
0 1.0 3.0
1 2.0 -1.0
```
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : b5958ee1999e9aead1938c0bba2b674378807b3d
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.104+
Version : #1 SMP Sat Jun 5 09:50:34 PDT 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.5
numpy : 1.19.5
pytz : 2018.9
dateutil : 2.8.1
pip : 19.3.1
setuptools : 57.0.0
Cython : 0.29.23
pytest : 3.6.4
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.2.6
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64)
jinja2 : 2.11.3
IPython : 5.5.0
pandas_datareader: 0.9.0
bs4 : 4.6.3
bottleneck : 1.3.2
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.3
odfpy : None
openpyxl : 2.5.9
pandas_gbq : 0.13.3
pyarrow : 3.0.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.4.18
tables : 3.4.4
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 1.1.0
xlwt : 1.3.0
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42369/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42369/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42370 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42370/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42370/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42370/events | https://github.com/pandas-dev/pandas/issues/42370 | 936,513,990 | MDU6SXNzdWU5MzY1MTM5OTA= | 42,370 | DEPS: pyarrow support for `snappy` not built on Windows Python 3.9 | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-04T18:27:58Z" | "2021-07-05T08:57:04Z" | "2021-07-05T08:57:04Z" | MEMBER | null | xref #41989
There are 17 failures in Python 3.9 Windows build relate to `pyarrow`
`pyarrow.lib.ArrowNotImplementedError: Support for codec 'snappy' not built` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42370/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42370/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42371 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42371/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42371/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42371/events | https://github.com/pandas-dev/pandas/issues/42371 | 936,517,875 | MDU6SXNzdWU5MzY1MTc4NzU= | 42,371 | DOC: Formatting Issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/63334933?v=4",
"events_url": "https://api.github.com/users/daviddelord/events{/privacy}",
"followers_url": "https://api.github.com/users/daviddelord/followers",
"following_url": "https://api.github.com/users/daviddelord/following{/other_user}",
"gists_url": "https://api.github.com/users/daviddelord/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/daviddelord",
"id": 63334933,
"login": "daviddelord",
"node_id": "MDQ6VXNlcjYzMzM0OTMz",
"organizations_url": "https://api.github.com/users/daviddelord/orgs",
"received_events_url": "https://api.github.com/users/daviddelord/received_events",
"repos_url": "https://api.github.com/users/daviddelord/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/daviddelord/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/daviddelord/subscriptions",
"type": "User",
"url": "https://api.github.com/users/daviddelord"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-07-04T18:49:54Z" | "2021-07-08T13:08:56Z" | "2021-07-08T13:08:56Z" | CONTRIBUTOR | null | #### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.html
#### Documentation problem
Two of the * symbols used for the multiplication and power operators emphasize the comma in between them instead of being displayed: (+, -, /, , *) instead of (+, -, /, *, **).
#### Suggested fix for documentation
IDK should be easy to fix, though. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42371/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42371/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42372 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42372/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42372/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42372/events | https://github.com/pandas-dev/pandas/issues/42372 | 936,525,286 | MDU6SXNzdWU5MzY1MjUyODY= | 42,372 | BUG:path='C:\Users\Ebunlomo.A.Sonola\Credit Card Customer Data.xlsx' df=pd.read_excel("C:\Users\Ebunlomo .A. Sonola\Credit Card Customer Data.xlsx") | {
"avatar_url": "https://avatars.githubusercontent.com/u/84587308?v=4",
"events_url": "https://api.github.com/users/ebun2all/events{/privacy}",
"followers_url": "https://api.github.com/users/ebun2all/followers",
"following_url": "https://api.github.com/users/ebun2all/following{/other_user}",
"gists_url": "https://api.github.com/users/ebun2all/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ebun2all",
"id": 84587308,
"login": "ebun2all",
"node_id": "MDQ6VXNlcjg0NTg3MzA4",
"organizations_url": "https://api.github.com/users/ebun2all/orgs",
"received_events_url": "https://api.github.com/users/ebun2all/received_events",
"repos_url": "https://api.github.com/users/ebun2all/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ebun2all/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ebun2all/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ebun2all"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 3 | "2021-07-04T19:33:17Z" | "2021-07-05T07:28:20Z" | "2021-07-05T07:28:20Z" | NONE | null | - [ ] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42372/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42372/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42373 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42373/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42373/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42373/events | https://github.com/pandas-dev/pandas/pull/42373 | 936,544,621 | MDExOlB1bGxSZXF1ZXN0NjgzMjQwNTMy | 42,373 | Backport PR #42360 on branch 1.3.x (BUG: fixes PyPy build (do not use _PyHASH_Imag)) | {
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-04T21:33:08Z" | "2021-07-05T03:15:52Z" | "2021-07-05T03:15:52Z" | NONE | null | Backport PR #42360: BUG: fixes PyPy build (do not use _PyHASH_Imag) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42373/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42373/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42373.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42373",
"merged_at": "2021-07-05T03:15:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42373.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42373"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42374 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42374/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42374/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42374/events | https://github.com/pandas-dev/pandas/pull/42374 | 936,549,591 | MDExOlB1bGxSZXF1ZXN0NjgzMjQ0MzU0 | 42,374 | CLN: remove Python 3.8 compat | {
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-04T22:07:17Z" | "2021-07-07T02:41:32Z" | "2021-07-06T12:58:37Z" | MEMBER | null | followup #41989
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42374/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42374/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42374.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42374",
"merged_at": "2021-07-06T12:58:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42374.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42374"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42375 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42375/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42375/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42375/events | https://github.com/pandas-dev/pandas/pull/42375 | 936,620,092 | MDExOlB1bGxSZXF1ZXN0NjgzMzAyOTIw | 42,375 | CLN: remove np17 compat | {
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-05T02:23:24Z" | "2021-07-07T02:40:39Z" | "2021-07-06T12:57:57Z" | MEMBER | null | followup #41989
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42375/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42375/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42375.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42375",
"merged_at": "2021-07-06T12:57:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42375.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42375"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42376 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42376/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42376/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42376/events | https://github.com/pandas-dev/pandas/issues/42376 | 936,630,940 | MDU6SXNzdWU5MzY2MzA5NDA= | 42,376 | BUG: 1.3.0 column assignment via single column`np.matrix` behaviour change | {
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29:59Z",
"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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 2 | "2021-07-05T02:57:41Z" | "2021-10-16T19:28:23Z" | null | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (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
from scipy import sparse
X = sparse.random(100, 100, density=0.2, format="csr")
df = pd.DataFrame({"a": np.arange(100)})
df["X_sum"] = X.sum(axis=1)
df
```
Before 1.3.0, this worked fine. As of 1.3.0, displaying df fails with:
<details>
<summary> traceback </summary>
```pytb
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/usr/local/lib/python3.8/site-packages/IPython/core/formatters.py in __call__(self, obj)
700 type_pprinters=self.type_printers,
701 deferred_pprinters=self.deferred_printers)
--> 702 printer.pretty(obj)
703 printer.flush()
704 return stream.getvalue()
/usr/local/lib/python3.8/site-packages/IPython/lib/pretty.py in pretty(self, obj)
392 if cls is not object \
393 and callable(cls.__dict__.get('__repr__')):
--> 394 return _repr_pprint(obj, self, cycle)
395
396 return _default_pprint(obj, self, cycle)
/usr/local/lib/python3.8/site-packages/IPython/lib/pretty.py in _repr_pprint(obj, p, cycle)
698 """A pprint that just redirects to the normal repr function."""
699 # Find newlines and replace them with p.break_()
--> 700 output = repr(obj)
701 lines = output.splitlines()
702 with p.group():
/usr/local/lib/python3.8/site-packages/pandas/core/frame.py in __repr__(self)
993 else:
994 width = None
--> 995 self.to_string(
996 buf=buf,
997 max_rows=max_rows,
/usr/local/lib/python3.8/site-packages/pandas/core/frame.py in to_string(self, buf, columns, col_space, header, index, na_rep, formatters, float_format, sparsify, index_names, justify, max_rows, min_rows, max_cols, show_dimensions, decimal, line_width, max_colwidth, encoding)
1129 decimal=decimal,
1130 )
-> 1131 return fmt.DataFrameRenderer(formatter).to_string(
1132 buf=buf,
1133 encoding=encoding,
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in to_string(self, buf, encoding, line_width)
1051
1052 string_formatter = StringFormatter(self.fmt, line_width=line_width)
-> 1053 string = string_formatter.to_string()
1054 return save_to_buffer(string, buf=buf, encoding=encoding)
1055
/usr/local/lib/python3.8/site-packages/pandas/io/formats/string.py in to_string(self)
23
24 def to_string(self) -> str:
---> 25 text = self._get_string_representation()
26 if self.fmt.should_show_dimensions:
27 text = "".join([text, self.fmt.dimensions_info])
/usr/local/lib/python3.8/site-packages/pandas/io/formats/string.py in _get_string_representation(self)
38 return self._empty_info_line
39
---> 40 strcols = self._get_strcols()
41
42 if self.line_width is None:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/string.py in _get_strcols(self)
29
30 def _get_strcols(self) -> list[list[str]]:
---> 31 strcols = self.fmt.get_strcols()
32 if self.fmt.is_truncated:
33 strcols = self._insert_dot_separators(strcols)
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in get_strcols(self)
538 Render a DataFrame to a list of columns (as lists of strings).
539 """
--> 540 strcols = self._get_strcols_without_index()
541
542 if self.index:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in _get_strcols_without_index(self)
802 int(self.col_space.get(c, 0)), *(self.adj.len(x) for x in cheader)
803 )
--> 804 fmt_values = self.format_col(i)
805 fmt_values = _make_fixed_width(
806 fmt_values, self.justify, minimum=header_colwidth, adj=self.adj
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_col(self, i)
816 frame = self.tr_frame
817 formatter = self._get_formatter(i)
--> 818 return format_array(
819 frame.iloc[:, i]._values,
820 formatter,
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_array(values, formatter, float_format, na_rep, digits, space, justify, decimal, leading_space, quoting)
1238 )
1239
-> 1240 return fmt_obj.get_result()
1241
1242
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in get_result(self)
1269
1270 def get_result(self) -> list[str]:
-> 1271 fmt_values = self._format_strings()
1272 return _make_fixed_width(fmt_values, self.justify)
1273
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in _format_strings(self)
1516
1517 def _format_strings(self) -> list[str]:
-> 1518 return list(self.get_result_as_array())
1519
1520
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in get_result_as_array(self)
1480 float_format = lambda value: self.float_format % value
1481
-> 1482 formatted_values = format_values_with(float_format)
1483
1484 if not self.fixed_width:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_values_with(float_format)
1454 values = self.values
1455 is_complex = is_complex_dtype(values)
-> 1456 values = format_with_na_rep(values, formatter, na_rep)
1457
1458 if self.fixed_width:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_with_na_rep(values, formatter, na_rep)
1425 mask = isna(values)
1426 formatted = np.array(
-> 1427 [
1428 formatter(val) if not m else na_rep
1429 for val, m in zip(values.ravel(), mask.ravel())
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in <listcomp>(.0)
1426 formatted = np.array(
1427 [
-> 1428 formatter(val) if not m else na_rep
1429 for val, m in zip(values.ravel(), mask.ravel())
1430 ]
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/usr/local/lib/python3.8/site-packages/IPython/core/formatters.py in __call__(self, obj)
343 method = get_real_method(obj, self.print_method)
344 if method is not None:
--> 345 return method()
346 return None
347 else:
/usr/local/lib/python3.8/site-packages/pandas/core/frame.py in _repr_html_(self)
1045 decimal=".",
1046 )
-> 1047 return fmt.DataFrameRenderer(formatter).to_html(notebook=True)
1048 else:
1049 return None
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in to_html(self, buf, encoding, classes, notebook, border, table_id, render_links)
1027 render_links=render_links,
1028 )
-> 1029 string = html_formatter.to_string()
1030 return save_to_buffer(string, buf=buf, encoding=encoding)
1031
/usr/local/lib/python3.8/site-packages/pandas/io/formats/html.py in to_string(self)
70
71 def to_string(self) -> str:
---> 72 lines = self.render()
73 if any(isinstance(x, str) for x in lines):
74 lines = [str(x) for x in lines]
/usr/local/lib/python3.8/site-packages/pandas/io/formats/html.py in render(self)
619 self.write("<div>")
620 self.write_style()
--> 621 super().render()
622 self.write("</div>")
623 return self.elements
/usr/local/lib/python3.8/site-packages/pandas/io/formats/html.py in render(self)
76
77 def render(self) -> list[str]:
---> 78 self._write_table()
79
80 if self.should_show_dimensions:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/html.py in _write_table(self, indent)
246 self._write_header(indent + self.indent_delta)
247
--> 248 self._write_body(indent + self.indent_delta)
249
250 self.write("</table>", indent)
/usr/local/lib/python3.8/site-packages/pandas/io/formats/html.py in _write_body(self, indent)
393 def _write_body(self, indent: int) -> None:
394 self.write("<tbody>", indent)
--> 395 fmt_values = self._get_formatted_values()
396
397 # write values
/usr/local/lib/python3.8/site-packages/pandas/io/formats/html.py in _get_formatted_values(self)
583
584 def _get_formatted_values(self) -> dict[int, list[str]]:
--> 585 return {i: self.fmt.format_col(i) for i in range(self.ncols)}
586
587 def _get_columns_formatted_values(self) -> list[str]:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/html.py in <dictcomp>(.0)
583
584 def _get_formatted_values(self) -> dict[int, list[str]]:
--> 585 return {i: self.fmt.format_col(i) for i in range(self.ncols)}
586
587 def _get_columns_formatted_values(self) -> list[str]:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_col(self, i)
816 frame = self.tr_frame
817 formatter = self._get_formatter(i)
--> 818 return format_array(
819 frame.iloc[:, i]._values,
820 formatter,
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_array(values, formatter, float_format, na_rep, digits, space, justify, decimal, leading_space, quoting)
1238 )
1239
-> 1240 return fmt_obj.get_result()
1241
1242
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in get_result(self)
1269
1270 def get_result(self) -> list[str]:
-> 1271 fmt_values = self._format_strings()
1272 return _make_fixed_width(fmt_values, self.justify)
1273
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in _format_strings(self)
1516
1517 def _format_strings(self) -> list[str]:
-> 1518 return list(self.get_result_as_array())
1519
1520
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in get_result_as_array(self)
1480 float_format = lambda value: self.float_format % value
1481
-> 1482 formatted_values = format_values_with(float_format)
1483
1484 if not self.fixed_width:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_values_with(float_format)
1454 values = self.values
1455 is_complex = is_complex_dtype(values)
-> 1456 values = format_with_na_rep(values, formatter, na_rep)
1457
1458 if self.fixed_width:
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in format_with_na_rep(values, formatter, na_rep)
1425 mask = isna(values)
1426 formatted = np.array(
-> 1427 [
1428 formatter(val) if not m else na_rep
1429 for val, m in zip(values.ravel(), mask.ravel())
/usr/local/lib/python3.8/site-packages/pandas/io/formats/format.py in <listcomp>(.0)
1426 formatted = np.array(
1427 [
-> 1428 formatter(val) if not m else na_rep
1429 for val, m in zip(values.ravel(), mask.ravel())
1430 ]
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
```
</details>
I discovered this new behaviour due to [our tests starting to fail](https://dev.azure.com/theislab/scanpy/_build/results?buildId=1078&view=logs&jobId=3ddc076e-0ab2-5212-d413-e45088e3a21e&j=9510bc2d-a38a-5fa2-99ea-073a9399fe06&t=0770b0df-44e0-560a-3d20-4284697180f3). What was causing that was:
```python
df["sum"] = X.sum(axis=1)
df["log1p_sum"] = np.log1p(df["sum"])
```
failing with:
<details>
<summary> traceback </summary>
```pytb
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-24-4ada647d56a0> in <module>
1 df["sum"] = X.sum(axis=1)
----> 2 df["log1p_sum"] = np.log1p(df["sum"])
/usr/local/lib/python3.8/site-packages/pandas/core/frame.py in __setitem__(self, key, value)
3605 else:
3606 # set column
-> 3607 self._set_item(key, value)
3608
3609 def _setitem_slice(self, key: slice, value):
/usr/local/lib/python3.8/site-packages/pandas/core/frame.py in _set_item(self, key, value)
3777 ensure homogeneity.
3778 """
-> 3779 value = self._sanitize_column(value)
3780
3781 if (
/usr/local/lib/python3.8/site-packages/pandas/core/frame.py in _sanitize_column(self, value)
4502
4503 if is_list_like(value):
-> 4504 com.require_length_match(value, self.index)
4505 return sanitize_array(value, self.index, copy=True, allow_2d=True)
4506
/usr/local/lib/python3.8/site-packages/pandas/core/common.py in require_length_match(data, index)
525 """
526 if len(data) != len(index):
--> 527 raise ValueError(
528 "Length of values "
529 f"({len(data)}) "
ValueError: Length of values (1) does not match length of index (100)
```
</details>
#### Problem description
This problem is being triggered because the result of `X.sum(axis=1)` when `X` is a scipy sparse matrix is not a 1d numpy ndarray, but a `np.matrix` with one column. This used to be handled by pandas, but now isn't.
This is a problem because it's a behaviour change that breaks existing code. As far as I can tell from the release notes, this was not an intentional behaviour change. It does look like some things around column assignment did change, and I imagine that assigning with deprecated numpy types was not considered.
#### Expected Output
I would expect this to not error, and for this to pass: `np.testing.assert_array_equal(df["X_sum"], np.ravel(X.sum(axis=1)))`
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.10.final.0
python-bits : 64
OS : Darwin
OS-release : 20.5.0
Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/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.3.0
numpy : 1.21.0
pytz : 2020.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 56.0.0
Cython : 0.29.23
pytest : 6.2.4
hypothesis : None
sphinx : 4.0.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.23.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 2021.06.0
fastparquet : 0.4.1
gcsfs : None
matplotlib : 3.4.2
numexpr : 2.7.2
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : 0.4.2
scipy : 1.7.0
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.18.2
xlrd : 1.2.0
xlwt : None
numba : 0.53.1
```
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42376/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42376/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42377 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42377/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42377/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42377/events | https://github.com/pandas-dev/pandas/pull/42377 | 936,646,539 | MDExOlB1bGxSZXF1ZXN0NjgzMzI0NDA4 | 42,377 | CI: Prefer conda-forge over defaults | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-07-05T03:30:42Z" | "2021-07-05T13:43:50Z" | "2021-07-05T08:57:04Z" | MEMBER | null | - [ ] closes #42370
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Apparently its recommended to install pyarrow from conda forge instead of the default conda channel(xref https://github.com/ContinuumIO/anaconda-issues/issues/12314, https://arrow.apache.org/docs/python/install.html#using-conda), trying to see if this fixes it. I don't think this will mess up any other packages since conda-forge packages are published by package maintainers, so they shouldn't have build issues? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42377/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42377/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42377.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42377",
"merged_at": "2021-07-05T08:57:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42377.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42377"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42378 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42378/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42378/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42378/events | https://github.com/pandas-dev/pandas/pull/42378 | 936,654,529 | MDExOlB1bGxSZXF1ZXN0NjgzMzMwMTcz | 42,378 | REF: disambiguate get_loc_level k variable | {
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-05T03:53:11Z" | "2021-07-07T16:05:27Z" | "2021-07-07T15:39:33Z" | MEMBER | null | 2 logic-neutral prelims split off from other branches
1) instead of catching and re-issuing TypeError in NDFrame.xs, just issue it with the correct exception message in the first place
2) inside _get_loc_level there is a 'k' variable that is serving a dual purpose as a loop index and as a variable inside that loop. AFAICT this is for a small code-de-duplication in checking for slices, but it turns out we need to treat slices differently in the two cases. This changes the inside variable to `loc_level` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42378/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42378/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42378.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42378",
"merged_at": "2021-07-07T15:39:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42378.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42378"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42379 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42379/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42379/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42379/events | https://github.com/pandas-dev/pandas/pull/42379 | 936,656,098 | MDExOlB1bGxSZXF1ZXN0NjgzMzMxMjg1 | 42,379 | Fix Formatting Issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/63334933?v=4",
"events_url": "https://api.github.com/users/daviddelord/events{/privacy}",
"followers_url": "https://api.github.com/users/daviddelord/followers",
"following_url": "https://api.github.com/users/daviddelord/following{/other_user}",
"gists_url": "https://api.github.com/users/daviddelord/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/daviddelord",
"id": 63334933,
"login": "daviddelord",
"node_id": "MDQ6VXNlcjYzMzM0OTMz",
"organizations_url": "https://api.github.com/users/daviddelord/orgs",
"received_events_url": "https://api.github.com/users/daviddelord/received_events",
"repos_url": "https://api.github.com/users/daviddelord/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/daviddelord/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/daviddelord/subscriptions",
"type": "User",
"url": "https://api.github.com/users/daviddelord"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | null | 4 | "2021-07-05T03:57:41Z" | "2021-07-07T16:45:18Z" | "2021-07-07T07:17:35Z" | CONTRIBUTOR | null | Escape the asterisks so they appear in the generated doc. Closes #42371. Untested. Asterisks formatted bold in my editor, kept it that way for consistency, someone should test. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42379/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42379/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42379.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42379",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42379.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42379"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42380 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42380/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42380/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42380/events | https://github.com/pandas-dev/pandas/issues/42380 | 936,674,918 | MDU6SXNzdWU5MzY2NzQ5MTg= | 42,380 | BUG: 1.3.0 DataFrame.agg over categorical columns with non-unique index returns wrong size result | {
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 3 | "2021-07-05T04:31:10Z" | "2021-07-10T11:05:55Z" | "2021-07-09T13:09:07Z" | 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.
---
**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
df = pd.DataFrame({"a": list("abcde"), "b": list("abcde")}, index=list("aabbc"), dtype="category")
df.agg("-".join, axis=1)
```
Using pandas 1.2.5:
```
a a-a
a b-b
b c-c
b d-d
c e-e
dtype: object
```
Using pandas 1.3.0:
```
a b-b
b d-d
c e-e
dtype: object
```
It does not look like this is an issue if I use `df.apply` instead of `df.agg`.
#### Problem description
When a aggregation of the rows is run on a dataframe with categorical columns and non-unique indices, the result is the wrong length.
It's weird that the output isn't the right length. Since I'm computing a value per row, I expect the same number of rows in the output as in the input. It's especially weird that this only happens if the columns are categorical.
That is:
```python
df = pd.DataFrame({"a": list("abcde"), "b": list("abcde")}, index=list("aabbc"))
df.agg("-".join, axis=1)
```
```
a a-a
a b-b
b c-c
b d-d
c e-e
dtype: object
```
in both versions.
#### Expected Output
I would expect the same output between versions. The result given by 1.2.5 seems more correct to me at the moment.
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.10.final.0
python-bits : 64
OS : Darwin
OS-release : 20.5.0
Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/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.3.0
numpy : 1.21.0
pytz : 2020.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 56.0.0
Cython : 0.29.23
pytest : 6.2.4
hypothesis : None
sphinx : 4.0.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.23.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 2021.06.0
fastparquet : 0.4.1
gcsfs : None
matplotlib : 3.4.2
numexpr : 2.7.2
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : 0.4.2
scipy : 1.7.0
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.18.2
xlrd : 1.2.0
xlwt : None
numba : 0.53.1
```
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42380/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42380/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42381 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42381/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42381/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42381/events | https://github.com/pandas-dev/pandas/issues/42381 | 936,677,537 | MDU6SXNzdWU5MzY2Nzc1Mzc= | 42,381 | CI: Failing NumpyDev | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "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": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-05T04:37:37Z" | "2021-07-06T19:09:50Z" | "2021-07-06T19:09:50Z" | MEMBER | null | https://github.com/pandas-dev/pandas/runs/2985248923
```
=================================== FAILURES ===================================
__________ TestTimedeltaMultiplicationDivision.test_td_div_nan[nan1] ___________
[gw0] linux -- Python 3.9.5 /usr/share/miniconda/envs/pandas-dev/bin/python
self = <pandas.tests.scalar.timedelta.test_arithmetic.TestTimedeltaMultiplicationDivision object at 0x7f2d87ba9f40>
nan = nan
@pytest.mark.parametrize(
"nan",
[
np.nan,
pytest.param(
np.float64("NaN"),
marks=pytest.mark.xfail(
# Works on numpy dev only in python 3.9
is_numpy_dev and not compat.PY39,
raises=RuntimeWarning,
reason="https://github.com/pandas-dev/pandas/issues/31992",
),
),
float("nan"),
],
)
def test_td_div_nan(self, nan):
# np.float64('NaN') has a 'dtype' attr, avoid treating as array
td = Timedelta(10, unit="d")
result = td / nan
assert result is NaT
> result = td // nan
pandas/tests/scalar/timedelta/test_arithmetic.py:455:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> return Timedelta(self.value // other, unit='ns')
E RuntimeWarning: invalid value encountered in double_scalars
pandas/_libs/tslibs/timedeltas.pyx:1465: RuntimeWarning
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42381/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42381/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42382 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42382/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42382/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42382/events | https://github.com/pandas-dev/pandas/pull/42382 | 936,768,904 | MDExOlB1bGxSZXF1ZXN0NjgzNDI3NTY2 | 42,382 | ⬆️ UPGRADE: Autoupdate pre-commit config | {
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/apps/github-actions",
"id": 41898282,
"login": "github-actions[bot]",
"node_id": "MDM6Qm90NDE4OTgyODI=",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"type": "Bot",
"url": "https://api.github.com/users/github-actions%5Bbot%5D"
} | [] | closed | false | null | [] | null | 0 | "2021-07-05T07:11:18Z" | "2021-07-05T09:48:45Z" | "2021-07-05T09:48:39Z" | CONTRIBUTOR | null | <!-- START pr-commits -->
<!-- END pr-commits -->
## Base PullRequest
default branch (https://github.com/pandas-dev/pandas/tree/master)
## Command results
<details>
<summary>Details: </summary>
<details>
<summary><em>add path</em></summary>
```Shell
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin
```
</details>
<details>
<summary><em>pip install pre-commit</em></summary>
```Shell
Collecting pre-commit
Downloading pre_commit-2.13.0-py2.py3-none-any.whl (190 kB)
Collecting cfgv>=2.0.0
Downloading cfgv-3.3.0-py2.py3-none-any.whl (7.3 kB)
Collecting identify>=1.0.0
Downloading identify-2.2.10-py2.py3-none-any.whl (98 kB)
Collecting pyyaml>=5.1
Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Collecting nodeenv>=0.11.1
Using cached nodeenv-1.6.0-py2.py3-none-any.whl (21 kB)
Collecting virtualenv>=20.0.8
Downloading virtualenv-20.4.7-py2.py3-none-any.whl (7.2 MB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting filelock<4,>=3.0.0
Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting distlib<1,>=0.3.1
Downloading distlib-0.3.2-py2.py3-none-any.whl (338 kB)
Collecting six<2,>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting appdirs<2,>=1.4.3
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: six, filelock, distlib, appdirs, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit
Successfully installed appdirs-1.4.4 cfgv-3.3.0 distlib-0.3.2 filelock-3.0.12 identify-2.2.10 nodeenv-1.6.0 pre-commit-2.13.0 pyyaml-5.4.1 six-1.16.0 toml-0.10.2 virtualenv-20.4.7
```
</details>
<details>
<summary><em>pre-commit autoupdate || (exit 0);</em></summary>
```Shell
Updating https://github.com/MarcoGorelli/absolufy-imports ... already up to date.
Updating https://github.com/python/black ... [INFO] Initializing environment for https://github.com/python/black.
already up to date.
Updating https://github.com/codespell-project/codespell ... [INFO] Initializing environment for https://github.com/codespell-project/codespell.
already up to date.
Updating https://github.com/pre-commit/pre-commit-hooks ... already up to date.
Updating https://github.com/cpplint/cpplint ... [INFO] Initializing environment for https://github.com/cpplint/cpplint.
already up to date.
Updating https://gitlab.com/pycqa/flake8 ... already up to date.
Updating https://github.com/PyCQA/isort ... [INFO] Initializing environment for https://github.com/PyCQA/isort.
already up to date.
Updating https://github.com/asottile/pyupgrade ... [INFO] Initializing environment for https://github.com/asottile/pyupgrade.
updating v2.19.4 -> v2.20.0.
Updating https://github.com/pre-commit/pygrep-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pygrep-hooks.
already up to date.
Updating https://github.com/asottile/yesqa ... already up to date.
```
</details>
<details>
<summary><em>pre-commit run -a || (exit 0);</em></summary>
```Shell
[INFO] Installing environment for https://github.com/python/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/cpplint/cpplint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
absolufy-imports...............................................................................Passed
black..........................................................................................Passed
codespell......................................................................................Passed
Debug Statements (Python)......................................................................Passed
Fix End of Files...............................................................................Passed
Trim Trailing Whitespace.......................................................................Passed
cpplint........................................................................................Passed
flake8.........................................................................................Passed
flake8 (cython)................................................................................Passed
flake8 (cython template).......................................................................Passed
isort..........................................................................................Passed
pyupgrade......................................................................................Passed
rst ``code`` is two backticks..................................................................Passed
rst directives end with two colons.............................................................Passed
rst ``inline code`` next to normal text........................................................Passed
Strip unnecessary `# noqa`s....................................................................Passed
flake8-rst.....................................................................................Passed
Unwanted patterns..............................................................................Passed
Generate pip dependency from conda.............................................................Passed
Check flake8 version is synced across flake8, yesqa, and environment.yml.......................Passed
Validate correct capitalization among titles in documentation..................................Passed
Import pandas.array as pd_array in core........................................................Passed
Use bool_t instead of bool in pandas/core/generic.py...........................................Passed
```
</details>
</details>
## Changed files
<details>
<summary>Changed file: </summary>
- .pre-commit-config.yaml
</details>
<hr>
[:octocat: Repo](https://github.com/technote-space/create-pr-action) | [:memo: Issues](https://github.com/technote-space/create-pr-action/issues) | [:department_store: Marketplace](https://github.com/marketplace/actions/create-pr-action) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42382/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42382/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42382.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42382",
"merged_at": "2021-07-05T09:48:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42382.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42382"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42383 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42383/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42383/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42383/events | https://github.com/pandas-dev/pandas/issues/42383 | 936,802,795 | MDU6SXNzdWU5MzY4MDI3OTU= | 42,383 | Needs Triage: In aggregation, pd.Series.nunique outputs float instead of int. | {
"avatar_url": "https://avatars.githubusercontent.com/u/18231294?v=4",
"events_url": "https://api.github.com/users/qniksefat/events{/privacy}",
"followers_url": "https://api.github.com/users/qniksefat/followers",
"following_url": "https://api.github.com/users/qniksefat/following{/other_user}",
"gists_url": "https://api.github.com/users/qniksefat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/qniksefat",
"id": 18231294,
"login": "qniksefat",
"node_id": "MDQ6VXNlcjE4MjMxMjk0",
"organizations_url": "https://api.github.com/users/qniksefat/orgs",
"received_events_url": "https://api.github.com/users/qniksefat/received_events",
"repos_url": "https://api.github.com/users/qniksefat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/qniksefat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qniksefat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/qniksefat"
} | [
{
"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 | [] | null | 2 | "2021-07-05T07:56:14Z" | "2021-07-07T02:39:51Z" | "2021-07-07T02:39:51Z" | NONE | null | Sorry, I'm very new to issuing. I'm not sure if it's a bug or improvement. Here it is.
When you count the number of unique values in a `groupby` aggregation, you'll get a `float` output when the values are `float` themselves.
```python
df = pd.DataFrame({
'a': 4 * list(range(1, 3)),
'b': map(float, list(range(1, 9)))
})
df
```
```python
a b
0 1 1.0
1 2 2.0
2 1 3.0
3 2 4.0
4 1 5.0
5 2 6.0
6 1 7.0
7 2 8.0
```
```python
df.groupby('a').agg({'b': pd.Series.nunique}).b
```
```python
a
1 4.0
2 4.0
Name: b, dtype: float64
```
#### Problem description
If the type of `b` is `int`, it outputs `int`, but not for the `float` type. Nevertheless, the unique number is `int` no matter what.
#### Expected Output
```python
a
1 4
2 4
Name: b, dtype: int64
```
| {
"+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/42383/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42383/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42384 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42384/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42384/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42384/events | https://github.com/pandas-dev/pandas/issues/42384 | 936,939,678 | MDU6SXNzdWU5MzY5Mzk2Nzg= | 42,384 | DOC: Where is the docs of "&" "|" "^" Index operators? | {
"avatar_url": "https://avatars.githubusercontent.com/u/4510984?v=4",
"events_url": "https://api.github.com/users/GF-Huang/events{/privacy}",
"followers_url": "https://api.github.com/users/GF-Huang/followers",
"following_url": "https://api.github.com/users/GF-Huang/following{/other_user}",
"gists_url": "https://api.github.com/users/GF-Huang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GF-Huang",
"id": 4510984,
"login": "GF-Huang",
"node_id": "MDQ6VXNlcjQ1MTA5ODQ=",
"organizations_url": "https://api.github.com/users/GF-Huang/orgs",
"received_events_url": "https://api.github.com/users/GF-Huang/received_events",
"repos_url": "https://api.github.com/users/GF-Huang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GF-Huang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GF-Huang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GF-Huang"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 7 | "2021-07-05T10:22:04Z" | "2021-07-18T16:23:39Z" | null | NONE | null | I can't find the docs about 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/42384/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42384/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42385 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42385/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42385/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42385/events | https://github.com/pandas-dev/pandas/pull/42385 | 937,010,382 | MDExOlB1bGxSZXF1ZXN0NjgzNjMzMjgx | 42,385 | TYP: clean for PY3.8 (Literal) | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 5 | "2021-07-05T11:48:52Z" | "2021-07-06T13:07:36Z" | "2021-07-06T12:59: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/42385/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42385/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42385.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42385",
"merged_at": "2021-07-06T12:59:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42385.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42385"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42386 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42386/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42386/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42386/events | https://github.com/pandas-dev/pandas/pull/42386 | 937,076,768 | MDExOlB1bGxSZXF1ZXN0NjgzNjg5ODQ2 | 42,386 | DOC fix the incorrect doc style in 1.2.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4",
"events_url": "https://api.github.com/users/debnathshoham/events{/privacy}",
"followers_url": "https://api.github.com/users/debnathshoham/followers",
"following_url": "https://api.github.com/users/debnathshoham/following{/other_user}",
"gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/debnathshoham",
"id": 6472290,
"login": "debnathshoham",
"node_id": "MDQ6VXNlcjY0NzIyOTA=",
"organizations_url": "https://api.github.com/users/debnathshoham/orgs",
"received_events_url": "https://api.github.com/users/debnathshoham/received_events",
"repos_url": "https://api.github.com/users/debnathshoham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/debnathshoham"
} | [
{
"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": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 4 | "2021-07-05T13:09:28Z" | "2021-07-09T06:51:05Z" | "2021-07-08T13:11:03Z" | CONTRIBUTOR | null | - [x] closes #39290
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/42386/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42386/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42386.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42386",
"merged_at": "2021-07-08T13:11:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42386.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42386"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42387 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42387/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42387/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42387/events | https://github.com/pandas-dev/pandas/issues/42387 | 937,078,920 | MDU6SXNzdWU5MzcwNzg5MjA= | 42,387 | BUG: read_csv raises an error when both `prefix` and `names` are set to `None` | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lhoestq",
"id": 42851186,
"login": "lhoestq",
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"organizations_url": "https://api.github.com/users/lhoestq/orgs",
"received_events_url": "https://api.github.com/users/lhoestq/received_events",
"repos_url": "https://api.github.com/users/lhoestq/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lhoestq"
} | [
{
"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": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
}
] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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.3.x",
"due_on": "2021-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 6 | "2021-07-05T13:11:42Z" | "2021-07-30T08:07:43Z" | "2021-07-30T08:07:43Z" | 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.
---
Hi everyone, I'm running into this issue since pandas 1.3.0:
#### Code Sample, a copy-pastable example
```python
import pandas as pd
pd.read_csv("path/to/any/csv", names=None, prefix=None)
```
raises
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-6-681798f605ab> in <module>()
----> 1 pd.read_csv("/content/sample_data/mnist_test.csv", names=None, prefix=None)
2 frames
/usr/local/lib/python3.7/dist-packages/pandas/io/parsers/readers.py in _refine_defaults_read(dialect, delimiter, delim_whitespace, engine, sep, error_bad_lines, warn_bad_lines, on_bad_lines, names, prefix, defaults)
1304
1305 if names is not lib.no_default and prefix is not lib.no_default:
-> 1306 raise ValueError("Specified named and prefix; you can only specify one.")
1307
1308 kwds["names"] = None if names is lib.no_default else names
ValueError: Specified named and prefix; you can only specify one.
```
#### Problem description
With `names=None` and `prefix=None` those parameters shouldn't be considered as specified, and the code should run as if they were not passed as keyword arguments.
This is due to the changes in this PR https://github.com/pandas-dev/pandas/pull/41446 that changed the default values of those two parameters from `None` to `no_default`
#### Expected Output
The code should load the csv using the default behavior as if `names` and `prefix` were not passed as keyword arguments
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.104+
Version : #1 SMP Sat Jun 5 09:50:34 PDT 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.19.5
pytz : 2018.9
dateutil : 2.8.1
pip : 19.3.1
setuptools : 57.0.0
Cython : 0.29.23
pytest : 3.6.4
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.2.6
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64)
jinja2 : 2.11.3
IPython : 5.5.0
pandas_datareader: 0.9.0
bs4 : 4.6.3
bottleneck : 1.3.2
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.3
odfpy : None
openpyxl : 2.5.9
pandas_gbq : 0.13.3
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.4.18
tables : 3.4.4
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 1.1.0
xlwt : 1.3.0
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42387/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42387/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42388 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42388/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42388/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42388/events | https://github.com/pandas-dev/pandas/issues/42388 | 937,088,807 | MDU6SXNzdWU5MzcwODg4MDc= | 42,388 | BUG: Regression in version 1.3.0: outer/right merge converts Int64 column to object if side-specific values are present | {
"avatar_url": "https://avatars.githubusercontent.com/u/2961313?v=4",
"events_url": "https://api.github.com/users/kpflugshaupt/events{/privacy}",
"followers_url": "https://api.github.com/users/kpflugshaupt/followers",
"following_url": "https://api.github.com/users/kpflugshaupt/following{/other_user}",
"gists_url": "https://api.github.com/users/kpflugshaupt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kpflugshaupt",
"id": 2961313,
"login": "kpflugshaupt",
"node_id": "MDQ6VXNlcjI5NjEzMTM=",
"organizations_url": "https://api.github.com/users/kpflugshaupt/orgs",
"received_events_url": "https://api.github.com/users/kpflugshaupt/received_events",
"repos_url": "https://api.github.com/users/kpflugshaupt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kpflugshaupt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kpflugshaupt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kpflugshaupt"
} | [
{
"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": "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": "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"
},
{
"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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | null | 3 | "2021-07-05T13:21:35Z" | "2021-07-06T06:30:31Z" | "2021-07-06T06:30:11Z" | 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.
---
When merging data frames on an **Int64** column, the resulting dtype differs between pandas 1.2.5 and 1.3.0.
* If all values are present on the left and right side, the Int64 dtype is retained successfully both in 1.2.5 and 1.3.0, for all merge methods (inner, left, right, outer)
* If there are specific values on both sides, dtype is converted depending on merge method:
* 1.2.5 keeps **Int64** for inner and left merges, converts to **int64** for outer and right merges
* 1.3.0 keeps **Int64** for inner and left merges, converts to **object** for outer and right merges
#### Code Sample, a copy-pastable example
#### ALL VALUES IDENTICAL: Correct behaviour
```python
# pandas 1.2.5
df1 = pd.DataFrame(dict(nr=[1,2,3,4])).astype({"nr": "Int64"})
df2 = pd.DataFrame(dict(nr=[1,2,3,4])).astype({"nr": "Int64"})
pd.merge(df1, df2, how="outer", on="nr").dtypes
# Out[9]:
# nr Int64
```
```python
# pandas 1.3.0
df1 = pd.DataFrame(dict(nr=[1,2,3,4])).astype({"nr": "Int64"})
df2 = pd.DataFrame(dict(nr=[1,2,3,4])).astype({"nr": "Int64"})
pd.merge(df1, df2, how="outer", on="nr").dtypes
# Out[9]:
# nr Int64
```
#### SIDE-SPECIFIC VALUES PRESENT: Differing behaviour, regression on 1.3.0
```python
# pandas 1.2.5
df1 = pd.DataFrame(dict(nr=[1,2,3 ])).astype({"nr": "Int64"})
df2 = pd.DataFrame(dict(nr=[ 2,3,4])).astype({"nr": "Int64"})
pd.merge(df1, df2, how="outer", on="nr").dtypes
# Out[1]:
# nr int64
pd.merge(df1, df2, how="right", on="nr").dtypes
# Out[2]:
# nr int64
pd.merge(df1, df2, how="left", on="nr").dtypes
# Out[3]:
# nr Int64
pd.merge(df1, df2, how="inner", on="nr").dtypes
# Out[4]:
# nr Int64
```
```python
# pandas 1.3.0
df1 = pd.DataFrame(dict(nr=[1,2,3 ])).astype({"nr": "Int64"})
df2 = pd.DataFrame(dict(nr=[ 2,3,4])).astype({"nr": "Int64"})
pd.merge(df1, df2, how="outer", on="nr").dtypes
# Out[1]:
# nr object
pd.merge(df1, df2, how="right", on="nr").dtypes
# Out[2]:
# nr object
pd.merge(df1, df2, how="left", on="nr").dtypes
# Out[3]:
# nr Int64
pd.merge(df1, df2, how="inner", on="nr").dtypes
# Out[4]:
# nr Int64
```
#### Problem description
When merging on an Int64 column, the Int64 dtype is lost in certain circumstances (outer and right joins, side-specific values present).
* On pandas 1.2.5, the column drops to **int64** (mostly equivalent to Int64, except for NULLs)
* On pandas 1.3.0, the column turns into an **object** (string) column (not equivalent to Int64 at all)
I found this when matches of a merged Int64 key against other Int64 columns silently stopped matching after the update to 1.3.0.
On 1.2.5, there was no problem, as int64 columns match correctly against Int64 ones.
#### Expected Output
* Ideally, the **Int64** dtype should be retained in all the above cases
* If this is currently not possible, the 1.2.5 behaviour of converting to **int64** is preferred, as the column still mostly works as expected
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.10.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19042
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : German_Switzerland.1252
pandas : 1.3.0
numpy : 1.20.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 51.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : None
IPython : 7.25.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.3
sqlalchemy : 1.4.0b1
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42388/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42388/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42389 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42389/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42389/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42389/events | https://github.com/pandas-dev/pandas/pull/42389 | 937,210,701 | MDExOlB1bGxSZXF1ZXN0NjgzODAzODM2 | 42,389 | TYP: remove ignores in refine_percentiles | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-05T15:49:56Z" | "2021-07-07T12:49:01Z" | "2021-07-07T12:35:42Z" | 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/42389/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42389/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42389.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42389",
"merged_at": "2021-07-07T12:35:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42389.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42389"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42390 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42390/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42390/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42390/events | https://github.com/pandas-dev/pandas/issues/42390 | 937,255,473 | MDU6SXNzdWU5MzcyNTU0NzM= | 42,390 | BUG: Regression on SeriesGrouper using Timestamp index with pandas 1.3.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/387511?v=4",
"events_url": "https://api.github.com/users/philpep/events{/privacy}",
"followers_url": "https://api.github.com/users/philpep/followers",
"following_url": "https://api.github.com/users/philpep/following{/other_user}",
"gists_url": "https://api.github.com/users/philpep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/philpep",
"id": 387511,
"login": "philpep",
"node_id": "MDQ6VXNlcjM4NzUxMQ==",
"organizations_url": "https://api.github.com/users/philpep/orgs",
"received_events_url": "https://api.github.com/users/philpep/received_events",
"repos_url": "https://api.github.com/users/philpep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/philpep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/philpep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/philpep"
} | [
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"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.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 2 | "2021-07-05T17:05:43Z" | "2021-08-17T16:04:17Z" | "2021-08-17T16:04:17Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
def agg(series):
if series.isna().values.all():
return None
return np.sum(series)
df = pd.DataFrame([1.0], index=[pd.Timestamp("2018-01-16 00:00:00+00:00")])
df.groupby(lambda x: 1).agg(agg)
```
#### Problem description
This raise with 1.3.0 and succeeded with 1.2.5
```
Traceback (most recent call last):
File "/tmp/t.py", line 12, in <module>
df.groupby(lambda x: 1).agg(agg)
File "/home/phil/src/pandas/pandas/core/groupby/generic.py", line 1010, in aggregate
result = gba.agg()
File "/home/phil/src/pandas/pandas/core/apply.py", line 164, in agg
return self.agg_list_like()
File "/home/phil/src/pandas/pandas/core/apply.py", line 355, in agg_list_like
new_res = colg.aggregate(arg)
File "/home/phil/src/pandas/pandas/core/groupby/generic.py", line 249, in aggregate
ret = self._aggregate_multiple_funcs(func)
File "/home/phil/src/pandas/pandas/core/groupby/generic.py", line 303, in _aggregate_multiple_funcs
results[key] = self.aggregate(func)
File "/home/phil/src/pandas/pandas/core/groupby/generic.py", line 265, in aggregate
return self._python_agg_general(func, *args, **kwargs)
File "/home/phil/src/pandas/pandas/core/groupby/groupby.py", line 1310, in _python_agg_general
result = self.grouper.agg_series(obj, f)
File "/home/phil/src/pandas/pandas/core/groupby/ops.py", line 1028, in agg_series
result = self._aggregate_series_fast(obj, func)
File "/home/phil/src/pandas/pandas/core/groupby/ops.py", line 1053, in _aggregate_series_fast
result, _ = sgrouper.get_result()
File "pandas/_libs/reduction.pyx", line 281, in pandas._libs.reduction.SeriesGrouper.get_result
cached_series, cached_index, islider, vslider)
File "pandas/_libs/reduction.pyx", line 88, in pandas._libs.reduction._BaseGrouper._apply_to_group
res = self.f(cached_series)
File "/home/phil/src/pandas/pandas/core/groupby/groupby.py", line 1296, in <lambda>
f = lambda x: func(x, *args, **kwargs)
File "/tmp/t.py", line 6, in agg
if series.isna().values.all():
File "/home/phil/src/pandas/pandas/core/series.py", line 5161, in isna
return generic.NDFrame.isna(self)
File "/home/phil/src/pandas/pandas/core/generic.py", line 7145, in isna
return isna(self).__finalize__(self, method="isna")
File "/home/phil/src/pandas/pandas/core/dtypes/missing.py", line 138, in isna
return _isna(obj)
File "/home/phil/src/pandas/pandas/core/dtypes/missing.py", line 177, in _isna
result, index=obj.index, name=obj.name, copy=False
File "/home/phil/src/pandas/pandas/core/series.py", line 430, in __init__
com.require_length_match(data, index)
File "/home/phil/src/pandas/pandas/core/common.py", line 528, in require_length_match
"Length of values "
ValueError: Length of values (1) does not match length of index (0)
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : c8b79e1bd30fb4d36e5c1f894757d59c57837528
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.0-17-amd64
Version : #1 SMP Debian 4.19.194-2 (2021-06-21)
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0+4.gc8b79e1bd3
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 57.1.0
Cython : 0.29.23
pytest : 6.2.4
hypothesis : 6.14.1
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42390/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42390/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42391 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42391/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42391/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42391/events | https://github.com/pandas-dev/pandas/pull/42391 | 937,256,378 | MDExOlB1bGxSZXF1ZXN0NjgzODQyMjEy | 42,391 | BUG: fix regression with SerieGrouper with Timestamp index (#42390) | {
"avatar_url": "https://avatars.githubusercontent.com/u/387511?v=4",
"events_url": "https://api.github.com/users/philpep/events{/privacy}",
"followers_url": "https://api.github.com/users/philpep/followers",
"following_url": "https://api.github.com/users/philpep/following{/other_user}",
"gists_url": "https://api.github.com/users/philpep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/philpep",
"id": 387511,
"login": "philpep",
"node_id": "MDQ6VXNlcjM4NzUxMQ==",
"organizations_url": "https://api.github.com/users/philpep/orgs",
"received_events_url": "https://api.github.com/users/philpep/received_events",
"repos_url": "https://api.github.com/users/philpep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/philpep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/philpep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/philpep"
} | [
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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.3.x",
"due_on": "2021-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 6 | "2021-07-05T17:07:02Z" | "2021-08-15T09:17:52Z" | "2021-08-15T09:17:52Z" | NONE | null | closes https://github.com/pandas-dev/pandas/issues/42390
This fixes a regression introduced in c355ed1 where cache is not
initialized with correct state of islider and vslider.
On Timestamp index this trigger a "ValueError Length of values does not match length of index" | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42391/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42391/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42391.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42391",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42391.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42391"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42392 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42392/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42392/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42392/events | https://github.com/pandas-dev/pandas/pull/42392 | 937,331,030 | MDExOlB1bGxSZXF1ZXN0NjgzOTA0OTc2 | 42,392 | STYLE: update pyupgrade for py38 syntax | {
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-05T19:50:19Z" | "2021-07-07T02:42:06Z" | "2021-07-06T12:59:51Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42392/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42392/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42392.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42392",
"merged_at": "2021-07-06T12:59:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42392.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42392"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42393 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42393/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42393/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42393/events | https://github.com/pandas-dev/pandas/issues/42393 | 937,395,572 | MDU6SXNzdWU5MzczOTU1NzI= | 42,393 | BUG: Running pandas df.progress_apply in notebook run under vscode generates 'dataframe object has no attribute _is_builtin_func' | {
"avatar_url": "https://avatars.githubusercontent.com/u/1256318?v=4",
"events_url": "https://api.github.com/users/dickreuter/events{/privacy}",
"followers_url": "https://api.github.com/users/dickreuter/followers",
"following_url": "https://api.github.com/users/dickreuter/following{/other_user}",
"gists_url": "https://api.github.com/users/dickreuter/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dickreuter",
"id": 1256318,
"login": "dickreuter",
"node_id": "MDQ6VXNlcjEyNTYzMTg=",
"organizations_url": "https://api.github.com/users/dickreuter/orgs",
"received_events_url": "https://api.github.com/users/dickreuter/received_events",
"repos_url": "https://api.github.com/users/dickreuter/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dickreuter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dickreuter/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dickreuter"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"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 | "2021-07-05T22:34:24Z" | "2021-07-05T22:37:54Z" | "2021-07-05T22:37:54Z" | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```
df['col'].progress_apply(lambda x: x+1)
```
#### Problem description
generates error message when run in notebook under vscode (but works fine when run in a normal jupyter notebook)
dataframe object has no attribute _is_builtin_func
#### Expected Output
Should show a progress bar and perform the apply lambda
#### Output of ``pd.show_versions()``
1.3.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/42393/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42393/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42394 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42394/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42394/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42394/events | https://github.com/pandas-dev/pandas/pull/42394 | 937,441,746 | MDExOlB1bGxSZXF1ZXN0NjgzOTk3MjM0 | 42,394 | REGR: unpickling in 1.3.0 DataFrame created in 1.2.x #42345 | {
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 4 | "2021-07-06T01:19:33Z" | "2021-11-20T23:20:47Z" | "2021-07-06T19:40:38Z" | MEMBER | null | - [x] closes #42345
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/42394/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42394/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42394.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42394",
"merged_at": "2021-07-06T19:40:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42394.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42394"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42395 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42395/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42395/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42395/events | https://github.com/pandas-dev/pandas/issues/42395 | 937,622,137 | MDU6SXNzdWU5Mzc2MjIxMzc= | 42,395 | BUG: DataFrame.groupby drops timedelta column in v1.3.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/51399800?v=4",
"events_url": "https://api.github.com/users/venaturum/events{/privacy}",
"followers_url": "https://api.github.com/users/venaturum/followers",
"following_url": "https://api.github.com/users/venaturum/following{/other_user}",
"gists_url": "https://api.github.com/users/venaturum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/venaturum",
"id": 51399800,
"login": "venaturum",
"node_id": "MDQ6VXNlcjUxMzk5ODAw",
"organizations_url": "https://api.github.com/users/venaturum/orgs",
"received_events_url": "https://api.github.com/users/venaturum/received_events",
"repos_url": "https://api.github.com/users/venaturum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/venaturum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/venaturum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/venaturum"
} | [
{
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4",
"events_url": "https://api.github.com/users/jmcomie/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcomie/followers",
"following_url": "https://api.github.com/users/jmcomie/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcomie",
"id": 1904716,
"login": "jmcomie",
"node_id": "MDQ6VXNlcjE5MDQ3MTY=",
"organizations_url": "https://api.github.com/users/jmcomie/orgs",
"received_events_url": "https://api.github.com/users/jmcomie/received_events",
"repos_url": "https://api.github.com/users/jmcomie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcomie"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4",
"events_url": "https://api.github.com/users/jmcomie/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcomie/followers",
"following_url": "https://api.github.com/users/jmcomie/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcomie",
"id": 1904716,
"login": "jmcomie",
"node_id": "MDQ6VXNlcjE5MDQ3MTY=",
"organizations_url": "https://api.github.com/users/jmcomie/orgs",
"received_events_url": "https://api.github.com/users/jmcomie/received_events",
"repos_url": "https://api.github.com/users/jmcomie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcomie"
}
] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"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.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 33 | "2021-07-06T07:57:36Z" | "2021-09-09T17:59:38Z" | "2021-09-09T17:59:38Z" | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame(
{
"duration":[pd.Timedelta(i, unit="days") for i in range(1,6)],
"value":[1,0,1,2,1]
}
)
df.groupby("value").sum()
```
results in:
```
Empty DataFrame
Columns: []
Index: [0, 1, 2]
```
The same behaviour occurs whether it's sum, mean, median etc
Note the following gives close to the expected result:
```python
df.groupby("value")["duration"].sum()
```
```
value
0 2 days
1 9 days
2 4 days
Name: duration, dtype: timedelta64[ns]
```
Also, this problem may be unique to Timedeltas as the following similar example, has no problem:
```python
df = pd.DataFrame(
{
"duration":[i for i in range(1,6)],
"value":[1,0,1,2,1]
}
)
df.groupby("value").sum()
```
gives:
```
duration
value
0 2
1 9
2 4
```
#### Problem description
In v1.3.0 (and master, commit dad3e7) when performing a groupby operation on a dataframe a timedelta column goes missing.
This behaviour does not occur in pandas 1.2.5
#### Expected Output
The expected output is given by pandas 1.2.5:
```python
duration
value
0 2 days
1 9 days
2 4 days
```
It is a dataframe, with one column "duration", indexed by the groupby keys
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.7.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.3.0
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 19.2.3
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42395/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42395/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42396 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42396/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42396/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42396/events | https://github.com/pandas-dev/pandas/issues/42396 | 937,702,381 | MDU6SXNzdWU5Mzc3MDIzODE= | 42,396 | BUG: astype() on an integer DataFrame changes the order of data | {
"avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4",
"events_url": "https://api.github.com/users/wjsi/events{/privacy}",
"followers_url": "https://api.github.com/users/wjsi/followers",
"following_url": "https://api.github.com/users/wjsi/following{/other_user}",
"gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wjsi",
"id": 8284922,
"login": "wjsi",
"node_id": "MDQ6VXNlcjgyODQ5MjI=",
"organizations_url": "https://api.github.com/users/wjsi/orgs",
"received_events_url": "https://api.github.com/users/wjsi/received_events",
"repos_url": "https://api.github.com/users/wjsi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wjsi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wjsi"
} | [
{
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 4 | "2021-07-06T09:31:51Z" | "2021-07-13T21:18:24Z" | "2021-07-13T21:18:24Z" | 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.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import numpy as np
import pandas as pd
npa = np.random.RandomState(0).randint(1000, size=(20, 8))
df = pd.DataFrame(npa, columns=[f'c{i}' for i in range(8)])
print(df.iloc[:6, :3])
# c0 c1 c2
# 0 684 559 629
# 1 9 723 277
# 2 600 396 314
# 3 600 849 677
# 4 115 976 755
# 5 99 984 177
print(df.iloc[:6, :3].astype('int32'))
# c0 c1 c2
# 0 684 600 115
# 1 559 396 976
# 2 629 314 755
# 3 9 600 99
# 4 723 849 984
# 5 277 677 177
```
#### Problem description
The order of output result is changed unexpectedly after `astype` is called. It may caused by data continuity as `df.iloc[:6, :3].copy().astype('int32')` works as expected.
#### Expected Output
```python
print(df.iloc[:6, :3].astype('int32'))
# c0 c1 c2
# 0 684 559 629
# 1 9 723 277
# 2 600 396 314
# 3 600 849 677
# 4 115 976 755
# 5 99 984 177
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu May 6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : zh_CN.UTF-8
pandas : 1.3.0
numpy : 1.18.5
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20200814
Cython : 0.29.23
pytest : 6.2.2
hypothesis : 6.3.0
sphinx : 3.2.1
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 : None
fastparquet : 0.4.2
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.18
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.53.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/42396/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42396/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42397 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42397/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42397/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42397/events | https://github.com/pandas-dev/pandas/issues/42397 | 937,719,008 | MDU6SXNzdWU5Mzc3MTkwMDg= | 42,397 | BUG: find_common_type raises an exception on Series | {
"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": "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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"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"
} | 10 | "2021-07-06T09:52:01Z" | "2021-07-06T11:58:10Z" | "2021-07-06T11:58:10Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
#### Code Sample, a copy-pastable example
```python
from pandas.core.dtypes.cast import find_common_type
import pandas
s = pandas.Series(["int", "float"])
find_common_type(s)
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
```
#### Problem description
The exception is raised in 1.3.0 whereas the method works correctly in 1.2.5.
#### Expected Output
Output for 1.2.5
```python
from pandas.core.dtypes.cast import find_common_type
import pandas
s = pandas.Series(["int", "float"])
find_common_type(s)
dtype('float64')
```
#### Output of ``pd.show_versions()``
<details>
pandas : 1.3.0
numpy : 1.20.3
pytz : 2020.1
dateutil : 2.8.1
pip : 21.1.2
setuptools : 49.6.0.post20210108
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : 4.0.2
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.24.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 2021.05.0
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : 0.15.0
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.3
sqlalchemy : 1.4.18
tables : 3.6.1
tabulate : None
xarray : 0.18.2
xlrd : 2.0.1
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/42397/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42397/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42398 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42398/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42398/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42398/events | https://github.com/pandas-dev/pandas/pull/42398 | 937,727,738 | MDExOlB1bGxSZXF1ZXN0Njg0MjMzNTQ5 | 42,398 | TYP: remove ignores from BlockManager.__cinit__ | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-06T10:02:21Z" | "2021-07-07T12:47:02Z" | "2021-07-07T12:35:03Z" | 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/42398/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42398/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42398.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42398",
"merged_at": "2021-07-07T12:35:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42398.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42398"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42399 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42399/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42399/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42399/events | https://github.com/pandas-dev/pandas/issues/42399 | 937,763,466 | MDU6SXNzdWU5Mzc3NjM0NjY= | 42,399 | BUG: setting start argument in offsets.BusinessHour produces wrong start time for each second day. | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | open | false | null | [] | null | 3 | "2021-07-06T10:46:17Z" | "2021-08-24T01:25:20Z" | null | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
start = pd.Timestamp('2021-07-05 08:10:11')
end = pd.Timestamp('2021-07-07 12:13:14')
dates = pd.date_range(start, end, freq=pd.offsets.BusinessHour(start="08:30"))
print(dates)
DatetimeIndex(['2021-07-05 08:30:00', '2021-07-05 09:30:00',
'2021-07-05 10:30:00', '2021-07-05 11:30:00',
'2021-07-05 12:30:00', '2021-07-05 13:30:00',
'2021-07-05 14:30:00', '2021-07-05 15:30:00',
'2021-07-05 16:30:00', '2021-07-06 09:00:00',
'2021-07-06 10:00:00', '2021-07-06 11:00:00',
'2021-07-06 12:00:00', '2021-07-06 13:00:00',
'2021-07-06 14:00:00', '2021-07-06 15:00:00',
'2021-07-06 16:00:00', '2021-07-07 08:30:00',
'2021-07-07 09:30:00', '2021-07-07 10:30:00',
'2021-07-07 11:30:00'],
dtype='datetime64[ns]', freq='BH')
dates.to_series().groupby(dates.date).min()
2021-07-05 2021-07-05 08:30:00
2021-07-06 2021-07-06 09:00:00
2021-07-07 2021-07-07 08:30:00
dtype: datetime64[ns]
```
#### Problem description
Making use the `start` argument in offsets.BusinessHour produces the wrong start time for each second day. So in the example above, I would've expected `2021-07-06` to start on `08:30:00` instead of `09:00:00`
#### Expected Output
See the description above.
pandas version 1.3.0.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42399/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42399/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42400 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42400/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42400/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42400/events | https://github.com/pandas-dev/pandas/pull/42400 | 937,794,262 | MDExOlB1bGxSZXF1ZXN0Njg0MjkwMjMx | 42,400 | TYP: remove some ignores - nansum, _get_counts_nanvar | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-06T11:24:23Z" | "2021-07-07T12:45:08Z" | "2021-07-07T12:36: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/42400/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42400/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42400.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42400",
"merged_at": "2021-07-07T12:36:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42400.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42400"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42401 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42401/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42401/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42401/events | https://github.com/pandas-dev/pandas/issues/42401 | 937,808,781 | MDU6SXNzdWU5Mzc4MDg3ODE= | 42,401 | BUG: TypeError when shifting DataFrame created by concatenation of slices and fills with values | {
"avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4",
"events_url": "https://api.github.com/users/wjsi/events{/privacy}",
"followers_url": "https://api.github.com/users/wjsi/followers",
"following_url": "https://api.github.com/users/wjsi/following{/other_user}",
"gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wjsi",
"id": 8284922,
"login": "wjsi",
"node_id": "MDQ6VXNlcjgyODQ5MjI=",
"organizations_url": "https://api.github.com/users/wjsi/orgs",
"received_events_url": "https://api.github.com/users/wjsi/received_events",
"repos_url": "https://api.github.com/users/wjsi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wjsi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wjsi"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 3 | "2021-07-06T11:42:54Z" | "2021-07-26T02:27:11Z" | "2021-07-26T02:27:10Z" | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import numpy as np
import pandas as pd
npa = np.random.RandomState(0).randint(1000, size=(20, 8))
df = pd.DataFrame(npa, columns=[f'c{i}' for i in range(8)])
pd.concat([df.iloc[:6, 3:5], df.iloc[:6, 6:8]], axis=1).shift(periods=2, axis=1, freq=None, fill_value=0)
```
```
Traceback (most recent call last):
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-4-9916dba4e800>", line 1, in <module>
pd.concat([df.iloc[:6, 3:5], df.iloc[:6, 6:8]], axis=1).shift(periods=2, axis=1, freq=None, fill_value=0)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/frame.py", line 5313, in shift
return super().shift(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 9179, in shift
new_data = self._mgr.shift(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 393, in shift
result = self.reindex_indexer(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 669, in reindex_indexer
new_blocks = self._slice_take_blocks_ax0(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 714, in _slice_take_blocks_ax0
sl_type, slobj, sllen = _preprocess_slice_or_indexer(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 2033, in _preprocess_slice_or_indexer
raise TypeError(type(slice_or_indexer), dtype)
TypeError: (<class 'list'>, None)
```
#### Problem description
`shift` should work without exception. When `df._data._consolidate_inplace()` is called before shift, it works well. Thus consolidation might be missing, just like #35488.
#### Expected Output
```
c3 c4 c6 c7
0 0 0 192 835
1 0 0 754 804
2 0 0 705 486
3 0 0 537 845
4 0 0 709 847
5 0 0 755 797
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu May 6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : zh_CN.UTF-8
pandas : 1.3.0
numpy : 1.18.5
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20200814
Cython : 0.29.23
pytest : 6.2.2
hypothesis : 6.3.0
sphinx : 3.2.1
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 : None
fastparquet : 0.4.2
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.18
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.53.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/42401/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42401/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42402 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42402/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42402/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42402/events | https://github.com/pandas-dev/pandas/pull/42402 | 937,832,049 | MDExOlB1bGxSZXF1ZXN0Njg0MzIyMjYw | 42,402 | DOC: Adding examples to DataFrameGroupBy.rank #38972 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4",
"events_url": "https://api.github.com/users/debnathshoham/events{/privacy}",
"followers_url": "https://api.github.com/users/debnathshoham/followers",
"following_url": "https://api.github.com/users/debnathshoham/following{/other_user}",
"gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/debnathshoham",
"id": 6472290,
"login": "debnathshoham",
"node_id": "MDQ6VXNlcjY0NzIyOTA=",
"organizations_url": "https://api.github.com/users/debnathshoham/orgs",
"received_events_url": "https://api.github.com/users/debnathshoham/received_events",
"repos_url": "https://api.github.com/users/debnathshoham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/debnathshoham"
} | [
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 7 | "2021-07-06T12:12:25Z" | "2021-07-12T19:36:54Z" | "2021-07-12T19:30:38Z" | CONTRIBUTOR | null | - [x] closes #38972
- [x] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/42402/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42402/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42402.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42402",
"merged_at": "2021-07-12T19:30:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42402.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42402"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42403 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42403/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42403/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42403/events | https://github.com/pandas-dev/pandas/issues/42403 | 937,839,159 | MDU6SXNzdWU5Mzc4MzkxNTk= | 42,403 | BUG: DafaFrame.insert doesn't raise an exception when inserting another DataFrame | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 6 | "2021-07-06T12:20:41Z" | "2021-08-05T05:52:23Z" | "2021-08-05T05:52:23Z" | 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
df = pandas.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
df.insert(1, "newcol", df)
df
col1 newcol col2
0 1 col1 3
1 2 col2 4
```
#### Problem description
Dataframe should take `int, Series, or array-like` as a `value` and throw an exception in case DataFrame is passed.
#### Expected Output
Behavior in 1.2.5
```python
import pandas
df = pandas.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
df.insert(1, "newcol", df)
ValueError: Wrong number of items passed 2, placement implies 1
```
#### Output of ``pd.show_versions()``
<details>
pandas : 1.3.0
numpy : 1.20.3
pytz : 2020.1
dateutil : 2.8.1
pip : 21.1.2
setuptools : 49.6.0.post20210108
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : 4.0.2
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.24.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 2021.05.0
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : 0.15.0
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.3
sqlalchemy : 1.4.18
tables : 3.6.1
tabulate : None
xarray : 0.18.2
xlrd : 2.0.1
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/42403/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42403/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42404 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42404/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42404/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42404/events | https://github.com/pandas-dev/pandas/pull/42404 | 937,971,066 | MDExOlB1bGxSZXF1ZXN0Njg0NDM4NjU4 | 42,404 | REF: Skip all empty groups in _transform_general | {
"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": "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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-07-06T14:41:26Z" | "2021-07-07T01:54:58Z" | "2021-07-06T18:39:02Z" | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42404/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42404/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42404.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42404",
"merged_at": "2021-07-06T18:39:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42404.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42404"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42405 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42405/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42405/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42405/events | https://github.com/pandas-dev/pandas/issues/42405 | 938,006,579 | MDU6SXNzdWU5MzgwMDY1Nzk= | 42,405 | BUG: isin() with missing values does not work in 1.3.0 with extension dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/1911521?v=4",
"events_url": "https://api.github.com/users/zmeves/events{/privacy}",
"followers_url": "https://api.github.com/users/zmeves/followers",
"following_url": "https://api.github.com/users/zmeves/following{/other_user}",
"gists_url": "https://api.github.com/users/zmeves/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zmeves",
"id": 1911521,
"login": "zmeves",
"node_id": "MDQ6VXNlcjE5MTE1MjE=",
"organizations_url": "https://api.github.com/users/zmeves/orgs",
"received_events_url": "https://api.github.com/users/zmeves/received_events",
"repos_url": "https://api.github.com/users/zmeves/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zmeves/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zmeves/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zmeves"
} | [
{
"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": "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"
},
{
"color": "fef2c0",
"default": false,
"description": "isin method",
"id": 2468482981,
"name": "isin",
"node_id": "MDU6TGFiZWwyNDY4NDgyOTgx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/isin"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 2 | "2021-07-06T15:16:48Z" | "2021-07-14T18:19:04Z" | "2021-07-14T18:19:04Z" | NONE | null | This bug is not present in Pandas < 1.3.0.
In 1.3.0, calling `Series.isin()` will fail if
* the `Series` `dtype` is an extension dtype (`pd.Float64Dtype()`, `pd.Int64Dtype()`, ...)
* the `Series` contains any 'missing' values (`numpy.nan`, `pd.na`)
The following code snippet tests a few `dtypes`, determining if each of them supports `isin` with missing values:
```python
import pandas as pd
import numpy as np
for dtype in (float, int, pd.Float64Dtype(), pd.Int64Dtype(), object):
x = pd.Series([0, 1, 2, 3, 4], dtype=dtype)
options = [1, 2, 3]
print(f"\nTesting with dtype = {x.dtype}:")
x.isin(options) # This works everytime - no missing values
x.iloc[1] = np.nan # Set a value to NA
try:
x.isin(options) # This no longer works
except Exception as err:
print(f"Error! {err}")
else:
print("OK")
# Now, show the actual stack trace
print("\nStacktrace for dtype=Int64")
dtype = pd.Int64Dtype()
x = pd.Series([0, 1, 2, 3, 4], dtype=dtype)
options = [1, 2, 3]
x.iloc[1] = np.nan # Set a value to NA
x.isin(options)
```
The output is:
```
Testing with dtype = float64:
OK
Testing with dtype = int64:
OK
Testing with dtype = Float64:
Error! boolean value of NA is ambiguous
Testing with dtype = Int64:
Error! boolean value of NA is ambiguous
Testing with dtype = object:
OK
Stacktrace for dtype=Int64
Traceback (most recent call last):
File "...dev/pd_1_3_isin_bug.py", line 31, in <module>
x.isin(options)
File "..._dev_venv/lib/python3.7/site-packages/pandas/core/series.py", line 5024, in isin
result = algorithms.isin(self._values, values)
File "..._dev_venv/lib/python3.7/site-packages/pandas/core/algorithms.py", line 475, in isin
return comps.isin(values)
File "..._dev_venv/lib/python3.7/site-packages/pandas/core/arrays/masked.py", line 408, in isin
if libmissing.NA in values:
File "pandas/_libs/missing.pyx", line 446, in pandas._libs.missing.NAType.__bool__
TypeError: boolean value of NA is ambiguous
```
```python
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-1127.13.1.el7.x86_64
Version : #1 SMP Fri Jun 12 14:34:17 EDT 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.20.3
pytz : 2019.3
dateutil : 2.8.0
pip : 21.0.1
setuptools : 40.8.0
Cython : 0.29.13
pytest : 5.1.1
hypothesis : None
sphinx : 4.0.2
blosc : None
feather : None
xlsxwriter : 1.2.1
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fsspec : 0.5.2
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 0.13.0
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : 1.3.9
tables : 3.5.2
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.45.1
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42405/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42405/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42406 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42406/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42406/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42406/events | https://github.com/pandas-dev/pandas/issues/42406 | 938,017,874 | MDU6SXNzdWU5MzgwMTc4NzQ= | 42,406 | DOC: update groupby methods `See Also` section | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | open | false | null | [] | null | 2 | "2021-07-06T15:28:45Z" | "2021-07-11T07:23:50Z" | null | MEMBER | null | Right now the default `See Also` section for a groupby method will include `Series.groupby` and `DataFrame.groupby`, both of which do not link to anything (and are not particularly informative on their own without a link). See for example https://pandas.pydata.org/docs/reference/api/pandas.core.groupby.GroupBy.all.html.
Based on https://github.com/pandas-dev/pandas/blob/e102f80c92df13fe39efbc59b53371c2cbd1d42e/pandas/core/groupby/groupby.py#L116-L122 seems like the expected `See Also` would be to instead (for example with method `all`) link to
`Series.all` and `DataFrame.all`? The `See Also` could still link to groupby material if thought helpful, eg https://pandas.pydata.org/docs/reference/api/pandas.Series.groupby.html#pandas.Series.groupby and https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby, but IMO most important is linking to the analogous `Series`/`DataFrame` doc which will usually be more informative.
Some groupby methods like `backfill` and `quantile` (https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.DataFrameGroupBy.quantile.html) do include custom See Also sections, but `Series.quantile` and `DataFrame.quantile` do not render as links. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42406/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42406/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42407 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42407/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42407/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42407/events | https://github.com/pandas-dev/pandas/pull/42407 | 938,027,651 | MDExOlB1bGxSZXF1ZXN0Njg0NDg1NjMx | 42,407 | CLN: random state updates after dropping numpy 1.17 | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-07-06T15:39:44Z" | "2021-07-06T20:04:35Z" | "2021-07-06T19:44:37Z" | MEMBER | null | Followup to random state changes now that numpy 1.17 dropped
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42407/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42407/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42407.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42407",
"merged_at": "2021-07-06T19:44:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42407.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42407"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42408 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42408/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42408/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42408/events | https://github.com/pandas-dev/pandas/issues/42408 | 938,030,231 | MDU6SXNzdWU5MzgwMzAyMzE= | 42,408 | BUG: to_sql() method inserts NULL for NaN which bypasses DEFAULT behaviour of database | {
"avatar_url": "https://avatars.githubusercontent.com/u/25299948?v=4",
"events_url": "https://api.github.com/users/robinstauntoncollins/events{/privacy}",
"followers_url": "https://api.github.com/users/robinstauntoncollins/followers",
"following_url": "https://api.github.com/users/robinstauntoncollins/following{/other_user}",
"gists_url": "https://api.github.com/users/robinstauntoncollins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/robinstauntoncollins",
"id": 25299948,
"login": "robinstauntoncollins",
"node_id": "MDQ6VXNlcjI1Mjk5OTQ4",
"organizations_url": "https://api.github.com/users/robinstauntoncollins/orgs",
"received_events_url": "https://api.github.com/users/robinstauntoncollins/received_events",
"repos_url": "https://api.github.com/users/robinstauntoncollins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/robinstauntoncollins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/robinstauntoncollins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/robinstauntoncollins"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] | open | false | null | [] | null | 1 | "2021-07-06T15:42:48Z" | "2021-08-21T04:11:48Z" | null | NONE | null | In my database ddl (SQL Server) I have fields which have default values:
```
my_database_field varchar(255) NOT NULL
DEFAULT 'NVT'
```
However, when I try to insert data into this table using DataFrame.to_sql() I get the following error:
```
Cannot insert the value NULL into column 'my_database_field', table 'MYDB.dbo.my_table'; column does not allow nulls. INSERT fails.
```
Here is the code:
```
with engine.begin() as conn:
dataframe.to_sql(table_name, conn, index=False, if_exists='append')
```
The column 'my_database_field' has NaN values:
```
data['my_database_field']
0 NaN
1 NaN
2 NaN
3 NaN
4 NaN
..
4154 NaN
4155 NaN
4156 NaN
4157 NaN
4158 NaN
```
This seems to be because the to_sql method is replacing NaN values with NULLs (probably how it should be)
I want the option to insert NaN values and have the database use the DEFAULT value defined in the schema instead of inserting NULL directly when using the to_sql method. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42408/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42408/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42409 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42409/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42409/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42409/events | https://github.com/pandas-dev/pandas/issues/42409 | 938,035,081 | MDU6SXNzdWU5MzgwMzUwODE= | 42,409 | DOC: Spelling mistake in code example of Styler.to_latex documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/7000001?v=4",
"events_url": "https://api.github.com/users/Lullatsch/events{/privacy}",
"followers_url": "https://api.github.com/users/Lullatsch/followers",
"following_url": "https://api.github.com/users/Lullatsch/following{/other_user}",
"gists_url": "https://api.github.com/users/Lullatsch/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Lullatsch",
"id": 7000001,
"login": "Lullatsch",
"node_id": "MDQ6VXNlcjcwMDAwMDE=",
"organizations_url": "https://api.github.com/users/Lullatsch/orgs",
"received_events_url": "https://api.github.com/users/Lullatsch/received_events",
"repos_url": "https://api.github.com/users/Lullatsch/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Lullatsch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lullatsch/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Lullatsch"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/86980491?v=4",
"events_url": "https://api.github.com/users/STAMcM/events{/privacy}",
"followers_url": "https://api.github.com/users/STAMcM/followers",
"following_url": "https://api.github.com/users/STAMcM/following{/other_user}",
"gists_url": "https://api.github.com/users/STAMcM/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/STAMcM",
"id": 86980491,
"login": "STAMcM",
"node_id": "MDQ6VXNlcjg2OTgwNDkx",
"organizations_url": "https://api.github.com/users/STAMcM/orgs",
"received_events_url": "https://api.github.com/users/STAMcM/received_events",
"repos_url": "https://api.github.com/users/STAMcM/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/STAMcM/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/STAMcM/subscriptions",
"type": "User",
"url": "https://api.github.com/users/STAMcM"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/86980491?v=4",
"events_url": "https://api.github.com/users/STAMcM/events{/privacy}",
"followers_url": "https://api.github.com/users/STAMcM/followers",
"following_url": "https://api.github.com/users/STAMcM/following{/other_user}",
"gists_url": "https://api.github.com/users/STAMcM/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/STAMcM",
"id": 86980491,
"login": "STAMcM",
"node_id": "MDQ6VXNlcjg2OTgwNDkx",
"organizations_url": "https://api.github.com/users/STAMcM/orgs",
"received_events_url": "https://api.github.com/users/STAMcM/received_events",
"repos_url": "https://api.github.com/users/STAMcM/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/STAMcM/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/STAMcM/subscriptions",
"type": "User",
"url": "https://api.github.com/users/STAMcM"
}
] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 4 | "2021-07-06T15:48:22Z" | "2021-07-06T21:33:52Z" | "2021-07-06T21:33:52Z" | NONE | null | #### Location of the documentation
"https://pandas.pydata.org/docs/reference/api/pandas.io.formats.style.Styler.to_latex.html"
#### Documentation problem
Last example under "CSS Conversion" which uses the `convert_css` parameter writes `css_convert` instead.
#### Suggested fix for documentation
Simply replace `css_convert` with `convert_css`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42409/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42409/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42410 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42410/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42410/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42410/events | https://github.com/pandas-dev/pandas/pull/42410 | 938,036,985 | MDExOlB1bGxSZXF1ZXN0Njg0NDkzMzMw | 42,410 | DEPS: use importlib for backend discovery #41815 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-07-06T15:50:32Z" | "2021-07-07T02:42:33Z" | "2021-07-06T18:37:21Z" | MEMBER | null | - [x] closes #41815
We still use `pkg_resources` in mpl tests. But it doesn't affect end users. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42410/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42410/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42410.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42410",
"merged_at": "2021-07-06T18:37:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42410.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42410"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42411 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42411/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42411/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42411/events | https://github.com/pandas-dev/pandas/pull/42411 | 938,040,195 | MDExOlB1bGxSZXF1ZXN0Njg0NDk1OTk5 | 42,411 | CI: Don't test on 1.2.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 3 | "2021-07-06T15:54:07Z" | "2021-07-06T16:50:00Z" | "2021-07-06T16:46:26Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/42411/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42411/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42411.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42411",
"merged_at": "2021-07-06T16:46:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42411.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42411"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42412 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42412/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42412/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42412/events | https://github.com/pandas-dev/pandas/pull/42412 | 938,082,103 | MDExOlB1bGxSZXF1ZXN0Njg0NTMwODA2 | 42,412 | Backport PR #42411 on branch 1.3.x (CI: Don't test on 1.2.x) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-06T16:46:53Z" | "2021-07-06T18:07:54Z" | "2021-07-06T18:07:54Z" | NONE | null | Backport PR #42411: CI: Don't test on 1.2.x | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42412/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42412/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42412.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42412",
"merged_at": "2021-07-06T18:07:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42412.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42412"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42413 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42413/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42413/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42413/events | https://github.com/pandas-dev/pandas/pull/42413 | 938,085,458 | MDExOlB1bGxSZXF1ZXN0Njg0NTMzNjIz | 42,413 | CI: runtime warning in npdev build | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 1 | "2021-07-06T16:51:35Z" | "2021-07-06T19:25:55Z" | "2021-07-06T19:09:50Z" | MEMBER | null | - [x] closes #42381
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/42413/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42413/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42413.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42413",
"merged_at": "2021-07-06T19:09:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42413.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42413"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42414 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42414/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42414/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42414/events | https://github.com/pandas-dev/pandas/issues/42414 | 938,115,834 | MDU6SXNzdWU5MzgxMTU4MzQ= | 42,414 | ENH: Do same operations to a list of pandas objects, Series or DataFrames. | {
"avatar_url": "https://avatars.githubusercontent.com/u/8540575?v=4",
"events_url": "https://api.github.com/users/wangzhe3224/events{/privacy}",
"followers_url": "https://api.github.com/users/wangzhe3224/followers",
"following_url": "https://api.github.com/users/wangzhe3224/following{/other_user}",
"gists_url": "https://api.github.com/users/wangzhe3224/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wangzhe3224",
"id": 8540575,
"login": "wangzhe3224",
"node_id": "MDQ6VXNlcjg1NDA1NzU=",
"organizations_url": "https://api.github.com/users/wangzhe3224/orgs",
"received_events_url": "https://api.github.com/users/wangzhe3224/received_events",
"repos_url": "https://api.github.com/users/wangzhe3224/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wangzhe3224/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wangzhe3224/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wangzhe3224"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | "2021-07-06T17:34:31Z" | "2021-07-06T18:27:22Z" | "2021-07-06T18:27:12Z" | NONE | null | #### Is your feature request related to a problem?
The idea is basically do same operations to a list of pandas objects, Series or DataFrames.
#### Describe the solution you'd like
There a a lot of time I do following operations
```python
df1.sum().plot()
df2.sum().plot()
df3.sum().plot()
```
I wish in pandas I could do following:
```python
dfs = MetaDf(df1, df2, df3)
dfs.sum().plot()
```
#### API breaking implications
This should not affect APIs.
#### Describe alternatives you've considered
I tried something here: https://github.com/wangzhe3224/compare
But it does not work well with chaining operations.
```python
import pandas as pd
from compare.core import Comp
a = pd.Series([1,2,3])
b = pd.Series([1,2,3])
c = Comp(a, b)
c.shift(1)
c.sum()
# we cannot do this yet...
# c.mean() + c.std()
# c.plot()
```
#### Additional context
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/42414/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42414/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42415 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42415/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42415/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42415/events | https://github.com/pandas-dev/pandas/pull/42415 | 938,182,599 | MDExOlB1bGxSZXF1ZXN0Njg0NjEzNjQy | 42,415 | Backport PR #42413 on branch 1.3.x (CI: runtime warning in npdev build) | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-06T19:09:59Z" | "2021-07-06T20:29:58Z" | "2021-07-06T20:29:58Z" | NONE | null | Backport PR #42413: CI: runtime warning in npdev build | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42415/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42415/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42415.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42415",
"merged_at": "2021-07-06T20:29:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42415.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42415"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42416 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42416/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42416/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42416/events | https://github.com/pandas-dev/pandas/pull/42416 | 938,203,269 | MDExOlB1bGxSZXF1ZXN0Njg0NjMxMDgx | 42,416 | Backport PR #42394 on branch 1.3.x (REGR: unpickling in 1.3.0 DataFrame created in 1.2.x #42345) | {
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-06T19:40:46Z" | "2021-07-06T20:30:16Z" | "2021-07-06T20:30:15Z" | NONE | null | Backport PR #42394: REGR: unpickling in 1.3.0 DataFrame created in 1.2.x #42345 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42416/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42416/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42416.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42416",
"merged_at": "2021-07-06T20:30:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42416.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42416"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42417 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42417/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42417/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42417/events | https://github.com/pandas-dev/pandas/pull/42417 | 938,205,513 | MDExOlB1bGxSZXF1ZXN0Njg0NjMyOTc5 | 42,417 | DOC: GH42409 Fix mistake in code example of Styler.to_latex documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/86980491?v=4",
"events_url": "https://api.github.com/users/STAMcM/events{/privacy}",
"followers_url": "https://api.github.com/users/STAMcM/followers",
"following_url": "https://api.github.com/users/STAMcM/following{/other_user}",
"gists_url": "https://api.github.com/users/STAMcM/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/STAMcM",
"id": 86980491,
"login": "STAMcM",
"node_id": "MDQ6VXNlcjg2OTgwNDkx",
"organizations_url": "https://api.github.com/users/STAMcM/orgs",
"received_events_url": "https://api.github.com/users/STAMcM/received_events",
"repos_url": "https://api.github.com/users/STAMcM/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/STAMcM/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/STAMcM/subscriptions",
"type": "User",
"url": "https://api.github.com/users/STAMcM"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
},
{
"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": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 3 | "2021-07-06T19:44:22Z" | "2021-07-06T21:43:51Z" | "2021-07-06T21:33:52Z" | CONTRIBUTOR | null |
- [x] closes #42409
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/42417/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42417/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42417.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42417",
"merged_at": "2021-07-06T21:33:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42417.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42417"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42418 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42418/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42418/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42418/events | https://github.com/pandas-dev/pandas/pull/42418 | 938,277,224 | MDExOlB1bGxSZXF1ZXN0Njg0NjkzMTY4 | 42,418 | Backport PR #42417 on branch 1.3.x (DOC: GH42409 Fix mistake in code example of Styler.to_latex documentation) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
},
{
"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": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-06T21:34:01Z" | "2021-07-07T00:02:50Z" | "2021-07-07T00:02:50Z" | NONE | null | Backport PR #42417: DOC: GH42409 Fix mistake in code example of Styler.to_latex documentation | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42418/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42418/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42418.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42418",
"merged_at": "2021-07-07T00:02:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42418.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42418"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42419 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42419/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42419/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42419/events | https://github.com/pandas-dev/pandas/pull/42419 | 938,433,479 | MDExOlB1bGxSZXF1ZXN0Njg0ODIxMDEx | 42,419 | CI: update vm image version for Azure | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 3 | "2021-07-07T03:07:23Z" | "2021-08-17T04:20:44Z" | "2021-07-07T16:48:31Z" | 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/42419/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42419/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42419.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42419",
"merged_at": "2021-07-07T16:48:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42419.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42419"
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.