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/43121 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43121/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43121/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43121/events | https://github.com/pandas-dev/pandas/pull/43121 | 975,354,422 | MDExOlB1bGxSZXF1ZXN0NzE2NTE3MTY2 | 43,121 | REF: `axis in [...]` becomes `_get_axis_number(axis)` in Styler | {
"avatar_url": "https://avatars.githubusercontent.com/u/66573172?v=4",
"events_url": "https://api.github.com/users/yashbg/events{/privacy}",
"followers_url": "https://api.github.com/users/yashbg/followers",
"following_url": "https://api.github.com/users/yashbg/following{/other_user}",
"gists_url": "https://api.github.com/users/yashbg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yashbg",
"id": 66573172,
"login": "yashbg",
"node_id": "MDQ6VXNlcjY2NTczMTcy",
"organizations_url": "https://api.github.com/users/yashbg/orgs",
"received_events_url": "https://api.github.com/users/yashbg/received_events",
"repos_url": "https://api.github.com/users/yashbg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yashbg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yashbg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yashbg"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 18 | "2021-08-20T07:43:05Z" | "2021-08-30T11:42:00Z" | "2021-08-30T09:04:27Z" | CONTRIBUTOR | null | - [x] addresses an item in #43048
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43121/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43121/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43121.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43121",
"merged_at": "2021-08-30T09:04:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43121.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43121"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43122 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43122/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43122/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43122/events | https://github.com/pandas-dev/pandas/pull/43122 | 975,360,718 | MDExOlB1bGxSZXF1ZXN0NzE2NTIyMzk3 | 43,122 | REF: use _get_axis_number instead of if axis in [...]: #43048 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 2 | "2021-08-20T07:52:31Z" | "2021-08-20T10:02:43Z" | "2021-08-20T08:18:02Z" | NONE | null | 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/43122/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43122/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43122.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43122",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43122.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43122"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43123 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43123/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43123/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43123/events | https://github.com/pandas-dev/pandas/pull/43123 | 975,405,656 | MDExOlB1bGxSZXF1ZXN0NzE2NTU5OTM4 | 43,123 | REF: use _get_axis_number instead of if axis in [...]: #43112 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 1 | "2021-08-20T08:52:26Z" | "2021-08-20T09:54:46Z" | "2021-08-20T09:43:49Z" | NONE | null | Changed the axis in [..] to _get_axis_number. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43123/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43123/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43123.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43123",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43123.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43123"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43124 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43124/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43124/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43124/events | https://github.com/pandas-dev/pandas/pull/43124 | 975,451,213 | MDExOlB1bGxSZXF1ZXN0NzE2NTk4ODQ1 | 43,124 | REF: use _get_axis_number instead of if axis in [...]: #43112 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 1 | "2021-08-20T09:49:41Z" | "2021-08-20T09:54:28Z" | "2021-08-20T09:50:28Z" | NONE | null | #43112 pull request is not re-opening as the pandas repository which I previously forked was deleted, so I created a new pull request pls check it. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43124/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43124/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43124.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43124",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43124.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43124"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43125 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43125/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43125/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43125/events | https://github.com/pandas-dev/pandas/pull/43125 | 975,459,259 | MDExOlB1bGxSZXF1ZXN0NzE2NjA1ODE1 | 43,125 | REF: use _get_axis_number instead of if axis in [...]: #43048 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 1 | "2021-08-20T10:00:28Z" | "2021-08-20T10:02:41Z" | "2021-08-20T10:01:02Z" | NONE | null | #43112 pull request is not re-opening as the pandas repository was deleted which I forked before so I am creating a new pull request please review it? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43125/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43125/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43125.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43125",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43125.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43125"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43126 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43126/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43126/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43126/events | https://github.com/pandas-dev/pandas/issues/43126 | 975,463,598 | MDU6SXNzdWU5NzU0NjM1OTg= | 43,126 | QST: How to add option "-fstack-protector-all" when build lib_lightgbm.so? | {
"avatar_url": "https://avatars.githubusercontent.com/u/8025182?v=4",
"events_url": "https://api.github.com/users/liyuan1062/events{/privacy}",
"followers_url": "https://api.github.com/users/liyuan1062/followers",
"following_url": "https://api.github.com/users/liyuan1062/following{/other_user}",
"gists_url": "https://api.github.com/users/liyuan1062/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/liyuan1062",
"id": 8025182,
"login": "liyuan1062",
"node_id": "MDQ6VXNlcjgwMjUxODI=",
"organizations_url": "https://api.github.com/users/liyuan1062/orgs",
"received_events_url": "https://api.github.com/users/liyuan1062/received_events",
"repos_url": "https://api.github.com/users/liyuan1062/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/liyuan1062/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liyuan1062/subscriptions",
"type": "User",
"url": "https://api.github.com/users/liyuan1062"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 1 | "2021-08-20T10:05:30Z" | "2021-08-20T10:17:08Z" | "2021-08-20T10:17:08Z" | NONE | null | ###
- [X] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [X] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
### Link to question on StackOverflow
NA
### Question about pandas
linux env, how to build lib_lightgbm.so with "-fstack-protector-all" option? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43126/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43126/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43127 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43127/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43127/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43127/events | https://github.com/pandas-dev/pandas/pull/43127 | 975,474,286 | MDExOlB1bGxSZXF1ZXN0NzE2NjE5MDE1 | 43,127 | REF: use _get_axis_number instead of if axis in [...]: | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 2 | "2021-08-20T10:18:54Z" | "2021-08-26T15:27:21Z" | "2021-08-26T15:27:21Z" | NONE | null | #43112 pull request is not re-opening as the pandas repository was deleted which I forked before so I am creating a new pull request please review it? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43127/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43127/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43127.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43127",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43127.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43127"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43128 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43128/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43128/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43128/events | https://github.com/pandas-dev/pandas/issues/43128 | 975,485,250 | MDU6SXNzdWU5NzU0ODUyNTA= | 43,128 | DOC: Inconsistent use of "column-wise" and "row-wise" | {
"avatar_url": "https://avatars.githubusercontent.com/u/273210?v=4",
"events_url": "https://api.github.com/users/ianozsvald/events{/privacy}",
"followers_url": "https://api.github.com/users/ianozsvald/followers",
"following_url": "https://api.github.com/users/ianozsvald/following{/other_user}",
"gists_url": "https://api.github.com/users/ianozsvald/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ianozsvald",
"id": 273210,
"login": "ianozsvald",
"node_id": "MDQ6VXNlcjI3MzIxMA==",
"organizations_url": "https://api.github.com/users/ianozsvald/orgs",
"received_events_url": "https://api.github.com/users/ianozsvald/received_events",
"repos_url": "https://api.github.com/users/ianozsvald/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ianozsvald/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ianozsvald/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ianozsvald"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | open | false | null | [] | null | 1 | "2021-08-20T10:34:00Z" | "2021-08-22T10:26:34Z" | null | CONTRIBUTOR | null | 5 Pandas docstrings discuss the `axis` argument with one use of `row/column-wise`, 2 docstrings use an opposite meaning (and possibly more examples exist, I picked these up using Google & DuckDuckGo).
I believe the first 5 usages are in agreement with the Numpy usage.
Examples of `axis: Equals 0 or ‘index’ for row-wise, 1 or ‘columns’ for column-wise` (i.e. 0 is row-wise):
* https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.quantile.html
* https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.swaplevel.html
* https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.idxmin.html
* https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.idxmax.html
* https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.nunique.html
Examples of `The axis to use. 0 or ‘index’ to compute column-wise, 1 or ‘columns’ for row-wise` (i.e. 0 is column-wise):
* https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.corrwith.html
* https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.Series.all.html
For `Series.all` the examples down the page note `Default behaviour (i.e. axis=0) checks if column-wise values all return True.` and `Specify axis='columns' (or axis=1) to check if row-wise values all return True.`.
On Numpy I can't find many examples, the few that I find are consistent with the first (5 case) usage:
* https://numpy.org/doc/stable/reference/generated/numpy.hsplit.html#numpy.hsplit `horizontally (column-wise)...equivalent to split with axis=1`
* https://numpy.org/doc/stable/reference/generated/numpy.vsplit.html#numpy.vsplit `vertically (row-wise)... equivalent to split with axis=0 (default)`
#### Suggested fix for documentation
I _think_ that the 2 opposing cases (`corrwith` and `Series.all`) don't need to have the inverted explanation so I _think_ that reversing them to fit the general case makes sense, but maybe I'm missing something?
| {
"+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/43128/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43128/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43129 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43129/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43129/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43129/events | https://github.com/pandas-dev/pandas/pull/43129 | 975,490,380 | MDExOlB1bGxSZXF1ZXN0NzE2NjMzMDQ3 | 43,129 | REF: use _get_axis_number instead of if axis in [...]: #43048 | {
"avatar_url": "https://avatars.githubusercontent.com/u/66519416?v=4",
"events_url": "https://api.github.com/users/ppulkit5/events{/privacy}",
"followers_url": "https://api.github.com/users/ppulkit5/followers",
"following_url": "https://api.github.com/users/ppulkit5/following{/other_user}",
"gists_url": "https://api.github.com/users/ppulkit5/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ppulkit5",
"id": 66519416,
"login": "ppulkit5",
"node_id": "MDQ6VXNlcjY2NTE5NDE2",
"organizations_url": "https://api.github.com/users/ppulkit5/orgs",
"received_events_url": "https://api.github.com/users/ppulkit5/received_events",
"repos_url": "https://api.github.com/users/ppulkit5/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ppulkit5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ppulkit5/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ppulkit5"
} | [] | closed | false | null | [] | null | 1 | "2021-08-20T10:41:39Z" | "2021-08-20T14:35:57Z" | "2021-08-20T14:35:57Z" | 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
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43129/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43129/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43129.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43129",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43129.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43129"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43130 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43130/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43130/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43130/events | https://github.com/pandas-dev/pandas/pull/43130 | 975,559,228 | MDExOlB1bGxSZXF1ZXN0NzE2NjkzMTE0 | 43,130 | REF: use _get_axis_number instead of if axis in [...]: #43048 | {
"avatar_url": "https://avatars.githubusercontent.com/u/66519416?v=4",
"events_url": "https://api.github.com/users/ppulkit5/events{/privacy}",
"followers_url": "https://api.github.com/users/ppulkit5/followers",
"following_url": "https://api.github.com/users/ppulkit5/following{/other_user}",
"gists_url": "https://api.github.com/users/ppulkit5/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ppulkit5",
"id": 66519416,
"login": "ppulkit5",
"node_id": "MDQ6VXNlcjY2NTE5NDE2",
"organizations_url": "https://api.github.com/users/ppulkit5/orgs",
"received_events_url": "https://api.github.com/users/ppulkit5/received_events",
"repos_url": "https://api.github.com/users/ppulkit5/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ppulkit5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ppulkit5/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ppulkit5"
} | [] | closed | false | null | [] | null | 2 | "2021-08-20T12:19:28Z" | "2021-08-20T14:34:36Z" | "2021-08-20T14:34:35Z" | 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
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43130/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43130/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43130.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43130",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43130.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43130"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43131 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43131/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43131/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43131/events | https://github.com/pandas-dev/pandas/pull/43131 | 975,581,565 | MDExOlB1bGxSZXF1ZXN0NzE2NzEyMDY4 | 43,131 | REF: Replacing `axis in` with `_get_axis_number(axis)` | {
"avatar_url": "https://avatars.githubusercontent.com/u/52482556?v=4",
"events_url": "https://api.github.com/users/RohanTrix/events{/privacy}",
"followers_url": "https://api.github.com/users/RohanTrix/followers",
"following_url": "https://api.github.com/users/RohanTrix/following{/other_user}",
"gists_url": "https://api.github.com/users/RohanTrix/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RohanTrix",
"id": 52482556,
"login": "RohanTrix",
"node_id": "MDQ6VXNlcjUyNDgyNTU2",
"organizations_url": "https://api.github.com/users/RohanTrix/orgs",
"received_events_url": "https://api.github.com/users/RohanTrix/received_events",
"repos_url": "https://api.github.com/users/RohanTrix/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RohanTrix/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RohanTrix/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RohanTrix"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 4 | "2021-08-20T12:50:45Z" | "2021-08-23T08:28:50Z" | "2021-08-20T23:05:28Z" | CONTRIBUTOR | null | xref [#43048](https://github.com/pandas-dev/pandas/issues/43048). Refactored test_label_or_level_utils.py | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43131/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43131/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43131.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43131",
"merged_at": "2021-08-20T23:05:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43131.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43131"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43132 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43132/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43132/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43132/events | https://github.com/pandas-dev/pandas/issues/43132 | 975,611,053 | MDU6SXNzdWU5NzU2MTEwNTM= | 43,132 | BUG: timeseries.groupby(...).transform('mean') wrong when aggregating over pd.NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/1408034?v=4",
"events_url": "https://api.github.com/users/behrenhoff/events{/privacy}",
"followers_url": "https://api.github.com/users/behrenhoff/followers",
"following_url": "https://api.github.com/users/behrenhoff/following{/other_user}",
"gists_url": "https://api.github.com/users/behrenhoff/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/behrenhoff",
"id": 1408034,
"login": "behrenhoff",
"node_id": "MDQ6VXNlcjE0MDgwMzQ=",
"organizations_url": "https://api.github.com/users/behrenhoff/orgs",
"received_events_url": "https://api.github.com/users/behrenhoff/received_events",
"repos_url": "https://api.github.com/users/behrenhoff/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/behrenhoff/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/behrenhoff/subscriptions",
"type": "User",
"url": "https://api.github.com/users/behrenhoff"
} | [
{
"color": "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"
},
{
"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-10-17T11:06:28Z",
"closed_issues": 77,
"created_at": "2021-09-10T19:48:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-10-17T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/90",
"id": 7142224,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels",
"node_id": "MI_kwDOAA0YD84AbPtQ",
"number": 90,
"open_issues": 0,
"state": "closed",
"title": "1.3.4",
"updated_at": "2021-10-18T11:00:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90"
} | 8 | "2021-08-20T13:26:40Z" | "2021-09-18T02:31:52Z" | "2021-09-18T02:31:52Z" | NONE | null | #### Code Sample, a copy-pastable example
The problem is best shown in the following example:
```python
import pandas as pd
s = pd.Series(['1 day', '3 days', pd.NaT], dtype='timedelta64[ns]')
print(f'{s.mean()=}\n')
# as expected: result is '2 days'
print(f"{s.apply('mean')=}\n")
# as expected: result is '2 days'
print("transform('mean')")
print(s.groupby([1,1,1]).transform('mean'))
# whoops: (a series of 3x) -35583 days +08:04:14.381741568
# expectation was: (a series of 3x) '2 days'
# Fixing the problem
print("\ntransform(pd.Series.mean)")
print(s.groupby([1,1,1]).transform(pd.Series.mean))
# (a series of 3x) '2 days', sanity restored :-)
```
#### Problem description
When passing a function name by string to `transform`, pd.NaT is not handled correctly. This not only happens for 'mean' but also for other functions like 'sum'.
I don't know how transform is looking up the function if a string is passed (and it's not really documented), but it certainly doesn't select pd.Series.mean but some other non-NaT-aware mean function.
This is surprising since NaT is handled correctly when calling `apply('mean')`.
Tested with pd 1.3.2. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43132/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43132/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43133 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43133/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43133/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43133/events | https://github.com/pandas-dev/pandas/issues/43133 | 975,672,641 | MDU6SXNzdWU5NzU2NzI2NDE= | 43,133 | DataFrameGroupBy.aggregate engine='numba' doesn't pass index | {
"avatar_url": "https://avatars.githubusercontent.com/u/443100?v=4",
"events_url": "https://api.github.com/users/richbwood/events{/privacy}",
"followers_url": "https://api.github.com/users/richbwood/followers",
"following_url": "https://api.github.com/users/richbwood/following{/other_user}",
"gists_url": "https://api.github.com/users/richbwood/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/richbwood",
"id": 443100,
"login": "richbwood",
"node_id": "MDQ6VXNlcjQ0MzEwMA==",
"organizations_url": "https://api.github.com/users/richbwood/orgs",
"received_events_url": "https://api.github.com/users/richbwood/received_events",
"repos_url": "https://api.github.com/users/richbwood/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/richbwood/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/richbwood/subscriptions",
"type": "User",
"url": "https://api.github.com/users/richbwood"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"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": "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"
} | 1 | "2021-08-20T14:41:11Z" | "2021-08-27T13:52:26Z" | "2021-08-27T13:52:26Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
df = pd.DataFrame({'group': ['A', 'A', 'B'], 'v': [4, 5, 6]}, index=[-1, -2, -3])
def f(values, index):
return np.mean(index)
df.groupby('group').aggregate(f, engine='numba')
# Result is:
# v
# group
# A 0.5
# B 2.0
```
#### Problem description
The behaviour when engine='numba' is inconsistent with engine='cython':
```python
def f_cython(x):
return np.mean(x.index)
df.groupby('group').aggregate(f_cython, engine='cython')
# Result is:
# v
# group
# A -1.5
# B -3.0
```
Furthermore engine='numba' would be more useful if it calls func with the DataFrame index.
#### Expected Output
```
v
group
A -1.5
B -3.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : c7f7443c1bad8262358114d5e88cd9c8a308e8aa
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-80-generic
Version : #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.3.1
numpy : 1.20.3
pytz : 2021.1
dateutil : 2.8.2
pip : 19.2.3
setuptools : 52.0.0.post20210125
Cython : 0.29.24
pytest : 6.2.4
hypothesis : 6.14.1
sphinx : 4.0.2
blosc : None
feather : None
xlsxwriter : 3.0.1
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.26.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 2021.07.0
fastparquet : None
gcsfs : None
matplotlib : 3.1.1
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : 1.4.22
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
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/43133/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43133/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43134 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43134/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43134/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43134/events | https://github.com/pandas-dev/pandas/pull/43134 | 975,701,357 | MDExOlB1bGxSZXF1ZXN0NzE2ODE0ODE4 | 43,134 | DOC added example to reorder levels | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": 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-08-20T15:14:43Z" | "2021-08-25T11:58:25Z" | "2021-08-22T14:25:47Z" | NONE | null | Added an example for reorder levels. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43134/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43134/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43134.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43134",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43134.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43134"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43135 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43135/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43135/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43135/events | https://github.com/pandas-dev/pandas/issues/43135 | 975,764,200 | MDU6SXNzdWU5NzU3NjQyMDA= | 43,135 | REF: Unify creation of dataframe for C and Python parser engines | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | 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"
} | 2 | "2021-08-20T16:41:13Z" | "2021-08-20T17:38:00Z" | null | MEMBER | null | We should unify the process of creating the dataframe from index,names,data for the C and Python engines. This should be done after the pyarrow engine is merged, and will help get rid of some code nested within an if statement. Ideally, we make a method on ParserBase, and call that in the C and Python engine read code so that read always returns a DataFrame now. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43135/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43135/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43136 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43136/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43136/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43136/events | https://github.com/pandas-dev/pandas/pull/43136 | 975,774,868 | MDExOlB1bGxSZXF1ZXN0NzE2ODc2NjYx | 43,136 | TST Providing unit test to snippet GH32414 | {
"avatar_url": "https://avatars.githubusercontent.com/u/56443877?v=4",
"events_url": "https://api.github.com/users/Bhavay192/events{/privacy}",
"followers_url": "https://api.github.com/users/Bhavay192/followers",
"following_url": "https://api.github.com/users/Bhavay192/following{/other_user}",
"gists_url": "https://api.github.com/users/Bhavay192/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Bhavay192",
"id": 56443877,
"login": "Bhavay192",
"node_id": "MDQ6VXNlcjU2NDQzODc3",
"organizations_url": "https://api.github.com/users/Bhavay192/orgs",
"received_events_url": "https://api.github.com/users/Bhavay192/received_events",
"repos_url": "https://api.github.com/users/Bhavay192/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Bhavay192/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bhavay192/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Bhavay192"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | closed | false | null | [] | null | 8 | "2021-08-20T16:58:23Z" | "2021-08-27T17:42:27Z" | "2021-08-27T17:36:54Z" | NONE | null | - [x] closes #32414
A unit test has been added to check the validity of pd.Categorical() . This PR is with respect to the GitHub issue no. 32414.
Thanks
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43136/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43136/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43136.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43136",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43136.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43136"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43137 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43137/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43137/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43137/events | https://github.com/pandas-dev/pandas/pull/43137 | 975,777,285 | MDExOlB1bGxSZXF1ZXN0NzE2ODc4NzE0 | 43,137 | TYP: Index methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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-08-20T17:02:05Z" | "2021-08-21T02:09:22Z" | "2021-08-21T01:24:08Z" | 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/43137/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43137/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43137.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43137",
"merged_at": "2021-08-21T01:24:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43137.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43137"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43138 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43138/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43138/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43138/events | https://github.com/pandas-dev/pandas/pull/43138 | 975,778,421 | MDExOlB1bGxSZXF1ZXN0NzE2ODc5NjY3 | 43,138 | REF: remove create_block_manager_from_arrays | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"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"
} | 2 | "2021-08-20T17:03:49Z" | "2021-08-21T01:59:31Z" | "2021-08-21T01:52:18Z" | MEMBER | null | Looks like dask uses create_block_manager_from_blocks, but I haven't seen any evidence that any downstream package uses create_block_manager_from_arrays. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43138/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43138/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43138.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43138",
"merged_at": "2021-08-21T01:52:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43138.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43138"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43139 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43139/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43139/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43139/events | https://github.com/pandas-dev/pandas/issues/43139 | 975,808,174 | MDU6SXNzdWU5NzU4MDgxNzQ= | 43,139 | BUG: Exactly same if check multiple times | {
"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": "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-08-20T17:51:02Z" | "2021-08-20T18:16:29Z" | "2021-08-20T18:16:28Z" | CONTRIBUTOR | null | Hi, I came across the below while working on another bug.
https://github.com/pandas-dev/pandas/blob/e8f359348a601f303e19dc33fc66f0b602efce50/pandas/core/groupby/groupby.py#L2445-L2450 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43139/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43139/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43140 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43140/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43140/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43140/events | https://github.com/pandas-dev/pandas/issues/43140 | 975,887,765 | MDU6SXNzdWU5NzU4ODc3NjU= | 43,140 | pd.to_datetime returning string result (even with errors='raise') | {
"avatar_url": "https://avatars.githubusercontent.com/u/119405?v=4",
"events_url": "https://api.github.com/users/mattharrison/events{/privacy}",
"followers_url": "https://api.github.com/users/mattharrison/followers",
"following_url": "https://api.github.com/users/mattharrison/following{/other_user}",
"gists_url": "https://api.github.com/users/mattharrison/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattharrison",
"id": 119405,
"login": "mattharrison",
"node_id": "MDQ6VXNlcjExOTQwNQ==",
"organizations_url": "https://api.github.com/users/mattharrison/orgs",
"received_events_url": "https://api.github.com/users/mattharrison/received_events",
"repos_url": "https://api.github.com/users/mattharrison/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattharrison/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattharrison/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattharrison"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] | closed | false | null | [] | null | 13 | "2021-08-20T20:06:02Z" | "2021-08-24T08:53:20Z" | "2021-08-24T08:53:19Z" | NONE | null | Hello,
I've got a dataset and I can convert to naive time just fine, but I would like to include timezone information.
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.128-microsoft-standard
Version : #1 SMP Tue Jun 23 12:58:10 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.2
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.0.2
setuptools : 44.0.0
Cython : None
pytest : 5.4.3
hypothesis : 6.8.1
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 2021.07.0
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : 1.1.4
tables : None
tabulate : None
xarray : 0.18.2
xlrd : 2.0.1
xlwt : None
numba : 0.52.0
### Data
```
import pandas as pd
# https://nwis.waterdata.usgs.gov/usa/nwis/uv/?cb_00060=on&cb_00065=on&format=rdb&site_no=09333500&period=&begin_date=2000-01-01&end_date=2020-09-28
url = 'https://github.com/mattharrison/datasets/raw/master/data/dirtydevil.txt'
df = pd.read_csv(url, skiprows=lambda num: num <34 or num == 35, sep='\t')
```
The data has a *datetime* column and and a *tz_cd* column. I would like to combine them to get tz specific dates.
| | agency_cd | site_no | datetime | tz_cd | 144166_00060 | 144166_00060_cd | 144167_00065 | 144167_00065_cd |
|---:|:------------|----------:|:-----------------|:--------|---------------:|:------------------|---------------:|------------------:|
| 0 | USGS | 9333500 | 2001-05-07 01:00 | MDT | 71 | A:[91] | nan | nan |
| 1 | USGS | 9333500 | 2001-05-07 01:15 | MDT | 71 | A:[91] | nan | nan |
| 2 | USGS | 9333500 | 2001-05-07 01:30 | MDT | 71 | A:[91] | nan | nan |
| 3 | USGS | 9333500 | 2001-05-07 01:45 | MDT | 70 | A:[91] | nan | nan |
| 4 | USGS | 9333500 | 2001-05-07 02:00 | MDT | 70 | A:[91] | nan | nan |
### Attempt 1
```pd.to_datetime((df.datetime+df.tz_cd).iloc[:5000])```
Appears to work, but takes a LONG time (hence the ``.iloc`` and this issue).
*Edit* My machine takes 2min 3s to convert all of the column (539,305 entries) to TZ aware. However, just converting to naive datetime takes 54ms! My attempts below are trying to lower that gap.
### Attempt 2 - Use ``format`` string
``pd.to_datetime((df.datetime+df.tz_cd).iloc[8730:8736],format='%Y-%m-%d %H:%M%Z', errors='raise')``
Fails with the exception:
```---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~/envs/menv/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in _to_datetime_with_format(arg, orig_arg, name, tz, fmt, exact, errors, infer_datetime_format)
508 try:
--> 509 values, tz = conversion.datetime_to_datetime64(arg)
510 dta = DatetimeArray(values, dtype=tz_to_dtype(tz))
~/envs/menv/lib/python3.8/site-packages/pandas/_libs/tslibs/conversion.pyx in pandas._libs.tslibs.conversion.datetime_to_datetime64()
TypeError: Unrecognized value type: <class 'str'>
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
<ipython-input-5-853da2332591> in <module>
1 # Can't use Z to speed up
----> 2 pd.to_datetime((df.datetime+df.tz_cd).iloc[8730:8736],format='%Y-%m-%d %H:%M%Z', errors='raise')
~/envs/menv/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in to_datetime(arg, errors, dayfirst, yearfirst, utc, format, exact, unit, infer_datetime_format, origin, cache)
885 result = arg.map(cache_array)
886 else:
--> 887 values = convert_listlike(arg._values, format)
888 result = arg._constructor(values, index=arg.index, name=arg.name)
889 elif isinstance(arg, (ABCDataFrame, abc.MutableMapping)):
~/envs/menv/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in _convert_listlike_datetimes(arg, format, name, tz, unit, errors, infer_datetime_format, dayfirst, yearfirst, exact)
391
392 if format is not None:
--> 393 res = _to_datetime_with_format(
394 arg, orig_arg, name, tz, format, exact, errors, infer_datetime_format
395 )
~/envs/menv/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in _to_datetime_with_format(arg, orig_arg, name, tz, fmt, exact, errors, infer_datetime_format)
511 return DatetimeIndex._simple_new(dta, name=name)
512 except (ValueError, TypeError):
--> 513 raise err
514
515
~/envs/menv/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in _to_datetime_with_format(arg, orig_arg, name, tz, fmt, exact, errors, infer_datetime_format)
498
499 # fallback
--> 500 res = _array_strptime_with_fallback(
501 arg, name, tz, fmt, exact, errors, infer_datetime_format
502 )
~/envs/menv/lib/python3.8/site-packages/pandas/core/tools/datetimes.py in _array_strptime_with_fallback(arg, name, tz, fmt, exact, errors, infer_datetime_format)
434
435 try:
--> 436 result, timezones = array_strptime(arg, fmt, exact=exact, errors=errors)
437 if "%Z" in fmt or "%z" in fmt:
438 return _return_parsed_timezone_results(result, timezones, tz, name)
~/envs/menv/lib/python3.8/site-packages/pandas/_libs/tslibs/strptime.pyx in pandas._libs.tslibs.strptime.array_strptime()
ValueError: time data '2001-10-27 23:30MDT' does not match format '%Y-%m-%d %H:%M%Z' (match)
```
I've scoured the web and cannot find any examples of parsing dates using the the TZ names that work. Ideas?
*EDIT* - I'll anwser my own question here. For TZ names, you need to use what `pytz` supports. The following code get close, but fails because I have "ambiguous" dates and need to pass an `ambiguous` parameter at a lower level, but the parameter isn't exposed. See Attempt 4 for different option that exposes `ambiguous`
```
pd.to_datetime((df.datetime+df.tz_cd.str.replace('MDT', 'MST7MDT')),format='%Y-%m-%d %H:%M%Z', errors='raise')
```
### Attempt 3 - Convert TZ names to offsets
This appears to work
```
pd.to_datetime((df.datetime + df.tz_cd.str.replace('MST', '-07:00').str.replace('MDT', '-06:00')).iloc[8730:8736],
format='%Y-%m-%d %H:%M%z', errors='raise')
```
However, when I change the offsets, it fails (fails in that it returns strings and doesn't raise an error!):
```
# Fails with -07:00
pd.to_datetime((df.datetime + df.tz_cd.str.replace('MST', '-07:00').str.replace('MDT', '-06:00')).iloc[8730:8737],
format='%Y-%m-%d %H:%M%z', errors='raise')
```
Here is the output:
```
8730 2001-10-27 23:30:00-06:00
8731 2001-10-27 23:45:00-06:00
8732 2001-10-28 00:00:00-06:00
8733 2001-10-28 00:15:00-06:00
8734 2001-10-28 00:30:00-06:00
8735 2001-10-28 00:45:00-06:00
8736 2001-10-28 01:00:00-07:00
dtype: object
```
### (EDIT) Attempt 4 - @jreback's advice to use `.transform`
I was pointed to https://stackoverflow.com/questions/47822265/efficiently-convert-timezones-in-pandas-dataframe which suggested this code
```
(df
.assign(datetime=pd.to_datetime(df.datetime))
.iloc[8730:8737] # works with end slice 8736
.groupby('tz_cd')
.datetime
.transform(lambda g: g.dt.tz_localize(g.name.replace('MDT', 'MST7MDT')))#, ambiguous=False))
)
```
This runs much quicker (about 3-5 sec on the whole dataset), but also fails and gives the same result as attempt 3, a series with strings instead of objects.
### Summary
I would like to quickly and consistently parse tz information. Would appreciate any insight or advice. (Also, shouldn't ``errors='raise'`` cause an Exception in this case?)
Thanks much! 🙏
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43140/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43140/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43141 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43141/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43141/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43141/events | https://github.com/pandas-dev/pandas/issues/43141 | 975,921,937 | MDU6SXNzdWU5NzU5MjE5Mzc= | 43,141 | ENH: use oldest-supported-numpy in pyproject.toml | {
"avatar_url": "https://avatars.githubusercontent.com/u/4616906?v=4",
"events_url": "https://api.github.com/users/henryiii/events{/privacy}",
"followers_url": "https://api.github.com/users/henryiii/followers",
"following_url": "https://api.github.com/users/henryiii/following{/other_user}",
"gists_url": "https://api.github.com/users/henryiii/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/henryiii",
"id": 4616906,
"login": "henryiii",
"node_id": "MDQ6VXNlcjQ2MTY5MDY=",
"organizations_url": "https://api.github.com/users/henryiii/orgs",
"received_events_url": "https://api.github.com/users/henryiii/received_events",
"repos_url": "https://api.github.com/users/henryiii/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/henryiii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/henryiii/subscriptions",
"type": "User",
"url": "https://api.github.com/users/henryiii"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 4 | "2021-08-20T21:08:02Z" | "2021-08-21T02:13:26Z" | "2021-08-21T00:11:31Z" | NONE | null | #### Is your feature request related to a problem?
Currently using Pandas on Python 3.10 RC 1 gets the wrong version of numpy (1.19) and builds the wheel manually, instead of getting the first wheel for NumPy + Python 3.10 (1.21).
#### Describe the solution you'd like
This problem has already been solved by https://github.com/scipy/oldest-supported-numpy/blob/master/setup.cfg - by using SciPy (the org, not the package)'s oldest-supported-numpy, you get a thorough and up-to-date listing of the oldest supported numpy's for compiling. You can further control it using normal requirements (such as setting a higher requirement for some version, etc). That's literally all the package does, and is maintained by NumPy maintainers.
#### API breaking implications
None, just a build improvement.
#### Describe alternatives you've considered
Otherwise, the contents of https://github.com/scipy/oldest-supported-numpy/blob/master/setup.cfg should be placed in pyproject.toml and maintained for each new Python release - 3.10 is currently missing.
#### Additional context
Before:
```python
# Numpy requirements for different OS/architectures
# Copied from https://github.com/scipy/scipy/blob/master/pyproject.toml (which is also licensed under BSD)
"numpy==1.17.3; python_version=='3.7' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64'",
"numpy==1.18.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64'",
"numpy==1.19.3; python_version>='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64'",
# Aarch64(Python 3.9 requirements are the same as AMD64)
"numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64'",
"numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'",
# Darwin Arm64
"numpy>=1.20.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin'",
"numpy>=1.20.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin'"
```
After:
```python
"oldest-supported-numpy"
```
(Optionally pinned if you want) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43141/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43141/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43142 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43142/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43142/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43142/events | https://github.com/pandas-dev/pandas/pull/43142 | 975,924,647 | MDExOlB1bGxSZXF1ZXN0NzE3MDAxNTI2 | 43,142 | PERF: DataFrame constructor | {
"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": 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-08-20T21:13:01Z" | "2021-08-21T01:12:43Z" | "2021-08-21T01:07:14Z" | MEMBER | null | ```
from asv_bench.benchmarks.frame_ctor import *
self = FromArrays()
self.setup()
%timeit self.time_frame_from_arrays_int()
2.77 ms ± 129 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- master
2.11 ms ± 57.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43142/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43142/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43142.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43142",
"merged_at": "2021-08-21T01:07:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43142.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43142"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43143 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43143/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43143/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43143/events | https://github.com/pandas-dev/pandas/issues/43143 | 975,967,919 | MDU6SXNzdWU5NzU5Njc5MTk= | 43,143 | BUG: read_excel throws generic IndexError if header argument specifies non-existent rows | {
"avatar_url": "https://avatars.githubusercontent.com/u/1686141?v=4",
"events_url": "https://api.github.com/users/MrCreosote/events{/privacy}",
"followers_url": "https://api.github.com/users/MrCreosote/followers",
"following_url": "https://api.github.com/users/MrCreosote/following{/other_user}",
"gists_url": "https://api.github.com/users/MrCreosote/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MrCreosote",
"id": 1686141,
"login": "MrCreosote",
"node_id": "MDQ6VXNlcjE2ODYxNDE=",
"organizations_url": "https://api.github.com/users/MrCreosote/orgs",
"received_events_url": "https://api.github.com/users/MrCreosote/received_events",
"repos_url": "https://api.github.com/users/MrCreosote/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MrCreosote/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MrCreosote/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MrCreosote"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | open | false | null | [] | null | 7 | "2021-08-20T22:54:53Z" | "2021-08-28T12:22:12Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
It doesn't seem to be based on a search for read_excel and indexerror
- [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
Given an excel file with one tab that contains the text `header` in cell A1 and nothing else:
```python
In [1]: import pandas
In [2]: pandas.read_excel("~/temp/test_pandas/headers.xlsx", header=[0, 1])
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
*snip - see comment below for full traceback*
564 if index_col is not None:
IndexError: list index out of range
```
#### Problem description
The code throws a (presumably unintended) IndexError, which is difficult to respond to as the actual cause of the error is not specified.
#### Expected Output
A `ParserError` (or other appropriate error type) with an error message that makes the cause of the problem clear.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.9.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-154-generic
Version : #161-Ubuntu SMP Fri Jul 30 13:04:17 UTC 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.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 20.3.3
setuptools : 51.3.3
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 : 7.26.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
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/43143/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43143/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43144 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43144/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43144/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43144/events | https://github.com/pandas-dev/pandas/pull/43144 | 975,991,460 | MDExOlB1bGxSZXF1ZXN0NzE3MDU2NTM0 | 43,144 | PERF: _form_blocks | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": 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-08-21T00:17:09Z" | "2021-08-23T01:47:48Z" | "2021-08-23T00:49:41Z" | MEMBER | null | ```
from asv_bench.benchmarks.frame_ctor import *
self = FromArrays()
self.setup()
%timeit self.time_frame_from_arrays_int()
2.28 ms ± 67 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- master
1.82 ms ± 5.34 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- PR
```
Orthogonal to #43142, one more optimization after these two are in. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43144/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43144/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43144.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43144",
"merged_at": "2021-08-23T00:49:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43144.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43144"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43145 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43145/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43145/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43145/events | https://github.com/pandas-dev/pandas/pull/43145 | 976,016,988 | MDExOlB1bGxSZXF1ZXN0NzE3MDc0MjM4 | 43,145 | REGR: Fix fastparquet 0.7.0 not being able to read a parquet file | {
"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": "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": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] | 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"
}
] | {
"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"
} | 8 | "2021-08-21T02:19:26Z" | "2021-11-11T01:38:11Z" | "2021-09-01T19:36:43Z" | MEMBER | null | - [x] closes #43075
- [ ] 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
My bad on this one, pinning one of the CI to ensure that this works. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43145/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43145/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43145.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43145",
"merged_at": "2021-09-01T19:36:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43145.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43145"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43146 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43146/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43146/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43146/events | https://github.com/pandas-dev/pandas/pull/43146 | 976,024,848 | MDExOlB1bGxSZXF1ZXN0NzE3MDc5NDMz | 43,146 | REF: use oldest-supported-numpy | {
"avatar_url": "https://avatars.githubusercontent.com/u/4616906?v=4",
"events_url": "https://api.github.com/users/henryiii/events{/privacy}",
"followers_url": "https://api.github.com/users/henryiii/followers",
"following_url": "https://api.github.com/users/henryiii/following{/other_user}",
"gists_url": "https://api.github.com/users/henryiii/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/henryiii",
"id": 4616906,
"login": "henryiii",
"node_id": "MDQ6VXNlcjQ2MTY5MDY=",
"organizations_url": "https://api.github.com/users/henryiii/orgs",
"received_events_url": "https://api.github.com/users/henryiii/received_events",
"repos_url": "https://api.github.com/users/henryiii/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/henryiii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/henryiii/subscriptions",
"type": "User",
"url": "https://api.github.com/users/henryiii"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "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 | 12 | "2021-08-21T03:03:29Z" | "2021-10-12T02:33:33Z" | "2021-10-12T02:33:33Z" | NONE | null | This code is currently hand-copied from SciPy, now there's a package that exists to do just that. As a bonus, NumPy will no longer need to build wheels on 3.10 (Linux 64-bit only currently)
- [x] closes #40307
- [ ] 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
Two things to consider: first, for Python 3.7, this sets an older _build time_ requirement for NumPy than is there currently. According to the NumPy devs, this is fine, older build time requirements than the run requirement is okay. But we could use selectors and manually set NumPy for this one case, it's not something that changes.
Second, we could pin here, but given that this just pins old versions, I don't think it needs pinning. We could set a minimum, though, >=0.10 for example. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43146/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43146/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43146.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43146",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43146.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43146"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43147 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43147/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43147/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43147/events | https://github.com/pandas-dev/pandas/pull/43147 | 976,042,110 | MDExOlB1bGxSZXF1ZXN0NzE3MDkwNjg4 | 43,147 | PERF: avoid extraneous extract_array | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": 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-08-21T04:45:25Z" | "2021-08-21T15:24:51Z" | "2021-08-21T14:11:37Z" | MEMBER | null | ```
from asv_bench.benchmarks.frame_ctor import *
self = FromDicts()
self.setup()
%timeit self.time_dict_of_categoricals()
# 530 µs ± 21.1 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- master
# 471 µs ± 2.85 µ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/43147/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43147/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43147.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43147",
"merged_at": "2021-08-21T14:11:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43147.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43147"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43148 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43148/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43148/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43148/events | https://github.com/pandas-dev/pandas/pull/43148 | 976,066,271 | MDExOlB1bGxSZXF1ZXN0NzE3MTA2OTA5 | 43,148 | TYP: callable refactor for apply methods in styler | {
"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": "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-08-21T07:05:49Z" | "2021-08-27T17:09:19Z" | "2021-08-27T16:38:12Z" | CONTRIBUTOR | null | unrelated question: if i'm in pandas-core can I be added as a maintainer to `config.yml`? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43148/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43148/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43148.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43148",
"merged_at": "2021-08-27T16:38:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43148.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43148"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43149 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43149/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43149/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43149/events | https://github.com/pandas-dev/pandas/pull/43149 | 976,072,439 | MDExOlB1bGxSZXF1ZXN0NzE3MTEwOTEz | 43,149 | ENH: `Styler.to_html` gets `bold_headers` and `caption` kwarg | {
"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": "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": 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-08-21T07:38:13Z" | "2021-09-01T21:51:24Z" | "2021-09-01T17:50:57Z" | CONTRIBUTOR | null | adds an item to #41693
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43149/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43149/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43149.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43149",
"merged_at": "2021-09-01T17:50:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43149.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43149"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43150 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43150/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43150/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43150/events | https://github.com/pandas-dev/pandas/pull/43150 | 976,074,250 | MDExOlB1bGxSZXF1ZXN0NzE3MTEyMTIz | 43,150 | BUG: GroupBy.quantile fails with pd.NA | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | 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"
} | 5 | "2021-08-21T07:48:39Z" | "2021-09-12T17:54:13Z" | "2021-09-04T23:29:29Z" | CONTRIBUTOR | null | - [x] closes #42849
- [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/43150/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43150/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43150.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43150",
"merged_at": "2021-09-04T23:29:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43150.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43150"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43151 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43151/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43151/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43151/events | https://github.com/pandas-dev/pandas/pull/43151 | 976,111,498 | MDExOlB1bGxSZXF1ZXN0NzE3MTM1OTUw | 43,151 | REF: `axis in [..]` with `_get_axis_number()` | {
"avatar_url": "https://avatars.githubusercontent.com/u/54733460?v=4",
"events_url": "https://api.github.com/users/HardevKhandhar/events{/privacy}",
"followers_url": "https://api.github.com/users/HardevKhandhar/followers",
"following_url": "https://api.github.com/users/HardevKhandhar/following{/other_user}",
"gists_url": "https://api.github.com/users/HardevKhandhar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HardevKhandhar",
"id": 54733460,
"login": "HardevKhandhar",
"node_id": "MDQ6VXNlcjU0NzMzNDYw",
"organizations_url": "https://api.github.com/users/HardevKhandhar/orgs",
"received_events_url": "https://api.github.com/users/HardevKhandhar/received_events",
"repos_url": "https://api.github.com/users/HardevKhandhar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HardevKhandhar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HardevKhandhar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HardevKhandhar"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": 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-08-21T11:05:47Z" | "2021-08-22T05:03:54Z" | "2021-08-22T05:03:54Z" | NONE | null | - [x] xref #43048
- [x] Refactored test_frame_apply.py
- [x] Created if-else constructs by replacing `if axis in [...]` by `_get_axis_number` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43151/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43151/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43151.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43151",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43151.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43151"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43152 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43152/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43152/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43152/events | https://github.com/pandas-dev/pandas/pull/43152 | 976,115,851 | MDExOlB1bGxSZXF1ZXN0NzE3MTM4NzUz | 43,152 | BUG: Outer/right merge with EA dtypes cast to object | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 8 | "2021-08-21T11:30:33Z" | "2021-09-04T02:34:44Z" | "2021-09-03T21:52:08Z" | CONTRIBUTOR | null | - [x] closes #40073
- [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/43152/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43152/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43152.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43152",
"merged_at": "2021-09-03T21:52:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43152.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43152"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43153 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43153/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43153/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43153/events | https://github.com/pandas-dev/pandas/pull/43153 | 976,120,708 | MDExOlB1bGxSZXF1ZXN0NzE3MTQxODY0 | 43,153 | TST: groupby.first/last retains categorical dtype | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] | closed | false | null | [] | {
"closed_at": 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-08-21T11:57:46Z" | "2021-09-01T05:45:49Z" | "2021-08-31T23:58:07Z" | CONTRIBUTOR | null | - [x] closes #33090
- [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/43153/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43153/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43153.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43153",
"merged_at": "2021-08-31T23:58:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43153.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43153"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43154 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43154/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43154/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43154/events | https://github.com/pandas-dev/pandas/pull/43154 | 976,147,371 | MDExOlB1bGxSZXF1ZXN0NzE3MTU5MDY3 | 43,154 | Updating _resolve_numeric_only function of GroupBy | {
"avatar_url": "https://avatars.githubusercontent.com/u/40196782?v=4",
"events_url": "https://api.github.com/users/kurchi1205/events{/privacy}",
"followers_url": "https://api.github.com/users/kurchi1205/followers",
"following_url": "https://api.github.com/users/kurchi1205/following{/other_user}",
"gists_url": "https://api.github.com/users/kurchi1205/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kurchi1205",
"id": 40196782,
"login": "kurchi1205",
"node_id": "MDQ6VXNlcjQwMTk2Nzgy",
"organizations_url": "https://api.github.com/users/kurchi1205/orgs",
"received_events_url": "https://api.github.com/users/kurchi1205/received_events",
"repos_url": "https://api.github.com/users/kurchi1205/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kurchi1205/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kurchi1205/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kurchi1205"
} | [
{
"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": "120491",
"default": false,
"description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply",
"id": 2365523662,
"name": "Nuisance Columns",
"node_id": "MDU6TGFiZWwyMzY1NTIzNjYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns"
}
] | 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"
} | 46 | "2021-08-21T14:20:06Z" | "2021-09-10T17:32:15Z" | "2021-09-09T17:59:38Z" | CONTRIBUTOR | null | - [x] closes #43108 and #42395
It sets the numeric_only value based on the columns on which aggregate functions are applied
- [x] tests added / passed
New Test is added to `test_groupby_aggregation_mixed_dtype` function
- [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
Checking the column DataTypes in `_resolve_numeric_only` function
I am absolutely new to contributing on Open Source . So please guide me through it .
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43154/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43154/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43154.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43154",
"merged_at": "2021-09-09T17:59:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43154.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43154"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43155 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43155/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43155/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43155/events | https://github.com/pandas-dev/pandas/issues/43155 | 976,157,591 | MDU6SXNzdWU5NzYxNTc1OTE= | 43,155 | Dask shuffle performance help | {
"avatar_url": "https://avatars.githubusercontent.com/u/306380?v=4",
"events_url": "https://api.github.com/users/mrocklin/events{/privacy}",
"followers_url": "https://api.github.com/users/mrocklin/followers",
"following_url": "https://api.github.com/users/mrocklin/following{/other_user}",
"gists_url": "https://api.github.com/users/mrocklin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mrocklin",
"id": 306380,
"login": "mrocklin",
"node_id": "MDQ6VXNlcjMwNjM4MA==",
"organizations_url": "https://api.github.com/users/mrocklin/orgs",
"received_events_url": "https://api.github.com/users/mrocklin/received_events",
"repos_url": "https://api.github.com/users/mrocklin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mrocklin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mrocklin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mrocklin"
} | [
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] | open | false | null | [] | null | 17 | "2021-08-21T15:09:58Z" | "2021-10-18T03:30:40Z" | null | CONTRIBUTOR | null | Hi Folks,
I'm experimenting with a new shuffle algorithm for Dask dataframe. This is what backs distributed versions of join, set_index, groupby-apply, or anything that requires the large movement of rows around a distributed dataframe.
Things are coming along well, but I'm running into a performance challenge with pandas and I would like to solicit feedback here before diving more deeply. If this isn't the correct venue please let me know and I'll shift this elsewhere.
We've constructed a script (thanks @gjoseph92 for starting this) that creates a random dataframe and a column on which to split, rearrange, serialize/deserialize, and concat a couple of times. This is representative of the operations that we're trying to do, except that in between a couple of steps there the shards/groups end up coming from different machines, rather than being the same shards
```python
import time
import random
import pickle
import numpy as np
import pandas as pd
# Parameters
n_groups = 10_000
n_cols = 1000
n_rows = 30_000
# Make input data
df = pd.DataFrame(np.random.random((n_rows, n_cols)))
df["partitions"] = (df[0] * n_groups).astype(int) # random values 0..10000
start = time.time()
_, groups = zip(*df.groupby("partitions")) # split into many small shards
groups = list(groups)
random.shuffle(groups) # rearrange those shards
groups = [pickle.dumps(group) for group in groups] # Simulate sending across the network
groups = [pickle.loads(group) for group in groups]
df = pd.concat(groups) # reassemble shards
_, groups = zip(*df.groupby("partitions")) # and resplit
stop = time.time()
import dask
print(dask.utils.format_bytes(df.memory_usage().sum() / (stop - start)), "/s")
```
With 10,000 groups I get around 40 MB/s bandwidth.
With 1,000 groups I get around 230 MB/s bandwidth
With 200 or fewer groups I get around 500 MB/s bandwidth
Obviously, one answer here is "use fewer groups, Pandas isn't designed to operate efficiently with only a few rows". That's fair and we're trying to design for that, but there is always pressure to shrink things down so I would like to explore and see if there is anything we can do on the pandas side to add tolerance here. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43155/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43155/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43156 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43156/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43156/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43156/events | https://github.com/pandas-dev/pandas/issues/43156 | 976,159,803 | MDU6SXNzdWU5NzYxNTk4MDM= | 43,156 | Memory stays around after pickle cycle | {
"avatar_url": "https://avatars.githubusercontent.com/u/306380?v=4",
"events_url": "https://api.github.com/users/mrocklin/events{/privacy}",
"followers_url": "https://api.github.com/users/mrocklin/followers",
"following_url": "https://api.github.com/users/mrocklin/following{/other_user}",
"gists_url": "https://api.github.com/users/mrocklin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mrocklin",
"id": 306380,
"login": "mrocklin",
"node_id": "MDQ6VXNlcjMwNjM4MA==",
"organizations_url": "https://api.github.com/users/mrocklin/orgs",
"received_events_url": "https://api.github.com/users/mrocklin/received_events",
"repos_url": "https://api.github.com/users/mrocklin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mrocklin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mrocklin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mrocklin"
} | [
{
"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": "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": "6c1cdb",
"default": false,
"description": "read_pickle, to_pickle",
"id": 1625435109,
"name": "IO Pickle",
"node_id": "MDU6TGFiZWwxNjI1NDM1MTA5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Pickle"
}
] | open | false | null | [] | null | 7 | "2021-08-21T15:20:54Z" | "2021-08-30T08:10:09Z" | null | CONTRIBUTOR | null | Hi Folks,
Related to #43155 I'm running into memory issues when pickling many small pandas dataframes. The following script creates a pandas dataframe, splits it up, and then pickles each little split and brings them back again. It then deletes all objects from memory but something is still sticking around. Here is the script, followed by the outputs of using `memory_profiler`
```python
import numpy as np
import pandas as pd
import pickle
@profile
def test():
df = pd.DataFrame(np.random.random((20000, 1000)))
df["partitions"] = (df[0] * 10000).astype(int)
_, groups = zip(*df.groupby("partitions"))
del df
groups = [pickle.dumps(group) for group in groups]
groups = [pickle.loads(group) for group in groups]
del groups
if __name__ == "__main__":
test()
```
```
python -m memory_profiler memory_issue.py
```
```
Filename: memory_issue.py
Line # Mem usage Increment Occurences Line Contents
============================================================
7 76.574 MiB 76.574 MiB 1 @profile
8 def test():
9 229.445 MiB 152.871 MiB 1 df = pd.DataFrame(np.random.random((20000, 1000)))
10 230.738 MiB 1.293 MiB 1 df["partitions"] = (df[0] * 10000).astype(int)
11 398.453 MiB 167.715 MiB 1 _, groups = zip(*df.groupby("partitions"))
12 245.633 MiB -152.820 MiB 1 del df
13
14 445.688 MiB 47.273 MiB 8631 groups = [pickle.dumps(group) for group in groups]
15 712.285 MiB 266.598 MiB 8631 groups = [pickle.loads(group) for group in groups]
16
17 557.488 MiB -154.797 MiB 1 del groups
```
As you can see, we start with 70 MiB in memory and end with 550 MiB, despite all relevant objects being released. This leak increases with the number of groups (scale the 10000 number to move the leak up or down). Any help or pointers on how to track this down would be welcome.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43156/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43156/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43157 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43157/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43157/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43157/events | https://github.com/pandas-dev/pandas/pull/43157 | 976,164,609 | MDExOlB1bGxSZXF1ZXN0NzE3MTcwMTU4 | 43,157 | CI: use pipx and build to simplify and remove a workaround | {
"avatar_url": "https://avatars.githubusercontent.com/u/4616906?v=4",
"events_url": "https://api.github.com/users/henryiii/events{/privacy}",
"followers_url": "https://api.github.com/users/henryiii/followers",
"following_url": "https://api.github.com/users/henryiii/following{/other_user}",
"gists_url": "https://api.github.com/users/henryiii/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/henryiii",
"id": 4616906,
"login": "henryiii",
"node_id": "MDQ6VXNlcjQ2MTY5MDY=",
"organizations_url": "https://api.github.com/users/henryiii/orgs",
"received_events_url": "https://api.github.com/users/henryiii/received_events",
"repos_url": "https://api.github.com/users/henryiii/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/henryiii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/henryiii/subscriptions",
"type": "User",
"url": "https://api.github.com/users/henryiii"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | open | false | null | [] | null | 4 | "2021-08-21T15:44:08Z" | "2021-10-06T13:46:52Z" | null | 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
This cleans up the SDist build slightly. First, it uses PyPA's "build" instead of directly calling `setup.py`, which will respect PEP 518 requirements and avoids the workaround of installing NumPy to be able to run setup.py. It also uses pipx to avoid needless setup; PyPA's pipx is provides as a first-class package manager on GitHub Actions (and Azure, they share images).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43157/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43157/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43157.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43157",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43157.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43157"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43158 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43158/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43158/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43158/events | https://github.com/pandas-dev/pandas/pull/43158 | 976,171,063 | MDExOlB1bGxSZXF1ZXN0NzE3MTc0ODUx | 43,158 | ENH: use github issue form for doc improvement | {
"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": "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"
}
] | 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-08-21T16:19:31Z" | "2021-08-27T01:47:16Z" | "2021-08-26T23:11:36Z" | MEMBER | null | xref #42951, #43009
Screenshot of current version:
<img width="829" alt="Screen Shot 2021-08-21 at 12 12 44 PM" src="https://user-images.githubusercontent.com/37011898/130328264-29ea829e-b664-4a68-bb7d-8a3b21c5bfee.png">
https://github.com/mzeitlin11/issue-forms/issues if anyone wants to play around with opening issues with the form. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43158/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43158/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43158.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43158",
"merged_at": "2021-08-26T23:11:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43158.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43158"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43159 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43159/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43159/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43159/events | https://github.com/pandas-dev/pandas/pull/43159 | 976,226,044 | MDExOlB1bGxSZXF1ZXN0NzE3MjExNjAx | 43,159 | TST: Test inequality w/ complex dtypes (GH28050) | {
"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"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | null | 2 | "2021-08-21T21:30:15Z" | "2021-08-22T19:09:08Z" | "2021-08-22T18:03:11Z" | CONTRIBUTOR | null | - [x] closes #28050
- [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
Whats new::
Add a test to `pandas/test/dtypes/test_dtypes.py`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43159/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43159/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43159.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43159",
"merged_at": "2021-08-22T18:03:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43159.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43159"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43160 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43160/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43160/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43160/events | https://github.com/pandas-dev/pandas/pull/43160 | 976,278,327 | MDExOlB1bGxSZXF1ZXN0NzE3MjQ1MTI1 | 43,160 | PERF: DataFrame.values | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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": 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-08-22T04:02:07Z" | "2021-08-30T15:15:12Z" | "2021-08-30T15:13:02Z" | MEMBER | null | ```
from asv_bench.benchmarks.frame_methods import *
self = ToNumpy()
self.setup()
%timeit self.time_to_numpy_mixed_tall()
24.2 ms ± 324 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master
11.8 ms ± 609 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43160/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43160/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43160.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43160",
"merged_at": "2021-08-30T15:13:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43160.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43160"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43161 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43161/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43161/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43161/events | https://github.com/pandas-dev/pandas/pull/43161 | 976,359,490 | MDExOlB1bGxSZXF1ZXN0NzE3Mjk4MjIw | 43,161 | WIP: REF: `DataFrame.to_html` directs to `Styler.to_html` | {
"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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 15 | "2021-08-22T12:01:44Z" | "2021-11-16T17:33:53Z" | "2021-11-16T17:33:52Z" | CONTRIBUTOR | null | This is being worked towards in #41693. Please look at that issue and comment if there are specific features we need to keep/discuss. This is a medium term project I've been working on but would be great if someone else in team can be sounding board.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43161/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43161/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43161.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43161",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43161.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43161"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43162 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43162/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43162/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43162/events | https://github.com/pandas-dev/pandas/issues/43162 | 976,362,140 | MDU6SXNzdWU5NzYzNjIxNDA= | 43,162 | ENH: Add 'ascending' parameter to series/searchsorted() method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/49370990?v=4",
"events_url": "https://api.github.com/users/KiranHipparagi/events{/privacy}",
"followers_url": "https://api.github.com/users/KiranHipparagi/followers",
"following_url": "https://api.github.com/users/KiranHipparagi/following{/other_user}",
"gists_url": "https://api.github.com/users/KiranHipparagi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KiranHipparagi",
"id": 49370990,
"login": "KiranHipparagi",
"node_id": "MDQ6VXNlcjQ5MzcwOTkw",
"organizations_url": "https://api.github.com/users/KiranHipparagi/orgs",
"received_events_url": "https://api.github.com/users/KiranHipparagi/received_events",
"repos_url": "https://api.github.com/users/KiranHipparagi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KiranHipparagi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KiranHipparagi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KiranHipparagi"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 4 | "2021-08-22T12:14:11Z" | "2021-08-23T03:42:18Z" | "2021-08-23T03:42:18Z" | NONE | null | Hello,
i tried using [pandas.Series.searchsorted](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.searchsorted.html) method in series.
**Example-1**
```
input:
import pandas as pd
ser_order = pd.Series([1, 1, 2,3,4])
ser_order.searchsorted([2,3])
output:
array([2,3]) #correct result.
```
**Example-2**
```
input:
import pandas as pd
ser_order = pd.Series([2, 2,3,5,6,3,1])
ser_order.searchsorted([2,4])
output:
array([0,3]) #wrong result.
```
So above two example clearly shows that [pandas.Series.searchsorted](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.searchsorted.html) will work only for ordered array.if we could add parameter **ascending**,then we can resolve this issue.
Thanks | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43162/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43162/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43163 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43163/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43163/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43163/events | https://github.com/pandas-dev/pandas/pull/43163 | 976,363,821 | MDExOlB1bGxSZXF1ZXN0NzE3MzAxMzEw | 43,163 | Fixed all warning.warn messages for space,full-stop etc issues | {
"avatar_url": "https://avatars.githubusercontent.com/u/60135021?v=4",
"events_url": "https://api.github.com/users/Kavya9986/events{/privacy}",
"followers_url": "https://api.github.com/users/Kavya9986/followers",
"following_url": "https://api.github.com/users/Kavya9986/following{/other_user}",
"gists_url": "https://api.github.com/users/Kavya9986/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Kavya9986",
"id": 60135021,
"login": "Kavya9986",
"node_id": "MDQ6VXNlcjYwMTM1MDIx",
"organizations_url": "https://api.github.com/users/Kavya9986/orgs",
"received_events_url": "https://api.github.com/users/Kavya9986/received_events",
"repos_url": "https://api.github.com/users/Kavya9986/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Kavya9986/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Kavya9986/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Kavya9986"
} | [
{
"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": 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"
} | 8 | "2021-08-22T12:22:52Z" | "2021-08-25T17:55:56Z" | "2021-08-25T17:55:55Z" | CONTRIBUTOR | null | I have fixed all the warning.warn messages in the entire code base for "Minor typo on warnings #39158" reported issue.
closes #39158
Summary of the changes .
[Fix-Tracking-Sheet (2).xlsx](https://github.com/pandas-dev/pandas/files/7030053/Fix-Tracking-Sheet.2.xlsx)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43163/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43163/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43163.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43163",
"merged_at": "2021-08-25T17:55:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43163.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43163"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43164 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43164/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43164/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43164/events | https://github.com/pandas-dev/pandas/issues/43164 | 976,421,180 | MDU6SXNzdWU5NzY0MjExODA= | 43,164 | BUG: options `date_dayfirst` and `date_yearfirst` conflict | {
"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": "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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | open | false | null | [] | null | 5 | "2021-08-22T16:54:07Z" | "2021-09-30T17:58:52Z" | null | CONTRIBUTOR | null | Can someone confirm that this is a bug:
```
pd.options.display.chop_threshold = 0.5
pd.options.display.date_dayfirst = True
df = pd.DataFrame([[1.00, 0.1, 0.01, 0.001], [2.22, 2.22, 2.22, 2.22]],
index=pd.date_range(start="01-01-2000", periods=2))
print(df)
0 1 2 3
2000-01-01 1.00 0.00 0.00 0.00
2000-01-02 2.22 2.22 2.22 2.22
```
Also it seems weird to have the options `display.date_dayfirst` and `display.date_yearfirst` with both set to `False` by default, and yet print year first..
Docs say: `When True, prints and parses dates with the day first, eg 20/01/2005`. Maybe this is just for parsing? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43164/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43164/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43165 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43165/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43165/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43165/events | https://github.com/pandas-dev/pandas/issues/43165 | 976,425,751 | MDU6SXNzdWU5NzY0MjU3NTE= | 43,165 | ENH: confusing name for 'copy' argument in to_numpy() method | {
"avatar_url": "https://avatars.githubusercontent.com/u/72174073?v=4",
"events_url": "https://api.github.com/users/Abdelgha-4/events{/privacy}",
"followers_url": "https://api.github.com/users/Abdelgha-4/followers",
"following_url": "https://api.github.com/users/Abdelgha-4/following{/other_user}",
"gists_url": "https://api.github.com/users/Abdelgha-4/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Abdelgha-4",
"id": 72174073,
"login": "Abdelgha-4",
"node_id": "MDQ6VXNlcjcyMTc0MDcz",
"organizations_url": "https://api.github.com/users/Abdelgha-4/orgs",
"received_events_url": "https://api.github.com/users/Abdelgha-4/received_events",
"repos_url": "https://api.github.com/users/Abdelgha-4/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Abdelgha-4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Abdelgha-4/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Abdelgha-4"
} | [
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "d8439a",
"default": false,
"description": "Issue related to pandas dependency",
"id": 2533668378,
"name": "Upstream issue",
"node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue"
}
] | open | false | null | [] | null | 4 | "2021-08-22T17:16:05Z" | "2021-09-30T18:00:36Z" | null | NONE | null | I found the following behavior a bit unexpected from the name of the argument.
> The default (`copy=False`) may return a copy instead of a view. `copy=True` always returns a copy, but `copy=False` does not always return a view.
I think changing the argument name to something like `always_copy` would be more clear about what it is doing. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43165/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43165/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43166 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43166/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43166/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43166/events | https://github.com/pandas-dev/pandas/pull/43166 | 976,438,534 | MDExOlB1bGxSZXF1ZXN0NzE3MzUyNjQ0 | 43,166 | Pin aiobotocore to get ci passing | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "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": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 3 | "2021-08-22T18:20:34Z" | "2021-08-22T21:32:27Z" | "2021-08-22T21:30:23Z" | MEMBER | null | - [x] xref #43168
Aiobotocore got an upgrade from 1.3.3 to 1.4.0, looks like this broke our ci
This comes with s3fs. The new release handles the dependency, but is not on conda-forge yet | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43166/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43166/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43166.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43166",
"merged_at": "2021-08-22T21:30:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43166.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43166"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43168 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43168/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43168/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43168/events | https://github.com/pandas-dev/pandas/issues/43168 | 976,472,022 | MDU6SXNzdWU5NzY0NzIwMjI= | 43,168 | CI: Aiobotocore upgrade to 1.4 broke ci | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "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": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | closed | false | null | [] | null | 0 | "2021-08-22T21:13:52Z" | "2021-08-28T22:34:44Z" | "2021-08-28T22:34:44Z" | MEMBER | null | The upgrade broke our ci.
Failure:
https://github.com/pandas-dev/pandas/runs/3394467341
Working:
https://github.com/pandas-dev/pandas/runs/3389494290
This comes as a dependency of s3fs, which changed the requirements already, but the 2021.08.0 release is not on conda-forge yet. We can remove the pin after it is available
https://github.com/dask/s3fs/blob/main/requirements.txt | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43168/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43168/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43169 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43169/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43169/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43169/events | https://github.com/pandas-dev/pandas/pull/43169 | 976,475,539 | MDExOlB1bGxSZXF1ZXN0NzE3Mzc3NjAw | 43,169 | Backport PR #43166 on branch 1.3.x (Pin aiobotocore to get ci passing) | {
"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"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | closed | false | null | [] | {
"closed_at": "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-08-22T21:32:54Z" | "2021-08-23T11:29:19Z" | "2021-08-23T11:29:05Z" | NONE | null | Backport PR #43166: Pin aiobotocore to get ci passing | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43169/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43169/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43169.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43169",
"merged_at": "2021-08-23T11:29:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43169.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43169"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43170 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43170/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43170/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43170/events | https://github.com/pandas-dev/pandas/pull/43170 | 976,491,013 | MDExOlB1bGxSZXF1ZXN0NzE3Mzg4MTQ0 | 43,170 | TST: DataFrame.mad with nullable dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": 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-08-22T22:59:49Z" | "2021-08-23T23:12:14Z" | "2021-08-23T23:06:31Z" | MEMBER | null | - [x] closes #33036
- [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/43170/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43170/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43170.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43170",
"merged_at": "2021-08-23T23:06:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43170.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43170"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43171 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43171/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43171/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43171/events | https://github.com/pandas-dev/pandas/pull/43171 | 976,494,361 | MDExOlB1bGxSZXF1ZXN0NzE3MzkwNjIz | 43,171 | PERF: Rolling._apply | {
"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": "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"
} | 4 | "2021-08-22T23:15:14Z" | "2021-08-25T02:12:26Z" | "2021-08-25T00:39:04Z" | MEMBER | null | - [x] closes #42736
- [ ] 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
```
from asv_bench.benchmarks.rolling import *
self = Engine()
self.setup("DataFrame", "float", sum, "cython", "sum")
self.time_rolling_methods("DataFrame", "float", sum, "cython", "sum")
%timeit self.time_rolling_methods("DataFrame", "float", sum, "cython", "sum")
150 µs ± 889 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- PR
224 µs ± 3.18 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- master
```
cc @mroeschke | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43171/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43171/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43171.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43171",
"merged_at": "2021-08-25T00:39:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43171.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43171"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43172 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43172/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43172/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43172/events | https://github.com/pandas-dev/pandas/pull/43172 | 976,502,245 | MDExOlB1bGxSZXF1ZXN0NzE3Mzk2MTU3 | 43,172 | BUG: Pass index data correctly in groupby.transform/agg w/ engine=numba | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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": "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"
} | 5 | "2021-08-22T23:57:32Z" | "2021-08-27T17:26:09Z" | "2021-08-27T13:52:26Z" | MEMBER | null | - [x] closes #43133
- [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/43172/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43172/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43172.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43172",
"merged_at": "2021-08-27T13:52:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43172.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43172"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43173 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43173/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43173/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43173/events | https://github.com/pandas-dev/pandas/pull/43173 | 976,548,277 | MDExOlB1bGxSZXF1ZXN0NzE3NDMzMjI1 | 43,173 | TST: Add testing to df.where() typecasting as per GH 42295 | {
"avatar_url": "https://avatars.githubusercontent.com/u/73375583?v=4",
"events_url": "https://api.github.com/users/maximilianaccardo/events{/privacy}",
"followers_url": "https://api.github.com/users/maximilianaccardo/followers",
"following_url": "https://api.github.com/users/maximilianaccardo/following{/other_user}",
"gists_url": "https://api.github.com/users/maximilianaccardo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/maximilianaccardo",
"id": 73375583,
"login": "maximilianaccardo",
"node_id": "MDQ6VXNlcjczMzc1NTgz",
"organizations_url": "https://api.github.com/users/maximilianaccardo/orgs",
"received_events_url": "https://api.github.com/users/maximilianaccardo/received_events",
"repos_url": "https://api.github.com/users/maximilianaccardo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/maximilianaccardo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maximilianaccardo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/maximilianaccardo"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": 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-08-23T02:00:52Z" | "2021-08-26T21:16:33Z" | "2021-08-26T21:16:10Z" | CONTRIBUTOR | null | - [x] closes #42295
- [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
This makes sure that df.where does not cast floats to integers. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43173/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43173/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43173.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43173",
"merged_at": "2021-08-26T21:16:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43173.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43173"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43174 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43174/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43174/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43174/events | https://github.com/pandas-dev/pandas/pull/43174 | 976,588,361 | MDExOlB1bGxSZXF1ZXN0NzE3NDY1Mjkz | 43,174 | BUG: rolling with Int64 | {
"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": "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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 4 | "2021-08-23T03:32:35Z" | "2021-09-06T10:54:12Z" | "2021-08-31T19:54:23Z" | MEMBER | null | - [x] closes #43016
- [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/43174/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43174/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43174.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43174",
"merged_at": "2021-08-31T19:54:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43174.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43174"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43175 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43175/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43175/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43175/events | https://github.com/pandas-dev/pandas/issues/43175 | 976,706,185 | MDU6SXNzdWU5NzY3MDYxODU= | 43,175 | BUG: column with type float32 is skipped by rolling | {
"avatar_url": "https://avatars.githubusercontent.com/u/15267267?v=4",
"events_url": "https://api.github.com/users/jason-xuan/events{/privacy}",
"followers_url": "https://api.github.com/users/jason-xuan/followers",
"following_url": "https://api.github.com/users/jason-xuan/following{/other_user}",
"gists_url": "https://api.github.com/users/jason-xuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jason-xuan",
"id": 15267267,
"login": "jason-xuan",
"node_id": "MDQ6VXNlcjE1MjY3MjY3",
"organizations_url": "https://api.github.com/users/jason-xuan/orgs",
"received_events_url": "https://api.github.com/users/jason-xuan/received_events",
"repos_url": "https://api.github.com/users/jason-xuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jason-xuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jason-xuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jason-xuan"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 1 | "2021-08-23T07:09:25Z" | "2021-08-23T07:21:07Z" | "2021-08-23T07:20:50Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
In [1]: import pandas as pd
...: import numpy as np
...: arr = np.zeros((5,5))
...: df = pd.DataFrame(arr)
...: df[3] = 1
...: df[3] = df[3].astype(np.float32)
...: df.rolling(2, axis=1).max()
Out[1]:
0 1 2 4
0 NaN 0.0 0.0 0.0
1 NaN 0.0 0.0 0.0
2 NaN 0.0 0.0 0.0
3 NaN 0.0 0.0 0.0
4 NaN 0.0 0.0 0.0
In [2]: df[3] = df[3].astype(np.float64)
...: df.rolling(2, axis=1).max()
Out[2]:
0 1 2 3 4
0 NaN 0.0 0.0 1.0 1.0
1 NaN 0.0 0.0 1.0 1.0
2 NaN 0.0 0.0 1.0 1.0
3 NaN 0.0 0.0 1.0 1.0
4 NaN 0.0 0.0 1.0 1.0
```
#### Problem description
It seems that the column with type float32 is skipped by the operation rolling.
#### Expected Output
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
<details>
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-123-generic
Version : #126-Ubuntu SMP Wed Oct 21 09:40:11 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.2
numpy : 1.20.3
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.4
setuptools : 57.4.0
Cython : 0.29.24
pytest : 6.2.4
hypothesis : None
sphinx : 4.1.2
blosc : None
feather : None
xlsxwriter : 3.0.1
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.26.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 2021.07.0
fastparquet : None
gcsfs : None
matplotlib : 3.4.3
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : 1.4.23
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
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/43175/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43175/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43176 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43176/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43176/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43176/events | https://github.com/pandas-dev/pandas/pull/43176 | 976,708,175 | MDExOlB1bGxSZXF1ZXN0NzE3NTY0NDMz | 43,176 | ⬆️ 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-08-23T07:11:45Z" | "2021-08-23T08:02:43Z" | "2021-08-23T08:02:43Z" | 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.14.0-py2.py3-none-any.whl (191 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.13-py2.py3-none-any.whl (98 kB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 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.7.2-py2.py3-none-any.whl (5.3 MB)
Collecting pyyaml>=5.1
Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Collecting filelock<4,>=3.0.0
Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting backports.entry-points-selectable>=1.0.4
Downloading backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 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 platformdirs<3,>=2
Downloading platformdirs-2.2.0-py3-none-any.whl (13 kB)
Installing collected packages: six, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit
Successfully installed backports.entry-points-selectable-1.1.0 cfgv-3.3.0 distlib-0.3.2 filelock-3.0.12 identify-2.2.13 nodeenv-1.6.0 platformdirs-2.2.0 pre-commit-2.14.0 pyyaml-5.4.1 six-1.16.0 toml-0.10.2 virtualenv-20.7.2
```
</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.23.3 -> v2.24.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] Initializing environment for local:pyyaml,toml.
[INFO] Installing environment for https://github.com/MarcoGorelli/absolufy-imports.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[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/pre-commit/pre-commit-hooks.
[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://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[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...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[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
Check Cython casting is `<type>obj`, not `<type> obj`...........................................................Passed
Check for backticks incorrectly rendering because of missing spaces.............................................Passed
Check for unnecessary random seeds in asv benchmarks............................................................Passed
Check for invalid EA testing....................................................................................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
Ensure pandas errors are documented in doc/source/reference/general_utility_functions.rst.......................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/43176/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43176/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43176.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43176",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43176.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43176"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43177 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43177/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43177/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43177/events | https://github.com/pandas-dev/pandas/pull/43177 | 977,032,017 | MDExOlB1bGxSZXF1ZXN0NzE3ODMzNTU5 | 43,177 | ENH: `styler.render.encoding` option | {
"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": "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": 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-08-23T13:23:45Z" | "2021-09-01T16:22:47Z" | "2021-09-01T15:53:48Z" | CONTRIBUTOR | null | This pandas option is added to allow the `Styler` options to be independent from the others. See #41395
- [x] add option
- [x] add tests
- [x] whats new
- [x] update function docstrings `to_latex` and `to_html`
will update styler user guide (do as a follow on).
encoding also applies to saving to files where appropriate, as well as HTML metatag
```python
>>> df = pd.DataFrame([[1,2],[3,4]])
>>> print(df.style.to_html(doctype_html=True)[:76])
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
>>> pd.options.styler.render.encoding = "ANSI"
>>> print(df.style.to_html(doctype_html=True)[:75])
<!DOCTYPE html>
<html>
<head>
<meta charset="ANSI">
<style type="text/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/43177/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43177/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43177.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43177",
"merged_at": "2021-09-01T15:53:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43177.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43177"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43178 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43178/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43178/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43178/events | https://github.com/pandas-dev/pandas/issues/43178 | 977,036,305 | MDU6SXNzdWU5NzcwMzYzMDU= | 43,178 | BUG: Series inconsistent with overflow errors in Timedelta calcs | {
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "d8439a",
"default": false,
"description": "Issue related to pandas dependency",
"id": 2533668378,
"name": "Upstream issue",
"node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue"
}
] | 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"
} | 4 | "2021-08-23T13:26:13Z" | "2021-08-26T11:10:54Z" | 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.
---
**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
>>> x = pd.Series([pd.Timedelta(100000, "days"), pd.Timedelta(100000, "days")])
# Results in ValueError
>>> x.sum()
# Results in OverflowError
>>> pd.Timedelta(100000, "days")*2
# Results in OverflowError
>>> x + x
# Permits overflow
>>> x*2
0 -13504 days +00:25:26.290448384
1 -13504 days +00:25:26.290448384
dtype: timedelta64[ns]
```
#### Problem description
It would seem that pandas.Series calcs with Timedeltas are inconsistent in raising overflow errors, or not.
The exact error is also inconsistent (OverflowError vs ValueError).
#### Expected Output
Ideally `x*2` in above example raises an error, and all overflow related errors are of type OverflowError.
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
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.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
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/43178/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43178/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43179 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43179/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43179/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43179/events | https://github.com/pandas-dev/pandas/pull/43179 | 977,041,956 | MDExOlB1bGxSZXF1ZXN0NzE3ODQyMzAy | 43,179 | BUG: read_csv with mixed bools and int sometimes reads 1 as a bool function. | {
"avatar_url": "https://avatars.githubusercontent.com/u/63910248?v=4",
"events_url": "https://api.github.com/users/shubham11941140/events{/privacy}",
"followers_url": "https://api.github.com/users/shubham11941140/followers",
"following_url": "https://api.github.com/users/shubham11941140/following{/other_user}",
"gists_url": "https://api.github.com/users/shubham11941140/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shubham11941140",
"id": 63910248,
"login": "shubham11941140",
"node_id": "MDQ6VXNlcjYzOTEwMjQ4",
"organizations_url": "https://api.github.com/users/shubham11941140/orgs",
"received_events_url": "https://api.github.com/users/shubham11941140/received_events",
"repos_url": "https://api.github.com/users/shubham11941140/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shubham11941140/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shubham11941140/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shubham11941140"
} | [] | closed | false | null | [] | null | 9 | "2021-08-23T13:31:58Z" | "2021-08-23T14:01:36Z" | "2021-08-23T14:00:40Z" | CONTRIBUTOR | null | - [x] closes #42808
- [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
The major issue is that the parser is reading 1 as a boolean expression and not as an integer.
So, making 2 different tests based on the data type of the input or return of a function can help split the parsing as two seperate entities.
Reference: https://github.com/pandas-dev/pandas/pull/42944 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43179/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43179/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43179.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43179",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43179.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43179"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43180 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43180/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43180/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43180/events | https://github.com/pandas-dev/pandas/pull/43180 | 977,045,279 | MDExOlB1bGxSZXF1ZXN0NzE3ODQ1MDg2 | 43,180 | ENH: `styler.render.repr` option | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": 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-08-23T13:35:35Z" | "2021-09-02T05:13:11Z" | "2021-09-01T23:03:25Z" | CONTRIBUTOR | null | offers option switching between "html" and "latex" output.
adds items to #41395.
also xref #39911 (technically after DataFrame.to_html is deprecated)
- [x] adds option
- [x] adds tests
- [x] updates options.rst docs
- [x] no public method docstrings
- [x] whatsnew
update to styler user guide as follow-on after all options are merged.

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43180/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43180/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43180.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43180",
"merged_at": "2021-09-01T23:03:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43180.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43180"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43181 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43181/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43181/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43181/events | https://github.com/pandas-dev/pandas/pull/43181 | 977,098,627 | MDExOlB1bGxSZXF1ZXN0NzE3ODkwNjk1 | 43,181 | DOC: Mention that we provide Python 3.10 wheels | {
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "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-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"
} | 5 | "2021-08-23T14:28:37Z" | "2021-09-03T11:32:42Z" | "2021-08-24T12:55:15Z" | MEMBER | null | - [ ] closes #42946
- [ ] 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
IMPORTANT: This depends on MacPython/pandas-wheels#152, so please merge that first.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43181/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43181/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43181.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43181",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43181.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43181"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43182 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43182/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43182/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43182/events | https://github.com/pandas-dev/pandas/pull/43182 | 977,139,966 | MDExOlB1bGxSZXF1ZXN0NzE3OTI1OTkx | 43,182 | REF: implement IntervalIndex._get_indexer_unique_sides | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] | closed | false | null | [] | {
"closed_at": 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-08-23T15:10:35Z" | "2021-09-14T18:29:26Z" | "2021-09-14T18:17:49Z" | MEMBER | null | Follow-up cleanup to get_indexer work | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43182/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43182/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43182.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43182",
"merged_at": "2021-09-14T18:17:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43182.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43182"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43183 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43183/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43183/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43183/events | https://github.com/pandas-dev/pandas/issues/43183 | 977,159,341 | MDU6SXNzdWU5NzcxNTkzNDE= | 43,183 | BUG: convert_dtypes incorrectly converts byte strings to strings in 1.3+ | {
"avatar_url": "https://avatars.githubusercontent.com/u/80686372?v=4",
"events_url": "https://api.github.com/users/nwilliams-lw/events{/privacy}",
"followers_url": "https://api.github.com/users/nwilliams-lw/followers",
"following_url": "https://api.github.com/users/nwilliams-lw/following{/other_user}",
"gists_url": "https://api.github.com/users/nwilliams-lw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nwilliams-lw",
"id": 80686372,
"login": "nwilliams-lw",
"node_id": "MDQ6VXNlcjgwNjg2Mzcy",
"organizations_url": "https://api.github.com/users/nwilliams-lw/orgs",
"received_events_url": "https://api.github.com/users/nwilliams-lw/received_events",
"repos_url": "https://api.github.com/users/nwilliams-lw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nwilliams-lw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nwilliams-lw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nwilliams-lw"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | closed | false | null | [] | {
"closed_at": "2021-10-17T11:06:28Z",
"closed_issues": 77,
"created_at": "2021-09-10T19:48:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-10-17T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/90",
"id": 7142224,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels",
"node_id": "MI_kwDOAA0YD84AbPtQ",
"number": 90,
"open_issues": 0,
"state": "closed",
"title": "1.3.4",
"updated_at": "2021-10-18T11:00:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90"
} | 10 | "2021-08-23T15:30:56Z" | "2021-10-17T11:04:06Z" | "2021-10-17T11:04:06Z" | NONE | null | #### Code Sample, a copy-pastable example
This test will pass on pandas 1.2.5 but fail on 1.3 onwards (checked 1.3, 1.3.2).
```python
def test_convert_dtypes_on_byte_string():
byte_str = b'binary-string'
dataframe = pd.DataFrame(
data={
"data": byte_str,
},
index=[0]
)
converted_dtypes = dataframe.convert_dtypes()
assert converted_dtypes['data'][0].decode('ascii') == "binary-string"
```
#### Problem description
Error on 1.3 onwards:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 10, in test_convert_dtypes_on_byte_string
AttributeError: 'str' object has no attribute 'decode'
```
The issue is that converted_dtypes() will convert the `data` column values to the string `b'binary-data'`, almost like it has had `str(val)` called on it. On 1.2.5 it is left correctly as a byte array.
#### Expected Output
Test should pass. Byte strings should not be converted to string.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.11.final.0
python-bits : 64
OS : Darwin
OS-release : 20.6.0
Version : Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.3.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 21.1.3
setuptools : 57.4.0
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : None
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.07.0
fastparquet : 0.7.0
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : 2021.07.0
scipy : None
sqlalchemy : 1.4.23
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/43183/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43183/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43184 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43184/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43184/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43184/events | https://github.com/pandas-dev/pandas/pull/43184 | 977,230,082 | MDExOlB1bGxSZXF1ZXN0NzE4MDAyMDc5 | 43,184 | TST: MultiIndex with complex | {
"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": "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": "009800",
"default": false,
"description": "Complex Numbers",
"id": 172091424,
"name": "Complex",
"node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex"
}
] | 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-08-23T16:52:36Z" | "2021-08-26T17:19:27Z" | "2021-08-26T17:04:55Z" | CONTRIBUTOR | null | - [x] closes #42145
- [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
This has been resolved in the master. I think adding a test will close it. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43184/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43184/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43184.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43184",
"merged_at": "2021-08-26T17:04:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43184.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43184"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43185 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43185/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43185/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43185/events | https://github.com/pandas-dev/pandas/pull/43185 | 977,233,100 | MDExOlB1bGxSZXF1ZXN0NzE4MDA0Njkx | 43,185 | PERF: copy blklocs/blknos in BlockManager.apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": 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-08-23T16:56:17Z" | "2021-08-31T23:34:38Z" | "2021-08-31T23:30:30Z" | MEMBER | null | Avoids a call to _rebuild_blknos_and_blklocs, which in e.g. time_reset_datetimeindex is 34 microseconds | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43185/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43185/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43185.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43185",
"merged_at": "2021-08-31T23:30:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43185.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43185"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43186 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43186/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43186/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43186/events | https://github.com/pandas-dev/pandas/pull/43186 | 977,238,704 | MDExOlB1bGxSZXF1ZXN0NzE4MDA5NDUy | 43,186 | CLN: tests, annotations | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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-08-23T17:03:28Z" | "2021-08-25T19:12:57Z" | "2021-08-25T19:08:27Z" | 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/43186/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43186/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43186.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43186",
"merged_at": "2021-08-25T19:08:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43186.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43186"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43187 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43187/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43187/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43187/events | https://github.com/pandas-dev/pandas/pull/43187 | 977,465,688 | MDExOlB1bGxSZXF1ZXN0NzE4MjA2Mzcz | 43,187 | TST: Test renaming a multiindex with duplicates (GH 38015) | {
"avatar_url": "https://avatars.githubusercontent.com/u/23269446?v=4",
"events_url": "https://api.github.com/users/andrewwoood/events{/privacy}",
"followers_url": "https://api.github.com/users/andrewwoood/followers",
"following_url": "https://api.github.com/users/andrewwoood/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewwoood/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andrewwoood",
"id": 23269446,
"login": "andrewwoood",
"node_id": "MDQ6VXNlcjIzMjY5NDQ2",
"organizations_url": "https://api.github.com/users/andrewwoood/orgs",
"received_events_url": "https://api.github.com/users/andrewwoood/received_events",
"repos_url": "https://api.github.com/users/andrewwoood/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andrewwoood/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewwoood/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andrewwoood"
} | [
{
"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": "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"
} | 6 | "2021-08-23T21:10:15Z" | "2021-09-08T01:54:45Z" | "2021-09-08T01:54:01Z" | CONTRIBUTOR | null | - [x] closes #38015
- [ ] 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
This is my first real contribution, I appreciate the feedback! | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43187/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43187/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43187.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43187",
"merged_at": "2021-09-08T01:54:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43187.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43187"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43188 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43188/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43188/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43188/events | https://github.com/pandas-dev/pandas/pull/43188 | 977,539,476 | MDExOlB1bGxSZXF1ZXN0NzE4MjcxMTA3 | 43,188 | BUG: pickle Index[object] preserve dtype | {
"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": "6c1cdb",
"default": false,
"description": "read_pickle, to_pickle",
"id": 1625435109,
"name": "IO Pickle",
"node_id": "MDU6TGFiZWwxNjI1NDM1MTA5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Pickle"
}
] | closed | false | null | [] | {
"closed_at": 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-08-23T22:43:52Z" | "2021-09-05T00:51:50Z" | "2021-09-04T23:53:40Z" | MEMBER | null | - [ ] closes #xxxx
- [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
xref #43155 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43188/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43188/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43188.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43188",
"merged_at": "2021-09-04T23:53:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43188.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43188"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43189 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43189/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43189/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43189/events | https://github.com/pandas-dev/pandas/pull/43189 | 977,545,891 | MDExOlB1bGxSZXF1ZXN0NzE4Mjc2MTg2 | 43,189 | REF: remove libreduction.SeriesBinGrouper | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": 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-08-23T22:57:59Z" | "2021-09-01T01:23:25Z" | "2021-08-31T23:40:13Z" | 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
xref #40263 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43189/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43189/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43189.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43189",
"merged_at": "2021-08-31T23:40:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43189.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43189"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43190 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43190/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43190/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43190/events | https://github.com/pandas-dev/pandas/issues/43190 | 977,548,945 | MDU6SXNzdWU5Nzc1NDg5NDU= | 43,190 | BUG: infinite recursion when using `np.fmin` to combine > 2 Series/DataFrames elementwise | {
"avatar_url": "https://avatars.githubusercontent.com/u/18488?v=4",
"events_url": "https://api.github.com/users/batterseapower/events{/privacy}",
"followers_url": "https://api.github.com/users/batterseapower/followers",
"following_url": "https://api.github.com/users/batterseapower/following{/other_user}",
"gists_url": "https://api.github.com/users/batterseapower/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/batterseapower",
"id": 18488,
"login": "batterseapower",
"node_id": "MDQ6VXNlcjE4NDg4",
"organizations_url": "https://api.github.com/users/batterseapower/orgs",
"received_events_url": "https://api.github.com/users/batterseapower/received_events",
"repos_url": "https://api.github.com/users/batterseapower/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/batterseapower/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/batterseapower/subscriptions",
"type": "User",
"url": "https://api.github.com/users/batterseapower"
} | [
{
"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": "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": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | "2021-08-23T23:03:30Z" | "2021-08-26T15:33:19Z" | 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 (1.3.1)
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# These 2-adic invocations don't fail and return a Series/DataFrame/ndarray respectively:
np.fmin(pd.Series(np.array([1, 2])), pd.Series(np.array([3, 4])))
np.fmin(pd.DataFrame(np.array([[1, 2]])), pd.DataFrame(np.array([[3, 4]])))
np.fmin(np.array([1, 2]), np.array([3, 4]), np.array([5, 6]))
# These 3-adic invocations fail (RecursionError: maximum recursion depth exceeded)
np.fmin(pd.Series(np.array([1, 2])), pd.Series(np.array([3, 4])), pd.Series(np.array([5, 6])))
np.minimum(pd.Series(np.array([1, 2])), pd.Series(np.array([3, 4])), pd.Series(np.array([5, 6])))
np.fmin(pd.DataFrame(np.array([[1, 2]])), pd.DataFrame(np.array([[3, 4]])), pd.DataFrame(np.array([[5, 6]])))
```
#### Problem description
I'm not sure if this is strictly a Pandas bug since it involves a Numpy function, but the infinite recursion goes through Pandas functions only so it seems like the only place it could be solved is within Pandas itself.
The end of the stack trace looks like this:
```
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\generic.py", line 1936, in __array_ufunc__
return arraylike.array_ufunc(self, ufunc, method, *inputs, **kwargs)
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\arraylike.py", line 358, in array_ufunc
result = getattr(ufunc, method)(*inputs, **kwargs)
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\generic.py", line 1936, in __array_ufunc__
return arraylike.array_ufunc(self, ufunc, method, *inputs, **kwargs)
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\arraylike.py", line 358, in array_ufunc
result = getattr(ufunc, method)(*inputs, **kwargs)
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\generic.py", line 1936, in __array_ufunc__
return arraylike.array_ufunc(self, ufunc, method, *inputs, **kwargs)
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\arraylike.py", line 357, in array_ufunc
inputs = tuple(extract_array(x, extract_numpy=True) for x in inputs)
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\arraylike.py", line 357, in <genexpr>
inputs = tuple(extract_array(x, extract_numpy=True) for x in inputs)
File "C:\Users\mboling\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\construction.py", line 396, in extract_array
if isinstance(obj, (ABCIndexClass, ABCSeries)):
```
(This RecursionError actually manifested as a segfault in my application so was a bit of a pain to track down.)
#### Expected Output
The failing examples involving `Series` should evaluate to `pd.Series([1, 2])`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2cb96529396d93b46abab7bbc73a208e708c642e
python : 3.8.10.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18363
machine : AMD64
processor : Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United Kingdom.1252
pandas : 1.2.4
numpy : 1.20.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.1
setuptools : 52.0.0.post20210125
Cython : 0.29.23
pytest : 6.2.3
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.0
IPython : 7.22.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.9.0
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : None
tables : None
tabulate : None
xarray : 0.18.0
xlrd : 2.0.1
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/43190/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43190/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43191 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43191/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43191/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43191/events | https://github.com/pandas-dev/pandas/pull/43191 | 977,563,107 | MDExOlB1bGxSZXF1ZXN0NzE4MjkxNDEy | 43,191 | DEPS: bump sqlalchemy min support version to 1.4.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | open | 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"
} | 8 | "2021-08-23T23:31:42Z" | "2021-10-05T22:24:38Z" | null | MEMBER | null | precursor of #42976
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43191/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43191/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43191.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43191",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43191.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43191"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43192 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43192/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43192/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43192/events | https://github.com/pandas-dev/pandas/pull/43192 | 977,590,336 | MDExOlB1bGxSZXF1ZXN0NzE4MzE0NzI3 | 43,192 | DOC: OSX -> macOS | {
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
} | [] | closed | false | null | [] | null | 1 | "2021-08-24T00:35:53Z" | "2021-08-24T00:42:13Z" | "2021-08-24T00:42:07Z" | 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/43192/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43192/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43192.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43192",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43192.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43192"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43193 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43193/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43193/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43193/events | https://github.com/pandas-dev/pandas/pull/43193 | 977,592,358 | MDExOlB1bGxSZXF1ZXN0NzE4MzE2Mzg2 | 43,193 | DOC: OSX -> macOS | {
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 4 | "2021-08-24T00:41:52Z" | "2021-08-26T01:14:55Z" | "2021-08-25T19:53:06Z" | 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/43193/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43193/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43193.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43193",
"merged_at": "2021-08-25T19:53:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43193.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43193"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43194 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43194/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43194/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43194/events | https://github.com/pandas-dev/pandas/issues/43194 | 977,730,537 | MDU6SXNzdWU5Nzc3MzA1Mzc= | 43,194 | Ambiguous behaviour when index is bool type? | {
"avatar_url": "https://avatars.githubusercontent.com/u/2204917?v=4",
"events_url": "https://api.github.com/users/MacroBull/events{/privacy}",
"followers_url": "https://api.github.com/users/MacroBull/followers",
"following_url": "https://api.github.com/users/MacroBull/following{/other_user}",
"gists_url": "https://api.github.com/users/MacroBull/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MacroBull",
"id": 2204917,
"login": "MacroBull",
"node_id": "MDQ6VXNlcjIyMDQ5MTc=",
"organizations_url": "https://api.github.com/users/MacroBull/orgs",
"received_events_url": "https://api.github.com/users/MacroBull/received_events",
"repos_url": "https://api.github.com/users/MacroBull/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MacroBull/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MacroBull/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MacroBull"
} | [
{
"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"
}
] | open | false | null | [] | null | 6 | "2021-08-24T05:51:51Z" | "2021-09-30T23:00:23Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
pandas.Series([True, True, False]).value_counts()[[False]]
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
```python
pandas/core/indexers.py in check_array_indexer(array, indexer)
468 # GH26658
469 if len(indexer) != len(array):
--> 470 raise IndexError(
471 f"Boolean index has wrong length: "
472 f"{len(indexer)} instead of {len(array)}"
IndexError: Boolean index has wrong length: 1 instead of 2
```
It seems that `Series.__getitem__` and `check_bool_indexer` do not work well for bool-typed index
#### Expected Output
```python
<pandas.Series>
False 1
dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 20.6.0
Version : Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.1.4
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20200814
Cython : None
pytest : None
hypothesis : None
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.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.3
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/43194/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43194/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43195 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43195/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43195/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43195/events | https://github.com/pandas-dev/pandas/issues/43195 | 977,848,938 | MDU6SXNzdWU5Nzc4NDg5Mzg= | 43,195 | BUG: Implementation of is_list_like causes TypeError when working with Extension Arrays of ambiguous type | {
"avatar_url": "https://avatars.githubusercontent.com/u/13315281?v=4",
"events_url": "https://api.github.com/users/dcoukos/events{/privacy}",
"followers_url": "https://api.github.com/users/dcoukos/followers",
"following_url": "https://api.github.com/users/dcoukos/following{/other_user}",
"gists_url": "https://api.github.com/users/dcoukos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dcoukos",
"id": 13315281,
"login": "dcoukos",
"node_id": "MDQ6VXNlcjEzMzE1Mjgx",
"organizations_url": "https://api.github.com/users/dcoukos/orgs",
"received_events_url": "https://api.github.com/users/dcoukos/received_events",
"repos_url": "https://api.github.com/users/dcoukos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dcoukos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dcoukos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dcoukos"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 1 | "2021-08-24T08:33:00Z" | "2021-08-24T09:06:40Z" | "2021-08-24T09:06:40Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
import pint
import pandas as pd
import pint_pandas
import numpy as np
import datetime
u = pint.UnitRegistry()
Q = pint.Quantity(np.random.rand(20), u.hertz)
df = pd.DataFrame(Q , dtype='pint[hertz]')
limit1 = -0.4*u.hertz
limit2 = 4*u.hertz
df.clip(limit1, limit2)
```
#### Problem description
This makes it difficult for downstream libraries to correctly advertise their type when they must be able to accommodate array-like data or scalar date. In addition, having dtype information (important for pint in particular because it handles physical units) makes this type of class evaluate true for `is_array_like` even when it is a scalar, due to `is_array_like` using `is_list_like`.
Since Quantity does not know what type of data it will receive, it has an `iter` function. Calling this function - and thus allowing it to advertise whether it has scalar or array-like data - instead of checking for the presence of an iter function would make is_list_like more robust.
<details> <summary>Traceback</summary>
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-13539a13f5ad> in <module>
----> 1 df.diff().clip(limit1, limit2)
~/opt/anaconda3/envs/aug20/lib/python3.9/site-packages/pandas/core/generic.py in clip(self, lower, upper, axis, inplace, *args, **kwargs)
7713 result = self
7714 if lower is not None:
-> 7715 result = result._clip_with_one_bound(
7716 lower, method=self.ge, axis=axis, inplace=inplace
7717 )
~/opt/anaconda3/envs/aug20/lib/python3.9/site-packages/pandas/core/generic.py in _clip_with_one_bound(self, threshold, method, axis, inplace)
7586 return self._clip_with_scalar(threshold, None, inplace=inplace)
7587
-> 7588 subset = method(threshold, axis=axis) | isna(self)
7589
7590 # GH #15390
~/opt/anaconda3/envs/aug20/lib/python3.9/site-packages/pandas/core/ops/__init__.py in f(self, other, axis, level)
447 axis = self._get_axis_number(axis) if axis is not None else 1
448
--> 449 self, other = align_method_FRAME(self, other, axis, flex=True, level=level)
450
451 new_data = self._dispatch_frame_op(other, op, axis=axis)
~/opt/anaconda3/envs/aug20/lib/python3.9/site-packages/pandas/core/ops/__init__.py in align_method_FRAME(left, right, axis, flex, level)
255 elif is_list_like(right) and not isinstance(right, (ABCSeries, ABCDataFrame)):
256 # GH 36702. Raise when attempting arithmetic with list of array-like.
--> 257 if any(is_array_like(el) for el in right):
258 raise ValueError(
259 f"Unable to coerce list of {type(right[0])} to Series/DataFrame"
~/opt/anaconda3/envs/aug20/lib/python3.9/site-packages/pint/quantity.py in __iter__(self)
262 # as one calls iter(self) without waiting for the first element to be drawn from
263 # the iterator
--> 264 it_magnitude = iter(self.magnitude)
265
266 def it_outer():
TypeError: 'float' object is not iterable
```
</details>
#### Expected Output
Expected output is that the values of `df` should be constrained between `limit1` and `limit2`.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
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.2. \#Also tested on 1.4.0.dev0+496.g8814de9fbc with same result.
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.1
setuptools : 52.0.0.post20210125
Cython : 0.29.23
pytest : 6.2.3
hypothesis : 6.13.14
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.24.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.9.0
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43195/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43195/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43196 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43196/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43196/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43196/events | https://github.com/pandas-dev/pandas/issues/43196 | 977,878,073 | MDU6SXNzdWU5Nzc4NzgwNzM= | 43,196 | ENH: Change implementation of pandas.api.types.is_list_like to check for iterability in more pythonic way | {
"avatar_url": "https://avatars.githubusercontent.com/u/13315281?v=4",
"events_url": "https://api.github.com/users/dcoukos/events{/privacy}",
"followers_url": "https://api.github.com/users/dcoukos/followers",
"following_url": "https://api.github.com/users/dcoukos/following{/other_user}",
"gists_url": "https://api.github.com/users/dcoukos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dcoukos",
"id": 13315281,
"login": "dcoukos",
"node_id": "MDQ6VXNlcjEzMzE1Mjgx",
"organizations_url": "https://api.github.com/users/dcoukos/orgs",
"received_events_url": "https://api.github.com/users/dcoukos/received_events",
"repos_url": "https://api.github.com/users/dcoukos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dcoukos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dcoukos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dcoukos"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"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-08-24T09:06:11Z" | "2021-09-30T23:01:42Z" | null | NONE | null | #### Is your feature request related to a problem?
Yes, this would improve predictability of behavior with pandas extension arrays.
#### Describe the solution you'd like
`pandas.api.types.is_list_like` can check for iterability in a more pythonic way according to https://docs.python.org/3/glossary.html#term-iterable. This would result in the appropriate call being `iter(obj)` rather than checking for `__iter__` attribute.
#### API breaking implications
This will not affect the API.
#### Describe alternatives you've considered
Alternative solutions include communicating to third parties that they must change their extension arrays to include `hasattr(q, "__iter__") == False` to make sure that classes with ambiguous data iterability (may contain either scalar or array-like data) are perceived as utterable when they contain scalar data.
#### Additional context
Opened a bug report for this issue. I think an enhancement request is more appropriate, but I am linking the previous (closed) bug report as it includes useful information.
#43195
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43196/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43196/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43197 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43197/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43197/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43197/events | https://github.com/pandas-dev/pandas/issues/43197 | 978,002,880 | MDU6SXNzdWU5NzgwMDI4ODA= | 43,197 | How to make pandas-stubs library compliant with pandas development team requirements | {
"avatar_url": "https://avatars.githubusercontent.com/u/63653095?v=4",
"events_url": "https://api.github.com/users/zkrolikowski-vl/events{/privacy}",
"followers_url": "https://api.github.com/users/zkrolikowski-vl/followers",
"following_url": "https://api.github.com/users/zkrolikowski-vl/following{/other_user}",
"gists_url": "https://api.github.com/users/zkrolikowski-vl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zkrolikowski-vl",
"id": 63653095,
"login": "zkrolikowski-vl",
"node_id": "MDQ6VXNlcjYzNjUzMDk1",
"organizations_url": "https://api.github.com/users/zkrolikowski-vl/orgs",
"received_events_url": "https://api.github.com/users/zkrolikowski-vl/received_events",
"repos_url": "https://api.github.com/users/zkrolikowski-vl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zkrolikowski-vl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zkrolikowski-vl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zkrolikowski-vl"
} | [] | closed | false | null | [] | null | 5 | "2021-08-24T11:37:36Z" | "2021-09-09T00:19:44Z" | "2021-09-09T00:19:44Z" | CONTRIBUTOR | null | Hello,
my name is Zbigniew Królikowski. I am a software developer at VirtusLab.
Together with my colleagues we started working on our own [pandas type stubs library](https://github.com/VirtusLab/pandas-stubs), and at some point decided to make it open-source.
We wanted to ask you:
1. Is the separation between our library and pandas itself clear? We wanted to be clear on the authorship so we added a [disclaimer](https://github.com/VirtusLab/pandas-stubs).
2. Do you see any issues with how we promote our library, especially in terms of our graphics?
We'd be very grateful to hear your thoughts on this.
Best regards,
Zbigniew Królikowski | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 1,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43197/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43197/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43198 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43198/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43198/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43198/events | https://github.com/pandas-dev/pandas/issues/43198 | 978,046,775 | MDU6SXNzdWU5NzgwNDY3NzU= | 43,198 | BUG: resampling 2D with closed=right fails with "Values falls before first bin" | {
"avatar_url": "https://avatars.githubusercontent.com/u/18488?v=4",
"events_url": "https://api.github.com/users/batterseapower/events{/privacy}",
"followers_url": "https://api.github.com/users/batterseapower/followers",
"following_url": "https://api.github.com/users/batterseapower/following{/other_user}",
"gists_url": "https://api.github.com/users/batterseapower/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/batterseapower",
"id": 18488,
"login": "batterseapower",
"node_id": "MDQ6VXNlcjE4NDg4",
"organizations_url": "https://api.github.com/users/batterseapower/orgs",
"received_events_url": "https://api.github.com/users/batterseapower/received_events",
"repos_url": "https://api.github.com/users/batterseapower/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/batterseapower/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/batterseapower/subscriptions",
"type": "User",
"url": "https://api.github.com/users/batterseapower"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] | open | false | null | [] | null | 0 | "2021-08-24T12:30:26Z" | "2021-09-30T23:05:02Z" | 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. (1.3.1)
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# ValueError: Values falls before first bin
pd.Series(index=pd.DatetimeIndex(['2013-04-01 22:00:00'])).resample('2D', closed='right').max()
# Works OK
pd.Series(index=pd.DatetimeIndex(['2013-04-01 22:00:00'])).resample('1D', closed='right').max()
pd.Series(index=pd.DatetimeIndex(['2013-04-01 22:00:00'])).resample('2D').max()
```
(Any number of days > 1 shows the same bug)
Stack trace from failure:
<details>
```
ValueError Traceback (most recent call last)
<ipython-input-171-dd7aa6747f09> in <module>
----> 1 itensors.unwrap_1d(pd.Series(np.arange(len(de.times)), index=de.times).resample('14D', closed='right', label='right').max())
~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\resample.py in f(self, _method, min_count, *args, **kwargs)
955 def f(self, _method=method, min_count=0, *args, **kwargs):
956 nv.validate_resampler_func(_method, args, kwargs)
--> 957 return self._downsample(_method, min_count=min_count)
958
959 f.__doc__ = getattr(GroupBy, method).__doc__
~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\resample.py in _downsample(self, how, **kwargs)
1051 **kwargs : kw args passed to how function
1052 """
-> 1053 self._set_binner()
1054 how = self._get_cython_func(how) or how
1055 ax = self.ax
~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\resample.py in _set_binner(self)
193 """
194 if self.binner is None:
--> 195 self.binner, self.grouper = self._get_binner()
196
197 def _get_binner(self):
~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\resample.py in _get_binner(self)
200 has already been called.
201 """
--> 202 binner, bins, binlabels = self._get_binner_for_time()
203 assert len(bins) == len(binlabels)
204 bin_grouper = BinGrouper(bins, binlabels, indexer=self.groupby.indexer)
~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\resample.py in _get_binner_for_time(self)
1040 if self.kind == "period":
1041 return self.groupby._get_time_period_bins(self.ax)
-> 1042 return self.groupby._get_time_bins(self.ax)
1043
1044 def _downsample(self, how, **kwargs):
~\Anaconda3\envs\py3_2\lib\site-packages\pandas\core\resample.py in _get_time_bins(self, ax)
1526
1527 # general version, knowing nothing about relative frequencies
-> 1528 bins = lib.generate_bins_dt64(
1529 ax_values, bin_edges, self.closed, hasnans=ax.hasnans
1530 )
pandas\_libs\lib.pyx in pandas._libs.lib.generate_bins_dt64()
ValueError: Values falls before first bin
```
</details>
#### Problem description
If nothing falls exactly on the bin edge, `closed=right` should give exactly the same results as `closed=left`. However, for this example the `closed=right` case just fails even though `closed=left` succeeds.
#### Expected Output
```
2013-04-01 NaN
Freq: D, dtype: float64
```
#### Output of ``pd.show_versions()``
(`pd.show_versions` doesn't work on my 1.3.1 install so this is from a different environment.)
<details>
INSTALLED VERSIONS
------------------
commit : 2cb96529396d93b46abab7bbc73a208e708c642e
python : 3.8.10.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18363
machine : AMD64
processor : Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United Kingdom.1252
pandas : 1.2.4
numpy : 1.20.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.1
setuptools : 52.0.0.post20210125
Cython : 0.29.23
pytest : 6.2.3
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.0
IPython : 7.22.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.9.0
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : None
tables : None
tabulate : None
xarray : 0.18.0
xlrd : 2.0.1
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/43198/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43198/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43199 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43199/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43199/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43199/events | https://github.com/pandas-dev/pandas/pull/43199 | 978,115,075 | MDExOlB1bGxSZXF1ZXN0NzE4NzU4ODk0 | 43,199 | BUG: convert_dtypes incorrectly converts byte strings to strings in 1.3+ | {
"avatar_url": "https://avatars.githubusercontent.com/u/63910248?v=4",
"events_url": "https://api.github.com/users/shubham11941140/events{/privacy}",
"followers_url": "https://api.github.com/users/shubham11941140/followers",
"following_url": "https://api.github.com/users/shubham11941140/following{/other_user}",
"gists_url": "https://api.github.com/users/shubham11941140/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/shubham11941140",
"id": 63910248,
"login": "shubham11941140",
"node_id": "MDQ6VXNlcjYzOTEwMjQ4",
"organizations_url": "https://api.github.com/users/shubham11941140/orgs",
"received_events_url": "https://api.github.com/users/shubham11941140/received_events",
"repos_url": "https://api.github.com/users/shubham11941140/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/shubham11941140/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shubham11941140/subscriptions",
"type": "User",
"url": "https://api.github.com/users/shubham11941140"
} | [
{
"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"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | closed | false | null | [] | {
"closed_at": "2021-10-17T11:06:28Z",
"closed_issues": 77,
"created_at": "2021-09-10T19:48:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-10-17T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/90",
"id": 7142224,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels",
"node_id": "MI_kwDOAA0YD84AbPtQ",
"number": 90,
"open_issues": 0,
"state": "closed",
"title": "1.3.4",
"updated_at": "2021-10-18T11:00:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90"
} | 45 | "2021-08-24T13:42:46Z" | "2021-10-17T16:56:34Z" | "2021-10-17T11:04:06Z" | CONTRIBUTOR | null | - [x] closes #43183
- [x] tests added / passed in the test_convert_dtypes.py file
- [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 extra try except block to identify the correct type to solve the problem. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43199/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43199/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43199.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43199",
"merged_at": "2021-10-17T11:04:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43199.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43199"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43200 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43200/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43200/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43200/events | https://github.com/pandas-dev/pandas/pull/43200 | 978,278,351 | MDExOlB1bGxSZXF1ZXN0NzE4ODk0MTc3 | 43,200 | CLN: remove no-longer-used | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": 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-08-24T16:27:50Z" | "2021-08-25T19:11:46Z" | "2021-08-25T19:04:24Z" | 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/43200/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43200/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43200.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43200",
"merged_at": "2021-08-25T19:04:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43200.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43200"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43201 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43201/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43201/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43201/events | https://github.com/pandas-dev/pandas/issues/43201 | 978,304,154 | MDU6SXNzdWU5NzgzMDQxNTQ= | 43,201 | BUG: exception raised on subclassed DataFrame when calling _dispatch_frame_op | {
"avatar_url": "https://avatars.githubusercontent.com/u/566282?v=4",
"events_url": "https://api.github.com/users/leobrl/events{/privacy}",
"followers_url": "https://api.github.com/users/leobrl/followers",
"following_url": "https://api.github.com/users/leobrl/following{/other_user}",
"gists_url": "https://api.github.com/users/leobrl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leobrl",
"id": 566282,
"login": "leobrl",
"node_id": "MDQ6VXNlcjU2NjI4Mg==",
"organizations_url": "https://api.github.com/users/leobrl/orgs",
"received_events_url": "https://api.github.com/users/leobrl/received_events",
"repos_url": "https://api.github.com/users/leobrl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leobrl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leobrl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leobrl"
} | [
{
"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": "56efc9",
"default": false,
"description": "_metadata, .attrs",
"id": 1539579994,
"name": "metadata",
"node_id": "MDU6TGFiZWwxNTM5NTc5OTk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata"
},
{
"color": "abf98b",
"default": false,
"description": "Subclassing pandas objects",
"id": 2559562239,
"name": "Subclassing",
"node_id": "MDU6TGFiZWwyNTU5NTYyMjM5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Subclassing"
}
] | 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"
} | 4 | "2021-08-24T16:59:23Z" | "2021-10-06T01:08:43Z" | "2021-10-06T01:08: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.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import functools
class SubclassedSeries(pd.Series):
@property
def _constructor(self):
return SubclassedSeries
@property
def _constructor_expanddim(self):
return SubclassedDataFrame
class SubclassedDataFrame(pd.DataFrame):
_metadata = ['my_extra_data']
def __init__(self, my_extra_data, *args, **kwargs):
self.my_extra_data = my_extra_data
super().__init__(*args, **kwargs)
@property
def _constructor(self):
return functools.partial(self.__class__, self.my_extra_data)
@property
def _constructor_sliced(self):
return SubclassedSeries
x = SubclassedDataFrame("some_data", {"A":[1,2,3], "B":[4,5,6]})
x*2
```
#### Problem description
This code raises an exception, ultimately because function ```_dispatch_frame_op``` in \pandas\core\frame.py returns ```type(self)(bm)```. Shouldn't instead return ```self._constructor(bm)```?
#### Expected Output
```python
A B
0 2 8
1 4 10
2 6 12
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-81-generic
Version : #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.3.2
numpy : 1.20.1
pytz : 2019.3
dateutil : 2.7.3
pip : 21.0.1
setuptools : 45.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 : 2.11.3
IPython : 7.21.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.4
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.1
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/43201/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43201/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43202 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43202/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43202/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43202/events | https://github.com/pandas-dev/pandas/issues/43202 | 978,482,494 | MDU6SXNzdWU5Nzg0ODI0OTQ= | 43,202 | BUG: NotFoundException from to_gbq when replacing table in project different from `project_id` parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/6879774?v=4",
"events_url": "https://api.github.com/users/wnojopra/events{/privacy}",
"followers_url": "https://api.github.com/users/wnojopra/followers",
"following_url": "https://api.github.com/users/wnojopra/following{/other_user}",
"gists_url": "https://api.github.com/users/wnojopra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wnojopra",
"id": 6879774,
"login": "wnojopra",
"node_id": "MDQ6VXNlcjY4Nzk3NzQ=",
"organizations_url": "https://api.github.com/users/wnojopra/orgs",
"received_events_url": "https://api.github.com/users/wnojopra/received_events",
"repos_url": "https://api.github.com/users/wnojopra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wnojopra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wnojopra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wnojopra"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
] | 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-08-24T21:01:08Z" | "2021-08-24T21:15:06Z" | "2021-08-24T21:08:51Z" | 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(
{
"A": pd.Series(1, index=list(range(2)))
}
)
# 0) Start with an empty test_dataset. test_table does not exist at this point.
# 1) This successfully creates a table named test_table in dataset test_dataset in project willyn_data_project
df.to_gbq('willyn_data_project.test_dataset.test_table', project_id='willyn_job_project')
# 2) This fails with pandas_gbq.gbq.NotFoundException: Table does not exist
df.to_gbq('willyn_data_project.test_dataset.test_table', project_id='willyn_job_project', if_exists='replace')
```
#### Problem description
I am working on a project where researchers can write to a dataset in one GCP project, but must run query jobs in another. In the above code example, `willyn_data_project` is the name of the project that contains the dataset, and `willyn_job_project` is the name of the project where query jobs are executed.
When attempting to use `if_exists='replace'`, we get the error `pandas_gbq.gbq.NotFoundException: Table does not exist`. I believe what is happening is we are attempting to delete a table from `willyn_job_project`, when we should be deleting a table in `willyn_data_project`.
#### Expected Output
No error.
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.9.2.final.0
python-bits : 64
OS : Linux
OS-release : 5.10.40-1rodete2-amd64
Version : #1 SMP Debian 5.10.40-1rodete2 (2021-06-22)
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.2
numpy : 1.19.5
pytz : 2021.1
dateutil : 2.8.1
pip : 20.3.4
setuptools : 52.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : 0.15.0
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : 0.8.7
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/43202/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43202/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43203 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43203/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43203/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43203/events | https://github.com/pandas-dev/pandas/pull/43203 | 978,650,016 | MDExOlB1bGxSZXF1ZXN0NzE5MjA0NzAx | 43,203 | REF: fast_xs avoid object dtype | {
"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": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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-08-25T02:47:24Z" | "2021-08-30T17:37:20Z" | "2021-08-30T15:56:24Z" | 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/43203/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43203/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43203.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43203",
"merged_at": "2021-08-30T15:56:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43203.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43203"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43204 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43204/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43204/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43204/events | https://github.com/pandas-dev/pandas/issues/43204 | 978,653,868 | MDU6SXNzdWU5Nzg2NTM4Njg= | 43,204 | BUG: to_frame and transpose called on a series don't maintain dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/32967797?v=4",
"events_url": "https://api.github.com/users/momomorphism/events{/privacy}",
"followers_url": "https://api.github.com/users/momomorphism/followers",
"following_url": "https://api.github.com/users/momomorphism/following{/other_user}",
"gists_url": "https://api.github.com/users/momomorphism/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/momomorphism",
"id": 32967797,
"login": "momomorphism",
"node_id": "MDQ6VXNlcjMyOTY3Nzk3",
"organizations_url": "https://api.github.com/users/momomorphism/orgs",
"received_events_url": "https://api.github.com/users/momomorphism/received_events",
"repos_url": "https://api.github.com/users/momomorphism/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/momomorphism/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/momomorphism/subscriptions",
"type": "User",
"url": "https://api.github.com/users/momomorphism"
} | [
{
"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 | [] | null | 4 | "2021-08-25T02:56:25Z" | "2021-08-25T15:19:24Z" | "2021-08-25T15:19:24Z" | NONE | null | - [ O] I have checked that this issue has not already been reported.
- [ O ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
```python
import pandas as pd
series_index = ["a", "b", "c"]
series_data = [1.0, 0, "X"]
series = pd.Series(index=series_index, data=series_data)
df_from_series = series.to_frame().T
print(df_from_series["a"].dtype)
# >> dtype('O')
df_from_constructor = pd.DataFrame(columns=series.index, data=[series.values])
print(df_from_constructor["a"].dtype)
# >> dtype('float64')
```
#### Problem description
When converting a series to a single row dataframe, dtypes are not maintained. This cause a problem when a subsequent groupby with sum is called, which dropped the now non-numeric column.
Above behaviour is inconsistent to the resulting dataframe initialized from the DataFrame constructor with the series index and values attribute passed.
Above behaviour has not been observed in previous versions and I can see some transpose() related changes in the release-notes.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
Can neither log into github from my corporate machine nor send the version information out without getting compliance issues, but pandas is 1.3.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/43204/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43204/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43205 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43205/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43205/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43205/events | https://github.com/pandas-dev/pandas/issues/43205 | 978,804,183 | MDU6SXNzdWU5Nzg4MDQxODM= | 43,205 | Combination of groupby with dropna set to True and apply function not returning expected output | {
"avatar_url": "https://avatars.githubusercontent.com/u/45828280?v=4",
"events_url": "https://api.github.com/users/deponovo/events{/privacy}",
"followers_url": "https://api.github.com/users/deponovo/followers",
"following_url": "https://api.github.com/users/deponovo/following{/other_user}",
"gists_url": "https://api.github.com/users/deponovo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/deponovo",
"id": 45828280,
"login": "deponovo",
"node_id": "MDQ6VXNlcjQ1ODI4Mjgw",
"organizations_url": "https://api.github.com/users/deponovo/orgs",
"received_events_url": "https://api.github.com/users/deponovo/received_events",
"repos_url": "https://api.github.com/users/deponovo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/deponovo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deponovo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/deponovo"
} | [
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "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-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"
} | 1 | "2021-08-25T07:18:02Z" | "2021-09-06T15:19:37Z" | "2021-09-06T15:19:37Z" | NONE | null | (Using pandas 1.3.1 and numpy 1.20.3)
This is a repetition of the SO question found [here](https://stackoverflow.com/questions/68918019/pandas-groupby-with-dropna-set-to-true/68918101?noredirect=1#comment121798992_68918101). (I did not have this issue previously when working with version 1.1.3).
In the following snippet:
```
import pandas as pd
import numpy as np
df = pd.DataFrame(
{
"a": [1, 2, 3, 4, 5, 6, 7, 8, 9],
"b": [1, np.nan, 1, np.nan, 2, 1, 2, np.nan, 1]
}
)
df_again = df.groupby("b", dropna=False).apply(lambda x: x)
```
I was expecting df and df_again to be identical. But they are not:
```
df
a b
0 1 1.0
1 2 NaN
2 3 1.0
3 4 NaN
4 5 2.0
5 6 1.0
6 7 2.0
7 8 NaN
8 9 1.0
df_again
a b
0 1 1.0
2 3 1.0
4 5 2.0
5 6 1.0
6 7 2.0
8 9 1.0
```
Now, if I tweak slightly the lambda expression slightly to "see" what is going on by `df.groupby("b", dropna=False).apply(lambda x: print(x))` I can actually visualize that also the portion of the `df` where `b` was `NaN` was processed. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43205/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43205/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43206 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43206/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43206/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43206/events | https://github.com/pandas-dev/pandas/issues/43206 | 978,969,400 | MDU6SXNzdWU5Nzg5Njk0MDA= | 43,206 | BUG: inconsistent `groupby.apply` behaviour depending on column dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/67697789?v=4",
"events_url": "https://api.github.com/users/od-crypto/events{/privacy}",
"followers_url": "https://api.github.com/users/od-crypto/followers",
"following_url": "https://api.github.com/users/od-crypto/following{/other_user}",
"gists_url": "https://api.github.com/users/od-crypto/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/od-crypto",
"id": 67697789,
"login": "od-crypto",
"node_id": "MDQ6VXNlcjY3Njk3Nzg5",
"organizations_url": "https://api.github.com/users/od-crypto/orgs",
"received_events_url": "https://api.github.com/users/od-crypto/received_events",
"repos_url": "https://api.github.com/users/od-crypto/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/od-crypto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/od-crypto/subscriptions",
"type": "User",
"url": "https://api.github.com/users/od-crypto"
} | [
{
"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"
},
{
"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"
}
] | 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"
} | 14 | "2021-08-25T10:16:56Z" | "2021-10-16T19:29:54Z" | null | NONE | null | I see strange `groupby.apply` behaviour: resulting index depends on the existence of the `Timestamp` dtype column. MWE:
```python
import pandas as pd
df = pd.DataFrame({
'date_val': {
0: pd.Timestamp('2017-01-01 00:00:00'),
1: pd.Timestamp('2017-01-01 00:00:00'),
2: pd.Timestamp('2017-02-01 00:00:00'),
3: pd.Timestamp('2017-02-01 00:00:00')
},
'uid': {
0: '1',
1: '2',
2: '1',
3: '2'
},
'str_val': {
0: str('2017-01-01 00:00:00'),
1: str('2017-01-01 00:00:00'),
2: str('2017-02-01 00:00:00'),
3: str('2017-02-01 00:00:00')
}
})
df1 = df.groupby('uid', as_index=False)[['uid', 'str_val', 'date_val']].apply(lambda x: x.sort_values(by='str_val',ascending=True))
df2 = df.groupby('uid', as_index=False)[['uid', 'str_val']].apply(lambda x: x.sort_values(by='str_val',ascending=True))
df3 = df.groupby('uid', as_index=False)[['uid', 'date_val']].apply(lambda x: x.sort_values(by='date_val',ascending=True))
print(df1)
print(df2)
print(df3)
```
Output:
```
uid str_val date_val
0 1 2017-01-01 00:00:00 2017-01-01
1 2 2017-01-01 00:00:00 2017-01-01
2 1 2017-02-01 00:00:00 2017-02-01
3 2 2017-02-01 00:00:00 2017-02-01
uid str_val
0 0 1 2017-01-01 00:00:00
2 1 2017-02-01 00:00:00
1 1 2 2017-01-01 00:00:00
3 2 2017-02-01 00:00:00
uid date_val
0 1 2017-01-01
1 2 2017-01-01
2 1 2017-02-01
3 2 2017-02-01
```
I expect the index to be like in the second output (`df2`). Indexes in `df1` and `df3` seem strange.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.0.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
Version : Darwin Kernel Version 18.7.0: Mon Apr 27 20:09:39 PDT 2020; root:xnu-4903.278.35~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.3.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.2
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.26.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.1
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/43206/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43206/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43207 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43207/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43207/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43207/events | https://github.com/pandas-dev/pandas/pull/43207 | 978,983,924 | MDExOlB1bGxSZXF1ZXN0NzE5NDcxNDcy | 43,207 | DOC: ecosystem pandas-stubs information | {
"avatar_url": "https://avatars.githubusercontent.com/u/63653095?v=4",
"events_url": "https://api.github.com/users/zkrolikowski-vl/events{/privacy}",
"followers_url": "https://api.github.com/users/zkrolikowski-vl/followers",
"following_url": "https://api.github.com/users/zkrolikowski-vl/following{/other_user}",
"gists_url": "https://api.github.com/users/zkrolikowski-vl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zkrolikowski-vl",
"id": 63653095,
"login": "zkrolikowski-vl",
"node_id": "MDQ6VXNlcjYzNjUzMDk1",
"organizations_url": "https://api.github.com/users/zkrolikowski-vl/orgs",
"received_events_url": "https://api.github.com/users/zkrolikowski-vl/received_events",
"repos_url": "https://api.github.com/users/zkrolikowski-vl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zkrolikowski-vl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zkrolikowski-vl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zkrolikowski-vl"
} | [
{
"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": 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"
} | 8 | "2021-08-25T10:33:03Z" | "2021-09-09T06:30:25Z" | "2021-09-09T00:19:44Z" | CONTRIBUTOR | 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
Added information about pandas-stubs to both the .rst and .md ecosystem doc files.
closes https://github.com/pandas-dev/pandas/issues/43197 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 1,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43207/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43207/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43207.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43207",
"merged_at": "2021-09-09T00:19:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43207.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43207"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43208 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43208/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43208/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43208/events | https://github.com/pandas-dev/pandas/issues/43208 | 978,991,057 | MDU6SXNzdWU5Nzg5OTEwNTc= | 43,208 | ENH: add converters to Dataframe constructor | {
"avatar_url": "https://avatars.githubusercontent.com/u/36459148?v=4",
"events_url": "https://api.github.com/users/evoludigit/events{/privacy}",
"followers_url": "https://api.github.com/users/evoludigit/followers",
"following_url": "https://api.github.com/users/evoludigit/following{/other_user}",
"gists_url": "https://api.github.com/users/evoludigit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/evoludigit",
"id": 36459148,
"login": "evoludigit",
"node_id": "MDQ6VXNlcjM2NDU5MTQ4",
"organizations_url": "https://api.github.com/users/evoludigit/orgs",
"received_events_url": "https://api.github.com/users/evoludigit/received_events",
"repos_url": "https://api.github.com/users/evoludigit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/evoludigit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/evoludigit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/evoludigit"
} | [
{
"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": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] | closed | false | null | [] | null | 2 | "2021-08-25T10:41:32Z" | "2021-08-26T13:00:00Z" | "2021-08-26T13:00:00Z" | NONE | null | #### Is your feature request related to a problem?
I am using pandas to read both csv files and lists of lists.
I have a dictionary mapping some colum headers to a conversion function:
`dict_converters = {"column_a": func_a, "column_b": func_b, "column_e": func_a} `
I find the converters argument in pandas.read_csv to be very useful to pass a dictionary mapping columns to functions so as to apply a bunch of transformations in a single pass:
`df = pd.read_csv("data.csv", converters=dict_converters)`
Doing the same for a dataframe constructed from a list of lists implies to iterate over each transformation:
```
df = pd.DataFrame(data[1:], columns=data[0])
for k, v in dict_converters.items():
df[k] = df[k].apply(v)
```
#### The solution I would like
It would be nice to be able to use the same syntax as in the read_csv function:
`df = pd.DataFrame(data[1:], columns=data[0], converters=dict_converters)`
#### API breaking implications
Not sure, but as an added feature this should maintain backward compatibility.
#### Example code
[data.csv](https://github.com/pandas-dev/pandas/files/7046279/data.csv)
[converters.py.md](https://github.com/pandas-dev/pandas/files/7046291/converters.py.md)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43208/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43208/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43209 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43209/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43209/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43209/events | https://github.com/pandas-dev/pandas/issues/43209 | 979,005,022 | MDU6SXNzdWU5NzkwMDUwMjI= | 43,209 | BUG: groupby aggregation methods produce empty DataFrame with mixed DataTypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/10251695?v=4",
"events_url": "https://api.github.com/users/johanneselbs/events{/privacy}",
"followers_url": "https://api.github.com/users/johanneselbs/followers",
"following_url": "https://api.github.com/users/johanneselbs/following{/other_user}",
"gists_url": "https://api.github.com/users/johanneselbs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/johanneselbs",
"id": 10251695,
"login": "johanneselbs",
"node_id": "MDQ6VXNlcjEwMjUxNjk1",
"organizations_url": "https://api.github.com/users/johanneselbs/orgs",
"received_events_url": "https://api.github.com/users/johanneselbs/received_events",
"repos_url": "https://api.github.com/users/johanneselbs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/johanneselbs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johanneselbs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/johanneselbs"
} | [
{
"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": "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"
},
{
"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": "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": "547c03",
"default": false,
"description": "sum, mean, min, max, etc.",
"id": 2365504383,
"name": "Reduction Operations",
"node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations"
}
] | closed | false | null | [] | {
"closed_at": "2021-10-17T11:06:28Z",
"closed_issues": 77,
"created_at": "2021-09-10T19:48:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-10-17T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/90",
"id": 7142224,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels",
"node_id": "MI_kwDOAA0YD84AbPtQ",
"number": 90,
"open_issues": 0,
"state": "closed",
"title": "1.3.4",
"updated_at": "2021-10-18T11:00:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90"
} | 2 | "2021-08-25T10:58:27Z" | "2021-09-29T22:47:17Z" | "2021-09-29T22:47: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.
- [ ] (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([[1, 2, 3, 4, 5, 6]]*3)
df.columns = pd.MultiIndex.from_product([['a', 'b'], ['i', 'j', 'k']])
print('all normal int:')
print(df.groupby(level=1, axis=1).sum())
for col in df.columns:
if col[-1] == 'j':
df[col] = df[col].astype('Int64')
print('mixed int:')
print(df.groupby(level=1, axis=1).sum())
for col in df.columns:
df[col] = df[col].astype('Int64')
print('all nullable int:')
print(df.groupby(level=1, axis=1).sum())
```
#### Problem description
If columns have mixed datatypes, in the example partially normal ints and partially nullable ints, several aggregation methods in the example .sum(), of the DataFrameGroupBy objects unexpectedly return empty DataFrames. This behavior was not yet present in version 1.2.5.
#### Expected Output
Output should be the same for mixed and non mixed
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : c7f7443c1bad8262358114d5e88cd9c8a308e8aa
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-1127.19.1.el7.x86_64
Version : #1 SMP Tue Aug 11 19:12:04 EDT 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C
LOCALE : None.None
pandas : 1.3.1
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.3
setuptools : 52.0.0.post20210125
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : 4.1.2
blosc : None
feather : 0.4.1
xlsxwriter : 1.4.5
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.26.0
pandas_datareader: None
bs4 : None
bottleneck : 1.3.2
fsspec : 2021.07.0
fastparquet : None
gcsfs : None
matplotlib : 3.2.0
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : 1.4.22
tables : 3.6.1
tabulate : None
xarray : 0.19.0
xlrd : 2.0.1
xlwt : 1.3.0
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/43209/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43209/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43210 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43210/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43210/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43210/events | https://github.com/pandas-dev/pandas/pull/43210 | 979,089,593 | MDExOlB1bGxSZXF1ZXN0NzE5NTU1NzM5 | 43,210 | TST: categorical reindex with added categories | {
"avatar_url": "https://avatars.githubusercontent.com/u/8259394?v=4",
"events_url": "https://api.github.com/users/Sheogorath27/events{/privacy}",
"followers_url": "https://api.github.com/users/Sheogorath27/followers",
"following_url": "https://api.github.com/users/Sheogorath27/following{/other_user}",
"gists_url": "https://api.github.com/users/Sheogorath27/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Sheogorath27",
"id": 8259394,
"login": "Sheogorath27",
"node_id": "MDQ6VXNlcjgyNTkzOTQ=",
"organizations_url": "https://api.github.com/users/Sheogorath27/orgs",
"received_events_url": "https://api.github.com/users/Sheogorath27/received_events",
"repos_url": "https://api.github.com/users/Sheogorath27/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Sheogorath27/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sheogorath27/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Sheogorath27"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 8 | "2021-08-25T12:29:47Z" | "2021-08-30T18:23:18Z" | "2021-08-30T16:50:38Z" | CONTRIBUTOR | null | - [x] closes #42424
- [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
The bug is specifically in the Interval index. The error arises in the example code from the issue while reindexing the categorical index with another categorical index(with new categories).
The test (test_cut_with_nonexact_categorical_indices) from PR [42425](https://github.com/pandas-dev/pandas/pull/42425) implicitly works in a similar way.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43210/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43210/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43210.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43210",
"merged_at": "2021-08-30T16:50:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43210.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43210"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43211 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43211/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43211/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43211/events | https://github.com/pandas-dev/pandas/pull/43211 | 979,126,991 | MDExOlB1bGxSZXF1ZXN0NzE5NTgzODky | 43,211 | Bug resolve | {
"avatar_url": "https://avatars.githubusercontent.com/u/72978243?v=4",
"events_url": "https://api.github.com/users/soni-muskan1234/events{/privacy}",
"followers_url": "https://api.github.com/users/soni-muskan1234/followers",
"following_url": "https://api.github.com/users/soni-muskan1234/following{/other_user}",
"gists_url": "https://api.github.com/users/soni-muskan1234/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/soni-muskan1234",
"id": 72978243,
"login": "soni-muskan1234",
"node_id": "MDQ6VXNlcjcyOTc4MjQz",
"organizations_url": "https://api.github.com/users/soni-muskan1234/orgs",
"received_events_url": "https://api.github.com/users/soni-muskan1234/received_events",
"repos_url": "https://api.github.com/users/soni-muskan1234/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/soni-muskan1234/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/soni-muskan1234/subscriptions",
"type": "User",
"url": "https://api.github.com/users/soni-muskan1234"
} | [] | closed | false | null | [] | null | 4 | "2021-08-25T13:05:54Z" | "2021-08-31T16:01:35Z" | "2021-08-31T16:01:34Z" | NONE | null |
changed file generic.py and style.py
replaced if axis in [...] with get_axis_number(axis)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43211/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43211/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43211.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43211",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43211.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43211"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43212 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43212/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43212/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43212/events | https://github.com/pandas-dev/pandas/issues/43212 | 979,475,977 | MDU6SXNzdWU5Nzk0NzU5Nzc= | 43,212 | BUG: MultiIndex.putmask | {
"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": "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"
} | 1 | "2021-08-25T17:44:51Z" | "2021-08-30T15:12:24Z" | "2021-08-30T15:12:24Z" | MEMBER | null | ```
left = pd.MultiIndex.from_tuples([(np.nan, 6), (np.nan, 6), ("a", 4)])
right = pd.MultiIndex.from_tuples([("a", 1), ("a", 1), ("d", 1)])
mask = np.array([True, True, False])
result = left.putmask(mask, right)
>>> result
[...]
IndexError: list index out of range
```
The result here somehow ended up with `len(result.levels) == 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/43212/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43212/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43213 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43213/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43213/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43213/events | https://github.com/pandas-dev/pandas/pull/43213 | 979,524,136 | MDExOlB1bGxSZXF1ZXN0NzE5OTI0MDY0 | 43,213 | BUG: groupby agg fails silently with mixed dtypes | {
"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": "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"
},
{
"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-10-17T11:06:28Z",
"closed_issues": 77,
"created_at": "2021-09-10T19:48:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-10-17T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/90",
"id": 7142224,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels",
"node_id": "MI_kwDOAA0YD84AbPtQ",
"number": 90,
"open_issues": 0,
"state": "closed",
"title": "1.3.4",
"updated_at": "2021-10-18T11:00:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90"
} | 20 | "2021-08-25T18:49:07Z" | "2021-10-19T22:02:01Z" | "2021-09-29T22:47:18Z" | CONTRIBUTOR | null | - [x] closes #43209
- [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/43213/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43213/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43213.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43213",
"merged_at": "2021-09-29T22:47:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43213.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43213"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43214 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43214/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43214/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43214/events | https://github.com/pandas-dev/pandas/issues/43214 | 979,568,429 | MDU6SXNzdWU5Nzk1Njg0Mjk= | 43,214 | CLN: avoid use of service account keys in `to_gbq` and `read_gbq` tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/247555?v=4",
"events_url": "https://api.github.com/users/tswast/events{/privacy}",
"followers_url": "https://api.github.com/users/tswast/followers",
"following_url": "https://api.github.com/users/tswast/following{/other_user}",
"gists_url": "https://api.github.com/users/tswast/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tswast",
"id": 247555,
"login": "tswast",
"node_id": "MDQ6VXNlcjI0NzU1NQ==",
"organizations_url": "https://api.github.com/users/tswast/orgs",
"received_events_url": "https://api.github.com/users/tswast/received_events",
"repos_url": "https://api.github.com/users/tswast/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tswast/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tswast/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tswast"
} | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/247555?v=4",
"events_url": "https://api.github.com/users/tswast/events{/privacy}",
"followers_url": "https://api.github.com/users/tswast/followers",
"following_url": "https://api.github.com/users/tswast/following{/other_user}",
"gists_url": "https://api.github.com/users/tswast/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tswast",
"id": 247555,
"login": "tswast",
"node_id": "MDQ6VXNlcjI0NzU1NQ==",
"organizations_url": "https://api.github.com/users/tswast/orgs",
"received_events_url": "https://api.github.com/users/tswast/received_events",
"repos_url": "https://api.github.com/users/tswast/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tswast/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tswast/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tswast"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/247555?v=4",
"events_url": "https://api.github.com/users/tswast/events{/privacy}",
"followers_url": "https://api.github.com/users/tswast/followers",
"following_url": "https://api.github.com/users/tswast/following{/other_user}",
"gists_url": "https://api.github.com/users/tswast/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tswast",
"id": 247555,
"login": "tswast",
"node_id": "MDQ6VXNlcjI0NzU1NQ==",
"organizations_url": "https://api.github.com/users/tswast/orgs",
"received_events_url": "https://api.github.com/users/tswast/received_events",
"repos_url": "https://api.github.com/users/tswast/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tswast/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tswast/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tswast"
}
] | null | 2 | "2021-08-25T19:51:41Z" | "2021-08-26T18:26:35Z" | "2021-08-26T18:26:35Z" | CONTRIBUTOR | null | The GCP project we (are? were?) using to test the `to_gbq` and `read_gbq` is scheduled to get a policy applied to it that prevents the use of service account key files. https://cloud.google.com/resource-manager/docs/organization-policy/restricting-service-accounts#disable_service_account_key_creation
In anticipation of this change:
1. Are the `to_gbq` and `read_gbq` tests still running in the CI for this project? It's been a while since I've last looked and I've forgotten where they would be running.
2. If they are running somewhere and we want to continue running them, we need to do something about this upcoming restriction.
a. Ideally we'd migrate these tests to a service that doesn't require a GCP service account key file to connect to BigQuery. [Cloud Build](https://cloud.google.com/build) could be a good candidate, as it has a service account associated with it that doesn't require a key file. I could help migrate these tests if that's what we choose to do.
b. We continue to use a key file, but it'd have to be a project not associated with Google. This may be more difficult to get billing figured out (not that the tests actually cost that much to run, but there's overhead in getting the billing accounts setup plus whomever sets them up is a bit at risk if someone abuses the credentials)
I'd appreciate your thoughts so that we can continue to ensure these methods work well. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43214/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43214/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43215 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43215/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43215/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43215/events | https://github.com/pandas-dev/pandas/issues/43215 | 979,579,754 | MDU6SXNzdWU5Nzk1Nzk3NTQ= | 43,215 | TYP: Type hints in merge incorrect for ``on`` | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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"
}
] | open | false | null | [] | null | 0 | "2021-08-25T20:07:42Z" | "2021-08-25T20:09:13Z" | null | MEMBER | null | The type hints for merge
```
on: IndexLabel | None = None,
left_on: IndexLabel | None = None,
right_on: IndexLabel | None = None,
```
imply that we pass keys here.
We have tests, which pass arrays as on argument, for example
``test_handle_join_key_pass_array``
Not sure if this is tested well...
related: #42844 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43215/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43215/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43216 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43216/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43216/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43216/events | https://github.com/pandas-dev/pandas/pull/43216 | 979,666,182 | MDExOlB1bGxSZXF1ZXN0NzIwMDQ0NjM1 | 43,216 | TYP: assorted | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": 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-08-25T22:25:28Z" | "2021-09-02T23:23:06Z" | "2021-09-02T23:19:34Z" | 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/43216/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43216/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43216.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43216",
"merged_at": "2021-09-02T23:19:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43216.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43216"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43217 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43217/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43217/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43217/events | https://github.com/pandas-dev/pandas/pull/43217 | 979,666,471 | MDExOlB1bGxSZXF1ZXN0NzIwMDQ0ODgz | 43,217 | REF: avoid need for get_join_target in join_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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": 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-08-25T22:26:06Z" | "2021-09-03T01:20:35Z" | "2021-09-02T23:17:03Z" | MEMBER | null | Avoid a use of get_join_target to move towards allowing arbitrary EA-backed 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/43217/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43217/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43217.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43217",
"merged_at": "2021-09-02T23:17:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43217.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43217"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43218 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43218/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43218/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43218/events | https://github.com/pandas-dev/pandas/pull/43218 | 979,668,165 | MDExOlB1bGxSZXF1ZXN0NzIwMDQ2MzMy | 43,218 | TST: unhoused test_offsets fn to custom business hour (#27045) | {
"avatar_url": "https://avatars.githubusercontent.com/u/17751774?v=4",
"events_url": "https://api.github.com/users/felixDulys/events{/privacy}",
"followers_url": "https://api.github.com/users/felixDulys/followers",
"following_url": "https://api.github.com/users/felixDulys/following{/other_user}",
"gists_url": "https://api.github.com/users/felixDulys/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/felixDulys",
"id": 17751774,
"login": "felixDulys",
"node_id": "MDQ6VXNlcjE3NzUxNzc0",
"organizations_url": "https://api.github.com/users/felixDulys/orgs",
"received_events_url": "https://api.github.com/users/felixDulys/received_events",
"repos_url": "https://api.github.com/users/felixDulys/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/felixDulys/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/felixDulys/subscriptions",
"type": "User",
"url": "https://api.github.com/users/felixDulys"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | 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-08-25T22:29:44Z" | "2021-08-28T05:42:58Z" | "2021-08-27T23:56:07Z" | CONTRIBUTOR | null | - [ ] xref #27085 (chips away at, yes)
- [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
* https://github.com/pandas-dev/pandas/pull/42284
* https://github.com/pandas-dev/pandas/pull/42896
* https://github.com/pandas-dev/pandas/pull/42909
* https://github.com/pandas-dev/pandas/pull/42930
* https://github.com/pandas-dev/pandas/pull/42932
* https://github.com/pandas-dev/pandas/pull/42952
* https://github.com/pandas-dev/pandas/pull/42989
* https://github.com/pandas-dev/pandas/pull/42990
* https://github.com/pandas-dev/pandas/pull/42991 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43218/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43218/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43218.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43218",
"merged_at": "2021-08-27T23:56:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43218.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43218"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43219 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43219/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43219/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43219/events | https://github.com/pandas-dev/pandas/pull/43219 | 979,691,093 | MDExOlB1bGxSZXF1ZXN0NzIwMDY1OTk5 | 43,219 | BUG: MultiIndex.putmask | {
"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": "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-08-25T23:22:20Z" | "2021-08-30T15:33:34Z" | "2021-08-30T15:12:24Z" | MEMBER | null | - [x] closes #43212
- [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/43219/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43219/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43219.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43219",
"merged_at": "2021-08-30T15:12:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43219.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43219"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43220 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43220/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43220/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43220/events | https://github.com/pandas-dev/pandas/pull/43220 | 979,696,711 | MDExOlB1bGxSZXF1ZXN0NzIwMDcwODEy | 43,220 | REF: use _get_axis_number instead of if axis in [...] | {
"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 | false | null | [] | null | 2 | "2021-08-25T23:37:43Z" | "2021-08-26T15:07:15Z" | "2021-08-26T11:20:36Z" | NONE | null | - [x] Added _get_axis_number in style.py as per the standards | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43220/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43220/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43220.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43220",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43220.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43220"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43221 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43221/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43221/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43221/events | https://github.com/pandas-dev/pandas/pull/43221 | 979,817,310 | MDExOlB1bGxSZXF1ZXN0NzIwMTY4MTcx | 43,221 | REF: share Index.putmask with ExtensionIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | 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-08-26T04:18:49Z" | "2021-09-01T15:55:44Z" | "2021-09-01T15:50:51Z" | 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/43221/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43221/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43221.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43221",
"merged_at": "2021-09-01T15:50:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43221.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43221"
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.