url stringlengths 55 59 | repository_url stringclasses 1
value | labels_url stringlengths 69 73 | comments_url stringlengths 64 68 | events_url stringlengths 62 66 | html_url stringlengths 44 49 | id int64 338k 1.06B | node_id stringlengths 18 32 | number int64 1 44.6k | title stringlengths 1 590 | user dict | labels listlengths 0 9 | state stringclasses 2
values | locked bool 2
classes | assignee dict | assignees listlengths 0 5 | milestone dict | comments int64 0 477 | created_at timestamp[us, tz=UTC] | updated_at timestamp[us, tz=UTC] | closed_at timestamp[us, tz=UTC] | author_association stringclasses 3
values | active_lock_reason stringclasses 4
values | body stringlengths 0 251k ⌀ | reactions dict | timeline_url stringlengths 64 68 | performed_via_github_app float64 | draft float64 0 1 ⌀ | pull_request dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/38019 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38019/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38019/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38019/events | https://github.com/pandas-dev/pandas/pull/38019 | 748,934,956 | MDExOlB1bGxSZXF1ZXN0NTI1ODQwNDc2 | 38,019 | TST/REF: collect Index setops tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-23T16:13:30Z | 2020-11-24T15:26:27Z | 2020-11-24T13:26:16Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38019/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38019/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38019.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38019",
"merged_at": "2020-11-24T13:26:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38019.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38019"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38020 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38020/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38020/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38020/events | https://github.com/pandas-dev/pandas/pull/38020 | 748,946,742 | MDExOlB1bGxSZXF1ZXN0NTI1ODQ5OTQ3 | 38,020 | BUG: algos.isin numeric vs datetimelike | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-23T16:28:22Z | 2020-11-25T22:11:40Z | 2020-11-25T22:05:48Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38020/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38020/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38020.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38020",
"merged_at": "2020-11-25T22:05:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38020.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38020"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38021 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38021/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38021/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38021/events | https://github.com/pandas-dev/pandas/pull/38021 | 749,013,241 | MDExOlB1bGxSZXF1ZXN0NTI1OTA0MDEx | 38,021 | ENH: support 2D in DatetimeArray._from_sequence | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "FCE94F",
"default": false,
"description": "Internal... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 5 | 2020-11-23T18:01:58Z | 2020-12-17T15:44:46Z | 2020-12-17T13:52:44Z | MEMBER | null | Broken off from a branch that fixes #37682, the constraint on which is that _validate_setitem_value needs to handle 2D. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38021/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38021/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38021.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38021",
"merged_at": "2020-12-17T13:52:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38021.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38021"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38022 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38022/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38022/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38022/events | https://github.com/pandas-dev/pandas/issues/38022 | 749,066,194 | MDU6SXNzdWU3NDkwNjYxOTQ= | 38,022 | STYLE use types_or in pre-commit | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "0e8a16",
"default... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/22396042?v=4",
"events_url": "https://api.github.com/users/rkc007/events{/privacy}",
"followers_url": "https://api.github.com/users/rkc007/followers",
"following_url": "https://api.github.com/users/rkc007/following{/other_user}",
"gists_url": "https://api.github.com/users/rkc007/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rkc007",
"id": 22396042,
"login": "rkc007",
"node_id": "MDQ6VXNlcjIyMzk2MDQy",
"organizations_url": "https://api.github.com/users/rkc007/orgs",
"received_events_url": "https://api.github.com/users/rkc007/received_events",
"repos_url": "https://api.github.com/users/rkc007/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rkc007/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rkc007/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rkc007"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/22396042?v=4",
"events_url": "https://api.github.com/users/rkc007/events{/privacy}",
"followers_url": "https://api.github.com/users/rkc007/followers",
"following_url": "https://api.github.com/users/rkc007/following{/other_user}",
"gists_ur... | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 7 | 2020-11-23T19:28:22Z | 2020-12-16T00:46:50Z | 2020-12-16T00:46:50Z | MEMBER | null | [pre-commit 2.9 adds support for types_or](https://github.com/pre-commit/pre-commit/releases/tag/v2.9.0), which would help clear up some of the less readable regexes like `\.(py|pyx|rst)$`, replacing them with `types_or: [python, cython, rst]` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38022/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38022/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38023 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38023/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38023/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38023/events | https://github.com/pandas-dev/pandas/issues/38023 | 749,069,731 | MDU6SXNzdWU3NDkwNjk3MzE= | 38,023 | QST: Pandas without MKL? | {
"avatar_url": "https://avatars.githubusercontent.com/u/37801658?v=4",
"events_url": "https://api.github.com/users/flcong/events{/privacy}",
"followers_url": "https://api.github.com/users/flcong/followers",
"following_url": "https://api.github.com/users/flcong/following{/other_user}",
"gists_url": "https://api.github.com/users/flcong/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/flcong",
"id": 37801658,
"login": "flcong",
"node_id": "MDQ6VXNlcjM3ODAxNjU4",
"organizations_url": "https://api.github.com/users/flcong/orgs",
"received_events_url": "https://api.github.com/users/flcong/received_events",
"repos_url": "https://api.github.com/users/flcong/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/flcong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flcong/subscriptions",
"type": "User",
"url": "https://api.github.com/users/flcong"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2020-11-23T19:34:04Z | 2020-11-24T00:22:18Z | 2020-11-24T00:22:08Z | NONE | null | I build a small application that uses `pandas` and use `pyinstaller` to build `.exe` file. Since the default `numpy` uses MKL, which results in very large folder. I use `conda install conda-forge nomkl numpy` to install numpy without MKL. Then I install pandas using `conda install pandas`. The program works well. However, after I convert the code to `.exe` file. I encounter the following error from pandas:
```
Traceback (most recent call last):
File "\\VBoxSvr\twitterscraper\twitter_scraper_tweepy_Vader_V4.py", line 21, in <module>
File "c:\users\XXXX\miniconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
File "pandas\__init__.py", line 16, in <module>
ImportError: Unable to import required dependencies:
numpy: cannot import name '_mklinit' from partially initialized module 'mkl' (most likely due to a circular import) (C:\Users\XXXX\Documents\twitterscraper\dist\twitter_scraper_tweepy_Vader_V4\mkl\__init__.pyc)
[2136] Failed to execute script twitter_scraper_tweepy_Vader_V4
```
I'm not sure why, but it seems that pandas still requires MKL. I wonder if there is a version of pandas that does not require MKL?
I also tried to install pandas using `conda install conda-forge::blas=*=openblas pandas`. The problem remains.
Info of my system:
* OS: Win10
* Python: 3.8.3 (installed from Miniconda)
* Numpy: 1.19.4 (installed from `conda-forge` together with `nomkl` to use blas.
* Pandas: 1.1.3 (installed using `conda install pandas` or `conda install conda-forge::blas=*=openblas pandas`) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38023/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38023/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38024 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38024/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38024/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38024/events | https://github.com/pandas-dev/pandas/pull/38024 | 749,104,785 | MDExOlB1bGxSZXF1ZXN0NTI1OTc4MDEx | 38,024 | Revert "REF: back IntervalArray by a single ndarray (#37047)" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "009800",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 6 | 2020-11-23T20:32:49Z | 2020-11-24T19:22:32Z | 2020-11-24T17:35:58Z | MEMBER | null | This reverts commit 9cb372376fc78aa66e2559de919592007b74cfaa.
See discussion in https://github.com/pandas-dev/pandas/pull/37047/
@jbrockmendel can you give this a check? (there were already several conflicts) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38024/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38024/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38024.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38024",
"merged_at": "2020-11-24T17:35:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38024.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38024"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38025 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38025/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38025/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38025/events | https://github.com/pandas-dev/pandas/issues/38025 | 749,112,171 | MDU6SXNzdWU3NDkxMTIxNzE= | 38,025 | BUG: Setting a MultiIndex through set_index where one of the columns contains exclusively NaTs converts them to NaNs | {
"avatar_url": "https://avatars.githubusercontent.com/u/28331593?v=4",
"events_url": "https://api.github.com/users/Xnot/events{/privacy}",
"followers_url": "https://api.github.com/users/Xnot/followers",
"following_url": "https://api.github.com/users/Xnot/following{/other_user}",
"gists_url": "https://api.github.com/users/Xnot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Xnot",
"id": 28331593,
"login": "Xnot",
"node_id": "MDQ6VXNlcjI4MzMxNTkz",
"organizations_url": "https://api.github.com/users/Xnot/orgs",
"received_events_url": "https://api.github.com/users/Xnot/received_events",
"repos_url": "https://api.github.com/users/Xnot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Xnot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Xnot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Xnot"
} | [
{
"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": "d7... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/48494941?v=4",
"events_url": "https://api.github.com/users/AliSayyah/events{/privacy}",
"followers_url": "https://api.github.com/users/AliSayyah/followers",
"following_url": "https://api.github.com/users/AliSayyah/following{/other_user}",
"gists_url": "https://api.github.com/users/AliSayyah/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AliSayyah",
"id": 48494941,
"login": "AliSayyah",
"node_id": "MDQ6VXNlcjQ4NDk0OTQx",
"organizations_url": "https://api.github.com/users/AliSayyah/orgs",
"received_events_url": "https://api.github.com/users/AliSayyah/received_events",
"repos_url": "https://api.github.com/users/AliSayyah/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AliSayyah/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AliSayyah/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AliSayyah"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/48494941?v=4",
"events_url": "https://api.github.com/users/AliSayyah/events{/privacy}",
"followers_url": "https://api.github.com/users/AliSayyah/followers",
"following_url": "https://api.github.com/users/AliSayyah/following{/other_user}",
... | {
"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 | 2020-11-23T20:44:06Z | 2021-09-29T13:28:07Z | 2021-09-29T13:28:07Z | NONE | null | - [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
```python
import pandas as pd
df1 = pd.DataFrame({
"date": ["2015-03-22", pd.NaT],
"a": ["a", "aa"],
"b": [2, 3]
})
df1 = df1.set_index("date") # works as intended
print(df1)
df1 = df1.reset_index()
df1 = df1.set_index(["date", "a"]) # works as intended
print(df1)
df2 = pd.DataFrame({
"date": [pd.NaT, pd.NaT],
"a": ["a", "aa"],
"b": [2, 3]
})
df2 = df2.set_index("date") # works as intended
print(df2)
df2 = df2.reset_index()
df2 = df2.set_index(["date", "a"]) # date will be converted to NaN here
print(df2)
df3 = pd.DataFrame({
"date": [pd.NaT, pd.NaT],
"a": ["a", "aa"],
"b": [2, 3]
})
# working alternative, but at what cost
df3.index = pd.MultiIndex.from_frame(df3.loc[:, ["date", "a"]])
df3 = df3.drop(columns=["date", "a"])
print(df3)
df3.reset_index() # ValueError thrown here
```
python 3.8.3
pandas 1.1.3
This bug will not occur if the column in question contains any values other than NaT, nor if setting a single column as the index.
With df1, everything works as expected.
In df2 (identical to df1 except "date" contains exclusively pd.NaT values) when set_index is used with more than one column, the date level of the resulting MultiIndex has now been converted to NaNs.
With df3 (identical to df2), the use of set_index is circumvented and the MultiIndex is set as intended, however this now leads to another issue where attempting to use reset_index will throw "ValueError: cannot convert float NaN to integer".
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38025/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38025/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38026 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38026/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38026/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38026/events | https://github.com/pandas-dev/pandas/pull/38026 | 749,193,070 | MDExOlB1bGxSZXF1ZXN0NTI2MDUwMzE2 | 38,026 | Bug in loc raising KeyError when MultiIndex columns has only one level | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "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": "20... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-23T23:07:42Z | 2020-11-25T18:50:52Z | 2020-11-25T03:18:36Z | MEMBER | null | - [x] closes #29749
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
@jbrockmendel I think we should check for MultiIndex instead of level number 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/38026/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38026/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38026.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38026",
"merged_at": "2020-11-25T03:18:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38026.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38026"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38027 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38027/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38027/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38027/events | https://github.com/pandas-dev/pandas/pull/38027 | 749,215,605 | MDExOlB1bGxSZXF1ZXN0NTI2MDY4Nzcx | 38,027 | REF: Share code between NumericIndex subclasses | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e99695",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-24T00:03:27Z | 2020-11-26T16:26:45Z | 2020-11-26T16:20:06Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38027/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38027/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38027",
"merged_at": "2020-11-26T16:20:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38027"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38028 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38028/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38028/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38028/events | https://github.com/pandas-dev/pandas/pull/38028 | 749,298,079 | MDExOlB1bGxSZXF1ZXN0NTI2MTM4MDI0 | 38,028 | BUG: RangeIndex.difference with mismatched step | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-24T02:59:02Z | 2020-11-26T22:33:20Z | 2020-11-26T22:26:51Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38028/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38028/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38028.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38028",
"merged_at": "2020-11-26T22:26:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38028.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38028"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38029 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38029/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38029/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38029/events | https://github.com/pandas-dev/pandas/pull/38029 | 749,301,165 | MDExOlB1bGxSZXF1ZXN0NTI2MTQwMzk3 | 38,029 | BUG: unstack with missing levels results in incorrect index names | {
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "207de5",
"de... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | 2020-11-24T03:07:32Z | 2021-01-01T01:35:55Z | 2020-12-31T19:11:28Z | CONTRIBUTOR | null | - [x] closes #37510
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38029/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38029/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38029.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38029",
"merged_at": "2020-12-31T19:11:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38029.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38029"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38030 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38030/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38030/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38030/events | https://github.com/pandas-dev/pandas/pull/38030 | 749,321,780 | MDExOlB1bGxSZXF1ZXN0NTI2MTU2ODU0 | 38,030 | BUG: NumericIndex.insert(0, False) casting to int | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-24T04:02:27Z | 2020-11-26T19:00:04Z | 2020-11-26T17:26:00Z | MEMBER | null | - [x] closes #36319
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
xref #16277
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38030/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38030/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38030.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38030",
"merged_at": "2020-11-26T17:26:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38030.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38030"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38031 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38031/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38031/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38031/events | https://github.com/pandas-dev/pandas/issues/38031 | 749,324,079 | MDU6SXNzdWU3NDkzMjQwNzk= | 38,031 | the .corr method filter the columns to only keep the numerical columns before apply any corr calclation. | {
"avatar_url": "https://avatars.githubusercontent.com/u/25996703?v=4",
"events_url": "https://api.github.com/users/z7ye/events{/privacy}",
"followers_url": "https://api.github.com/users/z7ye/followers",
"following_url": "https://api.github.com/users/z7ye/following{/other_user}",
"gists_url": "https://api.github.com/users/z7ye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/z7ye",
"id": 25996703,
"login": "z7ye",
"node_id": "MDQ6VXNlcjI1OTk2NzAz",
"organizations_url": "https://api.github.com/users/z7ye/orgs",
"received_events_url": "https://api.github.com/users/z7ye/received_events",
"repos_url": "https://api.github.com/users/z7ye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/z7ye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/z7ye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/z7ye"
} | [
{
"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": "Arithmet... | closed | false | null | [] | null | 2 | 2020-11-24T04:09:08Z | 2021-08-14T05:49:55Z | 2021-08-14T05:49:54Z | NONE | null | https://github.com/pandas-dev/pandas/blob/67a3d4241ab84419856b84fc3ebc9abcbe66c6b3/pandas/core/frame.py#L8127
the .corr method filter the columns to only keep the numerical columns before apply any corr calclation. one issue with that is if I would like to apply a callable method _cramer_v to calc the correlation between categorical features, the .corr will skip it. I think for callable method, it should not skip any type of columns | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38031/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38031/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38032 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38032/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38032/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38032/events | https://github.com/pandas-dev/pandas/issues/38032 | 749,330,860 | MDU6SXNzdWU3NDkzMzA4NjA= | 38,032 | BUG: series construction from dict of Timedelta scalar doesn't work | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 5 | 2020-11-24T04:28:02Z | 2020-12-12T23:23:56Z | 2020-12-12T23:23:56Z | MEMBER | null | Construction of `Series` from a dictionary of scalars sometimes fails:
#### Code Sample, a copy-pastable example
```python
In [31]: import pandas as pd
...: import pandas._testing as tm
...:
...: td = pd.Timedelta(nanoseconds=500)
...: ser = pd.Series({"a": td})
...: expected = pd.Series(td, index=["a"], dtype="timedelta64[ns]")
...:
...: tm.assert_series_equal(ser, expected)
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-31-a9c6a6312101> in <module>
6 expected = pd.Series(td, index=["a"], dtype="timedelta64[ns]")
7
----> 8 tm.assert_series_equal(ser, expected)
[... skipping hidden 1 frame]
~/repos/pandas/pandas/_testing.py in assert_extension_array_equal(left, right, check_dtype, index_values, check_less_precise, check_exact, rtol, atol)
1243 # Avoid slow object-dtype comparisons
1244 # np.asarray for case where we have a np.MaskedArray
-> 1245 assert_numpy_array_equal(
1246 np.asarray(left.asi8), np.asarray(right.asi8), index_values=index_values
1247 )
[... skipping hidden 1 frame]
~/repos/pandas/pandas/_testing.py in _raise(left, right, err_msg)
1155 diff = diff * 100.0 / left.size
1156 msg = f"{obj} values are different ({np.round(diff, 5)} %)"
-> 1157 raise_assert_detail(obj, msg, left, right, index_values=index_values)
1158
1159 raise AssertionError(err_msg)
~/repos/pandas/pandas/_testing.py in raise_assert_detail(obj, message, left, right, diff, index_values)
1085 msg += f"\n[diff]: {diff}"
1086
-> 1087 raise AssertionError(msg)
1088
1089
AssertionError: numpy array are different
numpy array values are different (100.0 %)
[index]: [a]
[left]: [500]
[right]: [0]
```
Ran on 1.2 master | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38032/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38032/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38033 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38033/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38033/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38033/events | https://github.com/pandas-dev/pandas/issues/38033 | 749,339,692 | MDU6SXNzdWU3NDkzMzk2OTI= | 38,033 | TST: dataframe constructor should preserve order with standard Python dicts | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 6 | 2020-11-24T04:51:48Z | 2020-12-02T03:04:37Z | 2020-12-02T03:04:37Z | MEMBER | null | We have a couple of dataframe tests (xref #13304) related to column ordering when constructed from an `OrderedDict`:
https://github.com/pandas-dev/pandas/blob/e4cf3abe0020aa801950e0383fffc13ee9703456/pandas/tests/frame/test_constructors.py#L1250-L1288
As of [PEP 468](https://www.python.org/dev/peps/pep-0468/) standard dictionaries are ordered so these tests should also work with `OrderedDict` replaced by `dict` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38033/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38033/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38034 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38034/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38034/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38034/events | https://github.com/pandas-dev/pandas/pull/38034 | 749,350,264 | MDExOlB1bGxSZXF1ZXN0NTI2MTgwMDc4 | 38,034 | ENH: preserve RangeIndex in factorize | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e99695",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-11-24T05:17:15Z | 2020-11-26T22:30:49Z | 2020-11-26T22:24:31Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38034/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38034/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38034.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38034",
"merged_at": "2020-11-26T22:24:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38034.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38034"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38035 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38035/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38035/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38035/events | https://github.com/pandas-dev/pandas/pull/38035 | 749,539,939 | MDExOlB1bGxSZXF1ZXN0NTI2MzQyNjEy | 38,035 | Backport PR #37986 on branch 1.1.x: REGR: fix inplace operations for EAs with non-EA arg | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 1 | 2020-11-24T09:36:48Z | 2020-11-25T10:53:11Z | 2020-11-25T10:52:56Z | MEMBER | null | Backport PR #37986 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38035/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38035/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38035.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38035",
"merged_at": "2020-11-25T10:52:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38035.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38035"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38036 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38036/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38036/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38036/events | https://github.com/pandas-dev/pandas/issues/38036 | 749,662,069 | MDU6SXNzdWU3NDk2NjIwNjk= | 38,036 | speed up apply calculation | {
"avatar_url": "https://avatars.githubusercontent.com/u/49912455?v=4",
"events_url": "https://api.github.com/users/Jacques2101/events{/privacy}",
"followers_url": "https://api.github.com/users/Jacques2101/followers",
"following_url": "https://api.github.com/users/Jacques2101/following{/other_user}",
"gists_url": "https://api.github.com/users/Jacques2101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jacques2101",
"id": 49912455,
"login": "Jacques2101",
"node_id": "MDQ6VXNlcjQ5OTEyNDU1",
"organizations_url": "https://api.github.com/users/Jacques2101/orgs",
"received_events_url": "https://api.github.com/users/Jacques2101/received_events",
"repos_url": "https://api.github.com/users/Jacques2101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jacques2101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jacques2101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jacques2101"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "207de5",
"default": false,
"descript... | closed | false | null | [] | null | 2 | 2020-11-24T12:23:41Z | 2020-11-24T17:15:14Z | 2020-11-24T17:15:14Z | NONE | null | Hi, I have a huge database with multi index ((8832, 14384)) from which I calculate some statistics with code like that :
```python
(df
.apply([
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
lambda x: ...,
], axis=1)
)
```
My problem is that it took **more than 5 min** to do the calculation (!!!!).
Is there a way to do it better ? Multiprocessing but don't know how to structure it ?
Thx | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38036/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38036/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38037 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38037/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38037/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38037/events | https://github.com/pandas-dev/pandas/issues/38037 | 749,673,072 | MDU6SXNzdWU3NDk2NzMwNzI= | 38,037 | KeyError in datetime pandas when accessing with datetime.date | {
"avatar_url": "https://avatars.githubusercontent.com/u/74967882?v=4",
"events_url": "https://api.github.com/users/Magneto49-3/events{/privacy}",
"followers_url": "https://api.github.com/users/Magneto49-3/followers",
"following_url": "https://api.github.com/users/Magneto49-3/following{/other_user}",
"gists_url": "https://api.github.com/users/Magneto49-3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Magneto49-3",
"id": 74967882,
"login": "Magneto49-3",
"node_id": "MDQ6VXNlcjc0OTY3ODgy",
"organizations_url": "https://api.github.com/users/Magneto49-3/orgs",
"received_events_url": "https://api.github.com/users/Magneto49-3/received_events",
"repos_url": "https://api.github.com/users/Magneto49-3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Magneto49-3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Magneto49-3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Magneto49-3"
} | [
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | open | false | null | [] | null | 5 | 2020-11-24T12:40:34Z | 2021-11-18T00:13:05Z | null | NONE | null | I've just upgrade Big Sur 11.0.1 and I'm facing some issue while trying to execute a notebook. Weird because it worked on Catalina. Could anyone help ?
```
import numpy as np
import pandas as pd
import yfinance as yf
# In[56]:
#parameters
RISKY_ASSET = 'ADBE'
START_DATE = '2017-01-01'
END_DATE = '2020-07-31'
# In[57]:
#Download data:
df = yf.download(RISKY_ASSET, start=START_DATE, end=END_DATE, adjusted=True)
# In[58]:
#daily return
adj_close = df['Adj Close']
returns = adj_close.pct_change().dropna()
print(f'Average return: {100 * returns.mean():.2f}%')
returns.plot(title=f'{RISKY_ASSET} returns: {START_DATE} - {END_DATE}')
# In[59]:
#Split the data into training and test sets:
train = returns['2017-01-01':'2020-06-30']
test = returns['2020-07-01':'2020-07-31']
# In[60]:
#parameters of the simulation:
T = len(test)
N = len(test)
S_0 = adj_close[train.index[-1].date()]
N_SIM = 1000
mu = train.mean()
sigma = train.std()
```
**And here the errors:**
```
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-7-9316c025c623> in <module>
2 T = len(test)
3 N = len(test)
----> 4 S_0 = adj_close[train.index[-1].date()]
5 N_SIM = 1000
6 mu = train.mean()
~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/series.py in __getitem__(self, key)
880
881 elif key_is_scalar:
--> 882 return self._get_value(key)
883
884 if is_hashable(key):
~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/series.py in _get_value(self, label, takeable)
987
988 # Similar to Index.get_value, but we do not fall back to positional
--> 989 loc = self.index.get_loc(label)
990 return self.index._get_values_for_loc(self, loc, label)
991
~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/datetimes.py in get_loc(self, key, method, tolerance)
620 else:
621 # unrecognized type
--> 622 raise KeyError(key)
623
624 try:
KeyError: datetime.date(2019, 12, 31) `
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38037/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38037/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38038 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38038/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38038/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38038/events | https://github.com/pandas-dev/pandas/issues/38038 | 749,678,978 | MDU6SXNzdWU3NDk2Nzg5Nzg= | 38,038 | REGR: Performance regression on RollingGroupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/25098269?v=4",
"events_url": "https://api.github.com/users/cpmbailey/events{/privacy}",
"followers_url": "https://api.github.com/users/cpmbailey/followers",
"following_url": "https://api.github.com/users/cpmbailey/following{/other_user}",
"gists_url": "https://api.github.com/users/cpmbailey/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cpmbailey",
"id": 25098269,
"login": "cpmbailey",
"node_id": "MDQ6VXNlcjI1MDk4MjY5",
"organizations_url": "https://api.github.com/users/cpmbailey/orgs",
"received_events_url": "https://api.github.com/users/cpmbailey/received_events",
"repos_url": "https://api.github.com/users/cpmbailey/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cpmbailey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cpmbailey/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cpmbailey"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 9 | 2020-11-24T12:49:16Z | 2020-12-01T09:12:37Z | 2020-12-01T09:12:37Z | NONE | null | pd.DataFrame({'a': np.random.randn(10000000), 'b': 1}).groupby('b').rolling(3).mean() is approximately 10x slower between 1.0.5 and 1.1.x | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38038/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38038/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38039 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38039/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38039/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38039/events | https://github.com/pandas-dev/pandas/issues/38039 | 749,781,680 | MDU6SXNzdWU3NDk3ODE2ODA= | 38,039 | Is possible pass `Series` to `groupby.head` ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10682573?v=4",
"events_url": "https://api.github.com/users/jesrael/events{/privacy}",
"followers_url": "https://api.github.com/users/jesrael/followers",
"following_url": "https://api.github.com/users/jesrael/following{/other_user}",
"gists_url": "https://api.github.com/users/jesrael/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jesrael",
"id": 10682573,
"login": "jesrael",
"node_id": "MDQ6VXNlcjEwNjgyNTcz",
"organizations_url": "https://api.github.com/users/jesrael/orgs",
"received_events_url": "https://api.github.com/users/jesrael/received_events",
"repos_url": "https://api.github.com/users/jesrael/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jesrael/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jesrael/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jesrael"
} | [
{
"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": "729FCF",
"default": false,
"description": null,
... | open | false | null | [] | null | 1 | 2020-11-24T14:59:50Z | 2021-08-14T05:53:21Z | null | NONE | null | From this [answer](https://stackoverflow.com/a/64988556/2901002) working returned first top groups from another column:
data = {'month': ['Jan','Jan','Jan','Jan','Feb','Feb','Feb','Feb','Feb','Feb'],
'userid': ['2345','2345','2345','2345', '2345','2345','2345','5678', '5678', '5678'],
'cntr': [3,3,3,3,1,1,1,2,2,2]}
df = pd.DataFrame(data = data, columns = ['month','userid','cntr'])
df1 = df.groupby(['month','userid']).head(df.cntr.astype(int))
print (df1)
month userid cntr
0 Jan 2345 3
1 Jan 2345 3
2 Jan 2345 3
4 Feb 2345 1
7 Feb 5678 2
8 Feb 5678 2
If different values is used first value of group:
data = {'month': ['Jan','Jan','Jan','Jan','Feb','Feb','Feb','Feb','Feb','Feb'],
'userid': ['2345','2345','2345','2345', '2345','2345','2345','5678', '5678', '5678'],
'cntr': [2,3,3,3,1,1,1,2,2,2]}
df = pd.DataFrame(data = data, columns = ['month','userid','cntr'])
df1 = df.groupby(['month','userid']).head(df.cntr.astype(int))
print (df1)
month userid cntr
0 Jan 2345 2
1 Jan 2345 3
2 Feb 2345 1
3 Feb 5678 2
4 Feb 5678 2
---
If it is valid way, why is not mentioned it in documentation, [link](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.GroupBy.head.html)?
If it is not valid, why not rase error?
Thank you.
If necessary:
print (pd.show_versions())
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 64
OS : Windows
OS-release : 7
Version : 6.1.7601
machine : AMD64
processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en
LOCALE : Slovak_Slovakia.1250
pandas : 1.1.2
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20200925
Cython : 0.29.21
pytest : 6.1.0
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : 1.3.4
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: 0.9.0
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.8.0
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.0
sqlalchemy : 1.3.19
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.51.2
None | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38039/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38039/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38040 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38040/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38040/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38040/events | https://github.com/pandas-dev/pandas/pull/38040 | 749,855,024 | MDExOlB1bGxSZXF1ZXN0NTI2NjAzMjUw | 38,040 | BUG: Series constructor drops nanoseconds of Timedelta scalar | {
"avatar_url": "https://avatars.githubusercontent.com/u/34522496?v=4",
"events_url": "https://api.github.com/users/ma3da/events{/privacy}",
"followers_url": "https://api.github.com/users/ma3da/followers",
"following_url": "https://api.github.com/users/ma3da/following{/other_user}",
"gists_url": "https://api.github.com/users/ma3da/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ma3da",
"id": 34522496,
"login": "ma3da",
"node_id": "MDQ6VXNlcjM0NTIyNDk2",
"organizations_url": "https://api.github.com/users/ma3da/orgs",
"received_events_url": "https://api.github.com/users/ma3da/received_events",
"repos_url": "https://api.github.com/users/ma3da/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ma3da/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ma3da/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ma3da"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
... | closed | false | null | [] | null | 4 | 2020-11-24T16:22:30Z | 2021-03-22T20:24:55Z | 2020-12-11T08:49:23Z | CONTRIBUTOR | null | - [x] closes #38032
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38040/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38040/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38040.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38040",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38040.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38040"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38041 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38041/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38041/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38041/events | https://github.com/pandas-dev/pandas/pull/38041 | 749,902,703 | MDExOlB1bGxSZXF1ZXN0NTI2NjQzMDk0 | 38,041 | BUG: pytables in py39 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "72e24d",
"default": false,
"descri... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 10 | 2020-11-24T17:26:35Z | 2020-11-25T15:28:59Z | 2020-11-25T03:58:19Z | MEMBER | null | There are failures I'm getting locally since homebrew bumped up to py39. I'm not seeing them on the CI, but they _did_ appear around the same time as these [different](https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=48423&view=logs&j=2d7fb38a-2053-50f3-a67c-09f6e91d3121&t=449937cc-3d50-56b5-5662-e489f41f1268) unexplained pytables failures started showing up. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38041/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38041/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38041.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38041",
"merged_at": "2020-11-25T03:58:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38041.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38041"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38042 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38042/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38042/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38042/events | https://github.com/pandas-dev/pandas/issues/38042 | 749,904,942 | MDU6SXNzdWU3NDk5MDQ5NDI= | 38,042 | ENH: groupby.apply axis=1 behavior | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
... | open | false | null | [] | null | 2 | 2020-11-24T17:29:44Z | 2020-11-28T17:16:18Z | null | MEMBER | null | xref #9772
```
df = pd.DataFrame({i:pd.Series(np.random.normal(size=10),
index=range(10)) for i in range(11)})
g = df.groupby(['a']*6+['b']*5, axis=1)
g.apply(lambda x : x.sum())
```
now raises, but used to give the (perhaps) surprising output
```
a b
0 -0.381070 NaN
1 -1.214075 NaN
2 -1.496252 NaN
3 3.392565 NaN
4 -0.782376 NaN
5 1.306043 NaN
6 NaN -1.772334
7 NaN 4.125280
8 NaN 1.992329
9 NaN 4.283854
10 NaN -4.791092
```
A fix for this (today and previously) would be to pass `axis=1` into the call to sum, but again I think that is viewed as unintuitive. In https://github.com/pandas-dev/pandas/issues/9772#issuecomment-723498819 I argued:
> ...when pandas feeds a group of values into the UDF, they are _not_ transposed. It seems reasonable to me to argue that they should be, but one technical hurdle here is what happens with a frame where the columns are different dtypes. Upon transposing, you now have columns of mixed dtypes, which are coerced to object type. So upon transposing the result back you lose type information. Since the UDF can return anything, there is no way to reliably determine that the resulting dtypes should be.
>
> Of course, an argument against transposing the group when passing it to the UDF is that this would be a rather large change for what seems to me to be of little value.
A few counter points that I've realized in the meantime:
- The case of multiple dtypes seems to me to be a very minor one, to the point of insignificance. Is there an example of a (somewhat natural) function that is applied to multiple dtypes where the resulting dtype does not get coerced correctly? I've played around with this in the code, the only such example in the tests is the identify function.
- This is notably not how `groupby(..., axis=1).transform` works, nor is it how apply/transform/agg with no groupby and `axis=1` work. These methods all feed in the row as a Series so that supplying `axis=1` results in an error.
I'm now of the opinion that transposing the inputs and results is more maintainable and easier to grok for users. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38042/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38042/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38043 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38043/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38043/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38043/events | https://github.com/pandas-dev/pandas/pull/38043 | 749,912,034 | MDExOlB1bGxSZXF1ZXN0NTI2NjUwOTA4 | 38,043 | TYP: Add cast to ABC Index-like types | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-11-24T17:40:31Z | 2020-12-06T14:03:54Z | 2020-11-28T17:46:03Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @simonjayhawkins
For the added type-ignore, the attribute `inferred_freq` is added dynamically onto the index instance. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38043/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38043/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38043.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38043",
"merged_at": "2020-11-28T17:46:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38043.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38043"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38044 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38044/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38044/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38044/events | https://github.com/pandas-dev/pandas/pull/38044 | 749,923,653 | MDExOlB1bGxSZXF1ZXN0NTI2NjYwMzY3 | 38,044 | CLN: Remove .values from groupby.sem | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": ... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-24T17:58:15Z | 2020-12-06T14:03:54Z | 2020-11-26T16:17:44Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Closure of #22046 allows removing the workaround. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38044/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38044/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38044",
"merged_at": "2020-11-26T16:17:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38044"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38045 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38045/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38045/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38045/events | https://github.com/pandas-dev/pandas/pull/38045 | 749,929,141 | MDExOlB1bGxSZXF1ZXN0NTI2NjY0OTQ2 | 38,045 | CLN: dont mix Int64Index into PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
},
{
"color": "207de5",
"default": false,
"description"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-24T18:07:05Z | 2020-11-26T18:50:07Z | 2020-11-26T17:34:48Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38045/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38045/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38045.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38045",
"merged_at": "2020-11-26T17:34:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38045.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38045"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38046 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38046/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38046/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38046/events | https://github.com/pandas-dev/pandas/issues/38046 | 749,971,877 | MDU6SXNzdWU3NDk5NzE4Nzc= | 38,046 | BUG: BDay() offsetting not behaving as expected | {
"avatar_url": "https://avatars.githubusercontent.com/u/63503907?v=4",
"events_url": "https://api.github.com/users/mhorsley30896/events{/privacy}",
"followers_url": "https://api.github.com/users/mhorsley30896/followers",
"following_url": "https://api.github.com/users/mhorsley30896/following{/other_user}",
"gists_url": "https://api.github.com/users/mhorsley30896/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mhorsley30896",
"id": 63503907,
"login": "mhorsley30896",
"node_id": "MDQ6VXNlcjYzNTAzOTA3",
"organizations_url": "https://api.github.com/users/mhorsley30896/orgs",
"received_events_url": "https://api.github.com/users/mhorsley30896/received_events",
"repos_url": "https://api.github.com/users/mhorsley30896/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mhorsley30896/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mhorsley30896/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mhorsley30896"
} | [
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "cdea3c",
"default": false,
"description... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/28800819?v=4",
"events_url": "https://api.github.com/users/theoniko/events{/privacy}",
"followers_url": "https://api.github.com/users/theoniko/followers",
"following_url": "https://api.github.com/users/theoniko/following{/other_user}",
"gists_url": "https://api.github.com/users/theoniko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/theoniko",
"id": 28800819,
"login": "theoniko",
"node_id": "MDQ6VXNlcjI4ODAwODE5",
"organizations_url": "https://api.github.com/users/theoniko/orgs",
"received_events_url": "https://api.github.com/users/theoniko/received_events",
"repos_url": "https://api.github.com/users/theoniko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/theoniko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/theoniko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/theoniko"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/28800819?v=4",
"events_url": "https://api.github.com/users/theoniko/events{/privacy}",
"followers_url": "https://api.github.com/users/theoniko/followers",
"following_url": "https://api.github.com/users/theoniko/following{/other_user}",
"gi... | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 6 | 2020-11-24T19:18:09Z | 2020-12-18T23:05:35Z | 2020-12-18T23:05:35Z | NONE | null | ```python
import pandas as pd
from pandas.tseries.offsets import CDay, BDay
idx = pd.bdate_range("2010/02/01","2010/02/15", freq='6H')
t1 = idx + BDay(offset=pd.Timedelta(3, unit='H'))
t2 = idx + CDay(offset=pd.Timedelta(3, unit='H'))
t1.equals(t2)
False
```
#### Problem description
BDay does not seem to be offsetting when a timedelta is supplied.
#### Expected Output
True
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.6.12.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-514.6.1.el7.x86_64
Version : #1 SMP Wed Jan 18 13:06:36 UTC 2017
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C
LOCALE : None.None
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : 0.29.21
pytest : 6.1.1
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.1
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: 0.9.0
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38046/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38046/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38047 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38047/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38047/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38047/events | https://github.com/pandas-dev/pandas/pull/38047 | 749,978,953 | MDExOlB1bGxSZXF1ZXN0NTI2NzA2NDk2 | 38,047 | DOC: Remove repeated words and wrong /it's/ usage | {
"avatar_url": "https://avatars.githubusercontent.com/u/6774676?v=4",
"events_url": "https://api.github.com/users/eumiro/events{/privacy}",
"followers_url": "https://api.github.com/users/eumiro/followers",
"following_url": "https://api.github.com/users/eumiro/following{/other_user}",
"gists_url": "https://api.github.com/users/eumiro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/eumiro",
"id": 6774676,
"login": "eumiro",
"node_id": "MDQ6VXNlcjY3NzQ2NzY=",
"organizations_url": "https://api.github.com/users/eumiro/orgs",
"received_events_url": "https://api.github.com/users/eumiro/received_events",
"repos_url": "https://api.github.com/users/eumiro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/eumiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eumiro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/eumiro"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-24T19:30:11Z | 2020-11-26T18:55:15Z | 2020-11-26T17:37:58Z | CONTRIBUTOR | null | - [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Remove (manually reviewed) repeated words from documentation/comments as well as wrong usage of `it's` (replaced by `its` where appropriated). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38047/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38047/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38047.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38047",
"merged_at": "2020-11-26T17:37:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38047.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38047"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38048 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38048/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38048/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38048/events | https://github.com/pandas-dev/pandas/pull/38048 | 750,122,797 | MDExOlB1bGxSZXF1ZXN0NTI2ODMxNjE5 | 38,048 | ENH: adding support for Py3.6+ memory tracing for khash-maps | {
"avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4",
"events_url": "https://api.github.com/users/realead/events{/privacy}",
"followers_url": "https://api.github.com/users/realead/followers",
"following_url": "https://api.github.com/users/realead/following{/other_user}",
"gists_url": "https://api.github.com/users/realead/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/realead",
"id": 17513912,
"login": "realead",
"node_id": "MDQ6VXNlcjE3NTEzOTEy",
"organizations_url": "https://api.github.com/users/realead/orgs",
"received_events_url": "https://api.github.com/users/realead/received_events",
"repos_url": "https://api.github.com/users/realead/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/realead/subscriptions",
"type": "User",
"url": "https://api.github.com/users/realead"
} | [
{
"color": "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": "ae68cc",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-24T22:48:40Z | 2020-11-27T08:15:07Z | 2020-11-26T17:43:44Z | CONTRIBUTOR | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Tracemalloc is a standard tool for tracing of memory consumption in Python. Until now khash-maps were invisible for this tool.
This PR follows more or less numpy's approach (see https://github.com/numpy/numpy/commit/03534ec90dba2bcdcd649be64be57939dde4c6f5) for adding tracemalloc-support.
This PR fixes also silly mistakes from #37920 (see https://github.com/pandas-dev/pandas/pull/38048/commits/3291ed198432a80eb559382fbf9a35cb6a8ad749) and the somewhat imprecise implementation of `sizeof` for `XXXHashTable`-classes.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38048/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38048/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38048.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38048",
"merged_at": "2020-11-26T17:43:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38048.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38048"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38049 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38049/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38049/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38049/events | https://github.com/pandas-dev/pandas/pull/38049 | 750,171,827 | MDExOlB1bGxSZXF1ZXN0NTI2ODc1MDQ1 | 38,049 | REF: share argmax axis validation test across all indexes | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e99695",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-25T00:10:51Z | 2020-11-26T18:52:17Z | 2020-11-26T17:55:27Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38049/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38049/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38049.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38049",
"merged_at": "2020-11-26T17:55:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38049.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38049"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38050 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38050/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38050/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38050/events | https://github.com/pandas-dev/pandas/pull/38050 | 750,250,082 | MDExOlB1bGxSZXF1ZXN0NTI2OTQ3NTgw | 38,050 | TST/REF: collect Index formatting tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "ededed",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-25T01:36:22Z | 2020-11-25T21:37:08Z | 2020-11-25T21:01:58Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38050/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38050/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38050.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38050",
"merged_at": "2020-11-25T21:01:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38050.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38050"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38051 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38051/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38051/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38051/events | https://github.com/pandas-dev/pandas/issues/38051 | 750,291,619 | MDU6SXNzdWU3NTAyOTE2MTk= | 38,051 | BUG: Index.drop raises on non-unique Index | {
"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": "e99695",
"default": false,
"description": "Related to the Index cla... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-25T02:21:50Z | 2020-12-02T23:28:04Z | 2020-12-02T23:28:04Z | MEMBER | null | ```
index = pd.Index(range(3)).repeat(2)
>>> index.drop(1)
Traceback (most recent call last):
[...]
pandas.errors.InvalidIndexError: Reindexing only valid with uniquely valued Index objects
```
It is using Index.get_indexer, which is only for uniques indexes. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38051/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38051/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38052 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38052/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38052/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38052/events | https://github.com/pandas-dev/pandas/pull/38052 | 750,296,304 | MDExOlB1bGxSZXF1ZXN0NTI2OTkwMTYz | 38,052 | BUG: get_indexer_non_unique not excluding boolean like get_indexer | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-25T02:26:54Z | 2020-11-26T18:48:00Z | 2020-11-26T17:56:18Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
There's a check in get_indexer that is missing from get_indexer_non_unique, which this adds. This is going to make some de-duplication easier.
Hard to find a user-facing example bc indexing with all-bool indexer we treat it as a mask and not a list of labels. The closest I got to a user-facing example was in Series.drop, but that ran in to #38051. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38052/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38052/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38052.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38052",
"merged_at": "2020-11-26T17:56:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38052.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38052"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38053 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38053/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38053/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38053/events | https://github.com/pandas-dev/pandas/issues/38053 | 750,318,938 | MDU6SXNzdWU3NTAzMTg5Mzg= | 38,053 | BUG: calling at[] on a Series with a single-level MultiIndex returns a Series, not a scalar | {
"avatar_url": "https://avatars.githubusercontent.com/u/2431900?v=4",
"events_url": "https://api.github.com/users/bpteague/events{/privacy}",
"followers_url": "https://api.github.com/users/bpteague/followers",
"following_url": "https://api.github.com/users/bpteague/following{/other_user}",
"gists_url": "https://api.github.com/users/bpteague/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bpteague",
"id": 2431900,
"login": "bpteague",
"node_id": "MDQ6VXNlcjI0MzE5MDA=",
"organizations_url": "https://api.github.com/users/bpteague/orgs",
"received_events_url": "https://api.github.com/users/bpteague/received_events",
"repos_url": "https://api.github.com/users/bpteague/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bpteague/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bpteague/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bpteague"
} | [
{
"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 s... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-25T02:51:39Z | 2020-11-29T15:59:10Z | 2020-11-29T15:59:10Z | NONE | null | - [YES] I have checked that this issue has not already been reported.
- [YES] I have confirmed this bug exists on the latest version of pandas.
- [NO] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
idx1 = pd.MultiIndex.from_tuples([(False, 1.0),
(False, 10.0),
(True, 1.0),
(True, 10.0)])
s1 = pd.Series((0, 1, 2, 3), index = idx1)
s1.at[(False, 1.0)] # returns '0', expected output
idx2 = pd.MultiIndex.from_tuples([(False,), (True,)])
s2 = pd.Series((0, 1), index = idx2)
s2.at[False] # returns a pandas.Series with one element
```
#### Problem description
As per the user guide, I expect `at[]` to return a scalar. However, when I index a `Series` with a `MultiIndex` with only one level, `at[]` returns a `Series` with a single element. A `Series` with a multi-level `MultiIndex` works as expected.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.6.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-54-generic
Version : #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
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.16.1
pandas_datareader: None
bs4 : None
bottleneck : 1.3.2
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.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/38053/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38053/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38054 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38054/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38054/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38054/events | https://github.com/pandas-dev/pandas/pull/38054 | 750,321,100 | MDExOlB1bGxSZXF1ZXN0NTI3MDEyODk5 | 38,054 | TST: tighten assert_index_equal calls | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "e99695",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 7 | 2020-11-25T02:53:57Z | 2020-11-26T23:07:43Z | 2020-11-26T23:02:44Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38054/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38054/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38054.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38054",
"merged_at": "2020-11-26T23:02:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38054.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38054"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38055 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38055/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38055/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38055/events | https://github.com/pandas-dev/pandas/pull/38055 | 750,345,801 | MDExOlB1bGxSZXF1ZXN0NTI3MDM1NzAw | 38,055 | CLN: remove ABCIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "e99695",
"default": false,
"description": "Related to t... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-11-25T03:20:37Z | 2020-11-26T15:34:43Z | 2020-11-26T00:30:57Z | MEMBER | null | It's a footgun.
BTW I expect the CI to fail until #38020 goes in, which will [demonstrate](https://github.com/pandas-dev/pandas/pull/38020#discussion_r529159757) that there is a test case that uses MultiIndex. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38055/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38055/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38055.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38055",
"merged_at": "2020-11-26T00:30:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38055.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38055"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38056 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38056/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38056/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38056/events | https://github.com/pandas-dev/pandas/pull/38056 | 750,499,377 | MDExOlB1bGxSZXF1ZXN0NTI3MTc4MTY0 | 38,056 | CI: Renable window tests on Windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [] | closed | false | null | [] | null | 1 | 2020-11-25T06:05:21Z | 2020-11-25T21:10:43Z | 2020-11-25T21:10:38Z | MEMBER | null | - [x] closes #37535
- [ ] tests added / passed
Checking if the recent cleanup of the `tests/window` directory had any impact.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38056/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38056/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38056.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38056",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38056.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38056"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38057 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38057/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38057/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38057/events | https://github.com/pandas-dev/pandas/pull/38057 | 750,628,678 | MDExOlB1bGxSZXF1ZXN0NTI3Mjg5MzA2 | 38,057 | PERF: fix regression in creation of resulting index in RollingGroupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execu... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 17 | 2020-11-25T09:03:16Z | 2020-12-08T14:36:41Z | 2020-12-01T09:12:37Z | MEMBER | null | Closes #38038
TODO: fix corner cases, add benchmark, .. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38057/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38057/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38057.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38057",
"merged_at": "2020-12-01T09:12:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38057.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38057"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38058 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38058/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38058/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38058/events | https://github.com/pandas-dev/pandas/issues/38058 | 750,692,228 | MDU6SXNzdWU3NTA2OTIyMjg= | 38,058 | BUG: nan values in dataframe index when reading from multiple parquet files | {
"avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4",
"events_url": "https://api.github.com/users/galipremsagar/events{/privacy}",
"followers_url": "https://api.github.com/users/galipremsagar/followers",
"following_url": "https://api.github.com/users/galipremsagar/following{/other_user}",
"gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galipremsagar",
"id": 11664259,
"login": "galipremsagar",
"node_id": "MDQ6VXNlcjExNjY0MjU5",
"organizations_url": "https://api.github.com/users/galipremsagar/orgs",
"received_events_url": "https://api.github.com/users/galipremsagar/received_events",
"repos_url": "https://api.github.com/users/galipremsagar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galipremsagar"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2020-11-25T10:27:28Z | 2020-11-25T14:17:44Z | 2020-11-25T14:15:11Z | 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
>>> df1 = pd.DataFrame({'a':[1, 2, 3]}, index=['a','b','c'])
>>> df1.to_parquet('abc/one.parquet')
>>> df2 = pd.DataFrame({'a':[4, 5, 6]})
>>> df2.to_parquet('abc/two.parquet')
>>> df3 = pd.DataFrame({'a':[7, 8, 9]})
>>> df3.to_parquet('abc/three.parquet')
>>> pd.read_parquet('abc/')
a
a 1
b 2
c 3
NaN 7
NaN 8
NaN 9
NaN 4
NaN 5
NaN 6
```
#### Problem description
When we are reading multiple parquet files using `pd.read_parquet` and one of them has a different index than other two then there are `NaN` values in the rest of Index positions, is this a desired behavior?
#### Expected Output
Ideally I would expect all Index objects to be appended, i.e., we'd have some duplicate Index values in this case.
```python
>>> import pandas as pd
>>> df1 = pd.DataFrame({'a':[1, 2, 3]}, index=['a','b','c'])
>>> df1.to_parquet('abc/one.parquet')
>>> df2 = pd.DataFrame({'a':[4, 5, 6]})
>>> df2.to_parquet('abc/two.parquet')
>>> df3 = pd.DataFrame({'a':[7, 8, 9]})
>>> df3.to_parquet('abc/three.parquet')
>>> pd.read_parquet('abc/')
a
a 1
b 2
c 3
0 7
1 8
2 9
0 4
1 5
2 6
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 20.1.0
Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : None
pytest : None
hypothesis : 5.29.0
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
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 : 1.0.1
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38058/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38058/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38059 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38059/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38059/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38059/events | https://github.com/pandas-dev/pandas/pull/38059 | 750,696,624 | MDExOlB1bGxSZXF1ZXN0NTI3MzQ0MzA5 | 38,059 | Backport PR #37039: CI: move py39 build to conda #33948 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "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": "72e24d",
"default": false,
"description": ... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 0 | 2020-11-25T10:33:24Z | 2020-11-25T11:51:18Z | 2020-11-25T11:51:02Z | MEMBER | null | Backport PR #37039 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38059/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38059/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38059.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38059",
"merged_at": "2020-11-25T11:51:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38059.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38059"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38060 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38060/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38060/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38060/events | https://github.com/pandas-dev/pandas/issues/38060 | 750,715,787 | MDU6SXNzdWU3NTA3MTU3ODc= | 38,060 | BUG: Changing values in copied dataframe manipulates the original dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/28649176?v=4",
"events_url": "https://api.github.com/users/bastingup/events{/privacy}",
"followers_url": "https://api.github.com/users/bastingup/followers",
"following_url": "https://api.github.com/users/bastingup/following{/other_user}",
"gists_url": "https://api.github.com/users/bastingup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bastingup",
"id": 28649176,
"login": "bastingup",
"node_id": "MDQ6VXNlcjI4NjQ5MTc2",
"organizations_url": "https://api.github.com/users/bastingup/orgs",
"received_events_url": "https://api.github.com/users/bastingup/received_events",
"repos_url": "https://api.github.com/users/bastingup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bastingup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bastingup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bastingup"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 4 | 2020-11-25T10:58:25Z | 2020-11-25T21:56:10Z | 2020-11-25T21:55:53Z | NONE | null | Hey everybody,
so I ran into something odd last night.
I had two dataframes: dataframe_original and the dataframe_copy.
Whenever I changed the values in a column of dataframe_copy the code changed the values in dataframe_original.
I had the original one as a backup and assign it every iteration to a local copy.
I displayed the output of the original dataframe (so not the one I attempted to change) but it showed the changes were made on the original one, not the copied one. For assigning the original frame to the copied one I tried all these approaches:
1) local_df.loc[local_df.index, local_df.columns] = df.tail(l)
2) local_df = pd.DataFrame(data = df.tail(l))
3) local_df = pd.DataFrame(df.tail(l))
4) local_df = df
But no matter what, it did not actually copy the frame, it just created a reference to the original one.
I assume this is not how the constructor is supposed to work?
Thanks for your time.
---
#### Code Sample
```
import pandas as pd
#### Data
d = {'col1': [1, 1, 1], 'col2': [1, 1, 1], 'col3': [1, 1, 1]}
df = pd.DataFrame(data = d)
#### Limits for the iteration
xr = 2
yr = 2
#### Value to add
v = 1
#### Length
l = 2
#### Loop
local_df = pd.DataFrame(df.tail(l))
list_of_df = []
for x in range(xr):
for y in range(yr):
local_df.loc[local_df.index, local_df.columns] = df.tail(l)
local_df["col1"] = local_df["col1"] + v
list_of_df.append(local_df)
display(df)
```
[
<img width="834" alt="Screenshot 2020-11-25 at 11 52 11" src="https://user-images.githubusercontent.com/28649176/100218656-4f870700-2f15-11eb-9f10-8044a666df66.png">
](url)
<img width="858" alt="Screenshot 2020-11-25 at 11 57 53" src="https://user-images.githubusercontent.com/28649176/100218776-780f0100-2f15-11eb-876c-98dec3270df5.png">
Versions & Sys:
macOS Mojave 10.14.6
Python 3.7.3
Pandas 1.1.4
ipython 7.4.0
_anaconda_depends 2019.03
anaconda-client .7.2
anaconda-navigator 1.9.7
anaconda-project 0.8.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/38060/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38060/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38061 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38061/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38061/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38061/events | https://github.com/pandas-dev/pandas/pull/38061 | 750,756,496 | MDExOlB1bGxSZXF1ZXN0NTI3MzkzNDg1 | 38,061 | Backport PR #38041 on branch 1.1.x: BUG: pytables in py39 (#38041) | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "72e24d",
"default": false,
"descri... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 0 | 2020-11-25T11:58:01Z | 2020-11-25T12:48:18Z | 2020-11-25T12:48:13Z | MEMBER | null | Backport PR #38041 on branch 1.1.x | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38061/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38061/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38061.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38061",
"merged_at": "2020-11-25T12:48:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38061.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38061"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38062 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38062/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38062/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38062/events | https://github.com/pandas-dev/pandas/pull/38062 | 750,766,455 | MDExOlB1bGxSZXF1ZXN0NTI3NDAxODA1 | 38,062 | DOC: move info docs to DataFrameInfo | {
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
} | [
{
"color": "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 | 12 | 2020-11-25T12:12:54Z | 2021-10-04T14:11:41Z | null | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Precursor for #37320
Move ``info`` docstring from ``pandas/core/frame.py`` to class ``DataFrameInfo`` using ``doc`` decorator.
@simonjayhawkins need your help here as discussed previously. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38062/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38062/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38062.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38062",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38062.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38062"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38063 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38063/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38063/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38063/events | https://github.com/pandas-dev/pandas/issues/38063 | 750,782,508 | MDU6SXNzdWU3NTA3ODI1MDg= | 38,063 | ENH: add a keyword to the eq method to consider NAs equal | {
"avatar_url": "https://avatars.githubusercontent.com/u/57362922?v=4",
"events_url": "https://api.github.com/users/Karl-Wiese/events{/privacy}",
"followers_url": "https://api.github.com/users/Karl-Wiese/followers",
"following_url": "https://api.github.com/users/Karl-Wiese/following{/other_user}",
"gists_url": "https://api.github.com/users/Karl-Wiese/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Karl-Wiese",
"id": 57362922,
"login": "Karl-Wiese",
"node_id": "MDQ6VXNlcjU3MzYyOTIy",
"organizations_url": "https://api.github.com/users/Karl-Wiese/orgs",
"received_events_url": "https://api.github.com/users/Karl-Wiese/received_events",
"repos_url": "https://api.github.com/users/Karl-Wiese/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Karl-Wiese/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Karl-Wiese/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Karl-Wiese"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, ... | open | false | null | [] | null | 4 | 2020-11-25T12:37:42Z | 2021-08-14T05:55:16Z | null | NONE | null | ### Code Sample
This works as expected. Comparing nan with nan evaluates to False.
```python
>>> import pandas as pd
>>> import numpy as np
>>> s1 = pd.Series(np.nan)
>>> s1.eq(s1)
0 False
dtype: boolean
```
However, this does not work as expected. Comparing nan with nan evaluates to nan.
```python
>>> import pandas as pd
>>> import numpy as np
>>> s1 = pd.Series(np.nan).astype(pd.StringDtype())
>>> s1.eq(s1)
0 <NA>
dtype: boolean
```
### Problem description
As in other programming languages I would expect the comparison between nan values for equality evaluates to False. In the first case, this works as expected. However, for the second it does not. I read the docs for the [Nullable Boolean data type](https://pandas.pydata.org/pandas-docs/stable/user_guide/boolean.html). It implements the Kleene Logic for Boolean data type. So, the second case is expected behavior, too. The issue is even explicitly stated in the docs. It is just not very consistent between the two cases.
I searched for similar bug reports and was not sure if they are directly related. For reference please look here:
- [https://github.com/pandas-dev/pandas/issues/20442](https://github.com/pandas-dev/pandas/issues/20442)
- [https://github.com/pandas-dev/pandas/issues/36941](https://github.com/pandas-dev/pandas/issues/36941)
### Expected behavior
I would expect that the two cases behave consistently. In which way, is not so important for me.
### Output of pd.show_versions()
<details>
<summary>Details</summary>
```
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 20.1.0
Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/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.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
```
</details> | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38063/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38063/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38064 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38064/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38064/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38064/events | https://github.com/pandas-dev/pandas/pull/38064 | 750,822,735 | MDExOlB1bGxSZXF1ZXN0NTI3NDQ5NTU2 | 38,064 | DOC: tidy 1.1.5 release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 1 | 2020-11-25T13:34:43Z | 2020-11-26T13:07:33Z | 2020-11-26T13:03:39Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38064/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38064/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38064.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38064",
"merged_at": "2020-11-26T13:03:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38064.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38064"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38065 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38065/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38065/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38065/events | https://github.com/pandas-dev/pandas/issues/38065 | 750,858,008 | MDU6SXNzdWU3NTA4NTgwMDg= | 38,065 | ENH: Add get_window method on a rolling object | {
"avatar_url": "https://avatars.githubusercontent.com/u/11358792?v=4",
"events_url": "https://api.github.com/users/ThomasBourgeois/events{/privacy}",
"followers_url": "https://api.github.com/users/ThomasBourgeois/followers",
"following_url": "https://api.github.com/users/ThomasBourgeois/following{/other_user}",
"gists_url": "https://api.github.com/users/ThomasBourgeois/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ThomasBourgeois",
"id": 11358792,
"login": "ThomasBourgeois",
"node_id": "MDQ6VXNlcjExMzU4Nzky",
"organizations_url": "https://api.github.com/users/ThomasBourgeois/orgs",
"received_events_url": "https://api.github.com/users/ThomasBourgeois/received_events",
"repos_url": "https://api.github.com/users/ThomasBourgeois/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ThomasBourgeois/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ThomasBourgeois/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ThomasBourgeois"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling,... | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/65842583?v=4",
"events_url": "https://api.github.com/users/leonarduschen/events{/privacy}",
"followers_url": "https://api.github.com/users/leonarduschen/followers",
"following_url": "https://api.github.com/users/leonarduschen/following{/other_user}",
"gists_url": "https://api.github.com/users/leonarduschen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leonarduschen",
"id": 65842583,
"login": "leonarduschen",
"node_id": "MDQ6VXNlcjY1ODQyNTgz",
"organizations_url": "https://api.github.com/users/leonarduschen/orgs",
"received_events_url": "https://api.github.com/users/leonarduschen/received_events",
"repos_url": "https://api.github.com/users/leonarduschen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leonarduschen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leonarduschen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leonarduschen"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/65842583?v=4",
"events_url": "https://api.github.com/users/leonarduschen/events{/privacy}",
"followers_url": "https://api.github.com/users/leonarduschen/followers",
"following_url": "https://api.github.com/users/leonarduschen/following{/other_... | {
"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 | 2020-11-25T14:19:30Z | 2020-11-26T12:34:02Z | null | NONE | null | #### Is your feature request related to a problem?
Yes. I would like to make a test of a function that is then applied on a rolling object. Making that test on just one window of the rolling object would be convenient.
#### Describe the solution you'd like
Someting similar to get_group for a groupby object. This would be something like : rolling.get_window(0) for first window for example.
#### API breaking implications
I do not know of any.
#### Describe alternatives you've considered
#### Additional context
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38065/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38065/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38066 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38066/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38066/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38066/events | https://github.com/pandas-dev/pandas/issues/38066 | 750,932,114 | MDU6SXNzdWU3NTA5MzIxMTQ= | 38,066 | RLS: 1.1.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 19 | 2020-11-25T15:51:33Z | 2020-12-08T19:16:55Z | 2020-12-08T11:12:23Z | MEMBER | null | Tracking issue for the 1.1.5 release.
https://github.com/pandas-dev/pandas/milestone/79
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38066/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38066/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38067 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38067/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38067/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38067/events | https://github.com/pandas-dev/pandas/issues/38067 | 750,998,859 | MDU6SXNzdWU3NTA5OTg4NTk= | 38,067 | DOC: Include missing holiday observance rules | {
"avatar_url": "https://avatars.githubusercontent.com/u/9399446?v=4",
"events_url": "https://api.github.com/users/Jeitan/events{/privacy}",
"followers_url": "https://api.github.com/users/Jeitan/followers",
"following_url": "https://api.github.com/users/Jeitan/following{/other_user}",
"gists_url": "https://api.github.com/users/Jeitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jeitan",
"id": 9399446,
"login": "Jeitan",
"node_id": "MDQ6VXNlcjkzOTk0NDY=",
"organizations_url": "https://api.github.com/users/Jeitan/orgs",
"received_events_url": "https://api.github.com/users/Jeitan/received_events",
"repos_url": "https://api.github.com/users/Jeitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jeitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jeitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jeitan"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id... | open | false | null | [] | null | 3 | 2020-11-25T17:25:35Z | 2021-08-14T05:55:56Z | null | NONE | null | #### Location of the documentation
[Timeseries Holiday](https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#holidays-holiday-calendars) section in doc/source/user_guide/timeseries.rst.
#### Documentation problem
The list of available holiday observance rules is incomplete - several available observances are missing.
#### Suggested fix for documentation
The following observances should be added to the documentation because they are already available:
- next_workday
- previous_workday
- before_nearest_workday
- after_nearest_workday
Before I examined `holiday` via TAB-completion I had written my own version of weekend_to_monday; others may likewise re-invent these wheels if they're not documented.
(Updated to remove "weekend_to_monday" because it does the same thing as "next_monday") | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38067/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38067/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38068 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38068/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38068/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38068/events | https://github.com/pandas-dev/pandas/pull/38068 | 751,038,480 | MDExOlB1bGxSZXF1ZXN0NTI3NjI3Njc2 | 38,068 | ENH: NDArrayBackedExtensionArray.__array_function__ | {
"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 | [] | null | 2 | 2020-11-25T18:32:41Z | 2021-03-02T15:54:21Z | 2020-12-21T21:37:43Z | MEMBER | null | motivated by getting np.delete and np.repeat working, had to implement a few others to get the tests passing.
If we go down this path, I plan to incrementally add support for others, some of which (e.g. vstack) will avoid some object-dtype casting.
cc @TomAugspurger @shoyer @seberg any suggestions to clean the implementation, particularly the fallback and the unknown-args comments? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38068/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38068/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38068.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38068",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38068.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38068"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38069 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38069/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38069/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38069/events | https://github.com/pandas-dev/pandas/issues/38069 | 751,083,108 | MDU6SXNzdWU3NTEwODMxMDg= | 38,069 | ENH: Rename multi-level columns or indices using their tupelized names | {
"avatar_url": "https://avatars.githubusercontent.com/u/11406002?v=4",
"events_url": "https://api.github.com/users/normanius/events{/privacy}",
"followers_url": "https://api.github.com/users/normanius/followers",
"following_url": "https://api.github.com/users/normanius/following{/other_user}",
"gists_url": "https://api.github.com/users/normanius/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/normanius",
"id": 11406002,
"login": "normanius",
"node_id": "MDQ6VXNlcjExNDA2MDAy",
"organizations_url": "https://api.github.com/users/normanius/orgs",
"received_events_url": "https://api.github.com/users/normanius/received_events",
"repos_url": "https://api.github.com/users/normanius/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/normanius/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/normanius/subscriptions",
"type": "User",
"url": "https://api.github.com/users/normanius"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicat... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | 2020-11-25T19:57:28Z | 2020-11-25T22:25:55Z | 2020-11-25T21:06:43Z | NONE | null | It's currently quite difficult to rename a single column (or row) in a multi-indexed DataFrame. The problem is illustrated also in this [SO article](https://stackoverflow.com/questions/54693188).
The current approach requires at least 3 steps:
```
df = pd.DataFrame([[1,2,3],[3,4,5],[5,6,7], [7,8,9]])
df.columns = pd.MultiIndex.from_tuples([('i','a'),('i','b'),('ii','a')])
# Alternative 1
i = df.columns.get_loc(('i','b'))
cols = df.columns.values
cols[i] = ('i','c')
df.columns = pd.MultiIndex.from_tuples(cols)
# Alternative 2
df.columns = df.columns.to_flat_index()
df = df.rename(columns={('i','b'):('i','c')})
df.columns = pd.MultiIndex.from_tuples(df.columns)
```
#### Enhancement:
In presence of a MultiIndex, `rename()` should support the tupelized representation of a column.
```
df = pd.DataFrame([[1,2,3],[3,4,5],[5,6,7], [7,8,9]])
df.columns = pd.MultiIndex.from_tuples([('i','a'),('i','b'),('ii','a')])
# Rename using tuples:
df.rename(columns={('i','b'):('ii','b')})
# Rename using current column name (equivalent to 1a)
col = df[('i','b')]
df.rename(columns={col.name: ('ii','b')})
```
This would improve the consistency of the API, since many methods accept a tuple to address the name of a multi-index element:
```
df[('i','a')]
df.drop(('i','a'), axis=1)
df.pop(('i','a'), axis=1)
...
```
#### API breaking implications
I regard this improvement as an extension of the current API.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38069/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38069/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38070 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38070/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38070/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38070/events | https://github.com/pandas-dev/pandas/pull/38070 | 751,090,409 | MDExOlB1bGxSZXF1ZXN0NTI3NjcwMDk4 | 38,070 | BUG: Index.drop raising Error when Index has duplicates | {
"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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "e99695",
"default": false,
"description": "Rel... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 8 | 2020-11-25T20:11:11Z | 2020-12-03T22:14:42Z | 2020-12-02T23:28:05Z | MEMBER | null | - [x] closes #38051
- [x] closes #33494
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
@jbrockmendel This should deal with duplicates. For MultiIndex sometimes a slice with stepzize greater than zero was given, which dropped to many elements | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38070/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38070/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38070.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38070",
"merged_at": "2020-12-02T23:28:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38070.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38070"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38071 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38071/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38071/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38071/events | https://github.com/pandas-dev/pandas/pull/38071 | 751,123,353 | MDExOlB1bGxSZXF1ZXN0NTI3Njk3MDQx | 38,071 | BUG: DataFrame.loc returning empty result with negative stepsize for MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "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": "20... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-25T21:19:03Z | 2020-12-02T18:43:00Z | 2020-12-02T18:38:54Z | MEMBER | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This was easier than thought. Should I add a whatsnew note for this? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38071/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38071/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38071.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38071",
"merged_at": "2020-12-02T18:38:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38071.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38071"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38072 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38072/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38072/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38072/events | https://github.com/pandas-dev/pandas/pull/38072 | 751,148,256 | MDExOlB1bGxSZXF1ZXN0NTI3NzE2OTg3 | 38,072 | TST/REF: take things out of Base tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "e99695",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-25T22:15:45Z | 2020-11-26T18:48:31Z | 2020-11-26T17:57:57Z | MEMBER | null | Trying to clear up the confusing:
common.py defines Base
test_base.py imports Base from common
test_common does not
and try to get away from the create_index usage to just use the index fixture
Small steps.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38072/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38072/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38072.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38072",
"merged_at": "2020-11-26T17:57:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38072.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38072"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38073 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38073/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38073/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38073/events | https://github.com/pandas-dev/pandas/pull/38073 | 751,159,040 | MDExOlB1bGxSZXF1ZXN0NTI3NzI1ODY4 | 38,073 | BUG: Series.where casting dt64 to int64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related t... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 7 | 2020-11-25T22:43:24Z | 2020-12-29T18:13:45Z | 2020-12-29T18:09:25Z | MEMBER | null | - [x] closes #37682
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This sits on top of #38021 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38073/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38073/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38073.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38073",
"merged_at": "2020-12-29T18:09:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38073.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38073"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38074 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38074/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38074/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38074/events | https://github.com/pandas-dev/pandas/pull/38074 | 751,168,770 | MDExOlB1bGxSZXF1ZXN0NTI3NzMzODU2 | 38,074 | PERF: fix regression in tz_convert_from_utc | {
"avatar_url": "https://avatars.githubusercontent.com/u/327919?v=4",
"events_url": "https://api.github.com/users/lidavidm/events{/privacy}",
"followers_url": "https://api.github.com/users/lidavidm/followers",
"following_url": "https://api.github.com/users/lidavidm/following{/other_user}",
"gists_url": "https://api.github.com/users/lidavidm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lidavidm",
"id": 327919,
"login": "lidavidm",
"node_id": "MDQ6VXNlcjMyNzkxOQ==",
"organizations_url": "https://api.github.com/users/lidavidm/orgs",
"received_events_url": "https://api.github.com/users/lidavidm/received_events",
"repos_url": "https://api.github.com/users/lidavidm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lidavidm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lidavidm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lidavidm"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 6 | 2020-11-25T23:10:32Z | 2020-11-26T15:35:34Z | 2020-11-26T15:35:30Z | CONTRIBUTOR | null | - [x] closes #35803
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry - N/A I believe
Get rid of an unnecessary copy. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38074/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38074/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38074.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38074",
"merged_at": "2020-11-26T15:35:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38074.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38074"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38075 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38075/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38075/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38075/events | https://github.com/pandas-dev/pandas/issues/38075 | 751,220,295 | MDU6SXNzdWU3NTEyMjAyOTU= | 38,075 | ENH: pd.link([*dataframes], how='left') | {
"avatar_url": "https://avatars.githubusercontent.com/u/410028?v=4",
"events_url": "https://api.github.com/users/bergkvist/events{/privacy}",
"followers_url": "https://api.github.com/users/bergkvist/followers",
"following_url": "https://api.github.com/users/bergkvist/following{/other_user}",
"gists_url": "https://api.github.com/users/bergkvist/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bergkvist",
"id": 410028,
"login": "bergkvist",
"node_id": "MDQ6VXNlcjQxMDAyOA==",
"organizations_url": "https://api.github.com/users/bergkvist/orgs",
"received_events_url": "https://api.github.com/users/bergkvist/received_events",
"repos_url": "https://api.github.com/users/bergkvist/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bergkvist/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bergkvist/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bergkvist"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, ... | closed | false | null | [] | null | 10 | 2020-11-26T01:49:47Z | 2021-08-14T05:59:48Z | 2021-08-14T05:59:48Z | NONE | null | #### Is your feature request related to a problem?
When working with data that contains a lot of references, pd.merge seems to be the best approach.
If you need to follow more than 1 reference to get where you need, this quickly gets verbose.
To solve this problem, I suggest a higher level wrapping for merge, that is focused around being able to follow multiple references. Some potential names are:
```py
pd.link([*dataframes]) # The one I use in the examples below
pd.follow([*dataframes])
pd.traverse([*dataframes])
```
#### Describe the solution you'd like
Example implementation below:
```py
from functools import reduce
import pandas as pd
def link(dataframes, how='left'):
"""
Follow references in between pandas dataframes and series.
Parameters:
-----------
`values` is an iterable of pd.DataFrame or pd.Series.
`how` decides how the internal pd.merge will be performed.
"""
def _link(x, y):
# Support for passing in pandas series
if type(x) == pd.Series:
x = x.to_frame()
if type(y) == pd.Series:
y = y.to_frame()
return pd.merge(x, y, left_on=list(x.columns), right_index=True, how=how)[y.columns]
return reduce(_link, dataframes)
```
### Example

#### And for the variables used:
<details><summary>user_to_session_id</summary>

</details>
<details><summary>session_id_to_article_id</summary>

</details>
<details><summary>article_id_to_price_usd</summary>

</details>
---
<details><summary>Code</summary>
```python
sessions = pd.DataFrame({
'session_id': ['a', 'b', 'c', 'd'],
'user': ['jack', 'jack', 'john', 'steve'],
})
user_to_session_id = sessions.set_index('user')
orders = pd.DataFrame({
'session_id': ['a', 'b', 'c', 'c'],
'article_id': ['x', 'x', 'y', 'x']
})
session_id_to_article_id = orders.set_index('session_id')
articles = pd.DataFrame({
'article_id': ['x', 'y'],
'price_usd': [25, 50]
})
article_id_to_price_usd = articles.set_index('article_id')
link([
user_to_session_id,
session_id_to_article_id,
article_id_to_price_usd
])
```
</details>
### Notes
This could be created to only support pd.Series - but then this prevents us from merging multi-index frames/series. For merging multi-index data, we need a multi-column frame to match the 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/38075/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38075/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38076 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38076/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38076/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38076/events | https://github.com/pandas-dev/pandas/pull/38076 | 751,242,739 | MDExOlB1bGxSZXF1ZXN0NTI3NzkxNzM3 | 38,076 | CLN: inconsistent namespace usage in tests.indexes | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "eb6420",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 7 | 2020-11-26T03:00:39Z | 2020-11-26T16:15:46Z | 2020-11-26T16:05:02Z | MEMBER | null | Finding these annoying while doing other work in this directory.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38076/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38076/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38076.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38076",
"merged_at": "2020-11-26T16:05:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38076.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38076"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38077 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38077/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38077/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38077/events | https://github.com/pandas-dev/pandas/pull/38077 | 751,251,775 | MDExOlB1bGxSZXF1ZXN0NTI3Nzk4MDgz | 38,077 | BUG: raise consistent exception on slicing failure | {
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-11-26T03:25:46Z | 2020-11-27T17:41:13Z | 2020-11-26T22:25:03Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38077/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38077/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38077.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38077",
"merged_at": "2020-11-26T22:25:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38077.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38077"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38078 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38078/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38078/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38078/events | https://github.com/pandas-dev/pandas/pull/38078 | 751,253,012 | MDExOlB1bGxSZXF1ZXN0NTI3Nzk5MDk0 | 38,078 | CLN: fix flake8 C406, C409, and some of C408 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "207de5",
"default... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-26T03:29:26Z | 2020-12-05T18:53:01Z | 2020-11-26T17:54:02Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38078/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38078/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38078.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38078",
"merged_at": "2020-11-26T17:54:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38078.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38078"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38079 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38079/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38079/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38079/events | https://github.com/pandas-dev/pandas/pull/38079 | 751,278,508 | MDExOlB1bGxSZXF1ZXN0NTI3ODE5MjUz | 38,079 | TST: mark all plotting tests as slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "8AE234",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 6 | 2020-11-26T04:45:52Z | 2020-11-30T03:11:16Z | 2020-11-28T17:36:37Z | MEMBER | null | - [ ] xref https://github.com/pandas-dev/pandas/pull/37735#issuecomment-732530791
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Marked all plotting tests as slow globally at the top of each module. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38079/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38079/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38079.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38079",
"merged_at": "2020-11-28T17:36:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38079.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38079"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38080 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38080/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38080/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38080/events | https://github.com/pandas-dev/pandas/pull/38080 | 751,508,581 | MDExOlB1bGxSZXF1ZXN0NTI4MDA4Mjc2 | 38,080 | DOC: Clean .ix references in indexing.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-26T11:17:31Z | 2020-11-26T16:43:45Z | 2020-11-26T16:18:51Z | CONTRIBUTOR | null | `DataFrame.ix` is removed from the code base, so rephrase a section in the docs that was referencing 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/38080/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38080/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38080.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38080",
"merged_at": "2020-11-26T16:18:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38080.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38080"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38081 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38081/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38081/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38081/events | https://github.com/pandas-dev/pandas/pull/38081 | 751,575,831 | MDExOlB1bGxSZXF1ZXN0NTI4MDY0MjU4 | 38,081 | Backport PR #38064 on branch 1.1.x (DOC: tidy 1.1.5 release notes) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [] | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 0 | 2020-11-26T13:04:16Z | 2020-11-26T13:56:29Z | 2020-11-26T13:56:29Z | NONE | null | Backport PR #38064: DOC: tidy 1.1.5 release notes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38081/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38081/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38081.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38081",
"merged_at": "2020-11-26T13:56:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38081.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38081"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38082 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38082/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38082/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38082/events | https://github.com/pandas-dev/pandas/issues/38082 | 751,577,883 | MDU6SXNzdWU3NTE1Nzc4ODM= | 38,082 | PERF: investigate alt implementations for cross join | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "02d7e1",
"default"... | 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"
} | 1 | 2020-11-26T13:07:29Z | 2020-11-26T13:49:10Z | null | CONTRIBUTOR | null | in #37864 cross join was added
let's add some benchmarks | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38082/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38082/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38083 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38083/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38083/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38083/events | https://github.com/pandas-dev/pandas/issues/38083 | 751,585,184 | MDU6SXNzdWU3NTE1ODUxODQ= | 38,083 | PERF: regression in Series.asof with single date | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-26T13:18:21Z | 2020-11-27T07:24:04Z | 2020-11-27T07:24:04Z | MEMBER | null | From https://pandas.pydata.org/speed/pandas/#timeseries.AsOf.time_asof_single?p-constructor='Series'&commits=52a17259-24e881d4&x-axis=commit&Cython=0.29.21&python=3.8
Snippet extracted from ASV:
```python
N = 10000
rng = pd.date_range(start="1/1/1990", periods=N, freq="53s")
s = pd.Series(np.random.randn(N), index=rng)
dates = pd.date_range(start="1/1/1990", periods=N * 10, freq="5s")
date = dates[0]
%timeit s.asof(date)
```
On pandas 1.1 this takes around 20µs, on master I get around 110µs
Commit range indicated by ASV is https://github.com/pandas-dev/pandas/compare/52a17259...24e881d4
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38083/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38083/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38084 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38084/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38084/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38084/events | https://github.com/pandas-dev/pandas/pull/38084 | 751,589,514 | MDExOlB1bGxSZXF1ZXN0NTI4MDc1NTE5 | 38,084 | BLD: Use conda(-forge) compilers | {
"avatar_url": "https://avatars.githubusercontent.com/u/70274?v=4",
"events_url": "https://api.github.com/users/xhochy/events{/privacy}",
"followers_url": "https://api.github.com/users/xhochy/followers",
"following_url": "https://api.github.com/users/xhochy/following{/other_user}",
"gists_url": "https://api.github.com/users/xhochy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xhochy",
"id": 70274,
"login": "xhochy",
"node_id": "MDQ6VXNlcjcwMjc0",
"organizations_url": "https://api.github.com/users/xhochy/orgs",
"received_events_url": "https://api.github.com/users/xhochy/received_events",
"repos_url": "https://api.github.com/users/xhochy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xhochy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xhochy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xhochy"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-26T13:24:34Z | 2020-11-26T19:13:32Z | 2020-11-26T19:13:32Z | CONTRIBUTOR | null | Use the compiler setup from conda-forge inside a conda environment. The compilers in conda-forge can be different and slightly incompatible with the system ones causing some headaches. Also this hopefully helps with initial setup of new contributors.
Is this worth a whatsnew entry?
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38084/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38084/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38084.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38084",
"merged_at": "2020-11-26T19:13:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38084.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38084"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38085 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38085/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38085/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38085/events | https://github.com/pandas-dev/pandas/pull/38085 | 751,591,770 | MDExOlB1bGxSZXF1ZXN0NTI4MDc3MzM1 | 38,085 | TST : Categorical DataFrame.at overwritting row | {
"avatar_url": "https://avatars.githubusercontent.com/u/34522496?v=4",
"events_url": "https://api.github.com/users/ma3da/events{/privacy}",
"followers_url": "https://api.github.com/users/ma3da/followers",
"following_url": "https://api.github.com/users/ma3da/following{/other_user}",
"gists_url": "https://api.github.com/users/ma3da/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ma3da",
"id": 34522496,
"login": "ma3da",
"node_id": "MDQ6VXNlcjM0NTIyNDk2",
"organizations_url": "https://api.github.com/users/ma3da/orgs",
"received_events_url": "https://api.github.com/users/ma3da/received_events",
"repos_url": "https://api.github.com/users/ma3da/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ma3da/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ma3da/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ma3da"
} | [
{
"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": "e1... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-26T13:27:48Z | 2020-12-03T13:54:21Z | 2020-11-26T18:08:12Z | CONTRIBUTOR | null | - [ ] closes #37763
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38085/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38085/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38085.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38085",
"merged_at": "2020-11-26T18:08:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38085.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38085"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38086 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38086/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38086/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38086/events | https://github.com/pandas-dev/pandas/issues/38086 | 751,593,706 | MDU6SXNzdWU3NTE1OTM3MDY= | 38,086 | PERF: performance regression in replace() corner cases | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-11-26T13:30:44Z | 2020-11-27T01:01:26Z | 2020-11-27T01:01:26Z | MEMBER | null | ASV shows a *gigantic* regression (14629.25x) in a certain `replace` benchmark: https://pandas.pydata.org/speed/pandas/#replace.ReplaceList.time_replace_list?python=3.8&Cython=0.29.21&p-inplace=True&commits=07559156-dbee8fae
The simplified case is:
```
In [5]: df = pd.DataFrame({"A": 0, "B": 0}, index=range(4 * 10 ** 7))
In [6]: %timeit df.replace([np.inf, -np.inf], np.nan)
100 ms ± 6.76 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # 1.1
1.2 s ± 31.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # master
```
Compared to 1.1, I don't see such a huge difference, but still a decent slowdown (x10).
Now, in this case, we have integer columns, but trying to replace infinity, which of course can never be present. So maybe before we had some shortcut for that.
This also seems quite a cornercase, though. So not sure how critical the regression is. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38086/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38086/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38087 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38087/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38087/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38087/events | https://github.com/pandas-dev/pandas/pull/38087 | 751,596,363 | MDExOlB1bGxSZXF1ZXN0NTI4MDgxMDgw | 38,087 | BLD: Only enable -Werror in the CI jobs | {
"avatar_url": "https://avatars.githubusercontent.com/u/70274?v=4",
"events_url": "https://api.github.com/users/xhochy/events{/privacy}",
"followers_url": "https://api.github.com/users/xhochy/followers",
"following_url": "https://api.github.com/users/xhochy/following{/other_user}",
"gists_url": "https://api.github.com/users/xhochy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xhochy",
"id": 70274,
"login": "xhochy",
"node_id": "MDQ6VXNlcjcwMjc0",
"organizations_url": "https://api.github.com/users/xhochy/orgs",
"received_events_url": "https://api.github.com/users/xhochy/received_events",
"repos_url": "https://api.github.com/users/xhochy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xhochy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xhochy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xhochy"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 12 | 2020-11-26T13:34:40Z | 2020-12-01T16:41:28Z | 2020-11-27T20:03:58Z | CONTRIBUTOR | null | closes #33315
closes #33314
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38087/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38087/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38087.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38087",
"merged_at": "2020-11-27T20:03:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38087.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38087"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38088 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38088/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38088/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38088/events | https://github.com/pandas-dev/pandas/pull/38088 | 751,624,377 | MDExOlB1bGxSZXF1ZXN0NTI4MTAzNTk4 | 38,088 | DOC: clarify docs related to deprecation of indexing DataFrame with single partial datetime-string | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "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... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-26T14:15:02Z | 2020-11-26T15:44:49Z | 2020-11-26T15:37:27Z | MEMBER | null | A follow-up on https://github.com/pandas-dev/pandas/pull/36179#discussion_r494830867 (cc @jbrockmendel). Attempt to clarify what is actually deprecated, remove the `:okwarning:` for several cases in the docs that were not actually deprecated, and updated to use the preferred `.loc` for some others. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38088/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38088/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38088.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38088",
"merged_at": "2020-11-26T15:37:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38088.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38088"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38089 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38089/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38089/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38089/events | https://github.com/pandas-dev/pandas/pull/38089 | 751,660,290 | MDExOlB1bGxSZXF1ZXN0NTI4MTMzMTky | 38,089 | BUG: merge_ordered fails with list-like left_by or right_by | {
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-11-26T15:05:37Z | 2020-11-30T00:41:16Z | 2020-11-29T17:45:41Z | CONTRIBUTOR | null | - [x] closes #35269
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38089/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38089/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38089.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38089",
"merged_at": "2020-11-29T17:45:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38089.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38089"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38090 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38090/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38090/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38090/events | https://github.com/pandas-dev/pandas/issues/38090 | 751,685,949 | MDU6SXNzdWU3NTE2ODU5NDk= | 38,090 | CI/TST: suppress http debug from tests outputs | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a2bca7",
"d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-26T15:43:03Z | 2020-11-28T17:33:56Z | 2020-11-28T17:33:56Z | CONTRIBUTOR | null | examples from https://travis-ci.org/github/pandas-dev/pandas/jobs/746072525
We have this output coming from our fixtures (we startup a http endpoint to test things), but the output is totally unecessary / distracting.
```
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /pandas-test/items.jsonl HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /pandas-test/simple_dataset.feather HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /cant_get_it/tips%231.csv HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /cant_get_it/tips.csv HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /cant_get_it/tips.csv.gz HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /cant_get_it/tips.csv.bz2 HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /cant_get_it/items.jsonl HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "PUT /cant_get_it/simple_dataset.feather HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "HEAD /pandas-test/tips.csv HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "GET /pandas-test/tips.csv HTTP/1.1" 206 -
.127.0.0.1 - - [26/Nov/2020 13:35:25] "GET /pandas-test?list-type=2&prefix=&delimiter=%2F&encoding-type=url HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "POST /pandas-test?delete HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "DELETE /pandas-test HTTP/1.1" 204 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "GET /cant_get_it?list-type=2&prefix=&delimiter=%2F&encoding-type=url HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [26/Nov/2020 13:35:25] "POST /cant_get_it?delete HTTP/1.1" 200 -
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38090/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38090/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38091 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38091/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38091/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38091/events | https://github.com/pandas-dev/pandas/issues/38091 | 751,688,710 | MDU6SXNzdWU3NTE2ODg3MTA= | 38,091 | CI: very slow tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a2bca7",
"d... | 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 | 2020-11-26T15:47:08Z | 2020-11-26T17:08:38Z | null | CONTRIBUTOR | null | from a recent build on master, these builds are *very* slow. Yes we have 140k tests, but 30m is a lot of time (esp considering the azure builds are 2x faster).
needs some investigation on what is happening.
- https://travis-ci.org/github/pandas-dev/pandas/jobs/746072524
- https://travis-ci.org/github/pandas-dev/pandas/jobs/746072525
cc @pandas-dev/pandas-core | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38091/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38091/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38092 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38092/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38092/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38092/events | https://github.com/pandas-dev/pandas/issues/38092 | 751,694,851 | MDU6SXNzdWU3NTE2OTQ4NTE= | 38,092 | TST: shift_across_dst failures | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 0 | 2020-11-26T15:56:30Z | 2020-11-26T15:56:30Z | null | CONTRIBUTOR | null | ERROR: type should be string, got "https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=48611&view=logs&j=4b4d380c-92b5-58cf-5b80-2c6c9b1d5805&t=8eab1181-1335-58ed-7ed5-a271d9d86005\r\n\r\nwe want to see if this is a bug / add a test case\r\n\r\n```\r\n2020-11-26T11:02:32.6835667Z ##[section]Starting: Test\r\n2020-11-26T11:02:32.6968461Z ==============================================================================\r\n2020-11-26T11:02:32.6969827Z Task : Bash\r\n2020-11-26T11:02:32.6970534Z Description : Run a Bash script on macOS, Linux, or Windows\r\n2020-11-26T11:02:32.6971261Z Version : 3.177.2\r\n2020-11-26T11:02:32.6971826Z Author : Microsoft Corporation\r\n2020-11-26T11:02:32.6972383Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash\r\n2020-11-26T11:02:32.6973012Z ==============================================================================\r\n2020-11-26T11:02:32.9619865Z Generating script.\r\n2020-11-26T11:02:32.9824762Z [command]\"C:\\Program Files\\Git\\bin\\bash.exe\" --noprofile --norc -c pwd\r\n2020-11-26T11:02:33.0802003Z /d/a/_temp\r\n2020-11-26T11:02:33.0846216Z \r\n2020-11-26T11:02:33.0876225Z ========================== Starting Command Output ===========================\r\n2020-11-26T11:02:33.0885510Z [command]\"C:\\Program Files\\Git\\bin\\bash.exe\" --noprofile --norc /d/a/_temp/d7f72ca5-7653-4d39-b14e-c4a3a640dc91.sh\r\n2020-11-26T11:02:33.7933378Z pytest -m \"not slow and not network\" -n auto --dist=loadfile -s --strict --durations=30 --junitxml=test-data.xml pandas --ignore=pandas/tests/window/ --ignore=pandas/tests/plotting/\r\n2020-11-26T11:03:46.1230792Z ##[warning]Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\r\n2020-11-26T11:03:46.1290301Z ##[warning]Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\r\n2020-11-26T11:03:46.1292192Z ##[warning]Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\r\n2020-11-26T11:03:46.1293979Z ##[warning]Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working\r\n2020-11-26T11:03:46.1295207Z ============================= test session starts =============================\r\n2020-11-26T11:03:46.1295831Z platform win32 -- Python 3.7.9, pytest-6.1.1, py-1.9.0, pluggy-0.13.1\r\n2020-11-26T11:03:46.1296368Z rootdir: D:\\a\\1\\s, configfile: setup.cfg, testpaths: pandas\r\n2020-11-26T11:03:46.1296847Z plugins: hypothesis-5.41.3, azurepipelines-0.8.0, forked-1.3.0, xdist-2.1.0\r\n2020-11-26T11:03:46.1297375Z gw0 I / gw1 I\r\n2020-11-26T11:03:46.1297683Z gw0 [98481] / gw1 [98481]\r\n2020-11-26T11:03:46.1297932Z \r\n2020-11-26T11:19:01.9006050Z Result Attachments will be stored in LogStore\r\n2020-11-26T11:19:01.9506376Z Run Attachments will be stored in LogStore\r\n2020-11-26T11:19:03.1155850Z ##[error]1 test(s) failed, 98481 test(s) collected.\r\n2020-11-26T11:19:03.1158156Z Skipping uploading of coverage data.\r\n2020-11-26T11:19:03.1158771Z \r\n2020-11-26T11:19:03.1159206Z ================================== FAILURES ===================================\r\n2020-11-26T11:19:03.1159714Z ____________________________ test_shift_across_dst ____________________________\r\n2020-11-26T11:19:03.1160220Z [gw1] win32 -- Python 3.7.9 C:\\Miniconda\\envs\\pandas-dev\\python.exe\r\n2020-11-26T11:19:03.1160827Z \r\n2020-11-26T11:19:03.1161077Z @given(gen_yqm_offset)\r\n2020-11-26T11:19:03.1161361Z > def test_shift_across_dst(offset):\r\n2020-11-26T11:19:03.1161564Z \r\n2020-11-26T11:19:03.1161828Z pandas\\tests\\tseries\\offsets\\test_offsets_properties.py:107: \r\n2020-11-26T11:19:03.1162225Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n2020-11-26T11:19:03.1163012Z C:\\Miniconda\\envs\\pandas-dev\\lib\\site-packages\\hypothesis\\core.py:661: in execute_once\r\n2020-11-26T11:19:03.1164457Z % (test.__name__, text_repr[0])\r\n2020-11-26T11:19:03.1164917Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n2020-11-26T11:19:03.1165284Z \r\n2020-11-26T11:19:03.1165669Z self = <hypothesis.core.StateForActualGivenExecution object at 0x000001EC3C0E6D08>\r\n2020-11-26T11:19:03.1166349Z message = 'Hypothesis test_shift_across_dst(offset=<-4 * BYearEnds: month=1>) produces unreliable results: Falsified on the first call but did not on a subsequent one'\r\n2020-11-26T11:19:03.1168377Z \r\n2020-11-26T11:19:03.1168728Z def __flaky(self, message):\r\n2020-11-26T11:19:03.1169153Z if len(self.falsifying_examples) <= 1:\r\n2020-11-26T11:19:03.1169544Z > raise Flaky(message)\r\n2020-11-26T11:19:03.1170217Z E hypothesis.errors.Flaky: Hypothesis test_shift_across_dst(offset=<-4 * BYearEnds: month=1>) produces unreliable results: Falsified on the first call but did not on a subsequent one\r\n2020-11-26T11:19:03.1170780Z \r\n2020-11-26T11:19:03.1171182Z C:\\Miniconda\\envs\\pandas-dev\\lib\\site-packages\\hypothesis\\core.py:866: Flaky\r\n2020-11-26T11:19:03.1171722Z --------------------------------- Hypothesis ----------------------------------\r\n2020-11-26T11:19:03.1172169Z Falsifying example: test_shift_across_dst(\r\n2020-11-26T11:19:03.1172581Z offset=<-4 * BYearEnds: month=1>,\r\n2020-11-26T11:19:03.1172904Z )\r\n2020-11-26T11:19:03.1173635Z Unreliable test timings! On an initial run, this test took 638.78ms, which exceeded the deadline of 500.00ms, but on a subsequent run it took 1.55 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None.\r\n2020-11-26T11:19:03.1174495Z \r\n2020-11-26T11:19:03.1174995Z You can reproduce this example by temporarily adding @reproduce_failure('5.41.3', b'AAsAAQQA') as a decorator on your test case\r\n2020-11-26T11:19:03.1175561Z ============================== warnings summary ===============================\r\n2020-11-26T11:19:03.1176092Z C:\\Miniconda\\envs\\pandas-dev\\lib\\site-packages\\matplotlib\\__init__.py:107\r\n2020-11-26T11:19:03.1176625Z C:\\Miniconda\\envs\\pandas-dev\\lib\\site-packages\\matplotlib\\__init__.py:107\r\n```" | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38092/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38092/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38093 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38093/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38093/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38093/events | https://github.com/pandas-dev/pandas/issues/38093 | 751,696,567 | MDU6SXNzdWU3NTE2OTY1Njc= | 38,093 | Extend check for inconsistent pandas namespace usage | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "0e8a16",
"default... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/22735?v=4",
"events_url": "https://api.github.com/users/kevinetienne/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinetienne/followers",
"following_url": "https://api.github.com/users/kevinetienne/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinetienne/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kevinetienne",
"id": 22735,
"login": "kevinetienne",
"node_id": "MDQ6VXNlcjIyNzM1",
"organizations_url": "https://api.github.com/users/kevinetienne/orgs",
"received_events_url": "https://api.github.com/users/kevinetienne/received_events",
"repos_url": "https://api.github.com/users/kevinetienne/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kevinetienne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinetienne/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kevinetienne"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/22735?v=4",
"events_url": "https://api.github.com/users/kevinetienne/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinetienne/followers",
"following_url": "https://api.github.com/users/kevinetienne/following{/other_user}"... | null | 4 | 2020-11-26T15:59:04Z | 2021-02-14T14:00:35Z | 2021-02-14T14:00:35Z | MEMBER | null | xref #38076 - it can probably be extended beyond checking for classes.
Steps would be:
1. change `PATTERN` in `scripts/check_for_inconsistent_pandas_namespace.py` to
```
PATTERN = r"""
(
(?<!pd\.)(?<!\w) # check class_name doesn't start with pd. or character
(\w+)\( # match DataFrame but not pd.DataFrame or tm.makeDataFrame
.* # match anything
pd\.\2\( # only match e.g. pd.DataFrame
)|
(
pd\.(\w+)\( # only match e.g. pd.DataFrame
.* # match anything
(?<!pd\.)(?<!\w) # check class_name doesn't start with pd. or character
\4\( # match DataFrame but not pd.DataFrame or tm.makeDataFrame
)
"""
```
and save.
2. run `pre-commit run inconsistent-namespace-usage --all-files`, check the error messages, and fix them up
Here are the files which need fixing:
```
- [ ] pandas/tests/arrays/floating/test_to_numpy
- [ ] pandas/tests/extension/decimal/test_decimal
- [ ] pandas/tests/io/test_sql
- [ ] pandas/tests/series/test_constructors
- [ ] pandas/tests/arrays/test_datetimes
- [ ] pandas/tests/frame/test_stack_unstack
- [ ] pandas/tests/arrays/boolean/test_comparison
- [ ] pandas/tests/internals/test_internals
- [ ] pandas/tests/arrays/masked/test_arrow_compat
- [ ] pandas/tests/reshape/merge/test_multi
- [ ] pandas/tests/indexing/test_datetime
- [ ] pandas/tests/scalar/timestamp/test_unary_ops
```
This can probably all be one in a single PR.
3. To check you've fixed up a file completely, running
```
pre-commit run inconsistent-namespace-usage --files <file.py>
```
should return "PASSED". | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38093/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38093/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38094 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38094/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38094/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38094/events | https://github.com/pandas-dev/pandas/pull/38094 | 751,724,966 | MDExOlB1bGxSZXF1ZXN0NTI4MTg1NjU0 | 38,094 | REGR: fix regression in groupby aggregation with out-of-bounds datetimes | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality t... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 2 | 2020-11-26T16:46:02Z | 2020-11-27T20:47:55Z | 2020-11-27T20:12:02Z | MEMBER | null | Closes #36003 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38094/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38094/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38094.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38094",
"merged_at": "2020-11-27T20:12:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38094.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38094"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38095 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38095/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38095/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38095/events | https://github.com/pandas-dev/pandas/pull/38095 | 751,790,722 | MDExOlB1bGxSZXF1ZXN0NTI4MjM4NjIy | 38,095 | CLN: testing window namespace | {
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "d4c5f9",
"default... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-26T19:18:41Z | 2020-11-27T18:42:48Z | 2020-11-26T23:04:36Z | MEMBER | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
It appears we are heading this general direction in pandas imports in tests. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38095/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38095/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38095.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38095",
"merged_at": "2020-11-26T23:04:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38095.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38095"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38096 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38096/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38096/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38096/events | https://github.com/pandas-dev/pandas/pull/38096 | 751,795,549 | MDExOlB1bGxSZXF1ZXN0NTI4MjQyMzk5 | 38,096 | TST: Suppress http logs in tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-26T19:32:25Z | 2020-11-28T18:33:18Z | 2020-11-28T17:33:57Z | MEMBER | null | - [x] closes #38090
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Confirming that this does the trick. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38096/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38096/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38096.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38096",
"merged_at": "2020-11-28T17:33:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38096.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38096"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38097 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38097/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38097/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38097/events | https://github.com/pandas-dev/pandas/pull/38097 | 751,831,109 | MDExOlB1bGxSZXF1ZXN0NTI4MjY5ODk4 | 38,097 | PERF: replace_list | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-26T21:19:47Z | 2020-11-27T01:20:07Z | 2020-11-27T01:01:26Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
closes #38086, this gets us back to (very slightly ahead of) 1.1.4 performance for the cases there, will leave to @jorisvandenbossche whether that is enough to close the issue. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38097/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38097/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38097.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38097",
"merged_at": "2020-11-27T01:01:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38097.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38097"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38098 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38098/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38098/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38098/events | https://github.com/pandas-dev/pandas/pull/38098 | 751,833,194 | MDExOlB1bGxSZXF1ZXN0NTI4MjcxNDU2 | 38,098 | API: CategoricalIndex.append fallback to concat_compat | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-26T21:26:43Z | 2020-11-29T16:17:11Z | 2020-11-29T15:59:57Z | MEMBER | null | - [x] closes #14586
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The main thing being changed here is `CategoricalIndex._concat` to better match the behavior of all the other `FooIndex._concat` methods. Everything else being changed here is just cleanup that this makes possible.
cc @jorisvandenbossche | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38098/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38098/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38098.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38098",
"merged_at": "2020-11-29T15:59:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38098.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38098"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38099 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38099/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38099/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38099/events | https://github.com/pandas-dev/pandas/pull/38099 | 751,836,355 | MDExOlB1bGxSZXF1ZXN0NTI4MjczOTA5 | 38,099 | BUG: fix wrong error message in deprecated 2D indexing of Series with datetime values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": ... | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 8 | 2020-11-26T21:37:12Z | 2020-12-01T10:02:42Z | 2020-12-01T00:14:53Z | MEMBER | null | Closes #35527
For most Series types, this was properly raising the deprecation warning about 2D being deprecated, but for Series with datetimetz values, this started raising an AssertionError instead of only raising the warning.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38099/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38099/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38099.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38099",
"merged_at": "2020-12-01T00:14:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38099.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38099"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38100 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38100/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38100/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38100/events | https://github.com/pandas-dev/pandas/issues/38100 | 751,838,284 | MDU6SXNzdWU3NTE4MzgyODQ= | 38,100 | BUG: random_state should permit numpy.random.Generator | {
"avatar_url": "https://avatars.githubusercontent.com/u/1047337?v=4",
"events_url": "https://api.github.com/users/jamesmyatt/events{/privacy}",
"followers_url": "https://api.github.com/users/jamesmyatt/followers",
"following_url": "https://api.github.com/users/jamesmyatt/following{/other_user}",
"gists_url": "https://api.github.com/users/jamesmyatt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jamesmyatt",
"id": 1047337,
"login": "jamesmyatt",
"node_id": "MDQ6VXNlcjEwNDczMzc=",
"organizations_url": "https://api.github.com/users/jamesmyatt/orgs",
"received_events_url": "https://api.github.com/users/jamesmyatt/received_events",
"repos_url": "https://api.github.com/users/jamesmyatt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jamesmyatt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamesmyatt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jamesmyatt"
} | [
{
"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": "pandas o... | 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 | 2020-11-26T21:42:54Z | 2021-07-04T21:37:34Z | 2021-07-04T21:37:34Z | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
df = pd.DataFrame({'num_legs': [2, 4, 8, 0],
'num_wings': [2, 0, 0, 0],
'num_specimen_seen': [10, 2, 1, 8]},
index=['falcon', 'dog', 'spider', 'fish'])
rng = np.random.default_rng()
df.sample(random_state=rng)
```
Output:
```raw
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-34-d27bfa21cee7> in <module>
4 index=['falcon', 'dog', 'spider', 'fish'])
5 rng = np.random.default_rng()
----> 6 df.sample(random_state=rng)
C:\tools\miniconda3\envs\pandas-dev\lib\site-packages\pandas\core\generic.py in sample(self, n, frac, replace, weights, random_state, axis)
4914
4915 # Process random_state argument
-> 4916 rs = com.random_state(random_state)
4917
4918 # Check weights for compliance
C:\tools\miniconda3\envs\pandas-dev\lib\site-packages\pandas\core\common.py in random_state(state)
429 return np.random
430 else:
--> 431 raise ValueError(
432 (
433 "random_state must be an integer, array-like, a BitGenerator, "
ValueError: random_state must be an integer, array-like, a BitGenerator, a numpy RandomState, or None
```
#### Problem description
Best practice since Numpy 1.17 for creating random number generators is to use `numpy.random.default_rng`:
https://numpy.org/doc/stable/reference/random/index.html?highlight=random#quick-start. This returns a `numpy.random.Generator` object. It should not be necessary to extract the underlying `BitGenerator` or convert it manually to a [legacy](https://numpy.org/doc/stable/reference/random/legacy.html#legacy) `numpy.random.RandomState`.
Closest issues I can find are https://github.com/pandas-dev/pandas/issues/28440 (mentions performance only) and https://github.com/pandas-dev/pandas/issues/32503. Code is here:
https://github.com/pandas-dev/pandas/blob/78d149897201cb55b403f6f84fc541a3d7aa86ad/pandas/core/common.py#L366
Current simplest workaround is as follows. I've confirmed that it advances `rng`.
```python
df.sample(random_state=rng.bit_generator)
```
#### Expected Output
Code above should not throw an error.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : English_United Kingdom.1252
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : None
pytest : 6.1.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 2.0.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.3
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38100/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38100/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38101 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38101/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38101/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38101/events | https://github.com/pandas-dev/pandas/pull/38101 | 751,838,637 | MDExOlB1bGxSZXF1ZXN0NTI4Mjc1NzA0 | 38,101 | BUG: Series.at returning Series with one element instead of scalar | {
"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": "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": "20... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 4 | 2020-11-26T21:44:00Z | 2020-11-29T16:04:01Z | 2020-11-29T15:59:11Z | MEMBER | null | - [x] closes #38053
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I think if we are at this place and len(values) is 1, we want to return a scalar instead of a Series. This happens only because loc is a slice (0,1) with one MultiIndex level instead of a scalar.
Should I create a file to move all MultiIndex at tests to the MultiIndex folder? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38101/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38101/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38101.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38101",
"merged_at": "2020-11-29T15:59:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38101.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38101"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38102 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38102/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38102/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38102/events | https://github.com/pandas-dev/pandas/pull/38102 | 751,925,409 | MDExOlB1bGxSZXF1ZXN0NTI4MzUwODk2 | 38,102 | REF: use _validate_fill_value in Index.insert | {
"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": "d7e102",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 5 | 2020-11-27T01:39:00Z | 2020-12-13T18:26:11Z | 2020-12-13T17:38:59Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38102/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38102/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38102.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38102",
"merged_at": "2020-12-13T17:38:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38102.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38102"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38103 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38103/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38103/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38103/events | https://github.com/pandas-dev/pandas/pull/38103 | 751,942,418 | MDExOlB1bGxSZXF1ZXN0NTI4MzYzNzU0 | 38,103 | PERF: Index.searchsorted | {
"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": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-27T02:44:09Z | 2020-11-27T15:25:02Z | 2020-11-27T07:24:04Z | MEMBER | null | - [x] closes #38083
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38103/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38103/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38103.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38103",
"merged_at": "2020-11-27T07:24:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38103.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38103"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38104 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38104/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38104/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38104/events | https://github.com/pandas-dev/pandas/issues/38104 | 751,952,541 | MDU6SXNzdWU3NTE5NTI1NDE= | 38,104 | BUG: RangeIndex is not being appened correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4",
"events_url": "https://api.github.com/users/galipremsagar/events{/privacy}",
"followers_url": "https://api.github.com/users/galipremsagar/followers",
"following_url": "https://api.github.com/users/galipremsagar/following{/other_user}",
"gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galipremsagar",
"id": 11664259,
"login": "galipremsagar",
"node_id": "MDQ6VXNlcjExNjY0MjU5",
"organizations_url": "https://api.github.com/users/galipremsagar/orgs",
"received_events_url": "https://api.github.com/users/galipremsagar/received_events",
"repos_url": "https://api.github.com/users/galipremsagar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galipremsagar"
} | [
{
"color": "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,
"descript... | closed | false | null | [] | null | 2 | 2020-11-27T03:19:05Z | 2021-08-14T16:54:58Z | 2021-08-14T16:54:52Z | 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
>>> df1 = pd.DataFrame({'a':[1, 2, 3]})
>>> df1.to_parquet('abc/one.parquet')
>>> df2 = pd.DataFrame({'a':[4, 5, 6]})
>>> df2.to_parquet('abc/two.parquet')
>>> df3 = pd.DataFrame({'a':[7, 8, 9]})
>>> df3.to_parquet('abc/three.parquet')
>>> pd.read_parquet('abc/')
a
0 1
1 2
2 3
3 7
4 8
5 9
6 4
7 5
8 6
```
#### Problem description
When there are multiple parquet files with identical/non-identical RangeIndex objects I think doing `pd.read_parquet` should ideally be appending all the RangeIndex objects of each parquet file.
#### Expected Output
```python
>>> pd.read_parquet('abc/')
a
0 1
1 2
2 3
0 7
1 8
2 9
0 4
1 5
2 6
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 20.1.0
Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : None
pytest : None
hypothesis : 5.29.0
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
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 : 1.0.1
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38104/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38104/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38105 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38105/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38105/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38105/events | https://github.com/pandas-dev/pandas/pull/38105 | 751,967,653 | MDExOlB1bGxSZXF1ZXN0NTI4MzgyODI2 | 38,105 | REF: implement _should_compare | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 5 | 2020-11-27T04:11:58Z | 2020-12-02T02:35:02Z | 2020-12-02T01:51:11Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Index._is_comparable_dtype is limited because it misses a few cases: object dtype, and sub-dtypes within categorical. This implements Indes._should_compare, which handles those correctly. It then implements `_get_indexer_non_comparable` for cases in which we short-circuit non-comparable dtypes.
As a proof of concept, this then uses _should_compare and _get_indexer_non_comparable for `PeriodIndex.get_indexer`.
The behavior change, which this tests, is one that IIUC is a bug. That is, when we do get_indexer with a method and non-comparable dtypes, we should raise instead of return all minus-ones.
If implemented, we'll be able to use _should_compare to simplify all of the get_indexer, get_indexer_non_unique, and set op methods. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38105/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38105/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38105.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38105",
"merged_at": "2020-12-02T01:51:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38105.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38105"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38106 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38106/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38106/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38106/events | https://github.com/pandas-dev/pandas/pull/38106 | 751,983,934 | MDExOlB1bGxSZXF1ZXN0NTI4Mzk1NzUy | 38,106 | BUG in Series.interpolate: limit_area/limit_direction kwargs with method="pad"/"bfill" have no effect | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, d... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-11-27T05:06:06Z | 2020-12-01T22:45:17Z | 2020-12-01T22:05:06Z | MEMBER | null | - [x] closes #26796
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Picking up #31048 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38106/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38106/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38106.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38106",
"merged_at": "2020-12-01T22:05:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38106.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38106"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38107 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38107/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38107/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38107/events | https://github.com/pandas-dev/pandas/issues/38107 | 751,995,935 | MDU6SXNzdWU3NTE5OTU5MzU= | 38,107 | BUG: `df.copy` removes attributes from series in the original dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | null | 2 | 2020-11-27T05:41:19Z | 2020-11-27T08:19:56Z | 2020-11-27T08:16:40Z | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# Your code here
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3]})
df["a"].attrs["key"] = "value"
display(df["a"].attrs)
# {'key': 'value'}
_ = df.copy()
display(df["a"].attrs)
# {}
```
#### Problem description
Calling copy on a dataframe probably shouldn't modify it or it's contents (especially those exposed through public attributes) in any way.
I would also ague the copy should keep these attributes, but that's more related to #35425
#### Expected Output
The second `display(df["a"].attrs)` should print: `{'key': 'value'}`
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.2
Cython : 0.29.21
pytest : 6.1.2
hypothesis : None
sphinx : 3.3.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.7.4
fastparquet : 0.4.1
gcsfs : None
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 2.0.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.4
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.1
xlrd : 1.2.0
xlwt : None
numba : 0.51.2
```
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38107/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38107/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38108 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38108/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38108/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38108/events | https://github.com/pandas-dev/pandas/pull/38108 | 752,145,624 | MDExOlB1bGxSZXF1ZXN0NTI4NTI1ODkx | 38,108 | BUG: calling at[] on a Series with a single-level MultiIndex returns a Series, not a scalar | {
"avatar_url": "https://avatars.githubusercontent.com/u/7390489?v=4",
"events_url": "https://api.github.com/users/steveya/events{/privacy}",
"followers_url": "https://api.github.com/users/steveya/followers",
"following_url": "https://api.github.com/users/steveya/following{/other_user}",
"gists_url": "https://api.github.com/users/steveya/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/steveya",
"id": 7390489,
"login": "steveya",
"node_id": "MDQ6VXNlcjczOTA0ODk=",
"organizations_url": "https://api.github.com/users/steveya/orgs",
"received_events_url": "https://api.github.com/users/steveya/received_events",
"repos_url": "https://api.github.com/users/steveya/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/steveya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/steveya/subscriptions",
"type": "User",
"url": "https://api.github.com/users/steveya"
} | [] | closed | false | null | [] | null | 0 | 2020-11-27T10:25:00Z | 2020-11-27T10:26:57Z | 2020-11-27T10:25:33Z | CONTRIBUTOR | null | - [ ] closes #GH38053
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38108/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38108/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38108.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38108",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38108.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38108"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38109 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38109/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38109/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38109/events | https://github.com/pandas-dev/pandas/pull/38109 | 752,230,879 | MDExOlB1bGxSZXF1ZXN0NTI4NTk1MTIw | 38,109 | DOC: Add behavior for Index argument in DataFrame.loc | {
"avatar_url": "https://avatars.githubusercontent.com/u/19281800?v=4",
"events_url": "https://api.github.com/users/hongshaoyang/events{/privacy}",
"followers_url": "https://api.github.com/users/hongshaoyang/followers",
"following_url": "https://api.github.com/users/hongshaoyang/following{/other_user}",
"gists_url": "https://api.github.com/users/hongshaoyang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hongshaoyang",
"id": 19281800,
"login": "hongshaoyang",
"node_id": "MDQ6VXNlcjE5MjgxODAw",
"organizations_url": "https://api.github.com/users/hongshaoyang/orgs",
"received_events_url": "https://api.github.com/users/hongshaoyang/received_events",
"repos_url": "https://api.github.com/users/hongshaoyang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hongshaoyang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hongshaoyang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hongshaoyang"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing o... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-27T12:48:37Z | 2020-11-29T18:06:28Z | 2020-11-29T18:06:24Z | CONTRIBUTOR | null | - [x] closes #36850
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38109/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38109/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38109.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38109",
"merged_at": "2020-11-29T18:06:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38109.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38109"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38110 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38110/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38110/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38110/events | https://github.com/pandas-dev/pandas/issues/38110 | 752,286,180 | MDU6SXNzdWU3NTIyODYxODA= | 38,110 | Follow-up on basic FloatingArray implementation | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "fbca04",
"default": false,
"description": "High lev... | open | false | null | [] | null | 0 | 2020-11-27T14:20:43Z | 2021-08-14T16:56:29Z | null | MEMBER | null | Long overdue follow-up item on the initial merge of the nullable float64/float32 support (https://github.com/pandas-dev/pandas/pull/34307).
List of follow-up TODO items:
* [x] Update the `convert_dtypes` method to also return nullable floats (one question here: what with floats that are all "integer"-like? I think we want to keep returning nullable int for that, but we might want to add a parameter controlling that behaviour?) -> #38117
* [x] Arithmetic operations with IntegerArray/BooleanArray can now return a FloatingArray instead of numpy float array(eg division with Int64 should give Float64 -> #38178
* [ ] Ufuncs on IntegerArray/BooleanArray can return FloatingArray, ufuncs on mixture of IntegerArray/FloatArray
* [x] Consolidate some tests that are common for integer/boolean/float
* For example the `value_counts` test could easily be shared and moved to masked/ (see the ones I added in https://github.com/pandas-dev/pandas/pull/38178)
* [ ] Deduplicate more things between the Array classes and move to BaseMaskedArray (eg the arithmetic / comparison ops can probably be moved with a bit of refactoring)
* [x] `__from_arrow__` -> https://github.com/pandas-dev/pandas/pull/38411
* [ ] ufuncs -> https://github.com/pandas-dev/pandas/pull/38412
* [ ] `coerce_to_array`, but this will probably require some refactoring
* [ ] Honor the formatting options (eg precision) #39336
* [x] Fix membership test for np.nan (`np.nan in arr`), see https://github.com/pandas-dev/pandas/pull/37867#discussion_r531079439
And of course, we also still have the NA vs NaN discussion to further flesh out (https://github.com/pandas-dev/pandas/issues/32265), but this issue is for the direct practical TODO items.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38110/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38110/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38111 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38111/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38111/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38111/events | https://github.com/pandas-dev/pandas/pull/38111 | 752,342,716 | MDExOlB1bGxSZXF1ZXN0NTI4Njg1MTIz | 38,111 | BUG: name retention in Index.intersection | {
"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,... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 2 | 2020-11-27T15:56:23Z | 2020-12-02T01:49:46Z | 2020-12-02T01:46:07Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
its going to take a few passes to get the behavior consistent across all subclasses. once done, we can de-duplicate the boilerplate. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38111/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38111/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38111.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38111",
"merged_at": "2020-12-02T01:46:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38111.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38111"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38112 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38112/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38112/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38112/events | https://github.com/pandas-dev/pandas/pull/38112 | 752,344,981 | MDExOlB1bGxSZXF1ZXN0NTI4Njg2OTUz | 38,112 | REF: IntervalIndex._assert_can_do_setop | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "009800",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-27T16:00:40Z | 2020-11-28T18:23:50Z | 2020-11-28T18:22:36Z | MEMBER | null | Working towards standardizing+deduplicating set ops across Index subclasses, xref #38111 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38112/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38112/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38112.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38112",
"merged_at": "2020-11-28T18:22:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38112.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38112"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38113 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38113/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38113/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38113/events | https://github.com/pandas-dev/pandas/pull/38113 | 752,352,064 | MDExOlB1bGxSZXF1ZXN0NTI4NjkyNTcz | 38,113 | TST: rewrite convert_dtypes test to make it easier extendable | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "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 | 0 | 2020-11-27T16:13:11Z | 2020-11-28T14:31:45Z | 2020-11-28T14:27:21Z | MEMBER | null | I have a branch adding `convert_floating` support for ``convert_dtypes``, and the current way they are written is not really maintainable when adding more keywords (eg the tuples of 4 would become tuples of 5, making it even harder to know what is what, and making the formatting less easy to follow).
In this PR, I just refactored how the test cases are defined and didn't change any actual content. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38113/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38113/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38113.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38113",
"merged_at": "2020-11-28T14:27:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38113.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38113"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38114 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38114/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38114/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38114/events | https://github.com/pandas-dev/pandas/pull/38114 | 752,354,319 | MDExOlB1bGxSZXF1ZXN0NTI4Njk0MjM1 | 38,114 | REF: implement _should_compare | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | null | 1 | 2020-11-27T16:16:58Z | 2020-11-29T15:31:44Z | 2020-11-29T15:31:15Z | MEMBER | null | Broken off from #38105 so I can start using it to fix inconsistent set ops. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38114/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38114/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38114.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38114",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38114.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38114"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38115 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38115/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38115/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38115/events | https://github.com/pandas-dev/pandas/pull/38115 | 752,372,150 | MDExOlB1bGxSZXF1ZXN0NTI4NzA5MDc2 | 38,115 | Backport PR #34407 on branch 1.1.x: REGR: revert "CLN: _consolidate_inplace less" / fix regression in fillna() | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
} | 0 | 2020-11-27T16:44:12Z | 2020-11-27T19:48:01Z | 2020-11-27T19:47:55Z | MEMBER | null | Backport PR #34407 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38115/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38115/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38115.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38115",
"merged_at": "2020-11-27T19:47:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38115.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38115"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38116 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38116/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38116/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38116/events | https://github.com/pandas-dev/pandas/pull/38116 | 752,378,890 | MDExOlB1bGxSZXF1ZXN0NTI4NzE0NTAy | 38,116 | CLN: fix flake8 C408 part 2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "207de5",
"default... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 3 | 2020-11-27T16:58:38Z | 2020-12-05T18:52:47Z | 2020-11-28T17:35:09Z | MEMBER | null | followup of #38078 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38116/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38116/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38116.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38116",
"merged_at": "2020-11-28T17:35:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38116.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38116"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38117 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38117/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38117/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38117/events | https://github.com/pandas-dev/pandas/pull/38117 | 752,382,842 | MDExOlB1bGxSZXF1ZXN0NTI4NzE3NjY0 | 38,117 | ENH: include conversion to nullable float in convert_dtypes() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 6 | 2020-11-27T17:07:08Z | 2020-11-29T19:29:16Z | 2020-11-29T19:12:55Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/issues/38110
There is one potentially corner case: what with floats that are all "integer"-like? I think we want to keep returning nullable int for that, at least by default, and that is what I did now in this PR But we might want to add a parameter controlling that behaviour? (but that can also be added later on if there is demand for 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/38117/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38117/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38117.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38117",
"merged_at": "2020-11-29T19:12:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38117.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38117"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38118 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38118/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38118/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38118/events | https://github.com/pandas-dev/pandas/pull/38118 | 752,398,252 | MDExOlB1bGxSZXF1ZXN0NTI4NzMwMTU2 | 38,118 | BUG: parsed datetime string resolution incorrect | {
"avatar_url": "https://avatars.githubusercontent.com/u/62092582?v=4",
"events_url": "https://api.github.com/users/boringow/events{/privacy}",
"followers_url": "https://api.github.com/users/boringow/followers",
"following_url": "https://api.github.com/users/boringow/following{/other_user}",
"gists_url": "https://api.github.com/users/boringow/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/boringow",
"id": 62092582,
"login": "boringow",
"node_id": "MDQ6VXNlcjYyMDkyNTgy",
"organizations_url": "https://api.github.com/users/boringow/orgs",
"received_events_url": "https://api.github.com/users/boringow/received_events",
"repos_url": "https://api.github.com/users/boringow/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/boringow/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/boringow/subscriptions",
"type": "User",
"url": "https://api.github.com/users/boringow"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"i... | closed | false | null | [] | null | 10 | 2020-11-27T17:45:38Z | 2021-01-30T15:32:34Z | 2021-01-24T01:22:07Z | NONE | null | I was working today with datetime index, you have the reso (resolutions) defined from year to nanosecond, but then you had the lines 560-570 repeating 'minute' and 'second', and working with millisecond or nanosecond raises a KeyIndex error.
- [ ] closes #38121
- [ ] closes #38077
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38118/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38118/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38118.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38118",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38118.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38118"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.