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/29113 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29113/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29113/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29113/events | https://github.com/pandas-dev/pandas/pull/29113 | 509,576,831 | MDExOlB1bGxSZXF1ZXN0MzMwMTA0NzI2 | 29,113 | DOC: Add instructions how to activate virtual env under windows with pip | {
"avatar_url": "https://avatars.githubusercontent.com/u/3358056?v=4",
"events_url": "https://api.github.com/users/gbaychev/events{/privacy}",
"followers_url": "https://api.github.com/users/gbaychev/followers",
"following_url": "https://api.github.com/users/gbaychev/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaychev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gbaychev",
"id": 3358056,
"login": "gbaychev",
"node_id": "MDQ6VXNlcjMzNTgwNTY=",
"organizations_url": "https://api.github.com/users/gbaychev/orgs",
"received_events_url": "https://api.github.com/users/gbaychev/received_events",
"repos_url": "https://api.github.com/users/gbaychev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gbaychev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaychev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gbaychev"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-10-20T10:42:45Z | 2019-11-01T23:18:38Z | 2019-11-01T23:18:32Z | CONTRIBUTOR | null | Contributing.rst now correctly describes how to setup dev environment
under Windows when using pip and not conda.
Closes #29112
- [x] closes #29112
- [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/29113/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29113/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29113.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29113",
"merged_at": "2019-11-01T23:18:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29113.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29113"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29114 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29114/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29114/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29114/events | https://github.com/pandas-dev/pandas/pull/29114 | 509,620,698 | MDExOlB1bGxSZXF1ZXN0MzMwMTM1MDk1 | 29,114 | Fix typing errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/9865734?v=4",
"events_url": "https://api.github.com/users/AbhijeetKrishnan/events{/privacy}",
"followers_url": "https://api.github.com/users/AbhijeetKrishnan/followers",
"following_url": "https://api.github.com/users/AbhijeetKrishnan/following{/other_user}",
"gists_url": "https://api.github.com/users/AbhijeetKrishnan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AbhijeetKrishnan",
"id": 9865734,
"login": "AbhijeetKrishnan",
"node_id": "MDQ6VXNlcjk4NjU3MzQ=",
"organizations_url": "https://api.github.com/users/AbhijeetKrishnan/orgs",
"received_events_url": "https://api.github.com/users/AbhijeetKrishnan/received_events",
"repos_url": "https://api.github.com/users/AbhijeetKrishnan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AbhijeetKrishnan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AbhijeetKrishnan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AbhijeetKrishnan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-10-20T16:52:55Z | 2019-10-21T18:08:17Z | 2019-10-20T22:27:42Z | CONTRIBUTOR | null | - [x] closes subtask of #28926
- [x] tests 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/29114/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29114/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29114.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29114",
"merged_at": "2019-10-20T22:27:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29114.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29114"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29115 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29115/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29115/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29115/events | https://github.com/pandas-dev/pandas/pull/29115 | 509,621,256 | MDExOlB1bGxSZXF1ZXN0MzMwMTM1NDg2 | 29,115 | Fix typing errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/9865734?v=4",
"events_url": "https://api.github.com/users/AbhijeetKrishnan/events{/privacy}",
"followers_url": "https://api.github.com/users/AbhijeetKrishnan/followers",
"following_url": "https://api.github.com/users/AbhijeetKrishnan/following{/other_user}",
"gists_url": "https://api.github.com/users/AbhijeetKrishnan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AbhijeetKrishnan",
"id": 9865734,
"login": "AbhijeetKrishnan",
"node_id": "MDQ6VXNlcjk4NjU3MzQ=",
"organizations_url": "https://api.github.com/users/AbhijeetKrishnan/orgs",
"received_events_url": "https://api.github.com/users/AbhijeetKrishnan/received_events",
"repos_url": "https://api.github.com/users/AbhijeetKrishnan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AbhijeetKrishnan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AbhijeetKrishnan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AbhijeetKrishnan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2019-10-20T16:58:06Z | 2019-10-21T17:21:27Z | 2019-10-20T22:26:41Z | CONTRIBUTOR | null | - [x] closes a subtask of #28926
- [x] tests 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/29115/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29115/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29115.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29115",
"merged_at": "2019-10-20T22:26:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29115.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29115"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29116 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29116/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29116/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29116/events | https://github.com/pandas-dev/pandas/pull/29116 | 509,624,719 | MDExOlB1bGxSZXF1ZXN0MzMwMTM3OTIz | 29,116 | ENH: Implement Keyword Aggregation for DataFrame.agg and Series.agg | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"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,
... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 24 | 2019-10-20T17:27:21Z | 2020-07-10T19:32:45Z | 2020-07-10T19:16:29Z | MEMBER | null | - [x] closes #26513, related to #28380
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This PR basically deals with three issue:
1. implement keyword aggregation for DataFrame.agg
2. implement keyword aggregation for Series.agg
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29116/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29116/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29116.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29116",
"merged_at": "2020-07-10T19:16:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29116.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29116"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29117 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29117/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29117/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29117/events | https://github.com/pandas-dev/pandas/pull/29117 | 509,628,043 | MDExOlB1bGxSZXF1ZXN0MzMwMTQwMjM1 | 29,117 | REF: avoid getattr pattern for join_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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-20T17:54:56Z | 2019-10-22T15:07:39Z | 2019-10-22T12:34:20Z | 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/29117/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29117/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29117.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29117",
"merged_at": "2019-10-22T12:34:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29117.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29117"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/29118 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29118/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29118/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29118/events | https://github.com/pandas-dev/pandas/pull/29118 | 509,635,279 | MDExOlB1bGxSZXF1ZXN0MzMwMTQ1NDQw | 29,118 | ENH: Add built-in function for Styler to format the text displayed for missing values | {
"avatar_url": "https://avatars.githubusercontent.com/u/26521816?v=4",
"events_url": "https://api.github.com/users/immaxchen/events{/privacy}",
"followers_url": "https://api.github.com/users/immaxchen/followers",
"following_url": "https://api.github.com/users/immaxchen/following{/other_user}",
"gists_url": "https://api.github.com/users/immaxchen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/immaxchen",
"id": 26521816,
"login": "immaxchen",
"node_id": "MDQ6VXNlcjI2NTIxODE2",
"organizations_url": "https://api.github.com/users/immaxchen/orgs",
"received_events_url": "https://api.github.com/users/immaxchen/received_events",
"repos_url": "https://api.github.com/users/immaxchen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/immaxchen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/immaxchen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/immaxchen"
} | [
{
"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": "read_htm... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 13 | 2019-10-20T18:49:38Z | 2019-11-25T13:54:34Z | 2019-11-25T13:54:22Z | CONTRIBUTOR | null | As described in the issues, user who wants to control how NA values are printed
while applying styles to the output will have to implement their own formatter.
(so that the underlying data will not change and can be used for styling)
Since the behavior is common in styling (for reports etc.), suggest to add this
shortcut function to enable users format their NA values as something like '--'
or 'Not Available' easily.
EDIT:
- Change implementation to integrate with the original `.format()` using `na_rep` argument
- Add a new table-wise default `na_rep` setting, which can be set through `.set_na_rep()`
- Minor fix: formatter should be wrapped outside of locs-loop
- Added a few user guide examples and test cases
example usage: `df.style.highlight_max().format(None, na_rep="-")`
- [x] closes #21527 and #28358
- [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/29118/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29118/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29118.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29118",
"merged_at": "2019-11-25T13:54:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29118.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29118"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29119 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29119/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29119/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29119/events | https://github.com/pandas-dev/pandas/pull/29119 | 509,649,043 | MDExOlB1bGxSZXF1ZXN0MzMwMTU1NjEy | 29,119 | mypy Fix for tests\frame\test_constructors | {
"avatar_url": "https://avatars.githubusercontent.com/u/32079152?v=4",
"events_url": "https://api.github.com/users/happilyeverafter95/events{/privacy}",
"followers_url": "https://api.github.com/users/happilyeverafter95/followers",
"following_url": "https://api.github.com/users/happilyeverafter95/following{/other_user}",
"gists_url": "https://api.github.com/users/happilyeverafter95/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/happilyeverafter95",
"id": 32079152,
"login": "happilyeverafter95",
"node_id": "MDQ6VXNlcjMyMDc5MTUy",
"organizations_url": "https://api.github.com/users/happilyeverafter95/orgs",
"received_events_url": "https://api.github.com/users/happilyeverafter95/received_events",
"repos_url": "https://api.github.com/users/happilyeverafter95/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/happilyeverafter95/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/happilyeverafter95/subscriptions",
"type": "User",
"url": "https://api.github.com/users/happilyeverafter95"
} | [] | closed | false | null | [] | null | 1 | 2019-10-20T20:36:12Z | 2019-10-21T06:29:11Z | 2019-10-21T06:29:11Z | NONE | null | - [x] closes one subtask of #28926
- [ ] 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/29119/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29119/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29119.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29119",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29119.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29119"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29120 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29120/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29120/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29120/events | https://github.com/pandas-dev/pandas/pull/29120 | 509,667,077 | MDExOlB1bGxSZXF1ZXN0MzMwMTY4ODA1 | 29,120 | REF: avoid getattr pattern for diff_2d; use fused types | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-20T23:12:25Z | 2019-10-23T23:08:47Z | 2019-10-22T12:31:51Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29120/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29120/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29120.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29120",
"merged_at": "2019-10-22T12:31:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29120.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29120"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/29121 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29121/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29121/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29121/events | https://github.com/pandas-dev/pandas/pull/29121 | 509,667,342 | MDExOlB1bGxSZXF1ZXN0MzMwMTY5MDE4 | 29,121 | REF: avoid getattr pattern for unstack, assorted cleanups | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-20T23:14:47Z | 2019-10-22T15:04:44Z | 2019-10-22T12:32:51Z | MEMBER | null | Remove the only "FIXME" left in the cython code | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29121/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29121/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29121.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29121",
"merged_at": "2019-10-22T12:32:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29121.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29121"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29122 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29122/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29122/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29122/events | https://github.com/pandas-dev/pandas/pull/29122 | 509,670,782 | MDExOlB1bGxSZXF1ZXN0MzMwMTcxNTg5 | 29,122 | Make color validation more forgiving | {
"avatar_url": "https://avatars.githubusercontent.com/u/1882093?v=4",
"events_url": "https://api.github.com/users/AllenDowney/events{/privacy}",
"followers_url": "https://api.github.com/users/AllenDowney/followers",
"following_url": "https://api.github.com/users/AllenDowney/following{/other_user}",
"gists_url": "https://api.github.com/users/AllenDowney/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AllenDowney",
"id": 1882093,
"login": "AllenDowney",
"node_id": "MDQ6VXNlcjE4ODIwOTM=",
"organizations_url": "https://api.github.com/users/AllenDowney/orgs",
"received_events_url": "https://api.github.com/users/AllenDowney/received_events",
"repos_url": "https://api.github.com/users/AllenDowney/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AllenDowney/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AllenDowney/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AllenDowney"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 9 | 2019-10-20T23:48:28Z | 2020-04-27T15:34:39Z | 2019-11-10T14:44:10Z | CONTRIBUTOR | null | The current version throws a false positive if the style string contains `s` or `o`, which are valid marker styles and not colors. For example:
```
style='s', color='C3'
```
should be legal, but currently throws an error.
My suggestion is to check for only the letters that are color codes.
- [ ] 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/29122/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29122/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29122.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29122",
"merged_at": "2019-11-10T14:44:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29122.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29122"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29123 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29123/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29123/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29123/events | https://github.com/pandas-dev/pandas/issues/29123 | 509,706,190 | MDU6SXNzdWU1MDk3MDYxOTA= | 29,123 | conflict | {
"avatar_url": "https://avatars.githubusercontent.com/u/20232318?v=4",
"events_url": "https://api.github.com/users/logan-lieou/events{/privacy}",
"followers_url": "https://api.github.com/users/logan-lieou/followers",
"following_url": "https://api.github.com/users/logan-lieou/following{/other_user}",
"gists_url": "https://api.github.com/users/logan-lieou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/logan-lieou",
"id": 20232318,
"login": "logan-lieou",
"node_id": "MDQ6VXNlcjIwMjMyMzE4",
"organizations_url": "https://api.github.com/users/logan-lieou/orgs",
"received_events_url": "https://api.github.com/users/logan-lieou/received_events",
"repos_url": "https://api.github.com/users/logan-lieou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/logan-lieou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/logan-lieou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/logan-lieou"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 1 | 2019-10-21T03:09:44Z | 2019-10-21T03:46:42Z | 2019-10-21T03:44:54Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
df = pd.read_csv('file.csv')
```
#### Problem description
The problem I ran into is that it's telling me that read_csv is not a thing, I'm not sure what's going on here.

#### Expected Output
?
#### Output of ``pd.show_versions()``

<details>
[paste the output of ``pd.show_versions()`` here below this line]
</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/29123/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29123/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29124 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29124/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29124/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29124/events | https://github.com/pandas-dev/pandas/pull/29124 | 509,737,132 | MDExOlB1bGxSZXF1ZXN0MzMwMjIyNzk1 | 29,124 | Fixed Inconsistent GroupBy Output Shape with Duplicate Column Labels | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 34 | 2019-10-21T05:23:50Z | 2020-01-16T00:35:20Z | 2019-11-20T13:00:47Z | MEMBER | null | - [X] closes #21668 (and potentially a few others)
- [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/29124/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29124/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29124.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29124",
"merged_at": "2019-11-20T13:00:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29124.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29124"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29125 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29125/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29125/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29125/events | https://github.com/pandas-dev/pandas/issues/29125 | 509,753,317 | MDU6SXNzdWU1MDk3NTMzMTc= | 29,125 | Unify error messages when opening inexistent excel/csv file | {
"avatar_url": "https://avatars.githubusercontent.com/u/48503738?v=4",
"events_url": "https://api.github.com/users/tataudat/events{/privacy}",
"followers_url": "https://api.github.com/users/tataudat/followers",
"following_url": "https://api.github.com/users/tataudat/following{/other_user}",
"gists_url": "https://api.github.com/users/tataudat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tataudat",
"id": 48503738,
"login": "tataudat",
"node_id": "MDQ6VXNlcjQ4NTAzNzM4",
"organizations_url": "https://api.github.com/users/tataudat/orgs",
"received_events_url": "https://api.github.com/users/tataudat/received_events",
"repos_url": "https://api.github.com/users/tataudat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tataudat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tataudat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tataudat"
} | [
{
"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": "06909A",
"default": false,
"description": "IO issue... | open | false | null | [] | null | 2 | 2019-10-21T06:17:06Z | 2020-05-02T04:35:21Z | null | NONE | null | Similar to https://github.com/pandas-dev/pandas/issues/29102, excel and csv file extensions now have inconsistent errors for nonexistent files.
```
import pandas as pd
pd.read_csv('file_1.csv')
IOError: [Errno 2] File file_1.csv does not exist: 'file_1.csv'
pd.read_excel('file_2.xlsx')
IOError: [Errno 2] No such file or directory: 'file_2.xlsx'
```
Would be better to have a uniform error message across multiple file extensions, like the one with json in https://github.com/pandas-dev/pandas/pull/29104:
```
FileNotFoundError: File 'no_file.json' does not exist
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29125/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29125/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29126 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29126/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29126/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29126/events | https://github.com/pandas-dev/pandas/pull/29126 | 509,906,460 | MDExOlB1bGxSZXF1ZXN0MzMwMzU5OTgz | 29,126 | CLN: remove versionadded:: 0.20 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-21T11:38:21Z | 2019-10-22T19:05:31Z | 2019-10-22T12:23:12Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/27463#issuecomment-513492615 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29126/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29126/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29126.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29126",
"merged_at": "2019-10-22T12:23:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29126.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29126"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29127 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29127/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29127/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29127/events | https://github.com/pandas-dev/pandas/pull/29127 | 509,906,832 | MDExOlB1bGxSZXF1ZXN0MzMwMzYwMjk4 | 29,127 | CLN: remove versionadded:: 0.19.0 and earlier | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-21T11:39:19Z | 2019-10-22T19:05:15Z | 2019-10-22T09:01:03Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/27463#issuecomment-513492615
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29127/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29127/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29127.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29127",
"merged_at": "2019-10-22T09:01:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29127.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29127"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29128 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29128/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29128/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29128/events | https://github.com/pandas-dev/pandas/issues/29128 | 510,002,250 | MDU6SXNzdWU1MTAwMDIyNTA= | 29,128 | Variance of nullable Int64 ignores ddof argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/7365430?v=4",
"events_url": "https://api.github.com/users/VictorDavis/events{/privacy}",
"followers_url": "https://api.github.com/users/VictorDavis/followers",
"following_url": "https://api.github.com/users/VictorDavis/following{/other_user}",
"gists_url": "https://api.github.com/users/VictorDavis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/VictorDavis",
"id": 7365430,
"login": "VictorDavis",
"node_id": "MDQ6VXNlcjczNjU0MzA=",
"organizations_url": "https://api.github.com/users/VictorDavis/orgs",
"received_events_url": "https://api.github.com/users/VictorDavis/received_events",
"repos_url": "https://api.github.com/users/VictorDavis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/VictorDavis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VictorDavis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/VictorDavis"
} | [
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with cu... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-21T14:31:14Z | 2019-11-19T04:23:55Z | 2019-11-19T04:23:55Z | NONE | null | Variance calculation `Series.var()` is ignoring the `ddof` argument for nullable integer type `Int64`. Behavior should match that of `float` type.
```python
>>> pd.__version__
'0.25.1'
>>> np.__version__
'1.17.2'
>>> s1 = pd.Series(data=[1,2,3,4,5,6,np.nan,np.nan])
>>> series.var(ddof=0)
3.5
>>> s1 = pd.Series(data=[1,2,3,4,5,6,np.nan,np.nan])
>>> s1.var(ddof=0)
2.9166666666666665
>>> s1.var(ddof=1)
3.5
>>> s2 = pd.Series(data=[1,2,3,4,5,6,np.nan,np.nan], dtype="Int64")
>>> s2.var(ddof=0)
3.5
>>> s2.var(ddof=1)
3.5
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29128/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29128/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29129 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29129/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29129/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29129/events | https://github.com/pandas-dev/pandas/issues/29129 | 510,015,060 | MDU6SXNzdWU1MTAwMTUwNjA= | 29,129 | Using groupby with nlargest drops the groupby column if there is only one element per group | {
"avatar_url": "https://avatars.githubusercontent.com/u/7723080?v=4",
"events_url": "https://api.github.com/users/Khris777/events{/privacy}",
"followers_url": "https://api.github.com/users/Khris777/followers",
"following_url": "https://api.github.com/users/Khris777/following{/other_user}",
"gists_url": "https://api.github.com/users/Khris777/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Khris777",
"id": 7723080,
"login": "Khris777",
"node_id": "MDQ6VXNlcjc3MjMwODA=",
"organizations_url": "https://api.github.com/users/Khris777/orgs",
"received_events_url": "https://api.github.com/users/Khris777/received_events",
"repos_url": "https://api.github.com/users/Khris777/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Khris777/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Khris777/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Khris777"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | 2019-10-21T14:48:38Z | 2021-08-05T23:33:54Z | 2021-08-05T23:33:54Z | NONE | null | Apologies if this has been fixed in 0.25.2, it's not in the repository yet.
#### Code Sample
```python
import pandas as pd
df = pd.DataFrame({'C1':['abc','def'],'C2':[2,1]})
print(df.groupby("C1").C2.nlargest(1).reset_index())
df = pd.DataFrame({'C1':['abc','abc','def','def'],'C2':[2,3,2,1]})
print(df.groupby("C1").C2.nlargest(1).reset_index())
```
#### Problem description
Result of the first part, the C1 column is gone and there is an index column:
```
index C2
0 0 2
1 1 1
```
Result of the second part, the C1 column is there and there is a level_1 column:
```
C1 level_1 C2
0 abc 1 3
1 def 2 2
```
#### Expected Output
I'm expecting the first output to have the same format as the second, that is the groupby not dropping its groupby-column.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.79-1-MANJARO
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : de_DE.utf8
LOCALE : de_DE.UTF-8
pandas : 0.25.1
numpy : 1.17.2
pytz : 2019.3
dateutil : 2.8.0
pip : 19.2.3
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : 2.2.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.6.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/29129/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29129/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29130 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29130/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29130/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29130/events | https://github.com/pandas-dev/pandas/issues/29130 | 510,048,782 | MDU6SXNzdWU1MTAwNDg3ODI= | 29,130 | merge_asof() returns cryptic error with bad argument types | {
"avatar_url": "https://avatars.githubusercontent.com/u/17852477?v=4",
"events_url": "https://api.github.com/users/sdfordham/events{/privacy}",
"followers_url": "https://api.github.com/users/sdfordham/followers",
"following_url": "https://api.github.com/users/sdfordham/following{/other_user}",
"gists_url": "https://api.github.com/users/sdfordham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sdfordham",
"id": 17852477,
"login": "sdfordham",
"node_id": "MDQ6VXNlcjE3ODUyNDc3",
"organizations_url": "https://api.github.com/users/sdfordham/orgs",
"received_events_url": "https://api.github.com/users/sdfordham/received_events",
"repos_url": "https://api.github.com/users/sdfordham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sdfordham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sdfordham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sdfordham"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "ffa0ff",
"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"
} | 4 | 2019-10-21T15:26:27Z | 2021-06-07T13:09:02Z | 2021-01-06T00:16:28Z | NONE | null | `merge_asof` arguments have to ["...be a numeric column, such as datetimelike, integer, or float"](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.merge_asof.html) but gives cryptic `TypeError` instead of `ValueError` on bad argument types?
```python
import pandas as pd
left = pd.Series(['2019-06-01 00:09:12', '2019-06-01 00:10:29',
'2019-06-01 00:20:30'], name='time')
right = pd.Series(['2019-06-01 00:01:12', '2019-06-01 00:01:12',
'2019-06-01 00:01:12'], name='time')
pd.merge_asof(left, right)
```
Output:
```
...
TypeError: No matching signature found
```
versus e.g.
```python
import pandas as pd
left = pd.Series(['2019-06-01 00:09:12', '2019-06-01 00:10:29',
'2019-06-01 00:20:30'], name='time')
right = pd.Series(['2019-06-01 00:01:12', '2019-06-01 00:01:12',
'2019-06-01 00:01:12'], name='time')
left = pd.to_datetime(left, infer_datetime_format=True)
right = pd.to_datetime(right, infer_datetime_format=True)
pd.merge_asof(left, right)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29130/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29130/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29131 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29131/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29131/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29131/events | https://github.com/pandas-dev/pandas/pull/29131 | 510,049,894 | MDExOlB1bGxSZXF1ZXN0MzMwNDc5NTY5 | 29,131 | [BUG] Fixed behavior of DataFrameGroupBy.apply to respect _group_selection_context | {
"avatar_url": "https://avatars.githubusercontent.com/u/7414804?v=4",
"events_url": "https://api.github.com/users/christopherzimmerman/events{/privacy}",
"followers_url": "https://api.github.com/users/christopherzimmerman/followers",
"following_url": "https://api.github.com/users/christopherzimmerman/following{/other_user}",
"gists_url": "https://api.github.com/users/christopherzimmerman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/christopherzimmerman",
"id": 7414804,
"login": "christopherzimmerman",
"node_id": "MDQ6VXNlcjc0MTQ4MDQ=",
"organizations_url": "https://api.github.com/users/christopherzimmerman/orgs",
"received_events_url": "https://api.github.com/users/christopherzimmerman/received_events",
"repos_url": "https://api.github.com/users/christopherzimmerman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/christopherzimmerman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/christopherzimmerman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/christopherzimmerman"
} | [
{
"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": "b60205",
"default": false,
"description": "Internal Consis... | closed | false | null | [] | null | 14 | 2019-10-21T15:27:45Z | 2020-06-14T15:37:45Z | 2020-06-14T15:37:45Z | CONTRIBUTOR | null | - [x] closes #28549
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This issue needs to be addressed before #28541 can be merged
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29131/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29131/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29131.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29131",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29131.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29131"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29132 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29132/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29132/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29132/events | https://github.com/pandas-dev/pandas/issues/29132 | 510,056,375 | MDU6SXNzdWU1MTAwNTYzNzU= | 29,132 | NDFrame.interpolate(): variable 'ax' not assigned when axis='index' | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851573?v=4",
"events_url": "https://api.github.com/users/ellequelle/events{/privacy}",
"followers_url": "https://api.github.com/users/ellequelle/followers",
"following_url": "https://api.github.com/users/ellequelle/following{/other_user}",
"gists_url": "https://api.github.com/users/ellequelle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ellequelle",
"id": 42851573,
"login": "ellequelle",
"node_id": "MDQ6VXNlcjQyODUxNTcz",
"organizations_url": "https://api.github.com/users/ellequelle/orgs",
"received_events_url": "https://api.github.com/users/ellequelle/received_events",
"repos_url": "https://api.github.com/users/ellequelle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ellequelle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ellequelle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ellequelle"
} | [
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "0e8a16"... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-10-21T15:34:56Z | 2019-10-25T13:06:30Z | 2019-10-25T13:06:30Z | CONTRIBUTOR | null | The `NDFrame.interpolate` function fails when passing a string as axis. Example:
```python
>>> import numpy as np
>>> import pandas as pd
>>> df = pd.DataFrame(np.zeros((3,2)), columns=['a','b'])
>>> df.iloc[1] = np.nan
>>> df
a b
0 0.0 0.0
1 NaN NaN
2 0.0 0.0
>>> df.interpolate(axis=0)
a b
0 0.0 0.0
1 0.0 0.0
2 0.0 0.0
>>> df.interpolate(axis='index')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/lehanson/anaconda3/envs/plots/lib/python3.7/site-packages/pandas/core/generic.py", line 7006, in interpolate
ax = _maybe_transposed_self._get_axis_number(ax)
UnboundLocalError: local variable 'ax' referenced before assignment
```
From the documentation and from the function itself, it looks like `df.interpolate(axis='index')` was intended to work, but that maybe someone accidentally deleted a line in generic.py? The function seems to work properly if I add `ax = axis` in the else block here:
https://github.com/pandas-dev/pandas/blob/171c71611886aab8549a8620c5b0071a129ad685/pandas/core/generic.py#L6998-L7006
I am using pandas version 0.25.1 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29132/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29132/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29133 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29133/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29133/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29133/events | https://github.com/pandas-dev/pandas/pull/29133 | 510,080,772 | MDExOlB1bGxSZXF1ZXN0MzMwNTA2MTg5 | 29,133 | Reduce Circular Imports with pandas.core.reshape.concat | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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 | [] | null | 10 | 2019-10-21T16:03:54Z | 2020-01-16T00:33:46Z | 2019-11-07T01:39:35Z | MEMBER | null | While working on #29124 I found a lot of general uses for this, but had to keep importing in the function body to prevent circular imports. By switching the isinstance checks to using ABC classes and moving the import of Index objects those circular imports can *mostly* be done away with
The only thing left that was causing circular imports was in the `Categorical` space. Can try to figure that out later, though cc @TomAugspurger in case that's a path that has already been gone down | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29133/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29133/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29133.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29133",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29133.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29133"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29134 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29134/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29134/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29134/events | https://github.com/pandas-dev/pandas/pull/29134 | 510,091,986 | MDExOlB1bGxSZXF1ZXN0MzMwNTE2MDMw | 29,134 | Improve performance of equality comparison between a simple Index and a MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/11558041?v=4",
"events_url": "https://api.github.com/users/tlaytongoogle/events{/privacy}",
"followers_url": "https://api.github.com/users/tlaytongoogle/followers",
"following_url": "https://api.github.com/users/tlaytongoogle/following{/other_user}",
"gists_url": "https://api.github.com/users/tlaytongoogle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tlaytongoogle",
"id": 11558041,
"login": "tlaytongoogle",
"node_id": "MDQ6VXNlcjExNTU4MDQx",
"organizations_url": "https://api.github.com/users/tlaytongoogle/orgs",
"received_events_url": "https://api.github.com/users/tlaytongoogle/received_events",
"repos_url": "https://api.github.com/users/tlaytongoogle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tlaytongoogle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tlaytongoogle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tlaytongoogle"
} | [
{
"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": "207de5",
"default"... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-21T16:17:58Z | 2019-12-05T19:52:48Z | 2019-12-05T19:52:27Z | CONTRIBUTOR | null | Previously, Index.equals(MultiIndex) and MultiIndex.equals(Index) both involved converting the MultiIndex into an ndarray. Since this conversion requires resolving MultiIndex's by-reference structure (i.e. its codes + levels) into ndarray's by-value structure, it can be substantially computationally expensive.
However, it is only possible for a simple Index to equal a MultiIndex in two cases:
- the MultiIndex has only `1` level
- the MultiIndex has `d` levels, and the Index is an object index of size-`d` sequences (e.g. `d`-tuples)
Thus, if the Index is not object-typed, and its nlevels differs from that of the MultiIndex, then the two are determined to be unequal without ndarray conversion.
MWE:
```python
import pandas as pd
long_cheap_index = pd.RangeIndex(1000000)
short_expensive_index = pd.IntervalIndex(
[pd.Interval(pd.Timestamp(2018, 10, 1), pd.Timestamp(2018, 10, 2))])
large_expensive_multiindex = pd.MultiIndex.from_product(
[long_cheap_index, short_expensive_index])
trivial_simple_index = pd.Int64Index([])
# These operations no longer convert large_expensive_multiindex into an ndarray
# Previously, each took ~10 s; now, ~0.02 ms
large_expensive_multiindex.equals(trivial_simple_index)
trivial_simple_index.equals(large_expensive_multiindex)
```
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29134/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29134/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29134.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29134",
"merged_at": "2019-12-05T19:52:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29134.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29134"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29135 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29135/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29135/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29135/events | https://github.com/pandas-dev/pandas/issues/29135 | 510,095,420 | MDU6SXNzdWU1MTAwOTU0MjA= | 29,135 | combine_first: 'DataFrame' object has no attribute 'dtype' with duplicate columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/19959788?v=4",
"events_url": "https://api.github.com/users/stippingerm/events{/privacy}",
"followers_url": "https://api.github.com/users/stippingerm/followers",
"following_url": "https://api.github.com/users/stippingerm/following{/other_user}",
"gists_url": "https://api.github.com/users/stippingerm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stippingerm",
"id": 19959788,
"login": "stippingerm",
"node_id": "MDQ6VXNlcjE5OTU5Nzg4",
"organizations_url": "https://api.github.com/users/stippingerm/orgs",
"received_events_url": "https://api.github.com/users/stippingerm/received_events",
"repos_url": "https://api.github.com/users/stippingerm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stippingerm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stippingerm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stippingerm"
} | [
{
"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 | [] | {
"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"
} | 8 | 2019-10-21T16:22:32Z | 2021-09-07T10:28:37Z | null | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
df1 = pd.DataFrame([[1,np.nan],[3,4]], columns=['P','Q'], index=['A', 'B'])
df2 = pd.DataFrame([[5,6,7],[8,9,np.nan]], columns=['P','Q','Q'], index=['A', 'B'])
df1.combine_first(df2)
# or alternatively: df2.combine_first(df1)
```
#### Problem description
The above call results in `AttributeError: 'DataFrame' object has no attribute 'dtype'` which is difficult to interpret. Under the hood the set logic tries to maintain dtype but the duplicate column label results in finding a `DataFrame` instead of a `Series`. The former has no `dtype` but `dtypes`.
#### Expected Output
Performing some calculation, e.g.,
```
P Q Q
A 1 6.0 7.0
B 3 4.0 4.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.3.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.24.2
pytest: 5.0.1
pip: 19.1.1
setuptools: 41.0.1
Cython: 0.29.12
numpy: 1.16.4
scipy: 1.2.1
pyarrow: None
xarray: None
IPython: 7.6.1
sphinx: 2.1.2
patsy: 0.5.1
dateutil: 2.8.0
pytz: 2019.1
blosc: None
bottleneck: 1.2.1
tables: 3.5.2
numexpr: 2.6.9
feather: None
matplotlib: 3.1.0
openpyxl: 2.6.2
xlrd: 1.2.0
xlwt: 1.3.0
xlsxwriter: 1.1.8
lxml.etree: 4.3.4
bs4: 4.7.1
html5lib: 1.0.1
sqlalchemy: 1.3.5
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/29135/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29135/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29136 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29136/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29136/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29136/events | https://github.com/pandas-dev/pandas/issues/29136 | 510,193,016 | MDU6SXNzdWU1MTAxOTMwMTY= | 29,136 | DataFrame.rename only validates column arguments | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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": "370f77",
"default": false,
"description": "DataFrame data structure... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2019-10-21T18:35:29Z | 2020-01-09T21:04:27Z | 2020-01-09T21:04:27Z | MEMBER | null | Found this while trying to clean up axis handling in core.generic
This fails as you would hope
```python
>>> df = pd.DataFrame([[1]])
>>> df.rename({0: 1}, columns={0: 2}, axis=1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/williamayd/clones/pandas/pandas/util/_decorators.py", line 235, in wrapper
return func(*args, **kwargs)
File "/Users/williamayd/clones/pandas/pandas/core/frame.py", line 4143, in rename
axes = validate_axis_style_args(self, args, kwargs, "mapper", "rename")
File "/Users/williamayd/clones/pandas/pandas/util/_validators.py", line 287, in validate_axis_style_args
raise TypeError(msg)
TypeError: Cannot specify both 'axis' and any of 'index' or 'columns'.
```
This doesn't
```python
>>> df.rename({0: 1}, index={0: 2})
0
1 1
```
And perhaps even more surprising is that you will get a different result depending on whether the first argument is passed by position or keyword
```python
>>> df.rename(mapper={0: 1}, index={0: 2})
0
2 1
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29136/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29136/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29137 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29137/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29137/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29137/events | https://github.com/pandas-dev/pandas/pull/29137 | 510,219,537 | MDExOlB1bGxSZXF1ZXN0MzMwNjI4MTI0 | 29,137 | REF: avoid getattr pattern for rank_1d, rank_2d | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-21T19:11:45Z | 2019-10-22T15:09:59Z | 2019-10-22T12:28:16Z | MEMBER | null | Also fix incorrectly-typed `nobs` in libgroupby | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29137/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29137/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29137.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29137",
"merged_at": "2019-10-22T12:28:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29137.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29137"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29138 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29138/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29138/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29138/events | https://github.com/pandas-dev/pandas/issues/29138 | 510,223,700 | MDU6SXNzdWU1MTAyMjM3MDA= | 29,138 | Pandas.DataFrame.to_sql() Default Insert Behavior Assumes Table Creation | {
"avatar_url": "https://avatars.githubusercontent.com/u/13093052?v=4",
"events_url": "https://api.github.com/users/pigfat/events{/privacy}",
"followers_url": "https://api.github.com/users/pigfat/followers",
"following_url": "https://api.github.com/users/pigfat/following{/other_user}",
"gists_url": "https://api.github.com/users/pigfat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pigfat",
"id": 13093052,
"login": "pigfat",
"node_id": "MDQ6VXNlcjEzMDkzMDUy",
"organizations_url": "https://api.github.com/users/pigfat/orgs",
"received_events_url": "https://api.github.com/users/pigfat/received_events",
"repos_url": "https://api.github.com/users/pigfat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pigfat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pigfat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pigfat"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, ... | open | false | null | [] | null | 4 | 2019-10-21T19:18:27Z | 2021-07-22T05:09:00Z | null | NONE | null | #### Problem description
Pandas.DataFrame.to_sql() assumes that if no table exists it should create one. In the specific case where a user wants to simply insert records, but not have to_sql() generate a table if it doesn't exist this causes problems. There is also no way to currently override the default behavior of creating a table according to the documentation.
I'm running into this problem because I have an application that has to dynamically generate database tables for storage as part of an ETL pipeline where I'm using to_sql() to insert records into the tables. If for any number of reasons table creation fails during this process and no table is created, then when to_sql() is called the default behavior of Pandas.DataFrame.to_sql() is to create a new table with whatever types the fields of the dataframe are currently in. This table created by Pandas is missing all the indexes, primary/foreign keys, etc that the dynamic table generation process creates.
A fix might be to add a new parameter, if_not_exists, that allows a user to set the behavior of to_sql() if a table is not detected. | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29138/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29138/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29139 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29139/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29139/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29139/events | https://github.com/pandas-dev/pandas/pull/29139 | 510,249,376 | MDExOlB1bGxSZXF1ZXN0MzMwNjU0MzA0 | 29,139 | CLN: remove Block._try_coerce_arg | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-10-21T19:56:42Z | 2019-10-24T15:37:17Z | 2019-10-24T12:10:07Z | MEMBER | null | Made possible by modernizing `libindex.convert_scalar`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29139/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29139/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29139.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29139",
"merged_at": "2019-10-24T12:10:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29139.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29139"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29140 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29140/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29140/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29140/events | https://github.com/pandas-dev/pandas/pull/29140 | 510,295,970 | MDExOlB1bGxSZXF1ZXN0MzMwNjk1MDgx | 29,140 | Convert DataFrame.rename to keyword only; simplify axis validation | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 9 | 2019-10-21T21:11:20Z | 2020-02-13T20:00:23Z | 2020-01-09T21:04:27Z | MEMBER | null | - [X] closes #29136 and ref #17963
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
I think we can greatly simplify core if we update our assumptions around the axes of dimensions we deal with. I came to this change trying to get rid of `NDFrame._construct_axes_from_arguments` which appears to do some argument mutation that isn't very clear. This was one of the few methods that called that, while also calling `validate_axis_style_args` which is guilty of the same kind of mutation
By being more explicit about the signature and converting this to keyword only arguments (which a FutureWarning detailed anyway) we can simplify the code and I think make more readable
cc @TomAugspurger | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29140/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29140/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29140.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29140",
"merged_at": "2020-01-09T21:04:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29140.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29140"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29141 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29141/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29141/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29141/events | https://github.com/pandas-dev/pandas/issues/29141 | 510,309,548 | MDU6SXNzdWU1MTAzMDk1NDg= | 29,141 | BUG: regression on master in groupby agg with ExtensionArray | {
"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 | [] | null | 6 | 2019-10-21T21:40:24Z | 2019-10-23T15:50:59Z | 2019-10-23T15:50:59Z | MEMBER | null | Example that I could make with DecimalArray:
```
In [1]: from pandas.tests.extension.decimal import DecimalArray, make_data
In [2]: df = pd.DataFrame({'id': [0,0,0,1,1], 'decimals': DecimalArray(make_data()[:5])})
In [3]: df.groupby('id')['decimals'].agg(lambda x: x.iloc[0])
Out[8]:
id
0 0.831922765262135044395108707249164581298828125
1 0.40839445887803604851029604105860926210880279...
dtype: object
```
On master of a few days ago, the above returned 'decimal' dtype instead of object dtype.
Found this in the geopandas test suite, as there it creates invalid output and then an error in a follow-up operation (https://travis-ci.org/geopandas/geopandas/jobs/600859374)
This seems to be caused by https://github.com/pandas-dev/pandas/pull/29088, and specifically the change in `agg_series`: https://github.com/pandas-dev/pandas/pull/29088/files#diff-8c0985a9fca770c2028bed688dfc043fR653-R666
The `self._aggregate_series_fast` is giving a "AttributeError: 'DecimalArray' object has no attribute 'flags'" error if the series is backed by an EA, and the AttributeError is no longer catched.
cc @jbrockmendel
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29141/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29141/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29142 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29142/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29142/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29142/events | https://github.com/pandas-dev/pandas/pull/29142 | 510,396,952 | MDExOlB1bGxSZXF1ZXN0MzMwNzc4Nzk4 | 29,142 | BUG: fix non-existent variable in NDFrame.interpolate | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851573?v=4",
"events_url": "https://api.github.com/users/ellequelle/events{/privacy}",
"followers_url": "https://api.github.com/users/ellequelle/followers",
"following_url": "https://api.github.com/users/ellequelle/following{/other_user}",
"gists_url": "https://api.github.com/users/ellequelle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ellequelle",
"id": 42851573,
"login": "ellequelle",
"node_id": "MDQ6VXNlcjQyODUxNTcz",
"organizations_url": "https://api.github.com/users/ellequelle/orgs",
"received_events_url": "https://api.github.com/users/ellequelle/received_events",
"repos_url": "https://api.github.com/users/ellequelle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ellequelle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ellequelle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ellequelle"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-10-22T02:35:48Z | 2019-10-25T14:08:56Z | 2019-10-25T13:06:31Z | CONTRIBUTOR | null | - [x] closes #29132
- [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/29142/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29142/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29142.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29142",
"merged_at": "2019-10-25T13:06:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29142.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29142"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29143 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29143/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29143/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29143/events | https://github.com/pandas-dev/pandas/pull/29143 | 510,426,779 | MDExOlB1bGxSZXF1ZXN0MzMwODAzMjY5 | 29,143 | DOC: Edit MultiIndex.set_levels() docstring to clarify that set_levels() interprets passed values as new components of the .levels attribute (#28294) | {
"avatar_url": "https://avatars.githubusercontent.com/u/28539512?v=4",
"events_url": "https://api.github.com/users/hweecat/events{/privacy}",
"followers_url": "https://api.github.com/users/hweecat/followers",
"following_url": "https://api.github.com/users/hweecat/following{/other_user}",
"gists_url": "https://api.github.com/users/hweecat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hweecat",
"id": 28539512,
"login": "hweecat",
"node_id": "MDQ6VXNlcjI4NTM5NTEy",
"organizations_url": "https://api.github.com/users/hweecat/orgs",
"received_events_url": "https://api.github.com/users/hweecat/received_events",
"repos_url": "https://api.github.com/users/hweecat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hweecat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hweecat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hweecat"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 712683... | closed | false | null | [] | null | 12 | 2019-10-22T04:46:55Z | 2020-01-03T13:13:18Z | 2020-01-03T13:12:59Z | CONTRIBUTOR | null | Added documentation on MultiIndex.set_levels to clarify that MultiIndex.set_levels() interprets passed values as new components of the .levels attribute. Continuation of #28797 due to issues with Travis CI for Python 3.8 and subsequent git diff issues resulting from resolution of Travis CI issues.
- [x] closes #28294 - or at least attempts to
- [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/29143/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29143/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29143.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29143",
"merged_at": "2020-01-03T13:12:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29143.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29143"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29144 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29144/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29144/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29144/events | https://github.com/pandas-dev/pandas/pull/29144 | 510,492,547 | MDExOlB1bGxSZXF1ZXN0MzMwODU3MjY2 | 29,144 | BUG/TST: ensure groupby.agg preserves extension dtype | {
"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": "6138b5",
"default": false,
"description": "Extending panda... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 8 | 2019-10-22T08:03:53Z | 2019-10-25T14:08:22Z | 2019-10-23T15:50:59Z | MEMBER | null | Closes https://github.com/pandas-dev/pandas/issues/29141
@jbrockmendel this is adding the cases I found in https://github.com/pandas-dev/pandas/issues/29141. It does a small revert of catching an error to get them passing, but then your PR can fix it properly? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29144/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29144/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29144.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29144",
"merged_at": "2019-10-23T15:50:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29144.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29144"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29145 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29145/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29145/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29145/events | https://github.com/pandas-dev/pandas/issues/29145 | 510,518,731 | MDU6SXNzdWU1MTA1MTg3MzE= | 29,145 | set_axis with callable | {
"avatar_url": "https://avatars.githubusercontent.com/u/17933991?v=4",
"events_url": "https://api.github.com/users/markxwang/events{/privacy}",
"followers_url": "https://api.github.com/users/markxwang/followers",
"following_url": "https://api.github.com/users/markxwang/following{/other_user}",
"gists_url": "https://api.github.com/users/markxwang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/markxwang",
"id": 17933991,
"login": "markxwang",
"node_id": "MDQ6VXNlcjE3OTMzOTkx",
"organizations_url": "https://api.github.com/users/markxwang/orgs",
"received_events_url": "https://api.github.com/users/markxwang/received_events",
"repos_url": "https://api.github.com/users/markxwang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/markxwang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markxwang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/markxwang"
} | [
{
"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": "207de5",
"default": false,
"description": null,
... | open | false | null | [] | null | 7 | 2019-10-22T08:58:49Z | 2021-07-22T05:09:39Z | null | NONE | null | Hi,
I've been using method chaining to write most of my data wrangling processes and one of the things that bother me a bit is to modify column names as part of the chain.
With a static list of column names, ```df.set_axis``` can do the work. But in the following cases, I have to use `df.columns=xxx` to modify the names.
1. Header comes from a row
2. Combine multi-indexed header into a single-index (e.g. concatenate levels)
3. Expand single-indexed header to multi-indexed (e.g. split via some delimiter)
I wonder if these could be achieved by allowing ```df.set_axis``` to take callables, something similar to ```df.assign```. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29145/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29145/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29146 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29146/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29146/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29146/events | https://github.com/pandas-dev/pandas/issues/29146 | 510,535,395 | MDU6SXNzdWU1MTA1MzUzOTU= | 29,146 | df.interpolate(method='pad') axis is not consistent with df.fillna(method='pad') | {
"avatar_url": "https://avatars.githubusercontent.com/u/17933991?v=4",
"events_url": "https://api.github.com/users/markxwang/events{/privacy}",
"followers_url": "https://api.github.com/users/markxwang/followers",
"following_url": "https://api.github.com/users/markxwang/following{/other_user}",
"gists_url": "https://api.github.com/users/markxwang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/markxwang",
"id": 17933991,
"login": "markxwang",
"node_id": "MDQ6VXNlcjE3OTMzOTkx",
"organizations_url": "https://api.github.com/users/markxwang/orgs",
"received_events_url": "https://api.github.com/users/markxwang/received_events",
"repos_url": "https://api.github.com/users/markxwang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/markxwang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/markxwang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/markxwang"
} | [
{
"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, ... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 2 | 2019-10-22T09:30:38Z | 2020-06-02T22:42:51Z | 2020-06-02T22:42:51Z | NONE | null | ```df.interpolate(method='pad')``` behaves weirdly regarding the axis.
```python
df = pd.DataFrame([[1,np.nan,3],[np.nan, 2,np.nan],[2,3,np.nan]])
0 1 2
0 1.0 NaN 3.0
1 NaN 2.0 NaN
2 2.0 3.0 NaN
df.fillna(method='pad', axis=0)
0 1 2
0 1.0 NaN 3.0
1 1.0 2.0 3.0
2 2.0 3.0 3.0
df.interpolate(method='pad', axis=0)
0 1 2
0 1.0 1.0 3.0
1 NaN 2.0 2.0
2 2.0 3.0 3.0
df.interpolate(method='linear', axis=0)
0 1 2
0 1.0 NaN 3.0
1 1.5 2.0 3.0
2 2.0 3.0 3.0
```
Besides, ```df.interpolate(method='pad')``` does not seem to respond to `limit_area`
```python
df.interpolate(method='pad',limit_area='inside',axis=1)
0 1 2
0 1.0 NaN 3.0
1 1.0 2.0 3.0
2 2.0 3.0 3.0
df.interpolate(method='linear',limit_area='inside', axis=0)
0 1 2
0 1.0 NaN 3.0
1 1.5 2.0 NaN
2 2.0 3.0 NaN
```
#### Output of ``pd.show_versions()``
<details>
pandas : 0.25.2
numpy : 1.16.5
pytz : 2019.3
dateutil : 2.8.0
pip : 19.3.1
setuptools : 41.4.0
Cython : None
pytest : 5.0.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.0
pandas_datareader: 0.8.0
bs4 : None
bottleneck : None
fastparquet : 0.3.0
gcsfs : 0.3.1
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.13.0
pytables : None
s3fs : 0.3.5
scipy : 1.3.1
sqlalchemy : None
tables : None
xarray : 0.14.0
xlrd : None
xlwt : None
xlsxwriter : 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/29146/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29146/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29147 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29147/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29147/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29147/events | https://github.com/pandas-dev/pandas/pull/29147 | 510,606,000 | MDExOlB1bGxSZXF1ZXN0MzMwOTUwNjgy | 29,147 | Remove TestData from series-tests test_replace.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T11:56:31Z | 2019-10-22T12:38:39Z | 2019-10-22T12:38:17Z | CONTRIBUTOR | null | Part of #22550
* Replaced TestData usage in `pandas/tests/series/test_replace.py` with fixtures
- [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/29147/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29147/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29147.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29147",
"merged_at": "2019-10-22T12:38:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29147.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29147"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29148 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29148/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29148/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29148/events | https://github.com/pandas-dev/pandas/pull/29148 | 510,610,047 | MDExOlB1bGxSZXF1ZXN0MzMwOTU0MDky | 29,148 | Remove TestData from series-tests test_repr.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-22T12:04:10Z | 2019-10-23T14:23:12Z | 2019-10-23T14:23:10Z | CONTRIBUTOR | null | Part of #22550
* Replaced TestData usage in `pandas/tests/series/test_repr.py` with fixtures
- [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/29148/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29148/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29148.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29148",
"merged_at": "2019-10-23T14:23:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29148.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29148"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29149 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29149/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29149/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29149/events | https://github.com/pandas-dev/pandas/pull/29149 | 510,611,723 | MDExOlB1bGxSZXF1ZXN0MzMwOTU1NDYz | 29,149 | Remove TestData from series-tests test_sorting.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T12:07:51Z | 2019-10-22T13:12:37Z | 2019-10-22T13:12:32Z | CONTRIBUTOR | null | Part of #22550
* Replaced TestData usage in `pandas/tests/series/test_sorting.py` with fixtures
- [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/29149/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29149/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29149.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29149",
"merged_at": "2019-10-22T13:12:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29149.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29149"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29150 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29150/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29150/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29150/events | https://github.com/pandas-dev/pandas/pull/29150 | 510,613,840 | MDExOlB1bGxSZXF1ZXN0MzMwOTU3MTk3 | 29,150 | Remove TestData from series-tests test_timeseries.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T12:12:11Z | 2019-10-22T14:59:57Z | 2019-10-22T14:59:51Z | CONTRIBUTOR | null | Part of #22550
* Replaced TestData usage in `pandas/tests/series/test_timeseries.py` with fixtures
- [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/29150/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29150/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29150.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29150",
"merged_at": "2019-10-22T14:59:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29150.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29150"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29151 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29151/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29151/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29151/events | https://github.com/pandas-dev/pandas/issues/29151 | 510,613,924 | MDU6SXNzdWU1MTA2MTM5MjQ= | 29,151 | DOC: contributors section for v0.24.0 shows too many contributors | {
"avatar_url": "https://avatars.githubusercontent.com/u/265630?v=4",
"events_url": "https://api.github.com/users/jgehrcke/events{/privacy}",
"followers_url": "https://api.github.com/users/jgehrcke/followers",
"following_url": "https://api.github.com/users/jgehrcke/following{/other_user}",
"gists_url": "https://api.github.com/users/jgehrcke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jgehrcke",
"id": 265630,
"login": "jgehrcke",
"node_id": "MDQ6VXNlcjI2NTYzMA==",
"organizations_url": "https://api.github.com/users/jgehrcke/orgs",
"received_events_url": "https://api.github.com/users/jgehrcke/received_events",
"repos_url": "https://api.github.com/users/jgehrcke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jgehrcke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jgehrcke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jgehrcke"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T12:12:17Z | 2019-10-22T20:42:27Z | 2019-10-22T20:42:26Z | CONTRIBUTOR | null | Found my name in https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.24.0.html#contributors. Did not contribute to that release. Contributed to 0.25.0 (that section is empty, though, see https://github.com/pandas-dev/pandas/issues/27687).
In the `doc/source/whatsnew/v0.24.0.rst` the culprit seems to be `contributors:: v0.23.4..HEAD`, let's change `HEAD` to `v0.24.0`? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29151/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29151/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29152 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29152/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29152/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29152/events | https://github.com/pandas-dev/pandas/pull/29152 | 510,617,565 | MDExOlB1bGxSZXF1ZXN0MzMwOTYwMzMz | 29,152 | DOC: attempt to fix contributors for 0.24.0, 0.25.0/1/2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/265630?v=4",
"events_url": "https://api.github.com/users/jgehrcke/events{/privacy}",
"followers_url": "https://api.github.com/users/jgehrcke/followers",
"following_url": "https://api.github.com/users/jgehrcke/following{/other_user}",
"gists_url": "https://api.github.com/users/jgehrcke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jgehrcke",
"id": 265630,
"login": "jgehrcke",
"node_id": "MDQ6VXNlcjI2NTYzMA==",
"organizations_url": "https://api.github.com/users/jgehrcke/orgs",
"received_events_url": "https://api.github.com/users/jgehrcke/received_events",
"repos_url": "https://api.github.com/users/jgehrcke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jgehrcke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jgehrcke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jgehrcke"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-10-22T12:18:54Z | 2019-10-22T19:43:00Z | 2019-10-22T19:42:59Z | CONTRIBUTOR | null | This hopefully addresses https://github.com/pandas-dev/pandas/issues/29151, please review!
CC @TomAugspurger @jreback | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29152/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29152/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29152.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29152",
"merged_at": "2019-10-22T19:42:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29152.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29152"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29153 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29153/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29153/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29153/events | https://github.com/pandas-dev/pandas/pull/29153 | 510,617,876 | MDExOlB1bGxSZXF1ZXN0MzMwOTYwNTkx | 29,153 | Remove TestData from series-tests test_api.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T12:19:29Z | 2019-10-22T18:34:14Z | 2019-10-22T18:34:05Z | CONTRIBUTOR | null | Part of #22550
* Replaced TestData usage in `pandas/tests/series/test_api.py` with fixtures
- [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/29153/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29153/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29153.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29153",
"merged_at": "2019-10-22T18:34:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29153.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29153"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29155 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29155/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29155/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29155/events | https://github.com/pandas-dev/pandas/pull/29155 | 510,639,452 | MDExOlB1bGxSZXF1ZXN0MzMwOTc4NTQw | 29,155 | CLN: replace Dict with Mapping to annotate arguments | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-22T13:00:18Z | 2019-10-23T09:30:41Z | 2019-10-22T19:03:41Z | MEMBER | null | xref https://docs.python.org/3/library/typing.html#typing.Dict
cc @WillAyd
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29155/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29155/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29155.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29155",
"merged_at": "2019-10-22T19:03:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29155.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29155"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29156 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29156/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29156/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29156/events | https://github.com/pandas-dev/pandas/pull/29156 | 510,658,680 | MDExOlB1bGxSZXF1ZXN0MzMwOTk0NDY0 | 29,156 | Update my fork | {
"avatar_url": "https://avatars.githubusercontent.com/u/22280243?v=4",
"events_url": "https://api.github.com/users/R1j1t/events{/privacy}",
"followers_url": "https://api.github.com/users/R1j1t/followers",
"following_url": "https://api.github.com/users/R1j1t/following{/other_user}",
"gists_url": "https://api.github.com/users/R1j1t/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/R1j1t",
"id": 22280243,
"login": "R1j1t",
"node_id": "MDQ6VXNlcjIyMjgwMjQz",
"organizations_url": "https://api.github.com/users/R1j1t/orgs",
"received_events_url": "https://api.github.com/users/R1j1t/received_events",
"repos_url": "https://api.github.com/users/R1j1t/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/R1j1t/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/R1j1t/subscriptions",
"type": "User",
"url": "https://api.github.com/users/R1j1t"
} | [] | closed | false | null | [] | null | 0 | 2019-10-22T13:32:07Z | 2019-10-22T13:32:26Z | 2019-10-22T13:32:26Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29156/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29156/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29156.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29156",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29156.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29156"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29157 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29157/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29157/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29157/events | https://github.com/pandas-dev/pandas/issues/29157 | 510,697,831 | MDU6SXNzdWU1MTA2OTc4MzE= | 29,157 | Working with n rows in a concatenated df | {
"avatar_url": "https://avatars.githubusercontent.com/u/55434695?v=4",
"events_url": "https://api.github.com/users/iamz33/events{/privacy}",
"followers_url": "https://api.github.com/users/iamz33/followers",
"following_url": "https://api.github.com/users/iamz33/following{/other_user}",
"gists_url": "https://api.github.com/users/iamz33/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iamz33",
"id": 55434695,
"login": "iamz33",
"node_id": "MDQ6VXNlcjU1NDM0Njk1",
"organizations_url": "https://api.github.com/users/iamz33/orgs",
"received_events_url": "https://api.github.com/users/iamz33/received_events",
"repos_url": "https://api.github.com/users/iamz33/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iamz33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iamz33/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iamz33"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 4 | 2019-10-22T14:32:01Z | 2019-10-22T14:55:52Z | 2019-10-22T14:51:30Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
So I have 3 different df. 2 of those df are per minute sensor readings and 3rd df is per hour readings.
I'm concatenating the 2 dfs in to a new df of per minute readings and I want to work on this new df (per minute values), do regression, get slope for every hour and then concatenate this new df2 with per hour slope readings with the 3rd df with per hour readings. Any idea how I do that? I hope I've explained the problem well.
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]
**Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
**Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary.
For documentation-related issues, you can check the latest versions of the docs on `master` here:
https://pandas-docs.github.io/pandas-docs-travis/
If the issue has not been resolved there, go ahead and file it in the issue tracker.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
</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/29157/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29157/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29158 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29158/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29158/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29158/events | https://github.com/pandas-dev/pandas/issues/29158 | 510,701,586 | MDU6SXNzdWU1MTA3MDE1ODY= | 29,158 | Working with n rows in a df | {
"avatar_url": "https://avatars.githubusercontent.com/u/55434695?v=4",
"events_url": "https://api.github.com/users/iamz33/events{/privacy}",
"followers_url": "https://api.github.com/users/iamz33/followers",
"following_url": "https://api.github.com/users/iamz33/following{/other_user}",
"gists_url": "https://api.github.com/users/iamz33/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iamz33",
"id": 55434695,
"login": "iamz33",
"node_id": "MDQ6VXNlcjU1NDM0Njk1",
"organizations_url": "https://api.github.com/users/iamz33/orgs",
"received_events_url": "https://api.github.com/users/iamz33/received_events",
"repos_url": "https://api.github.com/users/iamz33/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iamz33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iamz33/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iamz33"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 1 | 2019-10-22T14:37:30Z | 2019-10-22T14:51:59Z | 2019-10-22T14:51:59Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]
**Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
**Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary.
For documentation-related issues, you can check the latest versions of the docs on `master` here:
https://pandas-docs.github.io/pandas-docs-travis/
If the issue has not been resolved there, go ahead and file it in the issue tracker.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
So I have 3 different df. 2 of those df are per minute sensor readings and 3rd df is per hour readings.
I'm concatenating the 2 dfs in to a new df of per minute readings and I want to work on this new df (per minute values), do regression, get slope for every hour and then concatenate this new df2 with per hour slope readings with the 3rd df with per hour readings. Any idea how I do that? I hope I've explained the problem well. So basically I want to work with 60 rows. I'm new to pandas and this is my first issue on github. Please help and be gentle please. :)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29158/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29158/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29159 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29159/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29159/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29159/events | https://github.com/pandas-dev/pandas/pull/29159 | 510,713,886 | MDExOlB1bGxSZXF1ZXN0MzMxMDQwMDU2 | 29,159 | Period 29073 | {
"avatar_url": "https://avatars.githubusercontent.com/u/38143549?v=4",
"events_url": "https://api.github.com/users/HughKelley/events{/privacy}",
"followers_url": "https://api.github.com/users/HughKelley/followers",
"following_url": "https://api.github.com/users/HughKelley/following{/other_user}",
"gists_url": "https://api.github.com/users/HughKelley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HughKelley",
"id": 38143549,
"login": "HughKelley",
"node_id": "MDQ6VXNlcjM4MTQzNTQ5",
"organizations_url": "https://api.github.com/users/HughKelley/orgs",
"received_events_url": "https://api.github.com/users/HughKelley/received_events",
"repos_url": "https://api.github.com/users/HughKelley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HughKelley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HughKelley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HughKelley"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-10-22T14:55:02Z | 2020-01-06T16:47:24Z | 2019-10-23T16:07:23Z | CONTRIBUTOR | null | - [ ] closes #29073
- [ ] 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/29159/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29159/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29159.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29159",
"merged_at": "2019-10-23T16:07:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29159.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29159"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29160 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29160/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29160/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29160/events | https://github.com/pandas-dev/pandas/pull/29160 | 510,722,205 | MDExOlB1bGxSZXF1ZXN0MzMxMDQ2OTQz | 29,160 | BUG: AttributeError raised by map inside groupby reduction | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-10-22T15:07:14Z | 2019-11-21T20:00:08Z | 2019-10-25T14:28:37Z | MEMBER | null | Gets the last AttributeError following #29100. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29160/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29160/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29160.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29160",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29160.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29160"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29161 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29161/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29161/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29161/events | https://github.com/pandas-dev/pandas/issues/29161 | 510,725,312 | MDU6SXNzdWU1MTA3MjUzMTI= | 29,161 | loffset in pd.Grouper does not apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/5339879?v=4",
"events_url": "https://api.github.com/users/hrm13/events{/privacy}",
"followers_url": "https://api.github.com/users/hrm13/followers",
"following_url": "https://api.github.com/users/hrm13/following{/other_user}",
"gists_url": "https://api.github.com/users/hrm13/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hrm13",
"id": 5339879,
"login": "hrm13",
"node_id": "MDQ6VXNlcjUzMzk4Nzk=",
"organizations_url": "https://api.github.com/users/hrm13/orgs",
"received_events_url": "https://api.github.com/users/hrm13/received_events",
"repos_url": "https://api.github.com/users/hrm13/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hrm13/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hrm13/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hrm13"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 2 | 2019-10-22T15:12:05Z | 2019-10-22T16:49:31Z | 2019-10-22T16:49:26Z | NONE | null | #### Code Sample
```python
date_index = pd.date_range("2019-08-26", "2019-09-20")
sessions = DataFrame(range(1, len(dates) + 1), index=date_index, columns=['foo'])
sessions.groupby(pd.Grouper(freq=pd.Timedelta(weeks=4), key='created_at', loffset='4W')).size()
```
#### Problem description
The above use of `loffset` does not change the grouping labels as expected. The corresponding code using `DataFrame.resample` does work. Try:
```python
sessions.resample(pd.Timedelta(weeks=4), on='created_at', loffset='4W')
```
#### Expected Output
```
created_at
2019-09-22 1048
2019-10-20 904
Freq: 28D, dtype: int64
```
#### Actual Output
```
created_at
2019-08-26 1048
2019-09-23 904
Freq: 28D, dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.4.final.0
python-bits : 64
OS : Darwin
OS-release : 18.6.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 0.25.2
numpy : 1.16.2
pytz : 2018.9
dateutil : 2.8.0
pip : 9.0.1
setuptools : 28.8.0
Cython : None
pytest : 4.6.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.1.1
lxml.etree : 4.3.2
html5lib : None
pymysql : 0.9.3
psycopg2 : None
jinja2 : 2.10
IPython : 7.5.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.3.2
matplotlib : 3.0.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.2.1
sqlalchemy : 1.2.12
tables : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : 1.1.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29161/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29161/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29162 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29162/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29162/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29162/events | https://github.com/pandas-dev/pandas/issues/29162 | 510,756,857 | MDU6SXNzdWU1MTA3NTY4NTc= | 29,162 | .map on category dtype does not respect defaultdict when encountering np.nan values | {
"avatar_url": "https://avatars.githubusercontent.com/u/8878926?v=4",
"events_url": "https://api.github.com/users/WesRoach/events{/privacy}",
"followers_url": "https://api.github.com/users/WesRoach/followers",
"following_url": "https://api.github.com/users/WesRoach/following{/other_user}",
"gists_url": "https://api.github.com/users/WesRoach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WesRoach",
"id": 8878926,
"login": "WesRoach",
"node_id": "MDQ6VXNlcjg4Nzg5MjY=",
"organizations_url": "https://api.github.com/users/WesRoach/orgs",
"received_events_url": "https://api.github.com/users/WesRoach/received_events",
"repos_url": "https://api.github.com/users/WesRoach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WesRoach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WesRoach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WesRoach"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 5 | 2019-10-22T16:03:32Z | 2020-04-23T14:32:52Z | 2020-04-23T14:32:42Z | NONE | null | Using .map() to x-walk values from a series, and ensure that only expected values are present.
This scenario works to convert np.nan values to empty strings on object dtypes, but does not replace np.nan on category dtype.
```python
import collections
import pandas as pd
import numpy as np
# "01" maps to "12", and is a valid value, while everything else should be set to ""
defdic = collections.defaultdict(lambda: "", {"01": "12"})
df = pd.DataFrame({"A": ["01", "z7", "", np.nan]})
df["A"].map(defdic)
0 12
1
2
3
Name: A, dtype: object
df["A"].astype('category').map(defdic)
0 12
1
2
3 NaN
Name: A, dtype: object
```
I would have expected the output to be the same for both object/category dtypes.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.3.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-1062.4.1.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.1
numpy : 1.17.2
pytz : 2019.3
dateutil : 2.8.0
pip : 9.0.1
setuptools : 41.4.0
Cython : 0.29.13
pytest : 5.2.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : 0.3.2
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.10
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/29162/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29162/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29163 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29163/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29163/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29163/events | https://github.com/pandas-dev/pandas/pull/29163 | 510,811,266 | MDExOlB1bGxSZXF1ZXN0MzMxMTE5NzE2 | 29,163 | Update setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/13910905?v=4",
"events_url": "https://api.github.com/users/Tiarles/events{/privacy}",
"followers_url": "https://api.github.com/users/Tiarles/followers",
"following_url": "https://api.github.com/users/Tiarles/following{/other_user}",
"gists_url": "https://api.github.com/users/Tiarles/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Tiarles",
"id": 13910905,
"login": "Tiarles",
"node_id": "MDQ6VXNlcjEzOTEwOTA1",
"organizations_url": "https://api.github.com/users/Tiarles/orgs",
"received_events_url": "https://api.github.com/users/Tiarles/received_events",
"repos_url": "https://api.github.com/users/Tiarles/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Tiarles/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tiarles/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Tiarles"
} | [] | closed | false | null | [] | null | 1 | 2019-10-22T17:49:43Z | 2019-10-22T18:23:02Z | 2019-10-22T18:23:02Z | NONE | null | jinja2 in the install_requires list
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29163/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29163/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29163.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29163",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29163.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29163"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29164 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29164/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29164/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29164/events | https://github.com/pandas-dev/pandas/pull/29164 | 510,815,872 | MDExOlB1bGxSZXF1ZXN0MzMxMTIzNjE1 | 29,164 | TYPING : Series.name -> Optional[Hashable] | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-22T17:58:33Z | 2019-10-23T09:28:09Z | 2019-10-22T21:27:29Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/29062#discussion_r337644656
cc @WillAyd @TomAugspurger | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29164/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29164/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29164.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29164",
"merged_at": "2019-10-22T21:27:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29164.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29164"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29165 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29165/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29165/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29165/events | https://github.com/pandas-dev/pandas/issues/29165 | 510,815,996 | MDU6SXNzdWU1MTA4MTU5OTY= | 29,165 | ASV Benchmark - Time Standards | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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"... | open | false | null | [] | null | 6 | 2019-10-22T17:58:43Z | 2019-10-28T15:12:54Z | null | MEMBER | null | TLDR - I think we need to cap our benchmarks at a maximum of .2 seconds. That's a long way off though, so I think should start with a cap of 1 second per benchmark
Right now we have some very long running benchmarks:
https://pandas.pydata.org/speed/pandas/#summarylist?sort=1&dir=desc
I haven't seen a definitive answer, but I think ASV leverages the builtin timeit functionality to figure out how long a given benchmark should run.
https://docs.python.org/3.7/library/timeit.html#command-line-interface
Quoting what I thinks is important:
> If -n is not given, a suitable number of loops is calculated by trying successive powers of 10 until the total time is at least 0.2 seconds.
So IIUC a particular statement is executed n times (where n is a power of 10) to the point where it reaches 0.2 seconds to run, and then is repeated `repeat` times to get a reading. asv continuous would do this 4 times (2 runs for each commit being compared). In Python 3.6 `repeat` is 3 (we currently pin ASVs to 3.6) but in future versions that gets bumped to 5.
We have a handful of benchmarks that are 20s a piece to run, so if we stick to the 3.6 timing these statements would run n=1 times repeated 3 times per benchmark session * 4 sessions per continuous run. 20s * 3 repeats * 4 sessions = 4 minutes for one benchmark alone
rolling.Apply.time_rolling is a serious offender here so I think can start with that. Would take community PRs to improve performance of any of these, though maybe should prioritize anything currently taking over 1 second
cc @qwhelan and @pv who may have additional insights
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29165/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29165/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29166 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29166/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29166/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29166/events | https://github.com/pandas-dev/pandas/pull/29166 | 510,824,140 | MDExOlB1bGxSZXF1ZXN0MzMxMTMwNDgx | 29,166 | REF: avoid getattr pattern in libgroupby rank functions | {
"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": "fbca04",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-22T18:15:01Z | 2019-10-22T20:21:55Z | 2019-10-22T20:18:22Z | MEMBER | null | cc @WillAyd do we need to do anything special w/r/t the comment on L1220 re #19560? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29166/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29166/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29166.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29166",
"merged_at": "2019-10-22T20:18:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29166.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29166"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29167 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29167/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29167/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29167/events | https://github.com/pandas-dev/pandas/pull/29167 | 510,854,201 | MDExOlB1bGxSZXF1ZXN0MzMxMTU1MTcw | 29,167 | Remove unnecessary check for Python >= 3.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T19:15:41Z | 2019-10-22T20:17:41Z | 2019-10-22T20:17:30Z | MEMBER | null | Title is self-explanatory | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29167/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29167/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29167.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29167",
"merged_at": "2019-10-22T20:17:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29167.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29167"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29168 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29168/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29168/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29168/events | https://github.com/pandas-dev/pandas/pull/29168 | 510,855,762 | MDExOlB1bGxSZXF1ZXN0MzMxMTU2NDY1 | 29,168 | Clarify referred command for flake8 caveat | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, ... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T19:19:03Z | 2019-10-22T23:48:42Z | 2019-10-22T23:11:58Z | MEMBER | null | Follow-up to: https://github.com/pandas-dev/pandas/pull/27233
With all of the content in-between about pre-commit hooks, the phrase `"This command"` does not make sense any more in the documentation about this `flake8` caveat. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29168/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29168/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29168.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29168",
"merged_at": "2019-10-22T23:11:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29168.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29168"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29169 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29169/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29169/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29169/events | https://github.com/pandas-dev/pandas/pull/29169 | 510,863,528 | MDExOlB1bGxSZXF1ZXN0MzMxMTYyNzc3 | 29,169 | CLN: remove simplejson | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-22T19:35:39Z | 2019-10-26T09:41:07Z | 2019-10-26T09:40:44Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/29022#discussion_r335652936 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29169/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29169/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29169.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29169",
"merged_at": "2019-10-26T09:40:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29169.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29169"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29170 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29170/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29170/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29170/events | https://github.com/pandas-dev/pandas/pull/29170 | 510,886,088 | MDExOlB1bGxSZXF1ZXN0MzMxMTgxMTIx | 29,170 | CI: Avoid passing attrs=None | {
"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 | 3 | 2019-10-22T20:21:48Z | 2019-10-23T00:32:15Z | 2019-10-23T00:32:12Z | MEMBER | null | Trying to fix the allowed-failure build on Travis; I haven't been able to reproduce that error locally, so this is a shot in the dark. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29170/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29170/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29170.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29170",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29170.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29170"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29171 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29171/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29171/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29171/events | https://github.com/pandas-dev/pandas/pull/29171 | 510,890,671 | MDExOlB1bGxSZXF1ZXN0MzMxMTg0ODUy | 29,171 | TST: Document and test na_filter in read_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "3465A4",
"d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-22T20:29:37Z | 2019-10-23T20:15:57Z | 2019-10-23T20:08:09Z | MEMBER | null | Closes https://github.com/pandas-dev/pandas/issues/25453
Picks up where https://github.com/pandas-dev/pandas/pull/26353 left off | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29171/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29171/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29171.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29171",
"merged_at": "2019-10-23T20:08:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29171.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29171"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29172 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29172/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29172/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29172/events | https://github.com/pandas-dev/pandas/pull/29172 | 510,894,508 | MDExOlB1bGxSZXF1ZXN0MzMxMTg4MTg1 | 29,172 | Remove TestData in frame tests in multiple files | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-10-22T20:35:57Z | 2019-10-25T12:50:06Z | 2019-10-25T12:50:03Z | CONTRIBUTOR | null | Part of #22471
This is removing/replacing TestData usage in the following files:
* `test_convert_to.py`
* `test_nonunique_indexes.py`
* `test_query_eval.py`
* `test_replace.py`
* `test_repr_info.py`
--------
- [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/29172/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29172/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29172.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29172",
"merged_at": "2019-10-25T12:50:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29172.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29172"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29173 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29173/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29173/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29173/events | https://github.com/pandas-dev/pandas/pull/29173 | 510,967,829 | MDExOlB1bGxSZXF1ZXN0MzMxMjUyNzgx | 29,173 | Fixed segfaults and incorrect results in GroupBy.quantile with NA Values in Grouping | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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": "36ede0",
"default": false,
"description": "Non-Recoverable... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-10-22T22:39:06Z | 2019-10-30T18:34:47Z | 2019-10-30T18:29:09Z | MEMBER | null | - [X] closes #28882
- [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/29173/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29173/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29173.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29173",
"merged_at": "2019-10-30T18:29:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29173.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29173"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29174 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29174/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29174/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29174/events | https://github.com/pandas-dev/pandas/pull/29174 | 510,993,308 | MDExOlB1bGxSZXF1ZXN0MzMxMjc0MTU4 | 29,174 | Removed raise_from_traceback | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 6 | 2019-10-22T23:59:37Z | 2019-10-29T07:00:52Z | 2019-10-26T08:29:00Z | MEMBER | null | ref #29170
This is a pretty old compat function that I think actually hides the errors we are looking for when run via load scheduling. I've converted to a mixture of `raise...from` and `raise (e).with_traceback()` depending on what was available. Not sure it matters too much either way
Let's see... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29174/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29174/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29174.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29174",
"merged_at": "2019-10-26T08:29:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29174.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29174"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29175 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29175/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29175/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29175/events | https://github.com/pandas-dev/pandas/pull/29175 | 511,001,835 | MDExOlB1bGxSZXF1ZXN0MzMxMjgxMjI0 | 29,175 | CLN: Assorted cleanups | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-23T00:30:26Z | 2019-10-23T14:34:16Z | 2019-10-23T11:47:41Z | 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/29175/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29175/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29175.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29175",
"merged_at": "2019-10-23T11:47:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29175.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29175"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/29176 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29176/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29176/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29176/events | https://github.com/pandas-dev/pandas/issues/29176 | 511,048,255 | MDU6SXNzdWU1MTEwNDgyNTU= | 29,176 | 404 Error: PDF Documentation Download | {
"avatar_url": "https://avatars.githubusercontent.com/u/56904329?v=4",
"events_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/events{/privacy}",
"followers_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/followers",
"following_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/following{/other_user}",
"gists_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pshMsGsAZL2n07ohWBCAGX9cC",
"id": 56904329,
"login": "pshMsGsAZL2n07ohWBCAGX9cC",
"node_id": "MDQ6VXNlcjU2OTA0MzI5",
"organizations_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/orgs",
"received_events_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/received_events",
"repos_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pshMsGsAZL2n07ohWBCAGX9cC"
} | [] | closed | false | null | [] | null | 1 | 2019-10-23T03:26:47Z | 2019-10-23T12:14:40Z | 2019-10-23T12:14:40Z | NONE | null | The PDF documentation download link is yielding a 404 error.
https://pandas.pydata.org/pandas-docs/stable/pandas.pdf
Thank you in advance for fixing 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/29176/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29176/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29177 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29177/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29177/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29177/events | https://github.com/pandas-dev/pandas/pull/29177 | 511,055,201 | MDExOlB1bGxSZXF1ZXN0MzMxMzIzNjE0 | 29,177 | CLN: don't catch TypeError in _aggregate_item_by_item | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or b... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2019-10-23T03:52:01Z | 2019-10-23T14:38:13Z | 2019-10-23T11:46:42Z | MEMBER | null | Made possible by #29103 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29177/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29177/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29177.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29177",
"merged_at": "2019-10-23T11:46:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29177.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29177"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29178 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29178/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29178/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29178/events | https://github.com/pandas-dev/pandas/pull/29178 | 511,057,516 | MDExOlB1bGxSZXF1ZXN0MzMxMzI1NDg3 | 29,178 | CLN: Add types in a handful of places | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-23T04:01:25Z | 2019-10-25T17:35:19Z | 2019-10-25T16:04:19Z | 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/29178/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29178/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29178.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29178",
"merged_at": "2019-10-25T16:04:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29178.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29178"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/29179 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29179/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29179/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29179/events | https://github.com/pandas-dev/pandas/pull/29179 | 511,078,019 | MDExOlB1bGxSZXF1ZXN0MzMxMzQyNTAx | 29,179 | Fix mypy errors in testcommon py | {
"avatar_url": "https://avatars.githubusercontent.com/u/34459766?v=4",
"events_url": "https://api.github.com/users/HawkinsBA/events{/privacy}",
"followers_url": "https://api.github.com/users/HawkinsBA/followers",
"following_url": "https://api.github.com/users/HawkinsBA/following{/other_user}",
"gists_url": "https://api.github.com/users/HawkinsBA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HawkinsBA",
"id": 34459766,
"login": "HawkinsBA",
"node_id": "MDQ6VXNlcjM0NDU5NzY2",
"organizations_url": "https://api.github.com/users/HawkinsBA/orgs",
"received_events_url": "https://api.github.com/users/HawkinsBA/received_events",
"repos_url": "https://api.github.com/users/HawkinsBA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HawkinsBA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HawkinsBA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HawkinsBA"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 15 | 2019-10-23T05:12:29Z | 2019-11-07T16:23:23Z | 2019-11-07T16:23:11Z | CONTRIBUTOR | null | - [x] xref [#28926](https://github.com/pandas-dev/pandas/issues/28926)
- [ ] 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/29179/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29179/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29179.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29179",
"merged_at": "2019-11-07T16:23:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29179.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29179"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29180 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29180/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29180/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29180/events | https://github.com/pandas-dev/pandas/pull/29180 | 511,196,598 | MDExOlB1bGxSZXF1ZXN0MzMxNDM4NTg2 | 29,180 | TST: Test Series integer mod behavior on string | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "006b75",
"d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-10-23T09:31:08Z | 2019-10-23T18:40:49Z | 2019-10-23T17:26:16Z | MEMBER | null | Closes https://github.com/pandas-dev/pandas/issues/24396 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29180/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29180/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29180.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29180",
"merged_at": "2019-10-23T17:26:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29180.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29180"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29181 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29181/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29181/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29181/events | https://github.com/pandas-dev/pandas/issues/29181 | 511,279,183 | MDU6SXNzdWU1MTEyNzkxODM= | 29,181 | ImportError: Can't determine version for bottleneck | {
"avatar_url": "https://avatars.githubusercontent.com/u/15340151?v=4",
"events_url": "https://api.github.com/users/mlangiu/events{/privacy}",
"followers_url": "https://api.github.com/users/mlangiu/followers",
"following_url": "https://api.github.com/users/mlangiu/following{/other_user}",
"gists_url": "https://api.github.com/users/mlangiu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mlangiu",
"id": 15340151,
"login": "mlangiu",
"node_id": "MDQ6VXNlcjE1MzQwMTUx",
"organizations_url": "https://api.github.com/users/mlangiu/orgs",
"received_events_url": "https://api.github.com/users/mlangiu/received_events",
"repos_url": "https://api.github.com/users/mlangiu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mlangiu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mlangiu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mlangiu"
} | [] | closed | false | null | [] | null | 4 | 2019-10-23T12:08:32Z | 2020-07-08T06:10:58Z | 2019-10-23T12:22:17Z | NONE | null | ```
conda create -n PANDAS pandas
activate PANDAS
python
```
```python
import pandas
```
Gives me
```python
ImportError: Can't determine version for bottleneck
```
#### Output of conda list
<details>
# Name Version Build Channel
blas 1.0 mkl
ca-certificates 2019.10.16 0
certifi 2019.9.11 py37_0
icc_rt 2019.0.0 h0cc432a_1
intel-openmp 2019.4 245
mkl 2019.4 245
mkl-service 2.3.0 py37hb782905_0
mkl_fft 1.0.14 py37h14836fe_0
mkl_random 1.1.0 py37h675688f_0
numpy 1.16.5 py37h19fb1c0_0
numpy-base 1.16.5 py37hc3f5095_0
openssl 1.1.1d he774522_3
pandas 0.25.2 py37ha925a31_0
pip 19.3.1 py37_0
python 3.7.4 h5263a28_0
python-dateutil 2.8.0 py37_0
pytz 2019.3 py_0
setuptools 41.4.0 py37_0
six 1.12.0 py37_0
sqlite 3.30.0 he774522_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_0
wheel 0.33.6 py37_0
wincertstore 0.2 py37_0
</details>
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29181/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29181/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29182 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29182/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29182/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29182/events | https://github.com/pandas-dev/pandas/pull/29182 | 511,338,199 | MDExOlB1bGxSZXF1ZXN0MzMxNTU0NDIw | 29,182 | ENH: Add StringArray.__arrow_array__ for conversion to Arrow | {
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "613... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-10-23T13:51:10Z | 2019-10-25T13:42:12Z | 2019-10-25T13:34:10Z | MEMBER | null | Similar as https://github.com/pandas-dev/pandas/pull/28368 (which did this for IntegerArray) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29182/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29182/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29182.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29182",
"merged_at": "2019-10-25T13:34:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29182.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29182"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29183 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29183/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29183/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29183/events | https://github.com/pandas-dev/pandas/issues/29183 | 511,349,286 | MDU6SXNzdWU1MTEzNDkyODY= | 29,183 | UTF8 string dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/630936?v=4",
"events_url": "https://api.github.com/users/rth/events{/privacy}",
"followers_url": "https://api.github.com/users/rth/followers",
"following_url": "https://api.github.com/users/rth/following{/other_user}",
"gists_url": "https://api.github.com/users/rth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rth",
"id": 630936,
"login": "rth",
"node_id": "MDQ6VXNlcjYzMDkzNg==",
"organizations_url": "https://api.github.com/users/rth/orgs",
"received_events_url": "https://api.github.com/users/rth/received_events",
"repos_url": "https://api.github.com/users/rth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rth"
} | [] | closed | false | null | [] | null | 3 | 2019-10-23T14:08:18Z | 2019-10-23T14:53:55Z | 2019-10-23T14:53:55Z | CONTRIBUTOR | null | As far as I understand, for strings pandas uses an `object` dtype with Unicode representation where each character takes 4 bytes, similarly to numpy `U` dtype,
```py
>>> import numpy as np
>>> x = np.array(["ac", "bd"])
>>> x.nbytes / (len(x) * 2) # bytes per char
4.0
>>> df = pd.DataFrame({'a': x})
>>> df.dtypes
a object
dtype: object
>>> df['a'].values.nbytes / (len(x) * 2) # bytes per char
4.0
```
Wouldn't it be possible to support UTF-8 encoded strings? That would decrease by 2-4 the memory requirements, for a number of languages. For instance parquet and arrow seem to be doing that [[1](https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#string)], [[2](https://arrow.apache.org/docs/cpp/api/datatype.html#_CPPv4N5arrow4Type6STRINGE)].
Since each cell is a variable length string represented as an object, using UTF8 might be possible unlike for fixed length numpy strings (https://github.com/pandas-dev/pandas/issues/5261)?
(Not sure if there were other discussions about this previously; "utf8", "string", and "dtype" are pretty noisy search key words). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29183/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29183/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29184 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29184/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29184/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29184/events | https://github.com/pandas-dev/pandas/pull/29184 | 511,380,619 | MDExOlB1bGxSZXF1ZXN0MzMxNTg5MzQy | 29,184 | DOC: Update the LaTeX author. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-23T14:55:14Z | 2019-10-23T19:36:23Z | 2019-10-23T19:36:23Z | CONTRIBUTOR | null | The LaTeX engine did not like the newlines. It caused an
undefined control sequence. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29184/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29184/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29184.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29184",
"merged_at": "2019-10-23T19:36:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29184.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29184"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29185 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29185/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29185/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29185/events | https://github.com/pandas-dev/pandas/pull/29185 | 511,415,073 | MDExOlB1bGxSZXF1ZXN0MzMxNjE3MzU5 | 29,185 | Debug 38 build | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [] | closed | false | null | [] | null | 4 | 2019-10-23T15:44:56Z | 2020-01-16T00:33:42Z | 2019-10-23T21:18:05Z | MEMBER | null | Seeing if this helps with 38 build hanging until something more permanent comes along
@TomAugspurger @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/29185/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29185/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29185.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29185",
"merged_at": "2019-10-23T21:18:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29185.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29185"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29186 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29186/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29186/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29186/events | https://github.com/pandas-dev/pandas/pull/29186 | 511,426,503 | MDExOlB1bGxSZXF1ZXN0MzMxNjI2NzM4 | 29,186 | CLN: preempt TypeError for EAs in groupby agg_series | {
"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": "6138b5",
"default": false,
"description": "Extending pa... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-23T16:04:42Z | 2019-10-25T13:57:13Z | 2019-10-24T12:03:19Z | MEMBER | null | xref #29144 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29186/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29186/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29186.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29186",
"merged_at": "2019-10-24T12:03:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29186.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29186"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29187 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29187/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29187/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29187/events | https://github.com/pandas-dev/pandas/issues/29187 | 511,433,622 | MDU6SXNzdWU1MTE0MzM2MjI= | 29,187 | Deprecate / Remove pandas.util.testing.assert_raises_regex | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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": "5319e7",
"d... | closed | false | null | [] | null | 1 | 2019-10-23T16:18:04Z | 2019-10-23T16:21:25Z | 2019-10-23T16:21:24Z | MEMBER | null | As noted by @simonjayhawkins in https://github.com/pandas-dev/pandas/pull/29174#discussion_r337961652 we have some `assert_raises_regex` code laying around in pandas.util.testing that isn't used internally. Can rip out a chunk of code if we get rid of that.
I think we need to deprecate as pandas.util.testing is part of the leaky API, though removal is an option as well. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29187/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29187/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29188 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29188/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29188/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29188/events | https://github.com/pandas-dev/pandas/pull/29188 | 511,465,521 | MDExOlB1bGxSZXF1ZXN0MzMxNjU3ODg1 | 29,188 | Fix mypy error in pandas/tests.indexes.test_base.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/46084304?v=4",
"events_url": "https://api.github.com/users/rushabh-v/events{/privacy}",
"followers_url": "https://api.github.com/users/rushabh-v/followers",
"following_url": "https://api.github.com/users/rushabh-v/following{/other_user}",
"gists_url": "https://api.github.com/users/rushabh-v/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rushabh-v",
"id": 46084304,
"login": "rushabh-v",
"node_id": "MDQ6VXNlcjQ2MDg0MzA0",
"organizations_url": "https://api.github.com/users/rushabh-v/orgs",
"received_events_url": "https://api.github.com/users/rushabh-v/received_events",
"repos_url": "https://api.github.com/users/rushabh-v/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rushabh-v/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rushabh-v/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rushabh-v"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 18 | 2019-10-23T17:23:02Z | 2019-11-27T16:09:19Z | 2019-11-27T16:09:11Z | CONTRIBUTOR | null | - [x] relates to #28926
- [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/29188/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29188/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29188.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29188",
"merged_at": "2019-11-27T16:09:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29188.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29188"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29189 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29189/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29189/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29189/events | https://github.com/pandas-dev/pandas/issues/29189 | 511,474,715 | MDU6SXNzdWU1MTE0NzQ3MTU= | 29,189 | groupby error when grouping by float index with non-unique values | {
"avatar_url": "https://avatars.githubusercontent.com/u/22947057?v=4",
"events_url": "https://api.github.com/users/jeybrahms/events{/privacy}",
"followers_url": "https://api.github.com/users/jeybrahms/followers",
"following_url": "https://api.github.com/users/jeybrahms/following{/other_user}",
"gists_url": "https://api.github.com/users/jeybrahms/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jeybrahms",
"id": 22947057,
"login": "jeybrahms",
"node_id": "MDQ6VXNlcjIyOTQ3MDU3",
"organizations_url": "https://api.github.com/users/jeybrahms/orgs",
"received_events_url": "https://api.github.com/users/jeybrahms/received_events",
"repos_url": "https://api.github.com/users/jeybrahms/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jeybrahms/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeybrahms/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jeybrahms"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-10-23T17:41:54Z | 2019-11-25T23:45:27Z | 2019-11-25T23:45:27Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
pd.Series([2, 5, 6, 8], [2.0, 4.0, 4.0, 5.0]).groupby(level=0)
```
#### Problem description
This should just work instead of raising.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
pandas : 0.26.0.dev0+593.g9d45934af
numpy : 1.17.0
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29189/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29189/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29190 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29190/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29190/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29190/events | https://github.com/pandas-dev/pandas/pull/29190 | 511,498,912 | MDExOlB1bGxSZXF1ZXN0MzMxNjg1MTkz | 29,190 | BUG: Preserve key order when using loc on MultiIndex DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/49879400?v=4",
"events_url": "https://api.github.com/users/nrebena/events{/privacy}",
"followers_url": "https://api.github.com/users/nrebena/followers",
"following_url": "https://api.github.com/users/nrebena/following{/other_user}",
"gists_url": "https://api.github.com/users/nrebena/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nrebena",
"id": 49879400,
"login": "nrebena",
"node_id": "MDQ6VXNlcjQ5ODc5NDAw",
"organizations_url": "https://api.github.com/users/nrebena/orgs",
"received_events_url": "https://api.github.com/users/nrebena/received_events",
"repos_url": "https://api.github.com/users/nrebena/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nrebena/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nrebena/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nrebena"
} | [
{
"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 | [] | null | 7 | 2019-10-23T18:31:44Z | 2020-03-16T19:31:41Z | 2020-01-18T19:38:02Z | CONTRIBUTOR | null | This is another implementation to solve the issue described in #22797.
The other PR is #28933. When the other PR keep the main code identical and resort the indexer at the end, this implementation try to resolve the problem in the main loop of the original code.
The solution also as consequences on the performance when the key order is sorted as the index, so it add a flag to only keep the order if needed.
## Benchmark
<details>
Benchmarks that have improved:
before after ratio
[e623f0fb] [b5b7be06]
<stash~5> <multiindex_loc_order_issue_22797>
- 2.50±0.01ms 2.35±0ms 0.94 ctors.SeriesConstructors.time_series_constructor(<class 'list'>, False, 'int')
- 2.55±0.01ms 2.40±0ms 0.94 ctors.SeriesConstructors.time_series_constructor(<class 'list'>, True, 'int')
- 767±0.5ms 707±2ms 0.92 groupby.Transform.time_transform_lambda_max
- 2.74±0.2μs 2.49±0.2μs 0.91 index_cached_properties.IndexCache.time_inferred_type('Float64Index')
- 2.64±0.1μs 2.51±0.2μs 0.95 index_cached_properties.IndexCache.time_is_all_dates('Float64Index')
- 517±10μs 491±10μs 0.95 index_cached_properties.IndexCache.time_is_monotonic('MultiIndex')
- 671±6μs 605±6μs 0.90 index_cached_properties.IndexCache.time_is_monotonic_decreasing('MultiIndex')
- 514±10μs 489±10μs 0.95 index_cached_properties.IndexCache.time_is_monotonic_increasing('MultiIndex')
- 6.61±0.3μs 5.68±1μs 0.86 index_cached_properties.IndexCache.time_shape('TimedeltaIndex')
- 3.87±0.7μs 2.84±0.2μs 0.73 index_cached_properties.IndexCache.time_values('TimedeltaIndex')
- 2.87±0.03μs 2.72±0.01μs 0.95 indexing.GetItemSingleColumn.time_frame_getitem_single_column_label
- 1.19±0.02ms 787±20μs 0.66 indexing.MultiIndexing.time_frame_ix
- 1.11±0.02ms 722±20μs 0.65 indexing.MultiIndexing.time_series_ix
- 3.54±0.01ms 3.37±0.01ms 0.95 indexing.NonNumericSeriesIndexing.time_getitem_list_like('string', 'unique_monotonic_inc')
- 644±2μs 568±1μs 0.88 multiindex_object.Duplicates.time_remove_unused_levels
- 746±8μs 189±2μs 0.25 multiindex_object.GetLoc.time_large_get_loc
- 169±0.6ms 102±0.4ms 0.61 multiindex_object.GetLoc.time_large_get_loc_warm
- 94.2±0.2μs 23.8±0.3μs 0.25 multiindex_object.GetLoc.time_med_get_loc
- 90.1±0.3ms 23.1±0.3ms 0.26 multiindex_object.GetLoc.time_med_get_loc_warm
- 87.1±0.2ms 22.8±0.2ms 0.26 multiindex_object.GetLoc.time_small_get_loc_warm
- 88.9±0.2μs 23.1±0.2μs 0.26 multiindex_object.GetLoc.time_string_get_loc
- 700±0.8μs 550±0.6μs 0.79 multiindex_object.Values.time_datetime_level_values_sliced
- 1.65±0.03ms 1.21±0.02ms 0.73 reindex.LevelAlign.time_align_level
- 1.65±0.04ms 1.22±0.01ms 0.74 reindex.LevelAlign.time_reindex_level
- 91.7±0.1ms 86.8±0.1ms 0.95 reshape.Crosstab.time_crosstab_normalize_margins
- 25.5±0.4ms 24.0±0.4ms 0.94 reshape.PivotTable.time_pivot_table
- 51.6±0.6ms 48.0±0.2ms 0.93 reshape.PivotTable.time_pivot_table_agg
- 19.7±0.05ms 18.4±0.2ms 0.93 reshape.PivotTable.time_pivot_table_categorical
- 14.2±0.03ms 13.1±0.04ms 0.92 reshape.PivotTable.time_pivot_table_categorical_observed
- 107±0.8ms 94.0±0.9ms 0.88 reshape.PivotTable.time_pivot_table_margins
- 6.02±0.02ms 5.47±0.02ms 0.91 reshape.SimpleReshape.time_stack
- 2.46±0.02ms 2.20±0.02ms 0.89 reshape.SimpleReshape.time_unstack
- 2.30±0ms 1.73±0.01ms 0.75 reshape.SparseIndex.time_unstack
- 18.9±0.1ms 18.0±0.03ms 0.95 rolling.Pairwise.time_pairwise(10, 'cov', True)
- 2.60±0ms 2.33±0ms 0.90 sparse.FromCoo.time_sparse_series_from_coo
- 41.3±0.2ms 39.2±0.2ms 0.95 sparse.ToCoo.time_sparse_series_to_coo
- 3.98±0s 3.75±0.01s 0.94 stat_ops.Correlation.time_corr_wide_nans('spearman', False)
- 3.99±0.01s 3.74±0.01s 0.94 stat_ops.Correlation.time_corr_wide_nans('spearman', True)
- 40.9±0.07ms 36.8±0.1ms 0.90 stat_ops.FrameMultiIndexOps.time_op(0, 'kurt')
- 195±0.3ms 165±0.3ms 0.85 stat_ops.FrameMultiIndexOps.time_op(1, 'kurt')
- 87.7±1ms 78.1±1ms 0.89 stat_ops.FrameMultiIndexOps.time_op(1, 'skew')
- 710±1ms 628±3ms 0.88 stat_ops.FrameMultiIndexOps.time_op([0, 1], 'skew')
- 10.7±0.1ms 9.66±0.3ms 0.90 stat_ops.SeriesMultiIndexOps.time_op(0, 'kurt')
- 10.6±0.05ms 9.15±0.2ms 0.86 stat_ops.SeriesMultiIndexOps.time_op(0, 'skew')
- 4.55±0.1ms 4.01±0.08ms 0.88 stat_ops.SeriesMultiIndexOps.time_op(0, 'std')
- 4.15±0.06ms 3.86±0.1ms 0.93 stat_ops.SeriesMultiIndexOps.time_op(0, 'var')
- 49.4±0.4ms 43.3±0.2ms 0.88 stat_ops.SeriesMultiIndexOps.time_op(1, 'kurt')
- 128±0.3ms 112±0.3ms 0.88 stat_ops.SeriesMultiIndexOps.time_op(1, 'mad')
- 48.0±0.3ms 40.3±0.4ms 0.84 stat_ops.SeriesMultiIndexOps.time_op(1, 'skew')
- 4.55±0.08ms 3.97±0.1ms 0.87 stat_ops.SeriesMultiIndexOps.time_op(1, 'std')
- 4.14±0.1ms 3.81±0.09ms 0.92 stat_ops.SeriesMultiIndexOps.time_op(1, 'var')
- 434±0.5ms 357±0.4ms 0.82 stat_ops.SeriesMultiIndexOps.time_op([0, 1], 'kurt')
- 1.20±0s 1.04±0s 0.86 stat_ops.SeriesMultiIndexOps.time_op([0, 1], 'mad')
- 422±0.7ms 339±1ms 0.80 stat_ops.SeriesMultiIndexOps.time_op([0, 1], 'skew')
- 48.6±0.2ms 40.5±0.07ms 0.83 timeseries.DatetimeIndex.time_to_pydatetime('repeated')
- 288±0.9ms 271±0.8ms 0.94 timeseries.DatetimeIndex.time_to_pydatetime('tz_aware')
- 48.3±0.1ms 40.6±0.1ms 0.84 timeseries.DatetimeIndex.time_to_pydatetime('tz_naive')
Benchmarks that have got worse:
before after ratio
[e623f0fb] [b5b7be06]
<stash~5> <multiindex_loc_order_issue_22797>
+ 149±0.5ms 170±0.6ms 1.15 categoricals.Rank.time_rank_string
+ 7.23±0.2ms 8.38±0.3ms 1.16 categoricals.Rank.time_rank_string_cat
+ 9.81±0.1ms 10.4±0.1ms 1.06 categoricals.Rank.time_rank_string_cat_ordered
+ 2.45±0.01ms 2.65±0.09ms 1.08 frame_methods.Iteration.time_items_cached
+ 227±0.3ms 239±4ms 1.06 groupby.GroupByMethods.time_dtype_as_field('datetime', 'unique', 'transformation')
+ 148±0.3ms 157±0.3ms 1.06 groupby.GroupByMethods.time_dtype_as_field('float', 'unique', 'direct')
+ 148±0.5ms 157±0.8ms 1.06 groupby.GroupByMethods.time_dtype_as_field('float', 'unique', 'transformation')
+ 144±0.5ms 153±3ms 1.06 groupby.GroupByMethods.time_dtype_as_field('int', 'unique', 'direct')
+ 143±0.4ms 155±5ms 1.08 groupby.GroupByMethods.time_dtype_as_field('int', 'unique', 'transformation')
+ 489±3μs 541±4μs 1.11 groupby.GroupByMethods.time_dtype_as_field('object', 'first', 'direct')
+ 488±2μs 546±3μs 1.12 groupby.GroupByMethods.time_dtype_as_field('object', 'first', 'transformation')
+ 481±2μs 547±20μs 1.14 groupby.GroupByMethods.time_dtype_as_field('object', 'last', 'direct')
+ 480±2μs 536±6μs 1.12 groupby.GroupByMethods.time_dtype_as_field('object', 'last', 'transformation')
+ 173±0.2ms 183±0.5ms 1.06 groupby.GroupByMethods.time_dtype_as_field('object', 'unique', 'direct')
+ 173±0.5ms 183±0.4ms 1.06 groupby.GroupByMethods.time_dtype_as_field('object', 'unique', 'transformation')
+ 334±0.3ms 358±3ms 1.07 groupby.GroupByMethods.time_dtype_as_group('datetime', 'unique', 'direct')
+ 334±0.3ms 356±2ms 1.07 groupby.GroupByMethods.time_dtype_as_group('datetime', 'unique', 'transformation')
+ 330±0.4ms 352±2ms 1.07 groupby.GroupByMethods.time_dtype_as_group('float', 'unique', 'direct')
+ 331±0.7ms 353±0.6ms 1.07 groupby.GroupByMethods.time_dtype_as_group('float', 'unique', 'transformation')
+ 212±0.3ms 224±0.8ms 1.06 groupby.GroupByMethods.time_dtype_as_group('int', 'unique', 'direct')
+ 211±0.2ms 224±0.7ms 1.06 groupby.GroupByMethods.time_dtype_as_group('int', 'unique', 'transformation')
+ 766±3μs 1.67±0ms 2.19 groupby.GroupByMethods.time_dtype_as_group('object', 'unique', 'direct')
+ 766±0.7μs 1.68±0ms 2.19 groupby.GroupByMethods.time_dtype_as_group('object', 'unique', 'transformation')
+ 4.96±0.05μs 5.42±0.1μs 1.09 index_cached_properties.IndexCache.time_engine('DatetimeIndex')
+ 4.25±0.05μs 4.46±0.05μs 1.05 index_cached_properties.IndexCache.time_engine('PeriodIndex')
+ 2.92±0.1μs 3.13±0.2μs 1.07 index_cached_properties.IndexCache.time_inferred_type('MultiIndex')
+ 988±30ns 1.07±0.05μs 1.08 index_cached_properties.IndexCache.time_inferred_type('RangeIndex')
+ 2.38±0.1μs 2.74±0.5μs 1.15 index_cached_properties.IndexCache.time_inferred_type('TimedeltaIndex')
+ 2.70±0.2μs 3.05±0.5μs 1.13 index_cached_properties.IndexCache.time_is_all_dates('UInt64Index')
+ 1.41±0.02μs 1.51±0.04μs 1.07 index_cached_properties.IndexCache.time_is_monotonic_increasing('Int64Index')
+ 941±20ns 1.01±0.02μs 1.07 index_cached_properties.IndexCache.time_is_unique('RangeIndex')
+ 3.70±0.1μs 3.93±0.1μs 1.06 index_cached_properties.IndexCache.time_shape('UInt64Index')
+ 2.88±0.2μs 3.05±0.2μs 1.06 index_cached_properties.IndexCache.time_values('UInt64Index')
+ 5.43±0.08μs 6.39±0.02μs 1.18 index_object.Indexing.time_get_loc('Int')
+ 5.44±0.06μs 6.45±0.2μs 1.19 index_object.Indexing.time_get_loc_sorted('Int')
+ 2.76±0.06ms 3.01±0ms 1.09 indexing.IntervalIndexing.time_getitem_scalar
+ 3.09±0.06ms 3.34±0.02ms 1.08 indexing.IntervalIndexing.time_loc_list
+ 2.78±0.05ms 3.03±0ms 1.09 indexing.IntervalIndexing.time_loc_scalar
+ 5.83±0.02ms 16.6±0.03ms 2.85 indexing.MultiIndexing.time_index_slice
+ 2.45±0.02ms 2.59±0.02ms 1.06 inference.NumericInferOps.time_divide(<class 'numpy.uint8'>)
+ 9.78±0.08ms 10.4±0.07ms 1.06 io.csv.ParseDateComparison.time_read_csv_dayfirst(False)
+ 789±2ms 849±4ms 1.08 io.json.ReadJSON.time_read_json('index', 'datetime')
+ 840±0.6ms 923±3ms 1.10 io.json.ReadJSON.time_read_json('index', 'int')
+ 49.2±0.05ms 52.1±0.3ms 1.06 io.parsers.DoesStringLookLikeDatetime.time_check_datetimes('0.0')
+ 68.1±0.4ms 72.3±0.5ms 1.06 io.parsers.DoesStringLookLikeDatetime.time_check_datetimes('2Q2005')
+ 1.64±0μs 1.86±0.1μs 1.14 period.PeriodProperties.time_property('M', 'daysinmonth')
+ 1.68±0.01μs 1.80±0.03μs 1.07 period.PeriodProperties.time_property('M', 'is_leap_year')
+ 1.68±0.02μs 1.77±0.02μs 1.05 period.PeriodProperties.time_property('min', 'is_leap_year')
+ 739±0.7ms 1.41±0s 1.91 stat_ops.FrameMultiIndexOps.time_op([0, 1], 'kurt')
+ 764±10ns 810±2ns 1.06 timestamp.TimestampProperties.time_freqstr(<DstTzInfo 'Europe/Amsterdam' LMT+0:20:00 STD>, None)
+ 763±10ns 812±0.9ns 1.07 timestamp.TimestampProperties.time_freqstr(<UTC>, None)
+ 763±10ns 812±1ns 1.06 timestamp.TimestampProperties.time_freqstr(None, None)
+ 762±10ns 811±2ns 1.06 timestamp.TimestampProperties.time_freqstr(tzutc(), None)
</details>
## Checklist
- [x] closes #22797
- [ ] 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/29190/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29190/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29190.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29190",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29190.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29190"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29191 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29191/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29191/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29191/events | https://github.com/pandas-dev/pandas/pull/29191 | 511,519,315 | MDExOlB1bGxSZXF1ZXN0MzMxNzAyMDM2 | 29,191 | Asset Frame with duplicate index | {
"avatar_url": "https://avatars.githubusercontent.com/u/26482095?v=4",
"events_url": "https://api.github.com/users/gabriellm1/events{/privacy}",
"followers_url": "https://api.github.com/users/gabriellm1/followers",
"following_url": "https://api.github.com/users/gabriellm1/following{/other_user}",
"gists_url": "https://api.github.com/users/gabriellm1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gabriellm1",
"id": 26482095,
"login": "gabriellm1",
"node_id": "MDQ6VXNlcjI2NDgyMDk1",
"organizations_url": "https://api.github.com/users/gabriellm1/orgs",
"received_events_url": "https://api.github.com/users/gabriellm1/received_events",
"repos_url": "https://api.github.com/users/gabriellm1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gabriellm1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gabriellm1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gabriellm1"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | null | 4 | 2019-10-23T19:15:05Z | 2019-11-08T00:34:22Z | 2019-11-08T00:34:22Z | CONTRIBUTOR | null | - [ ] closes #26494
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Hey guys, I started working on a way to make testing.assert_frame_equal accept an argument so it can test equals a frame with duplicate index just like the issue I marked to close here. For this I had to make a couple of changes in some functions and I think I got to the point that I should ask for a better direction and if this is valid for the project.
The error pointed in the issue is definitely not the best message for this case. I got to the point to not get that error by making clear there is a duplicate index. But I got stuck in this error now:
`ValueError: Shape of passed values is (5, 1), indices imply (3, 1)`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29191/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29191/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29191.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29191",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29191.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29191"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29192 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29192/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29192/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29192/events | https://github.com/pandas-dev/pandas/pull/29192 | 511,523,724 | MDExOlB1bGxSZXF1ZXN0MzMxNzA1NTU0 | 29,192 | Removed generate_bins_generic | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 6 | 2019-10-23T19:24:21Z | 2019-10-29T17:11:05Z | 2019-10-29T17:10:50Z | MEMBER | null | appears to be dead groupby code | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29192/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29192/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29192.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29192",
"merged_at": "2019-10-29T17:10:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29192.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29192"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29193 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29193/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29193/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29193/events | https://github.com/pandas-dev/pandas/pull/29193 | 511,542,682 | MDExOlB1bGxSZXF1ZXN0MzMxNzIxMDU2 | 29,193 | Test For MultiIndex not contained item | {
"avatar_url": "https://avatars.githubusercontent.com/u/26482095?v=4",
"events_url": "https://api.github.com/users/gabriellm1/events{/privacy}",
"followers_url": "https://api.github.com/users/gabriellm1/followers",
"following_url": "https://api.github.com/users/gabriellm1/following{/other_user}",
"gists_url": "https://api.github.com/users/gabriellm1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gabriellm1",
"id": 26482095,
"login": "gabriellm1",
"node_id": "MDQ6VXNlcjI2NDgyMDk1",
"organizations_url": "https://api.github.com/users/gabriellm1/orgs",
"received_events_url": "https://api.github.com/users/gabriellm1/received_events",
"repos_url": "https://api.github.com/users/gabriellm1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gabriellm1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gabriellm1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gabriellm1"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | closed | false | null | [] | null | 5 | 2019-10-23T20:05:14Z | 2020-01-01T18:34:42Z | 2020-01-01T18:34:41Z | CONTRIBUTOR | null | - [x] closes #21094
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
I just made the test that was requested in this issue but in fact it isn't actually passing like mentioned there. Maybe my master is not updated for this. Should tests be added to whatsnew entry too?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29193/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29193/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29193.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29193",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29193.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29193"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29194 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29194/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29194/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29194/events | https://github.com/pandas-dev/pandas/pull/29194 | 511,562,728 | MDExOlB1bGxSZXF1ZXN0MzMxNzM4MDA1 | 29,194 | CLN: dont catch Exception in _aggregate_frame | {
"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"
},
{
"color": "207d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-23T20:46:56Z | 2019-10-25T13:52:32Z | 2019-10-24T12:06:27Z | MEMBER | null | cc @jreback @WillAyd | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29194/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29194/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29194.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29194",
"merged_at": "2019-10-24T12:06:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29194.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29194"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29195 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29195/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29195/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29195/events | https://github.com/pandas-dev/pandas/pull/29195 | 511,581,220 | MDExOlB1bGxSZXF1ZXN0MzMxNzUyNTkx | 29,195 | CLN: don't catch AttributeError in _wrap_applied_output | {
"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"
},
{
"color": "207d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-23T21:26:50Z | 2019-10-25T17:36:14Z | 2019-10-25T17:10:33Z | MEMBER | null | cc @jreback @WillAyd | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29195/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29195/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29195.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29195",
"merged_at": "2019-10-25T17:10:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29195.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29195"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29196 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29196/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29196/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29196/events | https://github.com/pandas-dev/pandas/pull/29196 | 511,624,127 | MDExOlB1bGxSZXF1ZXN0MzMxNzg4NDc2 | 29,196 | Added io Annotation | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-10-23T23:31:58Z | 2020-01-16T00:33:42Z | 2019-10-24T00:14:57Z | MEMBER | null | This is a quick follow up to https://github.com/pandas-dev/pandas/pull/26024/files#r317413254
The last remaining argument still has a slew of issues with it (provided below for reference) so leaving that for now
```sh
pandas/io/common.py:439: error: Incompatible types in assignment (expression has type "GzipFile", variable has type "Union[str, Path, IO[Any]]")
pandas/io/common.py:439: error: Argument "fileobj" to "GzipFile" has incompatible type "Union[str, Path, IO[Any]]"; expected "Optional[IO[bytes]]"
pandas/io/common.py:478: error: Argument 1 to "append" of "list" has incompatible type "Union[str, Path, IO[Any]]"; expected "IO[Any]"
pandas/io/common.py:483: error: Argument 1 to "open" has incompatible type "Union[str, Path, IO[Any]]"; expected "Union[str, bytes, int, _PathLike[Any]]"
pandas/io/common.py:486: error: Argument 1 to "open" has incompatible type "Union[str, Path, IO[Any]]"; expected "Union[str, bytes, int, _PathLike[Any]]"
pandas/io/common.py:489: error: Argument 1 to "open" has incompatible type "Union[str, Path, IO[Any]]"; expected "Union[str, bytes, int, _PathLike[Any]]"
pandas/io/common.py:496: error: Argument 1 to "TextIOWrapper" has incompatible type "Union[str, Path, IO[Any]]"; expected "IO[bytes]"
pandas/io/common.py:503: error: Argument 1 to "MMapWrapper" has incompatible type "Union[str, Path, IO[Any]]"; expected "IO[Any]"
pandas/io/common.py:504: error: Item "str" of "Union[str, Path, IO[Any]]" has no attribute "close"
pandas/io/common.py:504: error: Item "Path" of "Union[str, Path, IO[Any]]" has no attribute "close"
pandas/io/common.py:505: error: Incompatible types in assignment (expression has type "MMapWrapper", variable has type "Union[str, Path, IO[Any]]")
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29196/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29196/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29196.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29196",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29196.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29196"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29197 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29197/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29197/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29197/events | https://github.com/pandas-dev/pandas/issues/29197 | 511,631,455 | MDU6SXNzdWU1MTE2MzE0NTU= | 29,197 | MyPy Error Codes | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2019-10-24T00:02:05Z | 2020-08-06T15:35:16Z | 2020-08-06T15:12:34Z | MEMBER | null | mypy 0.73 came with support for error codes:
http://mypy-lang.blogspot.com/2019/09/mypy-730-released.html
I think we should add these to CI and update docs to require these going forward for any `type: ignore` statements
@simonjayhawkins | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29197/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29197/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29198 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29198/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29198/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29198/events | https://github.com/pandas-dev/pandas/issues/29198 | 511,690,531 | MDU6SXNzdWU1MTE2OTA1MzE= | 29,198 | CI Linux py36_locale_slow Hanging | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | null | 4 | 2019-10-24T03:52:56Z | 2019-10-25T00:36:38Z | 2019-10-25T00:36:38Z | MEMBER | null | Seems to be hanging on miniconda install script:
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=19314&view=logs&jobId=5ddd427e-1f95-5998-4195-7ffbeb9b114d&taskId=2d75e2dd-4c84-5053-e835-c449aeb02662&lineStart=256&lineEnd=257&colStart=1&colEnd=1
Interestingly enough the Linux py36_locale_slow_old_np seems to be OK | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29198/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29198/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29199 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29199/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29199/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29199/events | https://github.com/pandas-dev/pandas/pull/29199 | 511,692,310 | MDExOlB1bGxSZXF1ZXN0MzMxODQzMjUz | 29,199 | CLN: simplify core.algorithms | {
"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": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-24T04:01:02Z | 2019-10-31T14:52:05Z | 2019-10-25T17:49:34Z | 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/29199/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29199/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29199.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29199",
"merged_at": "2019-10-25T17:49:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29199.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29199"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/29200 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29200/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29200/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29200/events | https://github.com/pandas-dev/pandas/pull/29200 | 511,807,479 | MDExOlB1bGxSZXF1ZXN0MzMxOTM0OTQw | 29,200 | BUG: Changed the way duplicated() handles empty dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/14085016?v=4",
"events_url": "https://api.github.com/users/grassknoted/events{/privacy}",
"followers_url": "https://api.github.com/users/grassknoted/followers",
"following_url": "https://api.github.com/users/grassknoted/following{/other_user}",
"gists_url": "https://api.github.com/users/grassknoted/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/grassknoted",
"id": 14085016,
"login": "grassknoted",
"node_id": "MDQ6VXNlcjE0MDg1MDE2",
"organizations_url": "https://api.github.com/users/grassknoted/orgs",
"received_events_url": "https://api.github.com/users/grassknoted/received_events",
"repos_url": "https://api.github.com/users/grassknoted/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/grassknoted/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grassknoted/subscriptions",
"type": "User",
"url": "https://api.github.com/users/grassknoted"
} | [] | closed | false | null | [] | null | 0 | 2019-10-24T09:02:35Z | 2019-10-24T11:00:08Z | 2019-10-24T11:00:05Z | NONE | null | - [ ] closes #12869
- [ ] tests 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/29200/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29200/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29200.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29200",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29200.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29200"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29201 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29201/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29201/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29201/events | https://github.com/pandas-dev/pandas/pull/29201 | 511,874,926 | MDExOlB1bGxSZXF1ZXN0MzMxOTkwNTc5 | 29,201 | Fix missing argument name in format function call | {
"avatar_url": "https://avatars.githubusercontent.com/u/11504078?v=4",
"events_url": "https://api.github.com/users/pedrocunial/events{/privacy}",
"followers_url": "https://api.github.com/users/pedrocunial/followers",
"following_url": "https://api.github.com/users/pedrocunial/following{/other_user}",
"gists_url": "https://api.github.com/users/pedrocunial/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pedrocunial",
"id": 11504078,
"login": "pedrocunial",
"node_id": "MDQ6VXNlcjExNTA0MDc4",
"organizations_url": "https://api.github.com/users/pedrocunial/orgs",
"received_events_url": "https://api.github.com/users/pedrocunial/received_events",
"repos_url": "https://api.github.com/users/pedrocunial/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pedrocunial/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pedrocunial/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pedrocunial"
} | [] | closed | false | null | [] | null | 1 | 2019-10-24T11:11:12Z | 2019-10-24T16:53:31Z | 2019-10-24T16:53:30Z | NONE | null | Adds the keyword argument `name` to a `str.format` function call that was missing it (yielding a breaking error).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29201/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29201/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29201.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29201",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29201.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29201"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29202 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29202/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29202/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29202/events | https://github.com/pandas-dev/pandas/pull/29202 | 511,879,676 | MDExOlB1bGxSZXF1ZXN0MzMxOTk0NjA4 | 29,202 | Change unused loop variable to _ | {
"avatar_url": "https://avatars.githubusercontent.com/u/11504078?v=4",
"events_url": "https://api.github.com/users/pedrocunial/events{/privacy}",
"followers_url": "https://api.github.com/users/pedrocunial/followers",
"following_url": "https://api.github.com/users/pedrocunial/following{/other_user}",
"gists_url": "https://api.github.com/users/pedrocunial/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pedrocunial",
"id": 11504078,
"login": "pedrocunial",
"node_id": "MDQ6VXNlcjExNTA0MDc4",
"organizations_url": "https://api.github.com/users/pedrocunial/orgs",
"received_events_url": "https://api.github.com/users/pedrocunial/received_events",
"repos_url": "https://api.github.com/users/pedrocunial/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pedrocunial/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pedrocunial/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pedrocunial"
} | [] | closed | false | null | [] | null | 2 | 2019-10-24T11:20:51Z | 2019-10-24T16:45:12Z | 2019-10-24T16:45:12Z | NONE | null | The `_version.py` file had an unused loop variable (`i`), this PR changes 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/29202/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29202/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29202.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29202",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29202.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29202"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29203 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29203/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29203/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29203/events | https://github.com/pandas-dev/pandas/issues/29203 | 511,923,432 | MDU6SXNzdWU1MTE5MjM0MzI= | 29,203 | Improve docs on what the axis= kwarg does in individual functions/methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/2734517?v=4",
"events_url": "https://api.github.com/users/dlukes/events{/privacy}",
"followers_url": "https://api.github.com/users/dlukes/followers",
"following_url": "https://api.github.com/users/dlukes/following{/other_user}",
"gists_url": "https://api.github.com/users/dlukes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dlukes",
"id": 2734517,
"login": "dlukes",
"node_id": "MDQ6VXNlcjI3MzQ1MTc=",
"organizations_url": "https://api.github.com/users/dlukes/orgs",
"received_events_url": "https://api.github.com/users/dlukes/received_events",
"repos_url": "https://api.github.com/users/dlukes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dlukes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dlukes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dlukes"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 7171206... | closed | false | {
"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"
} | [
{
"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_use... | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 10 | 2019-10-24T12:50:52Z | 2020-10-12T15:35:01Z | 2020-10-12T15:35:01Z | NONE | null | ### `axis=0` or `axis=1`, which is it?
I've always found it hard to remember which axis (`0/"index"` vs. `1/"columns"`) does what for various operations. I suppose some people find it intuitive, while others (like me) find it confusing and inconsistent.
Case in point, `DataFrame.sum` vs. `DataFrame.drop`: if I want **column sums**, I need `axis=0`...
```python
>>> import pandas as pd
>>> df = pd.DataFrame(dict(a=[1, 2, 3], b=[4, 5, 6]))
>>> df
a b
0 1 4
1 2 5
2 3 6
>>> df.sum(axis=0)
a 6
b 15
dtype: int64
```
... but if I want to **drop a column**, I need `axis=1`:
```python
>>> df.drop("a", axis=1)
b
0 4
1 5
2 6
```
There's an analogous discrepancy in numpy (which is probably where pandas inherited it from?):
```python
>>> import numpy as np
>>> a = df.to_numpy()
>>> a
array([[1, 4],
[2, 5],
[3, 6]])
>>> np.sum(a, axis=0) # sum columns
array([ 6, 15])
>>> np.delete(a, 0, axis=1) # delete first column
array([[4],
[5],
[6]])
```
I just intuitively conceptualize these operations as working along the same axis, so it's hard for me to internalize that the value of the axis parameter is different in each case. Apparently, [I'm not the only person to find this confusing](https://www.sharpsightlabs.com/blog/numpy-axes-explained/) (quoting from the article: "For example, in the np.sum() function, the axis parameter behaves in a way that many people think is counter intuitive").
At the same time, I can imagine that some people find this behavior completely natural (at the very least those who designed the API). And I understand that changing this in pandas while keeping the status quo in numpy would introduce a (probably) worse inconsistency, so I'm not suggesting that.
### Suggestion for improvement
What I am suggesting is **reviewing the documentation of functions/methods using the `axis=` keyword argument** and (where applicable) **improving the description of what it controls in each case**. Pandas is typically used interactively, so documentation is easily accessible. If it contains useful hints on what each `axis` value does (and possibly why), it's not such a big problem if this behavior goes against some people's expectations.
### Examples
For example, based on the [current master docs](https://pandas-docs.github.io/pandas-docs-travis/), the [description of the `axis` parameter for `drop`](https://pandas-docs.github.io/pandas-docs-travis/reference/api/pandas.DataFrame.drop.html#pandas.DataFrame.drop) does a good job at this:
> axis : {0 or ‘index’, 1 or ‘columns’}, default 0
> Whether to drop labels from the index (0 or ‘index’) or columns (1 or ‘columns’).
This makes it reasonably clear to me that if I specify `0`, I'll be removing rows, whereas `1` will result in removing columns.
By contrast, the [description of the `axis` parameter for `sum`](https://pandas-docs.github.io/pandas-docs-travis/reference/api/pandas.DataFrame.sum.html#pandas.DataFrame.sum) is somewhat too generic:
> axis : {index (0), columns (1)}
> Axis for the function to be applied on.
Based on this, I could conclude (and have repeatedly done so) that if I want column sums, I need to "apply the function on columns", hence `axis=1` (which is wrong, cf. above).
A revised description could look something like the following:
> axis : {index (0), columns (1)}
> Whether to collapse the index (0 or ‘index’), resulting in column sums, or the columns (1 or ‘columns’), resulting in row sums. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29203/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29203/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29204 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29204/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29204/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29204/events | https://github.com/pandas-dev/pandas/issues/29204 | 511,957,772 | MDU6SXNzdWU1MTE5NTc3NzI= | 29,204 | DOCS: docstrings formatting errors in pandas.PeriodIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/38143549?v=4",
"events_url": "https://api.github.com/users/HughKelley/events{/privacy}",
"followers_url": "https://api.github.com/users/HughKelley/followers",
"following_url": "https://api.github.com/users/HughKelley/following{/other_user}",
"gists_url": "https://api.github.com/users/HughKelley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HughKelley",
"id": 38143549,
"login": "HughKelley",
"node_id": "MDQ6VXNlcjM4MTQzNTQ5",
"organizations_url": "https://api.github.com/users/HughKelley/orgs",
"received_events_url": "https://api.github.com/users/HughKelley/received_events",
"repos_url": "https://api.github.com/users/HughKelley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HughKelley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HughKelley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HughKelley"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | null | 0 | 2019-10-24T13:48:00Z | 2019-11-10T15:22:52Z | 2019-11-10T15:22:52Z | CONTRIBUTOR | null | [pandas/core/indexes/period.py](https://github.com/pandas-dev/pandas/blob/04893a954b91574279c402e8730a4b5fae2ae9e1/pandas/core/indexes/period.py)
#28602
#27977
```
./scripts/validate_docstrings.py --errors=PR09
```
```
pandas.PeriodIndex: Parameter "data" description should finish with "."
pandas.PeriodIndex: Parameter "copy" description should finish with "."
pandas.PeriodIndex: Parameter "freq" description should finish with "."
pandas.PeriodIndex: Parameter "periods" description should finish with "."
pandas.PeriodIndex: Parameter "end" description should finish with "."
pandas.PeriodIndex: Parameter "tz" description should finish with "."
pandas.PeriodIndex.asfreq: Parameter "freq" description should finish with "."
pandas.PeriodIndex.to_timestamp: Parameter "freq" description should finish with "."
```
```
./scripts/validate_docstrings.py pandas.PeriodIndex
```
```
Summary should fit in a single line
Parameters {**fields, name, ordinal} not documented
Unknown parameters {month, quarter, second, day, year, minute, hour}
Parameter "data" description should finish with "."
Parameter "copy" description should finish with "."
Parameter "freq" description should finish with "."
Parameter "periods" description should finish with "."
Parameter "end" description should finish with "."
Parameter "year" has no description
Parameter "month" has no description
Parameter "quarter" has no description
Parameter "day" has no description
Parameter "hour" has no description
Parameter "minute" has no description
Parameter "second" has no description
Parameter "tz" description should finish with "."
Parameter "dtype" has no description
Examples do not pass tests
flake8 error: F821 undefined name 'year_arr' (2 times)
```
and a failed example on line 89
```
./scripts/validate_docstrings.py pandas.PeriodIndex.asfreq
```
```
Parameters {*args, **kwargs} not documented
Unknown parameters {freq, how}
Parameter "freq" description should start with a capital letter
Parameter "freq" description should finish with "."
Parameter "how" description should start with a capital letter
The first line of the Returns section should contain only the type, unless multiple values are being returned
Return value has no description
```
```
./scripts/validate_docstrings.py pandas.PeriodIndex.to_timestamp
```
```
Parameters {**kwargs, *args} not documented
Unknown parameters {freq, how}
Parameter "freq" description should finish with "."
Parameter "how" has no description
Return value has no description
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29204/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29204/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29205 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29205/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29205/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29205/events | https://github.com/pandas-dev/pandas/pull/29205 | 511,965,490 | MDExOlB1bGxSZXF1ZXN0MzMyMDY1NTY5 | 29,205 | TYPING: Added types for some tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 16 | 2019-10-24T14:00:37Z | 2019-11-03T14:28:34Z | 2019-11-03T14:28:33Z | CONTRIBUTOR | null | Working around a strange typing issue. See
https://github.com/pandas-dev/pandas/pull/28394#issuecomment-5456527290
for more, but the types on these were being inferred incorrectly by
mypy with just the addition of the `allows_duplicate_labels` kwarg.
cc @simonjayhawkins & @WillAyd. Hopefully I got things correct. I copied the use of TypeVar for FrameOrSeries with IndexOrSeries.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29205/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29205/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29205.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29205",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29205.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29205"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29206 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29206/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29206/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29206/events | https://github.com/pandas-dev/pandas/pull/29206 | 512,058,193 | MDExOlB1bGxSZXF1ZXN0MzMyMTQxNTIw | 29,206 | Turn on wget output | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [] | closed | false | null | [] | null | 1 | 2019-10-24T16:39:42Z | 2019-10-25T00:36:10Z | 2019-10-25T00:36:10Z | MEMBER | null | Trying to see why the 36 build keeps hanging
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29206/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29206/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29206.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29206",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/29206.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29206"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29207 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29207/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29207/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29207/events | https://github.com/pandas-dev/pandas/issues/29207 | 512,068,223 | MDU6SXNzdWU1MTIwNjgyMjM= | 29,207 | Clean up noqa E241 | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"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 | 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 | 2019-10-24T17:01:55Z | 2019-10-24T18:38:04Z | 2019-10-24T18:38:04Z | MEMBER | null | Since we use black some of the whitespace codes for flake8 might not be applicable anymore. E241 in particular, which is for multiple spaces after a comma I don't think should appear anymore
A quick grep shows the following - if anyone would like to clean these up by deleting the noqa should make for an easy contributing I think
```sh
$ grep "# noqa: E241" -r pandas --include="*.py"
pandas/tests/dtypes/test_inference.py: ([1], True, "list"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ([], True, "list-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ((1,), True, "tuple"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (tuple(), True, "tuple-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ({"a": 1}, True, "dict"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (dict(), True, "dict-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ({"a", 1}, "set", "set"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (set(), "set", "set-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (frozenset({"a", 1}), "set", "frozenset"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (frozenset(), "set", "frozenset-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (iter([1, 2]), True, "iterator"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (iter([]), True, "iterator-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ((x for x in [1, 2]), True, "generator"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ((_ for _ in []), True, "generator-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (Series([1]), True, "Series"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (Series([]), True, "Series-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (Series(["a"]).str, True, "StringMethods"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (Series([], dtype="O").str, True, "StringMethods-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (Index([1]), True, "Index"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (Index([]), True, "Index-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (DataFrame([[1]]), True, "DataFrame"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (DataFrame(), True, "DataFrame-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.ndarray((2,) * 1), True, "ndarray-1d"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.array([]), True, "ndarray-1d-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.ndarray((2,) * 2), True, "ndarray-2d"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.array([[]]), True, "ndarray-2d-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.ndarray((2,) * 3), True, "ndarray-3d"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.array([[[]]]), True, "ndarray-3d-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.ndarray((2,) * 4), True, "ndarray-4d"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.array([[[[]]]]), True, "ndarray-4d-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.array(2), False, "ndarray-0d"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (1, False, "int"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (b"123", False, "bytes"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (b"", False, "bytes-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ("123", False, "string"), # noqa: E241
pandas/tests/dtypes/test_inference.py: ("", False, "string-empty"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (str, False, "string-type"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (object(), False, "object"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (np.nan, False, "NaN"), # noqa: E241
pandas/tests/dtypes/test_inference.py: (None, False, "None"), # noqa: E241
pandas/tests/test_strings.py: ("contains", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("count", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("decode", ("UTF-8",), {}), # noqa: E241
pandas/tests/test_strings.py: ("encode", ("UTF-8",), {}), # noqa: E241
pandas/tests/test_strings.py: ("endswith", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("extract", ("([a-z]*)",), {"expand": False}), # noqa: E241
pandas/tests/test_strings.py: ("extract", ("([a-z]*)",), {"expand": True}), # noqa: E241
pandas/tests/test_strings.py: ("extractall", ("([a-z]*)",), {}), # noqa: E241
pandas/tests/test_strings.py: ("find", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("findall", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("get", (0,), {}), # noqa: E241
pandas/tests/test_strings.py: ("index", ("",), {}), # noqa: E241
pandas/tests/test_strings.py: ("join", (",",), {}), # noqa: E241
pandas/tests/test_strings.py: ("ljust", (10,), {}), # noqa: E241
pandas/tests/test_strings.py: ("match", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("normalize", ("NFC",), {}), # noqa: E241
pandas/tests/test_strings.py: ("pad", (10,), {}), # noqa: E241
pandas/tests/test_strings.py: ("partition", (" ",), {"expand": False}), # noqa: E241
pandas/tests/test_strings.py: ("partition", (" ",), {"expand": True}), # noqa: E241
pandas/tests/test_strings.py: ("repeat", (3,), {}), # noqa: E241
pandas/tests/test_strings.py: ("replace", ("a", "z"), {}), # noqa: E241
pandas/tests/test_strings.py: ("rfind", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("rindex", ("",), {}), # noqa: E241
pandas/tests/test_strings.py: ("rjust", (10,), {}), # noqa: E241
pandas/tests/test_strings.py: ("rpartition", (" ",), {"expand": False}), # noqa: E241
pandas/tests/test_strings.py: ("rpartition", (" ",), {"expand": True}), # noqa: E241
pandas/tests/test_strings.py: ("slice", (0, 1), {}), # noqa: E241
pandas/tests/test_strings.py: ("slice_replace", (0, 1, "z"), {}), # noqa: E241
pandas/tests/test_strings.py: ("split", (" ",), {"expand": False}), # noqa: E241
pandas/tests/test_strings.py: ("split", (" ",), {"expand": True}), # noqa: E241
pandas/tests/test_strings.py: ("startswith", ("a",), {}), # noqa: E241
pandas/tests/test_strings.py: ("translate", ({97: 100},), {}), # noqa: E241
pandas/tests/test_strings.py: ("wrap", (2,), {}), # noqa: E241
pandas/tests/test_strings.py: ("zfill", (10,), {}), # noqa: E241
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29207/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29207/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29208 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29208/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29208/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29208/events | https://github.com/pandas-dev/pandas/issues/29208 | 512,082,640 | MDU6SXNzdWU1MTIwODI2NDA= | 29,208 | REF: Dependency Structure Simplification | {
"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 | [] | null | 1 | 2019-10-24T17:34:19Z | 2020-09-05T19:04:03Z | 2020-09-05T19:04:03Z | MEMBER | null | This is intended to describe a) possible refactors that would simplify the intra-pandas dependency structure, b) the benefits we would see from implementing these refactors, and c) the difficulties each would entail.
<b>Straightforward Circular Dependencies</b>
- [ ] imports from `pd.core.util.hashing` in `pd.util.__init__`
Fix: Just remove that import, difficulty depends on if that needs a deprecation cycle.
- [ ] runtime import of `tseries.frequencies.to_offset` into `tslibs`
Fix: Move most of tseries.offsets and about half of tseries.frequencies into tslibs
- `tseries.offsets.generate_range` is the only part of `tseries.offsets` that is not needed; it can go to `arrays._ranges`, which is the only place where it is used
- `tslibs.offsets` would become a very big module unless it were split into smaller pieces
- `cache_readonly` is needed by some classes in `tseries.offsets` (which would be moved to `tslibs.offsets`), would need to put somewhere "upstream" of tslibs.
- [x] `_libs.internals` runtime import of `Int64Index`
- For `BlockPlacement.isin`, which is only used in one place in `core.internals`, the `isin` method could be refactored out of the class.
- This one is really only worthwhile if we expect to implement tests/benchmarks specific to `_libs.internals`
- [x] runtime import of `pd.unique` in `IntervalTree.get_loc_interval`
- I _think_ its the case that the argument passed to pd.unique is always int64 (@jschendel is this accurate?). If so, implementing a `unique_int64` in either `_libs.hashtables` or `_libs.algos` takes about 3 lines, could be a nice fastpath for a very common case.
<b>core.dtypes</b>
- `core.dtypes.common` is used all over the place. It would be really nice if its dependencies were simple. But:
- it imports `CategoricalDtype`, which has runtime imports from `pandas.core.util.hashing`, in particular functions that have runtime imports of `Categorical`, `Index`, `MultiIndex`, and `factorize`
- `algorithms.factorize` has runtime imports from `pandas.core.sorting`, which has a dependency on `algorithms` and runtime import of `Index`.
- I _think_ the "heavy" dependencies on `Categorical`/`Index`/`MultiIndex` are mostly just for the constructors and could be refactored into much lighter-weight implementations. I'm imagining something like `core.factorization` that depended only on `_libs` and maybe a few of the `is_foo_dtype` functions (the latter would still be circular, but a much smaller circle)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29208/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29208/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29209 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29209/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29209/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29209/events | https://github.com/pandas-dev/pandas/pull/29209 | 512,085,354 | MDExOlB1bGxSZXF1ZXN0MzMyMTYzNTg4 | 29,209 | Clean up noqa E241 #29207 | {
"avatar_url": "https://avatars.githubusercontent.com/u/11233191?v=4",
"events_url": "https://api.github.com/users/kaathi524/events{/privacy}",
"followers_url": "https://api.github.com/users/kaathi524/followers",
"following_url": "https://api.github.com/users/kaathi524/following{/other_user}",
"gists_url": "https://api.github.com/users/kaathi524/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kaathi524",
"id": 11233191,
"login": "kaathi524",
"node_id": "MDQ6VXNlcjExMjMzMTkx",
"organizations_url": "https://api.github.com/users/kaathi524/orgs",
"received_events_url": "https://api.github.com/users/kaathi524/received_events",
"repos_url": "https://api.github.com/users/kaathi524/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kaathi524/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kaathi524/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kaathi524"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-24T17:40:27Z | 2019-10-25T04:54:30Z | 2019-10-24T18:38:04Z | CONTRIBUTOR | null | - [X] closes #29207
- [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/29209/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29209/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29209.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29209",
"merged_at": "2019-10-24T18:38:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29209.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29209"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29210 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29210/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29210/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29210/events | https://github.com/pandas-dev/pandas/pull/29210 | 512,108,055 | MDExOlB1bGxSZXF1ZXN0MzMyMTgyNDc2 | 29,210 | CLN: Remove unnecessary sys.version_info checks | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-10-24T18:28:23Z | 2019-10-25T15:03:55Z | 2019-10-25T12:44:19Z | MEMBER | null | Title is self-explanatory. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29210/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29210/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29210.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29210",
"merged_at": "2019-10-25T12:44:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29210.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29210"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29211 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29211/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29211/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29211/events | https://github.com/pandas-dev/pandas/pull/29211 | 512,120,204 | MDExOlB1bGxSZXF1ZXN0MzMyMTkyMjQw | 29,211 | Adding test for assert_equal_index with empty iterables | {
"avatar_url": "https://avatars.githubusercontent.com/u/13494516?v=4",
"events_url": "https://api.github.com/users/VijayantSoni/events{/privacy}",
"followers_url": "https://api.github.com/users/VijayantSoni/followers",
"following_url": "https://api.github.com/users/VijayantSoni/following{/other_user}",
"gists_url": "https://api.github.com/users/VijayantSoni/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/VijayantSoni",
"id": 13494516,
"login": "VijayantSoni",
"node_id": "MDQ6VXNlcjEzNDk0NTE2",
"organizations_url": "https://api.github.com/users/VijayantSoni/orgs",
"received_events_url": "https://api.github.com/users/VijayantSoni/received_events",
"repos_url": "https://api.github.com/users/VijayantSoni/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/VijayantSoni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VijayantSoni/subscriptions",
"type": "User",
"url": "https://api.github.com/users/VijayantSoni"
} | [
{
"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 | 3 | 2019-10-24T18:52:58Z | 2019-10-30T07:13:21Z | 2019-10-29T15:22:48Z | CONTRIBUTOR | null | - [x] closes #16844
- [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/29211/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29211/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29211.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29211",
"merged_at": "2019-10-29T15:22:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29211.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29211"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29212 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29212/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29212/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29212/events | https://github.com/pandas-dev/pandas/pull/29212 | 512,126,377 | MDExOlB1bGxSZXF1ZXN0MzMyMTk2OTU1 | 29,212 | CI: Drop Python 3.5 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 9 | 2019-10-24T19:05:47Z | 2019-11-08T14:48:41Z | 2019-11-08T14:48:11Z | MEMBER | null | - [X] closes #29034
- [ ] 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/29212/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29212/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/29212.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/29212",
"merged_at": "2019-11-08T14:48:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/29212.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/29212"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/29213 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29213/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29213/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29213/events | https://github.com/pandas-dev/pandas/issues/29213 | 512,192,391 | MDU6SXNzdWU1MTIxOTIzOTE= | 29,213 | BUG: pd.Dataframe.from_dict when first value is a list | {
"avatar_url": "https://avatars.githubusercontent.com/u/22780319?v=4",
"events_url": "https://api.github.com/users/MaddeeRubenson/events{/privacy}",
"followers_url": "https://api.github.com/users/MaddeeRubenson/followers",
"following_url": "https://api.github.com/users/MaddeeRubenson/following{/other_user}",
"gists_url": "https://api.github.com/users/MaddeeRubenson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MaddeeRubenson",
"id": 22780319,
"login": "MaddeeRubenson",
"node_id": "MDQ6VXNlcjIyNzgwMzE5",
"organizations_url": "https://api.github.com/users/MaddeeRubenson/orgs",
"received_events_url": "https://api.github.com/users/MaddeeRubenson/received_events",
"repos_url": "https://api.github.com/users/MaddeeRubenson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MaddeeRubenson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaddeeRubenson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MaddeeRubenson"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/p... | open | false | null | [] | null | 3 | 2019-10-24T21:32:56Z | 2020-09-22T01:33:43Z | null | NONE | null | #### Reproducible example:
```python
import pandas as pd
tmp_scen = {'name': 'Current conditions',
'actionSet': ['not_irrigated', 'cover_crop_none', 'mar_none'],
'cost': 0.0,
'totalNitrogen': 9.649798364504209,
'totalPhosphorus': 2.4570326616674745,
'sediment': 1.2039077716577735,
'appliedWater': 11.607623110151138,
'infiltrationVolume': 0.7424774065057028,
'acres': 3.382359912104316,
'irrType': 'not_irrigated'}
good_result = pd.DataFrame.from_dict(tmp_scen, orient = 'index')
tmp_scen = {'actionSet': ['not_irrigated', 'cover_crop_none', 'mar_none'],
'name': 'Current conditions',
'cost': 0.0,
'totalNitrogen': 9.649798364504209,
'totalPhosphorus': 2.4570326616674745,
'sediment': 1.2039077716577735,
'appliedWater': 11.607623110151138,
'infiltrationVolume': 0.7424774065057028,
'acres': 3.382359912104316,
'irrType': 'not_irrigated'}
error_result = pd.DataFrame.from_dict(tmp_scen, orient = 'index')
```
#### Problem description
Error when creating a dataframe from a dictionary when the first item in the dictionary is a list. See reproducible example above.
```
TypeError: object of type 'float' has no len()
```
#### Expected Output
```good_result
Out[369]:
0
actionSet [not_irrigated, cover_crop_none, mar_none]
name Current conditions
cost 0
totalNitrogen 9.6498
totalPhosphorus 2.45703
sediment 1.20391
appliedWater 11.6076
infiltrationVolume 0.742477
acres 3.38236
irrType not_irrigated
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.3.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: en
LOCALE: None.None
pandas: 0.24.2
pytest: 4.4.1
pip: 19.0.3
setuptools: 40.8.0
Cython: 0.29.6
numpy: 1.16.2
scipy: 1.2.1
pyarrow: None
xarray: None
IPython: 7.4.0
sphinx: 1.8.5
patsy: 0.5.1
dateutil: 2.8.0
pytz: 2018.9
blosc: None
bottleneck: 1.2.1
tables: 3.5.1
numexpr: 2.6.9
feather: None
matplotlib: 3.0.3
openpyxl: 2.6.1
xlrd: 1.2.0
xlwt: 1.3.0
xlsxwriter: 1.1.5
lxml.etree: 4.3.2
bs4: 4.7.1
html5lib: 1.0.1
sqlalchemy: 1.3.1
pymysql: 0.9.3
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/29213/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29213/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.